src/gnutls.c: Remove unused parameter `fildes'.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
9ed7c8cb
CY
12011-05-04 Chong Yidong <cyd@stupidchicken.com>
2
3 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
4 (autoload-find-generated-file): New function.
5 (generate-file-autoloads): Bind generated-autoload-file to
6 buffer-file-name.
7 (update-file-autoloads, update-directory-autoloads): Use
8 autoload-find-generated-file. If called interactively, prompt for
9 output file (Bug#7989).
10 (batch-update-autoloads): Doc fix.
11
0898ca10
JB
122011-05-04 Juanma Barranquero <lekktu@gmail.com>
13
14 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
15
31dfb76c
GM
162011-05-04 Glenn Morris <rgm@gnu.org>
17
f330b642
GM
18 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
19 function, so it follows changes in calendar-date-style.
20 (diary-fancy-date-matcher): New function.
21 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
22 (diary-fancy-font-lock-fontify-region-function):
23 Use diary-fancy-date-pattern as a function.
24
31dfb76c
GM
25 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
26 non-numbers for `year' etc pseudo-variables. (Bug#8583)
27
48e79d6a
TZ
282011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
29
30 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
31 instead of positional arguments. Allow :keylist and :crlfiles
32 arguments.
33 (open-gnutls-stream): Call it.
34
35 * net/network-stream.el (network-stream-open-starttls): Adjust to
36 call `gnutls-negotiate' with :process and :hostname arguments.
37
dd5a5ee0
SM
382011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
39
ef80fc09
SM
40 * minibuffer.el (completion--message): New function.
41 (completion--do-completion, minibuffer-complete)
42 (minibuffer-force-complete, minibuffer-complete-word): Use it.
43 (completion--do-completion): Don't ignore completion-auto-help when in
44 icomplete-mode.
45
dd5a5ee0
SM
46 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
47 internal encoding (e.g. tibetan zero is not whitespace).
48 (global-whitespace-mode): Prefer save-current-buffer.
49 (whitespace-trailing-regexp): Remove useless save-match-data.
50 (whitespace-empty-at-bob-regexp): Minor simplification.
51
b7d22a83
CY
522011-05-03 Chong Yidong <cyd@stupidchicken.com>
53
54 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
55
5192af46
AM
562011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
57
58 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 59 Use `concat' to create string for insertion.
5192af46 60
5767d190
SM
612011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
62
63 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
64 Avoid open-line which runs post-self-insert-hook.
65 (bibtex-fill-entry): Remove unused `end' var.
66
bf242939
AM
672011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
68
5767d190
SM
69 * textmodes/ispell.el (ispell-add-per-file-word-list):
70 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 71
25666126
LL
722011-05-03 Leo Liu <sdl.web@gmail.com>
73
74 * isearch.el (isearch-yank-pop): New command.
5767d190 75 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
76 (isearch-forward): Mention it.
77
52d3c2d0
SM
782011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
79
1bcace58
SM
80 * simple.el (minibuffer-complete-shell-command): Remove.
81 (minibuffer-local-shell-command-map): Use completion-at-point.
82 (read-shell-command): Setup completion vars here instead.
83 (read-expression-map): Bind TAB to symbol completion.
84
52d3c2d0
SM
85 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
86 error directly rather via storing it into `results'.
87
35813471
LL
882011-05-02 Leo Liu <sdl.web@gmail.com>
89
90 * vc/diff.el: Fix description.
91
e793a940
LMI
922011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
93
94 * server.el (server-eval-at): New function.
95
8de66e05
LMI
962011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
97
98 * net/network-stream.el (open-network-stream): Take a :nowait
99 parameter and pass it on to `make-network-process'.
100 (network-stream-open-plain): Ditto.
101
dcb79f20
AS
1022011-04-30 Andreas Schwab <schwab@linux-m68k.org>
103
104 * faces.el (face-spec-set-match-display): Don't match toolkit
105 options on terminal frames.
106
14a7fbd8
SM
1072011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
108
7eabc1be
SM
109 * progmodes/pascal.el: Use lexical binding.
110 (pascal-mode-map): Remove author preferences.
111
14a7fbd8
SM
112 * pcomplete.el (pcomplete-std-complete): Don't abuse
113 completion-at-point.
114
50f84510
JB
1152011-04-28 Juanma Barranquero <lekktu@gmail.com>
116
6e087a44
JB
117 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
118 removing code that has been dead since 1991 or so.
119
50f84510
JB
120 * startup.el (command-line): When warning about "_emacs", use a
121 delayed warning to allow the user to filter it out.
122
0ba690bd
DD
1232011-04-28 Deniz Dogan <deniz@dogan.se>
124
125 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
126 user has not joined.
127
08abfaad
SM
1282011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
129
130 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
131 aren't any completions at point.
132
638f053a
JB
1332011-04-28 Juanma Barranquero <lekktu@gmail.com>
134
135 * subr.el (display-delayed-warnings): New function.
136 (delayed-warnings-hook): New variable.
137
8fff8daa
SM
1382011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
139
08abfaad
SM
140 * minibuffer.el (completion-at-point, completion-help-at-point):
141 Don't presume that a given completion-at-point-function will always
142 use the same calling convention.
143
8fff8daa
SM
144 * pcomplete.el (pcomplete-completions-at-point):
145 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
146 pcomplete-seen is non-nil.
147 (pcomplete-comint-setup): Also recognize the new comint/shell
148 completion functions.
149 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
150 pcomplete-seen is non-nil.
151
841a1577 1522011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 153
841a1577 154 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 155 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 156 the first character in the entry. This allows for code to add its
211ec907
UJ
157 own uid to the entry.
158 (icalendar--convert-float-to-ical): Add export of
159 `diary-float'-entries save for those with the optional DAY
160 argument.
161
2a782793
DC
1622011-04-27 Daniel Colascione <dan.colascione@gmail.com>
163
164 * subr.el (shell-quote-argument): Use alternate escaping strategy
165 when we spot a variable reference in a string.
166
0438ce91
DC
1672011-04-26 Daniel Colascione <dan.colascione@gmail.com>
168
169 * cus-start.el (all): Define customization for debug-on-event.
170
841a1577 1712011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
172
173 * subr.el (shell-quote-argument): Escape correctly under Windows.
174
d090ed6c
SM
1752011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
176
177 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
178
bfd31217
MA
1792011-04-25 Michael Albinus <michael.albinus@gmx.de>
180
d090ed6c
SM
181 * net/tramp.el (tramp-process-actions): Add POS argument.
182 Delete region between POS and (pos).
bfd31217 183
d090ed6c
SM
184 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
185 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
186 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
187
188 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
189 position in `tramp-process-actions' call.
190
191 * net/trampver.el: Update release number.
192
e92f3bd3
SM
1932011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
194
850256b5
SM
195 * custom.el (defcustom): Obey lexical-binding.
196
e92f3bd3
SM
197 Fix octave-inf completion problems reported by Alexander Klimov.
198 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
199 Inherit from octave-mode-syntax-table.
200 (inferior-octave-mode): Set info-lookup-mode.
201 (inferior-octave-completion-at-point): New function.
202 (inferior-octave-complete): Use it and completion-in-region.
203 (inferior-octave-dynamic-complete-functions): Use it as well, and use
204 comint-filename-completion.
205 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
206 symbol elements which shouldn't be word elements.
207 (octave-font-lock-keywords, octave-beginning-of-defun)
208 (octave-function-header-regexp): Adjust regexps accordingly.
209 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
210
cd22b309
JB
2112011-04-25 Juanma Barranquero <lekktu@gmail.com>
212
213 * net/gnutls.el (gnutls-errorp): Declare before first use.
214
8b492194
TZ
2152011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
216
217 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
218 verify-error, and verify-hostname-error parameters. Check whether
cd22b309
JB
219 default trustfile exists before going to use it. Add missing
220 argument to gnutls-message-maybe call. Return return value.
8b492194
TZ
221 Reported by Claudio Bley <claudio.bley@gmail.com>.
222 (open-gnutls-stream): Add usage example.
223
224 * net/network-stream.el (network-stream-open-starttls): Give host
225 parameter to `gnutls-negotiate'.
226 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 227 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 228
841a1577 2292011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 230
cd22b309
JB
231 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
232 Use correct match group (bug#8438).
05842630 233
3ba7869c
CY
2342011-04-24 Chong Yidong <cyd@stupidchicken.com>
235
512e3ae1
CY
236 * emacs-lisp/package.el (package-built-in-p): Fix typo.
237 (package-menu--generate): New arg specifying packages to show.
238 (package-menu-refresh, package-menu-execute, list-packages):
239 Callers changed.
240 (package-show-package-list): New function, replacing deleted
241 package--list-packages (renamed because it is non-internal).
242
243 * finder.el (finder-list-matches): Use package-show-package-list
244 instead of deleted package--list-packages.
245
e92f3bd3
SM
246 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
247 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
248 (vc-annotate-mode-map): Bind it to RET.
249
7031be6d
UR
2502011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
251
252 * progmodes/etags.el (next-file): Don't use set-buffer to change
253 buffers (Bug#8478).
254
4ef177aa
CY
2552011-04-24 Chong Yidong <cyd@stupidchicken.com>
256
c8d173eb
CY
257 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
258
4ef177aa
CY
259 * apropos.el (apropos-label-face): Avoid variable-pitch face.
260 (apropos-accumulator): Doc fix.
261 (apropos-function, apropos-macro, apropos-command)
262 (apropos-variable, apropos-face, apropos-group, apropos-widget)
263 (apropos-plist): Add face property.
264 (apropos-symbols-internal): Fix indentation.
265 (apropos-print): Simplify help, and recognize apropos-multi-type.
266 (apropos-print-doc): Use button-type-get to extract the button's
267 face property. Fill docstring (Bug#8352).
268
4ffd0d6b 2692011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
270
271 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
272
c6c32125 273 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 274 (mpuz-mode-map): Use mapc.
c6c32125
JB
275 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
276 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
277 Fix typos in docstrings.
278
58d468b4
JB
279 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
280 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
281
6470c3c6
JB
282 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
283
4ffd0d6b 2842011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
285
286 * minibuffer.el (completion--do-completion): Avoid the "Next char
287 not unique" prompt if icomplete-mode is enabled (Bug#5849).
288
3ad8bad0
CY
289 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
290 mouse-2 into unread-command-events, it is interpreted correctly.
291
71d73c9c 292 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 293 (image-toggle-display): Doc fix.
71d73c9c 294
841a1577 2952011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 296
4ffd0d6b
GM
297 * textmodes/page.el (what-page): Use line-number-at-pos to
298 calculate line number (Bug#6825).
6e1dbaa9 299
c2fb1b60
JB
3002011-04-22 Juanma Barranquero <lekktu@gmail.com>
301
302 * eshell/esh-mode.el (find-tag-interactive): Declare function.
303 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
304 Pass argument NO-DEFAULT to `find-tag-interactive'.
305
e02f48d7
JB
3062011-04-22 Juanma Barranquero <lekktu@gmail.com>
307
308 Lexical-binding cleanup.
309
310 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
311 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
312 * progmodes/ada-prj.el (ada-prj-initialize-values)
313 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
314 (ada-prj-show-value):
315 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
316 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
317 (antlr-invalidate-context-cache, antlr-options-menu-filter)
318 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
319 * progmodes/bug-reference.el (bug-reference-push-button):
320 * progmodes/fortran.el (fortran-line-length):
321 * progmodes/glasses.el (glasses-change):
322 * progmodes/octave-mod.el (octave-fill-paragraph):
323 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
324 (python-pdbtrack-grub-for-buffer, python-sentinel):
325 * progmodes/sql.el (sql-save-connection):
326 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
327 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
328 Mark unused parameters.
329
330 * progmodes/compile.el (compilation--flush-directory-cache)
331 (compilation--flush-parse, compile-internal): Mark unused parameters.
332 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
333 (compilation-next-error-function): Remove unused variable `timestamp'.
334
335 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
336 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
337
338 * progmodes/dcl-mode.el (dcl-end-of-command):
339 Remove unused variable `start'.
340 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
341 (dcl-option-value-basic, dcl-option-value-offset)
342 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
343 Mark unused parameters.
344 (dcl-save-local-variable): Remove unused variable `val'.
345 (mode): Declare.
346
347 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
348 Mark unused parameters.
349 (delphi-ignore-changes): Move before first use.
350 (delphi-charset-token-at): Remove unused variable `start'.
351 (delphi-else-start): Remove unused variable `if-count'.
352 (delphi-comment-block-start, delphi-comment-block-end):
353 Remove unused variable `kind'.
354 (delphi-indent-line): Remove unused variable `new-point'.
355
356 * progmodes/ebrowse.el (ebrowse-files-list)
357 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
358 Mark unused parameters. Don't quote `lambda'.
359 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
360 Don't quote `lambda'.
361 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
362 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
363 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
364 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
365 Use `ignore-errors'.
366 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
367 (ebrowse-view/find-file-and-search-pattern)
368 (ebrowse-view/find-member-declaration/definition):
369 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
370 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
371 Rename parameter PREFIX-ARG to PREFIX.
372 (ebrowse-tags-read-name): Remove unused variables `start' and
373 `member-info'.
374 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
375 to `tags-file'.
376
377 * progmodes/etags.el (local-find-tag-hook): Declare.
378 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
379 Mark unused parameters.
380
381 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
382 (executable-interpret): Mark unused parameter.
383
384 * progmodes/flymake.el (flymake-process-sentinel)
385 (flymake-after-change-function)
386 (flymake-create-temp-with-folder-structure)
387 (flymake-get-include-dirs-dot): Mark unused parameters.
388 (flymake-safe-delete-directory): Remove unused variable `err'.
389
390 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
391 (speedbar-timer-fn, speedbar-line-text)
392 (speedbar-change-expand-button-char, speedbar-delete-subblock)
393 (speedbar-center-buffer-smartly): Declare functions.
394 (gdb-find-watch-expression): Remove unused variable `array'.
395 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
396 (gdb-starting): Mark unused parameters.
397 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
398 (gdb-table-string): Remove unused variable `res'.
399 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
400 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
401 (gdb-display-buffer): Remove unused variable `cur-size'.
402
403 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
404 allow lexical-binding compilation.
405 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
406 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
407 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
408 Mark unused parameters.
409 (gud-gdb-marker-filter): Remove unused variable `match'.
410 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
411 lambda expressions and funcall them, instead of using `fset'.
412
413 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
414 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
415
416 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
417 variable `header-beg'; use `let'.
418
419 * progmodes/icon.el (indent-icon-exp): Remove unused variables
420 `restart', `last-sexp' and `at-do'.
421
422 * progmodes/js.el (js--debug): Mark unused parameter.
423 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
424 (js--splice-into-items): Remove unused variable `item'.
425 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
426
427 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
428 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
429 (makefile-complete): Remove unused variable `try'.
430 (makefile-fill-paragraph, makefile-match-function-end):
431 Mark unused parameters.
432
433 * progmodes/octave-inf.el (inferior-octave-complete):
434 Remove unused variable `proc'.
435 (inferior-octave-output-digest): Mark unused parameter.
436
437 * progmodes/perl-mode.el (perl-calculate-indent):
438 Remove unused variable `err'.
439
440 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
441 (prolog-indent-line): Mark unused parameters.
442 (prolog-indent-line): Remove unused variable `beg'.
443
444 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
445 (reporter-dont-compact-list): Declare.
446
447 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
448 Remove unused variable `char'.
449 (sh-debug): Mark unused parameter.
450 (sh-get-indent-info): Remove unused variable `start'.
451 (sh-calculate-indent): Remove unused variable `var'.
452
453 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
454 (simula-electric-keyword): Remove unused variable `null'.
455 (simula-search-backward, simula-search-forward): Remove unused
456 variables `begin' and `end'.
457
458 * progmodes/vera-mode.el (vera-guess-basic-syntax):
459 Remove unused variable `pos'.
460 (vera-electric-tab, vera-comment-uncomment-region):
461 Mark unused parameters.
462 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
463
7ede3b65
CY
4642011-04-22 Chong Yidong <cyd@stupidchicken.com>
465
466 * emacs-lisp/package.el (package--builtins, package-alist)
467 (package-load-descriptor, package-built-in-p, package-activate)
468 (define-package, package-installed-p)
469 (package-compute-transaction, package-buffer-info)
470 (package--push): Doc fix. Distinguish more clearly between
471 version strings and version lists.
472
121656e9
JB
4732011-04-21 Juanma Barranquero <lekktu@gmail.com>
474
475 Lexical-binding cleanup.
476
477 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
478 (5x5-make-mutate-best):
479 * play/fortune.el (fortune-in-buffer):
480 * play/gomoku.el (gomoku-init-display):
481 * play/solitaire.el (solitaire, solitaire-do-check):
482 * play/tetris.el (tetris-default-update-speed-function):
483 Mark unused parameters.
484
485 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
486 (bubbles--shift): Remove unused variable `char-org'.
487 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
488 (bubbles--show-images): Remove unused variable `char'.
489
490 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
491 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
492 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
493 (decipher-analyze-buffer): Use ?\s.
494 (decipher-make-checkpoint): Remove unused variable `mapping'.
495
496 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
497
498 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
499 Remove unused variable `result'; use `let'.
500
501 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
502 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
503 (gametree-children-shown-p, gametree-compute-reduced-score):
504 Use `ignore-errors'.
505
506 * play/handwrite.el (ps-lpr-switches): Declare.
507 (handwrite): Remove unused variables `pmin' and `lastp'.
508
509 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
510
511 * play/landmark.el (landmark-init-display)
512 (landmark-update-naught-weights): Mark unused parameters.
513 (landmark-y): Remove unused variable `noise'. Simplify.
514 (landmark-human-plays): Remove unused variable `score'.
515
516 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
517 (mpuz-try-proposal): Remove unused variable `game'.
518
519 * play/zone.el (life-patterns): Declare.
520
80f499c7
JB
5212011-04-20 Juanma Barranquero <lekktu@gmail.com>
522
523 * vc/vc.el (ediff-vc-internal): Declare function.
524
024ff170
SM
5252011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
526
c0a193ea
SM
527 * shell.el: Use lexical-binding and std completion UI.
528 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
529 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
530 comint-preoutput-filter-functions rather than on
531 comint-output-filter-functions.
532 (shell-command-completion, shell--command-completion-data)
533 (shell-filename-completion, shell-environment-variable-completion)
534 (shell-c-a-p-replace-by-expanded-directory): New functions.
535 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
536 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
537 (shell-dynamic-complete-environment-variable): Use them.
538 (shell-dynamic-complete-as-environment-variable)
539 (shell-dynamic-complete-as-command): Remove.
540 (shell-match-partial-variable): Match past point.
541 * comint.el: Clean up use of completion-at-point-functions.
542 (comint-completion-at-point): New function.
543 (comint-mode): Use it completion-at-point-functions.
544 (comint-dynamic-complete): Make it obsolete.
545 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
546 (comint-c-a-p-replace-by-expanded-history): New function.
547 (comint-dynamic-complete-functions)
548 (comint-replace-by-expanded-history): Use it.
549 * minibuffer.el (completion-table-with-terminator): Allow dynamic
550 termination strings. Try harder to avoid second try-completion.
551 (completion-in-region-mode-map): Disable bindings that don't work yet.
552
2dbaa080
SM
553 * comint.el: Use lexical-binding. Require CL.
554 (comint-dynamic-complete-functions): Use comint-filename-completion.
555 (comint-completion-addsuffix): Tweak custom type.
556 (comint-filename-completion, comint--common-suffix)
557 (comint--common-quoted-suffix, comint--table-subvert)
558 (comint--complete-file-name-data): New functions.
559 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
560 (comint-dynamic-list-filename-completions): Use them.
561 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 562
2dbaa080
SM
563 * minibuffer.el (completion-in-region-mode):
564 Keep completion-in-region-mode--predicate global.
565 (completion-in-region--postch):
566 Assume completion-in-region-mode--predicate is not null.
567
c79a6f38
SM
568 * progmodes/flymake.el (flymake-start-syntax-check-process):
569 Obey `dir'. Simplify.
570
024ff170
SM
571 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
572 we're in VC after all.
573
1c6c854e
CS
5742011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
575
576 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 577 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
578 (vc-version-diff): Use vc-diff-build-argument-list-internal.
579
bed7f140
SM
5802011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
581
332e62ab
SM
582 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
583 add sanity check.
584
bed7f140
SM
585 * obsolete/erc-hecomplete.el: Make obsolete.
586 * obsolete/: Standardize obsolescence info in the header.
587
f195c582
GM
5882011-04-20 Glenn Morris <rgm@gnu.org>
589
590 * calendar/solar.el (solar-horizontal-coordinates):
591 Use the longitude argument rather than `calendar-longitude'.
592 (solar-date-next-longitude): Remove unused locals.
593
cb79b8c0
VJL
5942011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
595
596 * whitespace.el: New version 13.2.1.
597
5982011-04-20 felix <EmacsWiki> (tiny change)
599
600 * whitespace.el (global-whitespace-mode): keep highlight when
601 switching between major modes on a file.
602
602ea69d
SM
6032011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
604
605 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
606 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
607 multi-line comments as well.
608
06b60517
JB
6092011-04-19 Juanma Barranquero <lekktu@gmail.com>
610
611 Lexical-binding cleanup.
612
613 * arc-mode.el (archive-mode-revert):
614 * cmuscheme.el (scheme-interactively-start-process):
615 * custom.el (custom-initialize-delay):
616 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
617 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
618 * emacs-lock.el (emacs-lock-clear-sentinel):
619 * ezimage.el (defezimage):
620 * follow.el (follow-avoid-tail-recenter):
621 * fringe.el (set-fringe-mode-1):
622 * generic-x.el (bat-generic-mode-compile):
623 * help-mode.el (help-info-variable, help-do-xref)
624 (help-mode-revert-buffer):
625 * help.el (view-emacs-todo):
626 * iswitchb.el (iswitchb-completion-help):
627 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
628 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
629 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
630 * locate.el (locate-update):
631 * longlines.el (longlines-encode-region)
632 (longlines-after-change-function):
633 * outline.el (outline-isearch-open-invisible):
634 * ps-def.el (declare-function, charset-dimension, char-width)
635 (encode-char):
636 * ps-mule.el (ps-mule-plot-string):
637 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
638 (recentf-edit-list-select, recentf-edit-list-validate)
639 (recentf-open-files-action):
640 * rect.el (delete-whitespace-rectangle-line)
641 (rectangle-number-line-callback):
642 * register.el (window-configuration-to-register)
643 (frame-configuration-to-register):
644 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
645 * select.el (xselect-convert-to-string, xselect-convert-to-length)
646 (xselect-convert-to-targets, xselect-convert-to-delete)
647 (xselect-convert-to-filename, xselect-convert-to-charpos)
648 (xselect-convert-to-lineno, xselect-convert-to-colno)
649 (xselect-convert-to-os, xselect-convert-to-host)
650 (xselect-convert-to-user, xselect-convert-to-class)
651 (xselect-convert-to-name, xselect-convert-to-integer)
652 (xselect-convert-to-atom, xselect-convert-to-identity):
653 * subr.el (declare, ignore, process-kill-without-query)
654 (text-clone-maintain):
655 * terminal.el (te-get-char, te-tic-sentinel):
656 * tool-bar.el (tool-bar-make-keymap):
657 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
658 * type-break.el (type-break-mode, type-break-noninteractive-query):
659 * view.el (View-back-to-mark):
660 * wid-browse.el (widget-browse-action, widget-browse-widget)
661 (widget-browse-widgets, widget-browse-sexp):
662 * widget.el (define-widget-keywords):
663 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
664 Mark unused parameters.
665
666 * align.el (align-adjust-col-for-rule): Mark unused parameter.
667 (align-areas): Remove unused variable `look'.
668 (align-region): Remove unused variables `real-end' and `pos-list'.
669
670 * apropos.el (apropos-score-doc): Remove unused variable `i'.
671
672 * bindings.el (mode-line-modified, mode-line-remote):
673 Mark unused parameters.
674 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
675
676 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
677 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
678
679 * comint.el (comint-history-isearch-pop-state)
680 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
681 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
682 (comint-substitute-in-file-name): Doc fix.
683
684 * completion.el (cmpl-statistics-block): Mark unused parameter.
685 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
686 (save-completions-to-file, load-completions-from-file):
687 Remove unused local variable `e'.
688
689 * composite.el (compose-chars): Remove unused variable `len'.
690 (lgstring-insert-glyph): Remove unused variable `g'.
691 (compose-glyph-string): Remove unused variables `ascent',
692 `descent', `lbearing' and `rbearing'.
693 (compose-glyph-string-relative): Remove unused variables
694 `lbearing', `rbearing' and `wadjust'.
695 (compose-gstring-for-graphic): Remove unused variables `header',
696 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
697 (compose-gstring-for-terminal): Remove unused variables `header'
698 and `nchars'. Use `let', not `let*'.
699
700 * cus-edit.el (Custom-set, Custom-save, custom-reset)
701 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
702 (Custom-buffer-done, custom-buffer-create-internal)
703 (custom-browse-visibility-action, custom-browse-group-tag-action)
704 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
705 (widget-magic-mouse-down-action, custom-toggle-parent)
706 (custom-add-parent-links, custom-toggle-hide-variable)
707 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
708 (custom-toggle-hide-face, face, hook, custom-group-link-action)
709 (custom-face-menu-create, custom-variable-menu-create, get)
710 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
711 (custom-reset-standard-save-and-update): Remove unused variable `value'.
712 (customize-apropos): Remove unused variable `tests'.
713 (custom-group-value-create): Remove unused variable `hidden-p'.
714 (sort-fold-case): Declare.
715
716 * cus-theme.el (custom-reset-standard-faces-list)
717 (custom-reset-standard-variables-list): Declare.
718 (customize-create-theme, custom-theme-revert, custom-theme-write)
719 (custom-theme-choose-mode, customize-themes, custom-theme-save):
720 Mark unused parameters.
721
722 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
723
724 * delim-col.el (delimit-columns-max): Move defvar before first use.
725
726 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 727 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
728
729 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
730 (auto-insert): Declare.
731 (desktop-restore-file-buffer): Rename desktop-* parameters;
732 mark unused ones.
733 (desktop-create-buffer): Rename desktop-* parameters and bind them.
734 (desktop-buffer): Rename desktop-* parameters.
735
736 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
737 (dframe-reposition-frame-xemacs, dframe-help-echo)
738 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
739 Mark unused parameters.
740
741 * dired-aux.el (backup-extract-version-start, overwrite-query)
742 (overwrite-backup-query, rename-regexp-query)
743 (rename-non-directory-query): Declare.
744 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
745 (dired-add-entry): Remove unused variable `orig-file-name'.
746 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
747 Use parameter PRESERVE-TIME instead of accessing dynamic variable
748 `dired-copy-preserve-time' directly.
749 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
750 (dired-insert-subdir-newpos): Rename unused variable `pos'.
751
752 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
753 (dired-virtual-revert, dired-make-relative-symlink):
754 Mark unused parameters.
755 (manual-program): Declare.
756 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
757 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
758 wrapped in `with-no-warnings' to avoid replacing one warning by another.
759
760 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
761
762 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
763
764 * echistory.el (electric-history-in-progress, Helper-return-blurb):
765 Declare.
766
767 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
768
769 * electric.el (Electric-command-loop): Rename parameter
770 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
771
772 * expand.el (expand-in-literal): Remove unused variable `here'.
773
774 * facemenu.el (facemenu-add-new-color):
775 Remove unused variable `docstring'.
776
777 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
778 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
779 (face-attr-construct): Mark unused parameter. Doc fix.
780 (read-color): Remove unused variable `hex-string'.
781
782 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
783 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
784 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
785 (display-buffer-other-frame): Remove unused variable `old-window'.
786 (kill-buffer-hook): Declare.
787 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
788 Mark unused parameters.
789 (after-find-file): Pass 1 to `auto-save-mode', not t.
790
791 * files-x.el (auto-insert): Declare.
792 (modify-file-local-variable-prop-line): Remove unused variable `val'.
793
794 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 795 variable `buf'. Mark unused parameter.
06b60517
JB
796 (find-lisp-insert-directory): Mark unused parameter.
797
798 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
799 (format-encode-region): Remove unused variables `cur-buf' and `result'.
800 (format-common-tail): Remove, unused.
801 (format-deannotate-region): Remove unused variable `loc'.
802 (format-annotate-region): Remove unused variable `p'.
803 (format-annotate-single-property-change): Remove unused variables
804 `default' and `tail'.
805
806 * forms.el (read-file-filter): Declare.
807 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
808
809 * frame.el (frame-creation-function-alist): Mark unused parameter.
810 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
811
812 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
813 Remove unused parameters.
814 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
815 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
816
817 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
818 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
819 (hfy-prepare-tag-map): Mark unused parameters.
820 (htmlfontify-buffer): Use `called-interactively-p'.
821
822 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
823 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
824 (ibuffer-do-occur): Mark unused parameters.
825 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
826 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
827
828 * ibuffer.el: Don't quote `lambda'.
829 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
830 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
831 Mark unused parameters.
832
833 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
834 (ido-completing-read): Mark unused parameters.
835 (ido-copy-current-word): Mark unused parameters;
836 remove unused variable `name'.
837 (ido-sort-merged-list): Remove unused parameter `dirs'.
838
839 * ielm.el (ielm-input-sender): Mark unused parameter.
840 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
841 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
842 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
843 `ielm-string' as a dynamic variable accessible from the IELM prompt.
844 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
845
846 * image-dired.el (image-dired-display-thumbs): Remove unused
847 variables `curr-file' and `count'.
848 (image-dired-remove-tag): Remove unused variable `start'.
849 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
850 variable `curr-file'
851 (image-dired-rotate-original): Remove unused variable `temp-file'.
852 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
853 Remove unused variable `file'.
854 (image-dired-gallery-generate): Remove unused variable `curr'.
855 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
856
857 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
858
859 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
860
861 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
862
863 * isearch.el (minibuffer-history-symbol): Declare.
864 (isearch-edit-string): Remove unused variable `err'.
865 (isearch-message-prefix, isearch-message-suffix):
866 Mark unused parameters.
867
868 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
869
870 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
871
872 * makesum.el (double-column): Remove unused variable `cnt'.
873
874 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
875 (ido-ignore-item-temp-list): Declare.
876
877 * mouse-drag.el (mouse-drag-throw): Remove unused variables
878 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
879 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
880 (mouse-drag-drag): Remove unused variables `mouse-delta' and
881 `mouse-col-delta'.
882
883 * mouse-sel.el (mouse-extend-internal):
884 Remove unused variable `orig-window-frame'.
885
886 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
887 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
888 Move declarations before first use.
889 (pcomplete-opt): Mark unused parameters; doc fix.
890
891 * proced.el (proced-revert): Mark unused parameter.
892 (proced-send-signal): Remove unused variable `err'.
893
894 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
895 Rename parameter PREFIX-ARG to ARG.
896 (ps-basic-plot-string, ps-basic-plot-whitespace):
897 Mark unused parameters.
898
899 * replace.el (replace-count): Define.
900 (occur-revert-function): Mark unused parameters.
901 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
902 (isearch-case-fold-search, isearch-string): Declare.
903 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
904 bind `case-fold-search'. Remove unused variables `beg' and `end',
905 and simplify.
906 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
907 COUNT and bind `replace-count'.
908 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
909 to COUNT.
910
911 * savehist.el (print-readably, print-string-length): Declare.
912
913 * shadowfile.el (shadow-expand-cluster-in-file-name):
914 Remove unused variable `cluster'.
915 (shadow-copy-file): Remove unused variable `i'.
916 (shadow-noquery, shadow-clusters, shadow-site-cluster)
917 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
918 (shadow-define-literal-group, shadow-define-regexp-group)
919 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
920
921 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
922 (shell): Use `called-interactively-p'.
923 (shell-directory-tracker): Remove unused variable `chdir-failure'.
924
925 * simple.el (compilation-context-lines, comint-file-name-quote-list)
926 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
927 (delete-backward-char): Remove unused variable `ocol'.
928 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
929 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
930 (event-apply-hyper-modifier, event-apply-shift-modifier)
931 (event-apply-control-modifier, event-apply-meta-modifier):
932 Mark unused parameters.
933 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
934 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
935
936 * speedbar.el (speedbar-ignored-directory-expressions)
937 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
938 (speedbar-find-file, speedbar-dir-follow)
939 (speedbar-directory-buttons-follow, speedbar-tag-find)
940 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
941 (speedbar-buffers-line-directory, speedbar-buffer-click):
942 Mark unused parameters.
943 (speedbar-tag-file): Remove unused variable `mode'.
944 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
945
946 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
947
948 * talk.el (talk): Remove unused variable `display'.
949
950 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
951 (tar-write-region-annotate): Mark unused parameter.
952
953 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
954 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
955 Declare them, wrapped in `with-no-warnings' to avoid replacing one
956 warning by another.
957
958 * time-stamp.el (time-stamp-string-preprocess):
959 Remove unused variable `require-padding'.
960
961 * tree-widget.el (widget-glyph-enable): Declare.
962 (tree-widget-action): Mark unused parameter.
963
964 * w32-fns.el (x-get-selection): Mark unused parameter.
965 (autoload-make-program, generated-autoload-file): Declare.
966
967 * wdired.el (wdired-revert): Mark unused parameters.
968 (wdired-xcase-word): Remove unused variable `err'.
969
970 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
971 (whitespace-help-scroll): Remove unused variable `data-help'.
972
973 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
974 (widget-image-insert, widget-after-change, default)
975 (widget-default-format-handler, widget-default-notify)
976 (widget-default-prompt-value, widget-info-link-action)
977 (widget-url-link-action, widget-function-link-action)
978 (widget-variable-link-action, widget-file-link-action)
979 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
980 (widget-field-prompt-internal, widget-field-action, widget-field-match)
981 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
982 (widget-insert-button-action, widget-delete-button-action, visibility)
983 (widget-documentation-link-action, widget-documentation-string-action)
984 (widget-const-prompt-value, widget-regexp-match, symbol)
985 (widget-coding-system-prompt-value)
986 (widget-key-sequence-value-to-external, sexp)
987 (widget-sexp-value-to-internal, character, vector, cons)
988 (widget-choice-prompt-value, widget-boolean-prompt-value)
989 (widget-color--choose-action): Mark unused parameters.
990 (widget-item-match-inline, widget-choice-match-inline)
991 (widget-checklist-match, widget-checklist-match-inline)
992 (widget-group-match): Rename parameter VALUES to VALS.
993 (widget-field-value-set): Remove unused variable `size'.
994 (widget-color-action): Remove unused variables `value' and `start'.
995
996 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 997 variable `dir'. Doc fix.
06b60517
JB
998 (windmove-find-other-window): Don't pass it.
999
1000 * window.el (count-windows): Mark unused parameter.
1001 (bw-adjust-window): Remove unused variable `err'.
1002
1003 * woman.el (woman-file-name): Remove unused variable `default'.
1004 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
1005 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
1006 (global-font-lock-mode): Declare.
1007 (woman-decode-region): Mark unused parameter.
1008 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
1009
1010 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
1011 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
1012 (x-dnd-handle-moz-url): Remove unused variable `title'.
1013 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
1014
1015 * xml.el (xml-parse-tag, xml-parse-attlist):
1016 Remove unused variable `pos'.
1017
bc4f7f3d
GM
10182011-04-19 Glenn Morris <rgm@gnu.org>
1019
1020 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
1021 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
1022 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
1023 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
1024 * calendar/cal-html.el (cal-html-insert-minical):
1025 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
1026 (calendar-mark-date-pattern):
1027 Prefix "unused" locals.
1028
1029 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
1030 optional argument `style'.
1031
1032 * calendar/appt.el (appt-make-list):
1033 * calendar/cal-china.el (calendar-chinese-date-string):
1034 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
1035 (diary-hebrew-yahrzeit):
1036 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
1037 * calendar/calendar.el (calendar-generate-window):
1038 * calendar/time-date.el (time-to-days):
1039 Remove unused local variables.
1040
16a43933
CY
10412011-04-18 Chong Yidong <cyd@stupidchicken.com>
1042
1043 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
1044 glyphless-char-display table.
1045 (tabulated-list-glyphless-char-display): New var.
1046
7eed1860
SS
10472011-04-18 Sam Steingold <sds@gnu.org>
1048
1049 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
1050 to acknowledgments.
1051
4d2d1ccd
GM
10522011-04-17 Glenn Morris <rgm@gnu.org>
1053
1054 * calendar/diary-lib.el (diary-sexp-entry):
1055 * calendar/holidays.el (holiday-sexp):
1056 Set debug-on-error rather than the removed stack-trace-on-error.
1057
239da61d
GM
10582011-04-16 Glenn Morris <rgm@gnu.org>
1059
1060 * progmodes/f90.el: Use lexical-binding.
1061 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
1062
8b05752a
SM
10632011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1064
daca8ba5
SM
1065 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
1066 (mail-mode): Setup mailalias completion here instead.
1067 * mail/mailalias.el: Use lexical-binding.
1068 (pattern, mailalias-done): Declare dynamic.
1069 (mail-completion-at-point-function): New function, from mail-complete.
1070 (mail-complete): Use it.
1071 (mail-completion-expand): New function.
1072 (mail-get-names): Use it.
1073 (mail-directory, mail-directory-process, mail-directory-stream):
1074 Don't use `pattern' for lexically bound arg.
1075
6f542485
SM
1076 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
1077
037e7c3f
SM
1078 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
1079 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
1080 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
1081
8b05752a
SM
1082 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
1083 (byte-save-window-excursion, byte-temp-output-buffer-setup)
1084 (byte-interactive-p): Define them again, for use when inlining
1085 old code.
1086
49093f60
JB
10872011-04-15 Juanma Barranquero <lekktu@gmail.com>
1088
1089 * loadup.el: Use `string-to-number', not `string-to-int'.
1090
b5b8e7de
SM
10912011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1092
1093 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
1094 gud-gdb-complete-command.
1095 (gud-gdb-completions): New function, from gud-gdb-complete-command.
1096 (gud-gdb-completion-at-point): New function.
1097 (gud-gdb-completions): Remove.
1098
f42efeb5
MA
10992011-04-14 Michael Albinus <michael.albinus@gmx.de>
1100
49093f60
JB
1101 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
1102 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
1103 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
1104 whether `executable-find' is bound.
f42efeb5
MA
1105
1106 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
1107
e240cc21
SM
11082011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1109
1110 * minibuffer.el (completion-in-region-mode-predicate)
1111 (completion-in-region-mode--predicate): New vars.
1112 (completion-in-region, completion-in-region--postch)
1113 (completion-in-region-mode): Use them.
1114 (completion--capf-wrapper): Also return the hook function.
1115 (completion-at-point, completion-help-at-point):
1116 Adjust and provide a predicate.
c2bd2ab0
SM
1117
1118 Preserve arg names for advice of subr and lexical functions (bug#8457).
1119 * help-fns.el (help-function-arglist): Consolidate the subr and
1120 new-byte-code cases. Add argument `preserve-names' to extract names
1121 from the docstring when needed.
1122 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
1123 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
1124 (ad-arglist): Use help-function-arglist's new arg.
1125 (ad-definition-type): Use cond.
1126
c183f693
JB
11272011-04-13 Juanma Barranquero <lekktu@gmail.com>
1128
06641a47
JB
1129 * autorevert.el (auto-revert-handler):
1130 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
1131 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
1132 Don't quote lambda.
1133
c183f693
JB
1134 * image-mode.el (image-transform-set-scale):
1135 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
1136
1e3b6001
G
11372011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
1138
1139 * net/network-stream.el (network-stream-open-starttls): Only do
1140 opportunistic STARTTLS upgrades if we have built-in gnutls support.
1141 Upgrades via gnutls-cli are too slow to be done opportunistically.
1142
2d6af8dd
JB
11432011-04-12 Juanma Barranquero <lekktu@gmail.com>
1144
1145 * dframe.el (dframe-current-frame): Remove spurious quote.
1146
c0749a51
GM
11472011-04-12 Glenn Morris <rgm@gnu.org>
1148
088d0d61
GM
1149 * calendar/cal-tex.el (cal-tex-end-document):
1150 Try to automatically use latin1 input if needed.
1151
c0749a51
GM
1152 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
1153 Don't try to cons a mark onto an empty element.
1154
5c90fde0
LL
11552011-04-11 Leo Liu <sdl.web@gmail.com>
1156
1157 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
1158 buffers.
1159 (ido-kill-buffer-at-head): Support killing virtual buffers.
1160
369e974d
CY
11612011-04-10 Chong Yidong <cyd@stupidchicken.com>
1162
1163 * minibuffer.el (completion-show-inline-help): New var.
1164 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
1165 (minibuffer-force-complete, minibuffer-complete-word):
1166 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
1167
1168 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
1169 to avoid interference from inline help (Bug#5849).
1170
37f1c930
LL
11712011-04-10 Leo Liu <sdl.web@gmail.com>
1172
099c39a4
JB
1173 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
1174 Fix typo.
37f1c930 1175
a32d4040
CY
11762011-04-09 Chong Yidong <cyd@stupidchicken.com>
1177
1178 * image-mode.el (image-toggle-display-image): Signal an error if
1179 not in Image mode.
1180 (image-transform-mode, image-transform-resize)
1181 (image-transform-set-rotation): Doc fix.
daca8ba5 1182 (image-transform-set-resize): Delete.
a32d4040
CY
1183 (image-transform-set-scale, image-transform-fit-to-height)
1184 (image-transform-fit-to-width): Handle image-toggle-display-image
1185 and image-transform-resize directly.
1186
099c39a4 11872011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
1188
1189 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
1190 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
1191 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
1192 (doc-view-mode-map): Add bindings for the new functions.
1193
099c39a4 11942011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb
JB
1195
1196 * vc-annotate.el (vc-annotate-show-log-revision-at-line):
1197 Fix typo in docstring.
1198
3726838a
EZ
11992011-04-08 Eli Zaretskii <eliz@gnu.org>
1200
04f33f1e
EZ
1201 * files.el (file-size-human-readable): Produce one digit after
1202 decimal, like "ls -lh" does.
1203
1204 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
1205 the file size representation.
1206
3726838a
EZ
1207 * simple.el (list-processes): If async subprocesses are not
1208 available, error out with a clear error message.
1209
cbb59342
CY
12102011-04-08 Chong Yidong <cyd@stupidchicken.com>
1211
1212 * help.el (help-form-show): New function, to be called from C.
1213 Put help-form output in a buffer named differently than *Help*.
1214
e3971c44
EZ
12152011-04-08 Eli Zaretskii <eliz@gnu.org>
1216
1217 * files.el (file-size-human-readable): New function.
1218
1219 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
1220 computing the representation inline. Don't require `cl'.
1221
12544bbe
GM
12222011-04-08 Glenn Morris <rgm@gnu.org>
1223
a1de6c6a
GM
1224 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
1225
3c4671f4
GM
1226 * net/browse-url.el (browse-url-firefox):
1227 Test system-type, not system-configuration.
1228
b605679c
GM
1229 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
1230 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
1231 Use log-edit-empty-buffer-p. (Bug#7598)
1232
56442f0c
GM
1233 * net/rlogin.el (rlogin-process-connection-type): Simplify.
1234 (rlogin-mode-map): Initialize in the defvar.
1235 (rlogin): Use ignore-errors.
1236
12544bbe
GM
1237 * replace.el (occur-mode-map): Some fixes for menu items.
1238
eb237b0f
AH
12392011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1240
1241 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
1242
7d668f2c
CY
12432011-04-06 Chong Yidong <cyd@stupidchicken.com>
1244
e67a13ab
CY
1245 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
1246 issuing unused warnings.
1247
1248 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
1249 macro directly.
1250
7d668f2c
CY
1251 * simple.el: Lisp reimplement of list-processes. Based on an
1252 earlier reimplementation by Leo Liu, but using tabulated-list.el.
1253 (process-menu-mode): New major mode.
1254 (list-processes--refresh, list-processes):
1255 (process-menu-visit-buffer): New functions.
1256
1257 * files.el (save-buffers-kill-emacs): Don't assume any return
1258 value of list-processes, which is undocumented anyway.
1259
a83ec3c9
CY
12602011-04-06 Chong Yidong <cyd@stupidchicken.com>
1261
1262 * emacs-lisp/tabulated-list.el: New file.
1263
e91a96fe
CY
1264 * emacs-lisp/package.el: Use Tabulated List mode.
1265 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
1266 (package-menu-mode): Derive from tabulated-list-mode. Set up the
1267 table format using Tabulated List mode variables.
1268 (package--push): New macro, replacing package-list-maybe-add.
1269 (package-menu--generate): Use package--push. Renamed from
1270 package--generate-package-list.
1271 (package-menu-refresh, list-packages): Use it.
daca8ba5 1272 (package-menu--print-info): Rename from package-print-package.
e91a96fe 1273 Return insertion data instead of inserting it directly.
099c39a4
JB
1274 (package-menu-describe-package, package-menu-execute):
1275 Use tabulated-list-get-id.
e91a96fe
CY
1276 (package-menu-mark-delete, package-menu-mark-install)
1277 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
1278 (package-menu-mark-obsolete-for-deletion):
1279 Use tabulated-list-put-tag.
e91a96fe
CY
1280 (package--list-packages, package-menu-revert)
1281 (package-menu-get-package, package-menu-get-version)
1282 (package-menu-sort-by-column): Functions deleted.
1283 (package-menu-package-list, package-menu-sort-key): Vars deleted.
1284 (package-menu--status-predicate, package-menu--version-predicate)
1285 (package-menu--name-predicate)
1286 (package-menu--description-predicate): Handle arguments in the
1287 Tabulated List format.
1288 (package-list-packages-no-fetch): Call list-packages.
1289
3e214b50
JB
12902011-04-06 Juanma Barranquero <lekktu@gmail.com>
1291
1292 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 1293 (after-find-file): Don't bind it.
3e214b50
JB
1294 (revert-buffer-in-progress-p): New variable.
1295 (revert-buffer): Bind it.
1296 Pass nil for `after-find-file-from-revert-buffer'.
1297
1298 * saveplace.el (save-place-find-file-hook): Use new variable
1299 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
1300
3f0f1700
GM
13012011-04-06 Glenn Morris <rgm@gnu.org>
1302
c0274801
GM
1303 * Makefile.in (AUTOGEN_VCS): New variable.
1304 (autoloads): Use $AUTOGEN_VCS.
1305
3f0f1700
GM
1306 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
1307 * calendar/calendar.el (calendar-mode-map):
1308 Check for toolkit scroll bars. (Bug#8305)
1309
41ea9e48
CY
13102011-04-05 Chong Yidong <cyd@stupidchicken.com>
1311
1312 * minibuffer.el (completion-in-region--postch)
1313 (completion-in-region-mode): Remove unnecessary messages.
1314
6194c800
JB
13152011-04-05 Juanma Barranquero <lekktu@gmail.com>
1316
33256f14
JB
1317 * font-lock.el (font-lock-refresh-defaults):
1318 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
1319 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
1320
6194c800
JB
1321 * info.el (Info-directory-list, Info-read-node-name-2)
1322 (Info-split-parameter-string): Doc fixes.
1323 (Info-virtual-nodes): Reflow docstring.
1324 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
1325 (Info-apropos-toc-nodes, info-finder, Info-get-token)
1326 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
1327 Fix typos in docstrings.
1328 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
1329 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
1330 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
1331 (Info-restore-desktop-buffer): Mark unused parameters.
1332 (Info-directory-find-file, Info-directory-find-node)
1333 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
1334 (Info-virtual-index-find-node, Info-apropos-find-file)
1335 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 1336 Mark unused parameters; fix typos in docstrings.
6194c800
JB
1337 (Info-virtual-index): Remove unused local variable `nodename'.
1338
b87a8200 13392011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 1340
b87a8200
DD
1341 * net/rcirc.el: Update my e-mail address.
1342 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 1343
3b2ff876
CY
13442011-04-05 Chong Yidong <cyd@stupidchicken.com>
1345
1346 * startup.el (command-line): Save the cursor's theme-face
1347 directly, instead of using face-override-spec.
1348
1349 * custom.el (load-theme): Minor optimization in assigning faces.
1350
8d17e7ca
JB
13512011-04-04 Juanma Barranquero <lekktu@gmail.com>
1352
1353 * help-fns.el (describe-variable): Complete all variables having
1354 documentation, including keywords.
1355 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
1356
2fbc1934
JB
13572011-04-04 Juanma Barranquero <lekktu@gmail.com>
1358
1359 Convert to lexical-binding.
1360
1361 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
1362 (bs--get-marked-string, bs--get-modified-string)
1363 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
1364 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
1365 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
1366
1367 * ehelp.el (electric-help-execute-extended)
1368 (electric-help-ctrl-x-prefix):
1369 * hexl.el (hexl-revert-buffer-function):
1370 * linum.el (linum-after-change, linum-after-scroll):
1371 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
1372
1373 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
1374
74f50695
DU
13752011-04-04 Daiki Ueno <ueno@unixuser.org>
1376
1377 * epa-dired.el:
1378 * epa-mail.el:
1379 * epa-hook.el:
1380 * epa-file.el:
1381 * epa.el:
1382 * epg.el: Use lexical binding.
1383
c11325f7
CY
13842011-04-03 Chong Yidong <cyd@stupidchicken.com>
1385
0d9e9a12
CY
1386 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
1387
c11325f7 1388 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
1389 dictionary case for flyspell-mark-duplications-exceptions.
1390 Use regexp matching for languages.
c11325f7
CY
1391 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
1392 default dictionary (Bug#7926).
1393
da91b5f2
CY
13942011-04-02 Chong Yidong <cyd@stupidchicken.com>
1395
099c39a4
JB
1396 * emacs-lisp/package.el (package--with-work-buffer):
1397 Recognize https URLs.
da91b5f2 1398
099c39a4
JB
1399 * net/network-stream.el: Move from gnus/proto-stream.el.
1400 Change prefix to network-stream throughout.
da91b5f2
CY
1401 (open-protocol-stream): Merge into open-network-stream, leaving
1402 open-protocol-stream as an alias. Handle nil BUFFER args.
1403
1404 * subr.el (open-network-stream): Move to net/network-stream.el.
1405
afa8e9f6
GM
14062011-04-02 Glenn Morris <rgm@gnu.org>
1407
1d2e369d
GM
1408 * find-dired.el (find-exec-terminator): New option.
1409 (find-ls-option): Test for -ls support.
1410 (find-ls-subdir-switches): Test for -b in find-ls-option.
1411 (find-dired, find-grep-dired): Doc fixes.
1412 (find-dired): Use find-exec-terminator.
1413
8abb7da8 1414 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
1415 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
1416 (find-name-arg): Remove purecopy.
8abb7da8 1417
f3ca7378
GM
1418 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
1419 (grep-compute-defaults): Check for `-exec COMMAND +' support.
1420 Set grep-find-use-xargs, grep-find-command, and grep-find-template
1421 accordingly. Don't add the null-device if not needed.
1422
afa8e9f6
GM
1423 * files.el (save-some-buffers): Doc fix.
1424
35eae264
EZ
14252011-04-02 Eli Zaretskii <eliz@gnu.org>
1426
1427 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
1428
26b51db5
JB
14292011-04-01 Juanma Barranquero <lekktu@gmail.com>
1430
1431 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
1432 Use `dolist' rather than `mapcar'.
1433
7200d79c
SM
14342011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
1435
03408648 1436 Add lexical binding.
7200d79c 1437
03408648
SM
1438 * subr.el (apply-partially): Use new closures rather than CL.
1439 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
1440 (dolist, dotimes): Use slightly different expansion for lexical code.
1441 (functionp): Move to C.
1442 (letrec): New macro.
1443 (with-wrapper-hook): Use it and apply-partially instead of CL.
1444 (eval-after-load): Preserve lexical-binding.
1445 (save-window-excursion, with-output-to-temp-buffer): Turn them
1446 into macros.
7200d79c 1447
03408648
SM
1448 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
1449
1450 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
1451 than the arglist.
1452 (help-add-fundoc-usage): Don't add `Not documented'.
1453 (help-function-arglist): Handle closures, subroutines, and new
1454 byte-code-functions.
1455 (help-make-usage): Remove leading underscores.
1456 (describe-function-1): Handle closures.
1457 (describe-variable): Use special-variable-p for completion.
1458
1459 * files.el (lexical-binding): Declare safe.
f488fb65 1460
03408648
SM
1461 * emacs-lisp/pcase.el: Don't use destructuring-bind.
1462 (pcase--memoize): Rename from pcase-memoize. Change weakness.
1463 (pcase): Add `let' pattern.
1464 Change memoization so it actually works.
1465 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
1466 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
1467 <let>: New case.
f488fb65 1468
03408648
SM
1469 * emacs-lisp/macroexp.el: Use lexical binding.
1470 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
1471 Don't convert ' to #' without checking that it's indeed quoting
1472 a lambda.
1473
1474 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 1475 Use eval-sexp-add-defvars.
03408648
SM
1476 (eval-sexp-add-defvars): New fun.
1477
1478 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
1479
1480 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
1481 Don't autoload.
1482 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
1483 than the internal `byte-compile-lambda'.
1484 (defmethod): Don't hide code under quotes.
1485 (eieio-defmethod): New `code' argument.
1486
1487 * emacs-lisp/eieio-comp.el: Remove.
1488
1489 * emacs-lisp/edebug.el (edebug-eval-defun)
1490 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
1491 (edebug-toggle): Avoid `eval'.
1492
1493 * emacs-lisp/disass.el (disassemble-internal): Handle new
1494 `closure' objects.
1495 (disassemble-1): Handle new byte codes.
1496
1497 * emacs-lisp/cl.el (pushnew): Silence warning.
1498
1499 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
1500 (cl-byte-compile-throw): Remove.
1501 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
1502
1503 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
1504 closures.
1505
1506 * emacs-lisp/cconv.el: New file.
1507
1508 * emacs-lisp/bytecomp.el: Use lexical binding instead of
1509 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
1510 (byte-compile-initial-macro-environment):
1511 Handle declare-function here.
1512 (byte-compile--lexical-environment): New var.
1513 (byte-stack-ref, byte-stack-set, byte-discardN)
1514 (byte-discardN-preserve-tos): New lap codes.
1515 (byte-interactive-p): Don't use any more.
1516 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
1517 New macros.
1518 (byte-compile-lapcode): Use them and handle new lap codes.
1519 (byte-compile-obsolete): Remove.
1520 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
1521 (byte-compile-arglist-warn): Check late def of inlinable funs.
1522 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
1523 since they should have been expanded by now.
1524 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
1525 (byte-compile-from-buffer): Remove unused second arg.
1526 (byte-compile-preprocess): New function.
1527 (byte-compile-toplevel-file-form): New function to distinguish
1528 file-form calls from outside from file-form calls from hunk-handlers.
1529 (byte-compile-file-form): Simplify.
1530 (byte-compile-file-form-defsubst): Remove.
1531 (byte-compile-file-form-defmumble): Simplify now that
1532 byte-compile-lambda always returns a byte-code-function.
1533 (byte-compile): Preprocess.
1534 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
1535 Remove, not used any more.
1536 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
1537 (byte-compile-make-args-desc): New funs.
1538 (byte-compile-lambda): Handle lexical functions. Always return
1539 a byte-code-function.
1540 (byte-compile-reserved-constants): New var, to make up room for
1541 closed-over variables.
1542 (byte-compile-constants-vector): Obey it.
1543 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
1544 (byte-compile-macroexpand-declare-function): New function.
1545 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
1546 byte-code-functions.
1547 (byte-compile-form): Check obsolescence here.
1548 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
1549 (byte-compile-variable-ref): Remove.
1550 (byte-compile-dynamic-variable-op): New fun.
1551 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
1552 (byte-compile-variable-set): New funs.
1553 (byte-compile-discard): Add 2 args.
1554 (byte-compile-stack-ref, byte-compile-stack-set)
1555 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
1556 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
1557 macroexpand-all instead.
1558 (byte-compile-quote-form): Remove.
1559 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
1560 (byte-compile-bind, byte-compile-unbind): New funs.
1561 (byte-compile-let): Handle let* and lexical binding.
1562 (byte-compile-let*): Remove.
1563 (byte-compile-catch, byte-compile-unwind-protect)
1564 (byte-compile-track-mouse, byte-compile-condition-case):
1565 Handle a new :fun-body form, used for lexical scoping.
1566 (byte-compile-save-window-excursion)
1567 (byte-compile-with-output-to-temp-buffer): Remove.
1568 (byte-compile-defun): Simplify.
1569 (byte-compile-stack-adjustment): New fun.
1570 (byte-compile-out): Use it.
1571 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
1572
1573 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
1574 handler any more.
1575
1576 * emacs-lisp/byte-opt.el: Use lexical binding.
1577 (byte-inline-lapcode): Remove (to bytecomp).
1578 (byte-compile-inline-expand): Pay attention to inlining to/from
1579 lexically bound code.
1580 (byte-compile-unfold-lambda): Don't handle byte-code-functions
1581 any more.
1582 (byte-optimize-form-code-walker): Don't handle save-window-excursion
1583 any more and don't call compiler-macros.
1584 (byte-compile-splice-in-already-compiled-code): Remove.
1585 (byte-code): Don't inline any more.
1586 (disassemble-offset): Receive `bytes' as argument rather than via
1587 dynamic scoping.
1588 (byte-compile-tag-number): Declare before first use.
1589 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
1590 `return' even if make-spliceable.
1591 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
1592 obsolete interactive-p.
1593 (byte-optimize-lapcode): Optimize new lap-codes.
1594 Don't trip up on new form of `byte-constant' lap code.
1595
1596 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
1597
1598 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
1599
1600 * custom.el (custom-initialize-default, custom-declare-variable):
1601 Use `defvar'.
1602
1603 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
1604 New variables.
1605 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
1606 (COMPILE_FIRST): Add macroexp and cconv.
1607 * makefile.w32-in: Mirror changes in Makefile.in.
1608
1609 * vc/cvs-status.el:
1610 * vc/diff-mode.el:
1611 * vc/log-edit.el:
1612 * vc/log-view.el:
1613 * vc/smerge-mode.el:
1614 * textmodes/bibtex-style.el:
1615 * textmodes/css.el:
1616 * startup.el:
1617 * uniquify.el:
da91b5f2
CY
1618 * minibuffer.el:
1619 * newcomment.el:
1620 * reveal.el:
1621 * server.el:
1622 * mpc.el:
1623 * emacs-lisp/smie.el:
1624 * doc-view.el:
1625 * dired.el:
03408648
SM
1626 * abbrev.el: Use lexical binding.
1627
0f0c1f27
EZ
16282011-04-01 Eli Zaretskii <eliz@gnu.org>
1629
1630 * info.el (info-display-manual): New function.
1631
c82b2579
SM
16322011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
1633
1634 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
1635
221ddf68
TH
16362011-03-31 Tassilo Horn <tassilo@member.fsf.org>
1637
1638 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 1639 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 1640
cba6e77e
GM
16412011-03-31 Glenn Morris <rgm@gnu.org>
1642
e040639f
GM
1643 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
1644
cba6e77e
GM
1645 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
1646
6d0f1c9e
CS
16472011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
1648
1649 * progmodes/python.el (python-default-interpreter)
1650 (python-python-command-args, python-jython-command-args)
1651 (python-which-shell, python-which-args, python-which-bufname)
1652 (python-file-queue, python-comint-output-filter-function)
1653 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
1654 variables and functions.
1655
3e2d70fd
SM
16562011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
1657
1658 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
1659 (completion-in-region-mode): New minor mode.
1660 (completion-in-region): Use it.
1661 (completion-in-region--data, completion-in-region-mode-map): New vars.
1662 (completion-in-region--postch): New function.
1663 (completion--capf-misbehave-funs, completion--capf-safe-funs):
1664 New vars.
1665 (completion--capf-wrapper): New function.
1666 (completion-at-point): Use it to track well-behavedness of
1667 hook functions.
1668 (completion-help-at-point): New command.
1669
f3e4086c
JM
16702011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
1671
1672 * vc/add-log.el (add-change-log-entry): Don't use whitespace
1673 syntax class to search for whitespace on a single line
1674 (Message-ID: <4D938140.4030905@redhat.com>).
1675
eb7ffc14
LL
16762011-03-30 Leo Liu <sdl.web@gmail.com>
1677
1678 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
1679 New commands.
1680 (edit-abbrevs-map): Bind them here.
1681 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
1682
d806ab68
KM
16832011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
1684
1685 * allout.el (allout-hide-by-annotation, allout-flag-region):
1686 Reduce possibility of overlay leakage by making them volatile.
1687
1688 * allout-widgets.el (allout-widgets-tally): Define as nil so the
1689 hash is not shared between buffers. Mode initialization is
1690 responsible for giving it a useful starting value.
1691 (allout-item-span): Reduce possibility of overlay leakage by
1692 making them volatile.
1693 (allout-widgets-count-buttons-in-region): Add diagnostic function
1694 for tracking down button overlay leaks.
1695
ea622834
LL
16962011-03-29 Leo Liu <sdl.web@gmail.com>
1697
1698 * ido.el (ido-read-internal): Use the default history var
1699 minibuffer-history if no HISTORY is specified.
1700
b62f8267
G
17012011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
1702
03408648
SM
1703 * net/imap.el (imap-shell-open, imap-process-connection-type):
1704 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
1705 Kerberos, SSL, other subprocesses.
1706
947b6566
LL
17072011-03-28 Leo Liu <sdl.web@gmail.com>
1708
1709 * abbrev.el (abbrev-table-empty-p): New function.
1710 (prepare-abbrev-list-buffer): Place empty abbrev tables after
1711 nonempty ones. (Bug#5937)
1712
5ffb62aa
JD
17132011-03-27 Jan Djärv <jan.h.d@swipnet.se>
1714
1715 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
1716
7a097943
LL
17172011-03-27 Leo Liu <sdl.web@gmail.com>
1718
1719 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
1720 for foreground and background colors.
1721 (ansi-color-make-color-map): Adapt.
1722
c5b40130
LL
17232011-03-25 Leo Liu <sdl.web@gmail.com>
1724
1f48f7d2
LL
1725 * midnight.el (midnight-time-float): Remove. Note it calculates
1726 the microsecond component incorrectly and seconds-to-time does the
1727 same job.
625897ec 1728 Remove redundant (require 'timer).
1f48f7d2 1729
c5b40130
LL
1730 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
1731 (ido-completions): Remove unused arguments. (Bug#8329)
1732
d86d2721
SM
17332011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
1734
1735 * minibuffer.el (completion--flush-all-sorted-completions):
1736 Remove itself from hook.
1737 (completion-at-point): Let the functions perform the completion
1738 immediately and return nil or t.
1739 * comint.el (comint-dynamic-complete-functions): Now identical to
1740 completion-at-point-functions.
1741 (comint-dynamic-list-input-ring): Remove unused var `index'.
1742 (comint--match-partial-filename, comint--unquote&expand-filename):
1743 New funs, split from comint-match-partial-filename.
1744 (comint-dynamic-complete): Use completion-at-point.
1745 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
1746
e8974c48
DA
17472011-03-24 Drew Adams <drew.adams@oracle.com>
1748
1749 * thingatpt.el: Support `defun'.
1750
def71b5e
LL
17512011-03-23 Leo Liu <sdl.web@gmail.com>
1752
cb5af48e
LL
1753 * abbrevlist.el: Move to obsolete/abbrevlist.el.
1754
def71b5e
LL
1755 * help-mode.el (help-mode-finish): Tweak regexp.
1756
927c53e7
GM
17572011-03-23 Glenn Morris <rgm@gnu.org>
1758
18d05bed
GM
1759 * eshell/esh-opt.el (eshell-eval-using-options):
1760 Do not bind unused local variable `eshell-option-stub'.
1761
927c53e7
GM
1762 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
1763
9d0da923
JB
17642011-03-22 Juanma Barranquero <lekktu@gmail.com>
1765
1766 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
1767 keymap variable in `with-no-warnings' to avoid a warning when the
1768 keymap has been already `defconst'ed.
1769
4b978a67
LL
17702011-03-22 Leo Liu <sdl.web@gmail.com>
1771
1772 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
1773 encode all chars in abbrevs; otherwise use emacs-mule or
1774 utf-8-emacs. (Bug#8308)
1775
5fd62452
JB
17762011-03-22 Juanma Barranquero <lekktu@gmail.com>
1777
0b1596c6
JB
1778 * simple.el (backward-delete-char-untabify):
1779 Avoid warning about using `delete-backward-char'.
1780
5fd62452
JB
1781 * image.el (image-type-file-name-regexps): Make it variable.
1782 `imagemagick-register-types' modifies it, and the user may want
1783 to add new extensions for known image types.
1784 (imagemagick-register-types): Throw error if not using ImageMagick.
1785
0b4e93f1
LL
17862011-03-22 Leo Liu <sdl.web@gmail.com>
1787
1788 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
1789 located before rcirc-prompt-end-marker.
1790 (rcirc-complete): Error if point is not after rcirc prompt.
1791 Handle the case when table is nil.
9882e214 1792 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 1793
fccee4ab
CY
17942011-03-22 Chong Yidong <cyd@stupidchicken.com>
1795
1796 * custom.el (custom--inhibit-theme-enable): Make it affect only
1797 custom-theme-set-variables and custom-theme-set-faces.
1798 (provide-theme): Ignore custom--inhibit-theme-enable.
1799 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
1800 (custom-enabling-themes): Delete variable.
d86d2721
SM
1801 (enable-theme): Accept only loaded themes as arguments.
1802 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
1803 (custom-enabled-themes): Forbid themes from setting this.
1804 Eliminate use of custom-enabling-themes.
1805 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 1806
af896da6
LL
18072011-03-21 Leo Liu <sdl.web@gmail.com>
1808
1809 * ido.el (ido-read-internal): Add ido-selected to history instead
1810 of user input.
1811
78f64af0
SM
18122011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
1813
1814 * subr.el (deferred-action-list, deferred-action-function):
1815 Mark obsolete.
1816
b16ac1ec
LL
18172011-03-21 Leo Liu <sdl.web@gmail.com>
1818
810f7698
LL
1819 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
1820 change on 2011-02-13 (bug#8309).
1821
b16ac1ec
LL
1822 * minibuffer.el (read-file-name-function): Change default value.
1823 (read-file-name--defaults): Rename from read-file-name-defaults.
1824 (read-file-name-default): Rename from read-file-name.
1825 (read-file-name): Call read-file-name-function.
1826
4e05e67e
GM
18272011-03-21 Glenn Morris <rgm@gnu.org>
1828
1829 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
1830 Doc fixes.
1831
4359915b
CY
18322011-03-21 Chong Yidong <cyd@stupidchicken.com>
1833
1834 * cus-theme.el: Add missing provide statement.
1835 (customize-create-theme): Extract theme value correctly.
1836 (custom-theme-visit-theme): Autoload.
1837 (customize-create-theme): Prompt before inserting default faces.
1838
1fe275ee
JB
18392011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
1840
1841 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
1842 units and musical notes.
1843
3ec03f7e
LL
18442011-03-20 Leo <sdl.web@gmail.com>
1845
1846 * ido.el (ido-read-internal): Use completing-read-default.
1847 (ido-completing-read): Fix compatibility with completing-read.
1848
7d476bde
CO
18492011-03-20 Christian Ohler <ohler@gnu.org>
1850
1851 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
1852 (ert-delete-all-tests): Use `called-interactively-p' rather than
1853 `interactive-p'.
1854 (ert--make-xrefs-region): Respect END.
1855
fe0fb33e
CY
18562011-03-19 Chong Yidong <cyd@stupidchicken.com>
1857
ff854b0b
CY
1858 * dired-aux.el (dired-create-directory): Signal an error if the
1859 directory already exists (Bug#8246).
1860
fe0fb33e
CY
1861 * facemenu.el (list-colors-display): Call list-faces-display
1862 inside with-help-window.
1863 (list-colors-print): Use display property to align the final
1864 column, instead of checking window-width.
1865
576bce32
EZ
18662011-03-19 Eli Zaretskii <eliz@gnu.org>
1867
1868 * emerge.el (emerge-metachars): Separate value for ms-dos and
1869 windows-nt systems.
1870 (emerge-protect-metachars): Quote correctly for ms-dos and
1871 windows-nt systems.
1872
8546720e 18732011-03-19 Ralph Schleicher <rs@ralph-schleicher.de> (tiny change)
e6ce307c
RS
1874
1875 * info.el (info-initialize): Replace all uses of `:' with
1876 path-separator for compatibility with non-Unix systems.
1877 Cache quoting of path-separator. (Bug#8258)
1878
b14e3e21 18792011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
1880
1881 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
1882 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
1883 (mouse-avoidance-mode): Fix typos in docstrings.
1884
4525ce3e
CY
18852011-03-19 Chong Yidong <cyd@stupidchicken.com>
1886
1887 * startup.el (package-subdirectory-regexp): Move from package.el.
1888 Omit \\` and \\', and let callers add them.
1889
1890 * emacs-lisp/package.el (package-strip-version)
1891 (package-load-all-descriptors): Add \\` and \\' to
1892 package-subdirectory-regexp before using it.
1893 (package-untar-buffer): New arg DIR; ensure that file untars only
1894 into this expected directory. Remove superfluous delete-region.
1895 (package-unpack): Caller changed.
1896 (package-tar-file-info): Use package-subdirectory-regexp.
1897
a904a09a 18982011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 1899
a904a09a
SM
1900 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
1901 diff-mode-shared-map (bug#8284).
1902 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
1903
19042011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
1905
1906 * calendar/time-date.el (format-seconds): Use assoc instead of
1907 assoc-string, since assoc-string doesn't exist in XEmacs.
1908
171fc304
JB
19092011-03-17 Juanma Barranquero <lekktu@gmail.com>
1910
1911 * custom.el (custom-known-themes): Reflow docstring.
1912 (custom-theme-load-path): Fix typo in docstring.
1913 (load-theme): Fix typo in error message.
1914 (custom-available-themes, custom-variable-theme-value):
1915 Use `let', not `let*'.
1916
d71990a1
JB
19172011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
1918
1919 * calc/README: Mention inclusion of musical notes.
1920
1921 * calc/calc-units.el (calc-lu-quant): Rename from
1922 `calc-logunits-quantity'.
1923 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
1924 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
1925 (calc-db): Rename from `calc-dblevel'.
1926 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
1927 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
1928 (calc-np): Rename from `calc-nplevel'.
1929 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
1930 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
1931 (calc-lu-plus): Rename from `calc-logunits-add'.
1932 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
1933 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
1934 (calc-lu-minus): Rename from `calc-logunits-sub'.
1935 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
1936 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
1937 (calc-lu-times): Rename from `calc-logunits-mul'.
1938 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
1939 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
1940 (calc-lu-divide): Rename from `calc-logunits-div'.
1941 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
1942 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
1943
1944 * calc/calc-ext.el (calc-init-extensions): Update the names of the
1945 functions being autoloaded.
1946
1947 * calc/calc.el (calc-lu-power-reference): Rename from
1948 `calc-logunits-power-reference'.
1949 (calc-lu-field-reference): Rename from
1950 `calc-logunits-field-reference'.
1951
1952 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
1953
40c2934b
SM
19542011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
1955
1956 * minibuffer.el (completion-all-sorted-completions):
1957 Use :completion-cycle-penalty text property if present.
1958
b0911414
KM
19592011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
1960
1961 * allout.el (allout-yank-processing): Adjust for new rebulleting
1962 regime so bullet being yanked is used without prompting the user
1963 for a choice.
1964
8a05b668
JB
19652011-03-16 Juanma Barranquero <lekktu@gmail.com>
1966
1967 * startup.el (command-line): Warn the user that _emacs is deprecated.
1968
5ba5fb81
JB
19692011-03-16 Juanma Barranquero <lekktu@gmail.com>
1970
1971 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
1972 (delphi-verbose, delphi-comment-face, delphi-string-face)
1973 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
1974 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
1975 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
1976 (delphi-new-comment-line, delphi-font-lock-defaults)
1977 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
1978 Fix typos in docstrings.
1979
2dab465b
KM
19802011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
1981
5ba5fb81 1982 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
1983 Invert the roles of character and string values for INSTEAD, so a
1984 string is used for the more common case of a defaulting prompt.
1985
0adf5618
SM
19862011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
1987
1988 * progmodes/ruby-mode.el (ruby-backward-sexp):
1989 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
1990 * play/gamegrid.el (gamegrid-make-face):
1991 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
1992 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
1993 * notifications.el (notifications-notify):
1994 * net/xesam.el (xesam-search-engines):
1995 * net/quickurl.el (quickurl-list-insert):
1996 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
1997
d72700e5
CY
19982011-03-15 Chong Yidong <cyd@stupidchicken.com>
1999
2000 * startup.el (command-line): Update package subdirectory regexp.
2001
49c5410a
SM
20022011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
2003
c6eee9aa
SM
2004 * allout.el (allout-abbreviate-flattened-numbering)
2005 (allout-mode-deactivate-hook): Fix up obsolescence "date".
2006
49c5410a
SM
2007 * subr.el (read-char-choice): Only show the cursor after the prompt,
2008 not after the answer.
2009
047b2bb9
KR
20102011-03-15 Kevin Ryde <user42@zip.com.au>
2011
2012 * help-fns.el (variable-at-point): Skip leading quotes, if any
2013 (bug#8253).
2014
0a57d256
SM
20152011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
2016
2017 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
2018 warning message.
2019
77c992bc
MA
20202011-03-14 Michael Albinus <michael.albinus@gmx.de>
2021
2022 * shell.el (shell): When called interactively, offer to change the
2023 shell file name on remote hosts.
2024
eebc475d
TZ
20252011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
2026
2027 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
2028 integration for LDAP parameters. The host, base, user or binddn,
2029 and secret tokens can be specified in a netrc file, for instance.
2030 This is optional because an `auth-source' parameter must be
2031 specified in the search attributes.
2032
9d05d1ba
JB
20332011-03-13 Juanma Barranquero <lekktu@gmail.com>
2034
2035 * help.el (describe-mode): Link to the mode's definition (bug#8185).
2036
09d9db2c
GM
20372011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2038
2039 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
2040 into declaration. Remove redundant and harmful binding.
2041
20422011-03-12 Eli Zaretskii <eliz@gnu.org>
2043
2044 * files.el (file-ownership-preserved-p): Pass `integer' as an
2045 explicit 2nd argument to `file-attributes'. If the file's owner
2046 is the Administrators group on Windows, and the current user is
2047 Administrator, consider that a match.
2048
2049 * server.el (server-ensure-safe-dir): Consider server directory
2050 safe on MS-Windows if its owner is the Administrators group while
2051 the current Emacs user is Administrator. Use `=' to compare
2052 numerical UIDs, since they could be integers or floats.
2053
219bd536
JB
20542011-03-12 Juanma Barranquero <lekktu@gmail.com>
2055
2056 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
2057
f3afd36b
MA
20582011-03-12 Michael Albinus <michael.albinus@gmx.de>
2059
2060 Sync with Tramp 2.2.1.
2061
2062 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
2063
2064 * net/trampver.el: Update release number.
2065
3aaaa6f1
SM
20662011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2067
94642599
SM
2068 * progmodes/compile.el (compilation--previous-directory): Fix up
2069 various nil/dead-marker mismatches (bug#8014).
2070 (compilation-directory-properties, compilation-error-properties):
2071 Don't call it at a position past the one we're about to change.
2072
3aaaa6f1
SM
2073 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
2074 Disable obsolescence warnings in the file that declares it.
2075
14239447
KM
20762011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
2077
099c39a4
JB
2078 * allout-widgets.el (allout-widgets-tally):
2079 Initialize allout-widgets-tally as a hash table rather than nil to
2080 prevent mode-line redisplay warnings. Also, clarify the module
2081 description and fix a comment typo.
14239447 2082
135e287c
JB
20832011-03-11 Juanma Barranquero <lekktu@gmail.com>
2084
2085 * help-fns.el (describe-variable): Don't complete keywords.
2086 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
2087
ffbf300e
CY
20882011-03-10 Chong Yidong <cyd@stupidchicken.com>
2089
ba08b241
CY
2090 * emacs-lisp/package.el (package-version-join): Impose a standard
2091 string representation for pre/alpha/beta version lists.
2092 (package-unpack-single): Standardize the directory name by passing
2093 it through package-version-join.
2094 (package-strip-rcs-id): Accept any version string that does not
2095 signal an error in version-to-list.
ffbf300e 2096
f346fd6b
MA
20972011-03-10 Michael Albinus <michael.albinus@gmx.de>
2098
2099 * simple.el (delete-trailing-whitespace): Return nil for the
2100 benefit of `write-file-functions'.
2101
ccb55d27
GM
21022011-03-10 Glenn Morris <rgm@gnu.org>
2103
5ceaac0c
GM
2104 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
2105
02da65ff
GM
2106 * vc/vc-git.el (vc-git-program): New option.
2107 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
2108 (vc-git--call): Use it.
2109
b2f603cc
GM
2110 * eshell/esh-util.el (eshell-condition-case): Doc fix.
2111
5772caab
GM
2112 * cus-edit.el (Custom-newline): If no button at point, look
2113 for a subgroup button at start-of-line. (Bug#2298)
2114
ccb55d27
GM
2115 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
2116
ec6ecaed
JD
21172011-03-10 Julien Danjou <julien@danjou.info>
2118
2119 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
2120 `cursor-type' is nil.
2121
9d5aa01d
JB
21222011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
2123
2124 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
2125
b6a5875b
KM
21262011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
2127
2128 * allout.el Summary: Change so yank of distinctive-bullet items
2129 preserves the existing header prefix, rebulleting it if necessary,
2130 rather than replacing it. This is necessary for proper operation
2131 of cooperative addons like allout-widgets.
219bd536 2132 (allout-make-topic-prefix, allout-rebullet-heading): Change
b6a5875b
KM
2133 SOLICIT arg to INSTEAD, and interpret additionally a string value
2134 as alternate bullet to be used, instead of prompting the user for
2135 a bullet character.
2136
ee545c35
MA
21372011-03-09 Michael Albinus <michael.albinus@gmx.de>
2138
d86d2721
SM
2139 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2140 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
2141 `tramp-default-port'.
2142
c47971d7
DD
21432011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2144
2145 * net/rcirc.el (rcirc-handler-001): Remove useless
2146 with-rcirc-process-buffer.
2147 (rcirc-check-auth-status): Swap arguments to string-match.
2148
13522cb4
GM
21492011-03-09 Glenn Morris <rgm@gnu.org>
2150
0be6f4f1
GM
2151 * shell.el (shell-mode):
2152 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
2153
13522cb4
GM
2154 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
2155 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
2156
515de2e3
CY
21572011-03-08 Chong Yidong <cyd@stupidchicken.com>
2158
2159 * emacs-lisp/package.el (package-refresh-contents)
2160 (package-menu-execute): Use condition-case-no-debug.
2161
b511b994
MA
21622011-03-08 Michael Albinus <michael.albinus@gmx.de>
2163
2164 * simple.el (shell-command-to-string): Use `process-file'.
2165
2166 * emacs-lisp/package.el (package-tar-file-info): Handle also
2167 remote files.
2168
d86d2721
SM
2169 * emacs-lisp/package-x.el (package-upload-buffer-internal):
2170 Use `equal' for upload base check.
b511b994 2171
25bbfb31
AM
21722011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
2173
2174 * textmodes/texinfo.el (texinfo-environments):
2175 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
2176
be996521
GM
21772011-03-08 Glenn Morris <rgm@gnu.org>
2178
e9c8529f
GM
2179 * cus-start.el (cursor-in-non-selected-windows):
2180 Fix :set quoting oddness. (Bug#8192)
2181
be996521
GM
2182 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
2183 in some setf expressions. (Bug#2159)
2184
2bb5649e
CY
21852011-03-08 Chong Yidong <cyd@stupidchicken.com>
2186
2187 * custom.el (custom-available-themes): Return themes in
2188 alphabetical order.
2189
33383987 2190See ChangeLog.15 for earlier changes.
e3d51b27
MR
2191
2192;; Local Variables:
2193;; coding: utf-8
e3d51b27
MR
2194;; End:
2195
33383987 2196 Copyright (C) 2011 Free Software Foundation, Inc.
e3d51b27
MR
2197
2198 This file is part of GNU Emacs.
2199
2200 GNU Emacs is free software: you can redistribute it and/or modify
2201 it under the terms of the GNU General Public License as published by
2202 the Free Software Foundation, either version 3 of the License, or
2203 (at your option) any later version.
2204
2205 GNU Emacs is distributed in the hope that it will be useful,
2206 but WITHOUT ANY WARRANTY; without even the implied warranty of
2207 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2208 GNU General Public License for more details.
2209
2210 You should have received a copy of the GNU General Public License
2211 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.