lisp/eshell/esh-mode.el (find-tag-interactive): Small cleanup.
[emacs.git] / lisp / ChangeLog
blobf422a977ebe32cd871f0b97502ae7584a56a93a1
1 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
3         * eshell/esh-mode.el (find-tag-interactive): Declare function.
4         (eshell-find-tag): Remove `with-no-warnings', unneeded now.
5         Pass argument NO-DEFAULT to `find-tag-interactive'.
7 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
9         Lexical-binding cleanup.
11         * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
12         (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
13         * progmodes/ada-prj.el (ada-prj-initialize-values)
14         (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
15         (ada-prj-show-value):
16         * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
17         * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
18         (antlr-invalidate-context-cache, antlr-options-menu-filter)
19         (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
20         * progmodes/bug-reference.el (bug-reference-push-button):
21         * progmodes/fortran.el (fortran-line-length):
22         * progmodes/glasses.el (glasses-change):
23         * progmodes/octave-mod.el (octave-fill-paragraph):
24         * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
25         (python-pdbtrack-grub-for-buffer, python-sentinel):
26         * progmodes/sql.el (sql-save-connection):
27         * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
28         * progmodes/xscheme.el (xscheme-enter-debugger-mode):
29         Mark unused parameters.
31         * progmodes/compile.el (compilation--flush-directory-cache)
32         (compilation--flush-parse, compile-internal): Mark unused parameters.
33         (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
34         (compilation-next-error-function): Remove unused variable `timestamp'.
36         * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
37         (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
39         * progmodes/dcl-mode.el (dcl-end-of-command):
40         Remove unused variable `start'.
41         (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
42         (dcl-option-value-basic, dcl-option-value-offset)
43         (dcl-option-value-margin-offset, dcl-option-value-comment-line):
44         Mark unused parameters.
45         (dcl-save-local-variable): Remove unused variable `val'.
46         (mode): Declare.
48         * progmodes/delphi.el (delphi-save-state, delphi-after-change):
49         Mark unused parameters.
50         (delphi-ignore-changes): Move before first use.
51         (delphi-charset-token-at): Remove unused variable `start'.
52         (delphi-else-start): Remove unused variable `if-count'.
53         (delphi-comment-block-start, delphi-comment-block-end):
54         Remove unused variable `kind'.
55         (delphi-indent-line): Remove unused variable `new-point'.
57         * progmodes/ebrowse.el (ebrowse-files-list)
58         (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
59         Mark unused parameters.  Don't quote `lambda'.
60         (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
61         Don't quote `lambda'.
62         (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
63         (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
64         (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
65         (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
66         Use `ignore-errors'.
67         (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
68         (ebrowse-view/find-file-and-search-pattern)
69         (ebrowse-view/find-member-declaration/definition):
70         Rename parameter TAGS-FILE-NAME to TAGS-FILE.
71         (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
72         Rename parameter PREFIX-ARG to PREFIX.
73         (ebrowse-tags-read-name): Remove unused variables `start' and
74         `member-info'.
75         (ebrowse-display-member-buffer): Rename variable `tags-file-name'
76         to `tags-file'.
78         * progmodes/etags.el (local-find-tag-hook): Declare.
79         (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
80         Mark unused parameters.
82         * progmodes/executable.el (compilation-error-regexp-alist): Declare.
83         (executable-interpret): Mark unused parameter.
85         * progmodes/flymake.el (flymake-process-sentinel)
86         (flymake-after-change-function)
87         (flymake-create-temp-with-folder-structure)
88         (flymake-get-include-dirs-dot): Mark unused parameters.
89         (flymake-safe-delete-directory): Remove unused variable `err'.
91         * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
92         (speedbar-timer-fn, speedbar-line-text)
93         (speedbar-change-expand-button-char, speedbar-delete-subblock)
94         (speedbar-center-buffer-smartly): Declare functions.
95         (gdb-find-watch-expression): Remove unused variable `array'.
96         (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
97         (gdb-starting): Mark unused parameters.
98         (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
99         (gdb-table-string): Remove unused variable `res'.
100         (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
101         (gdb-disassembly-handler-custom): Remove unused variable `pos'.
102         (gdb-display-buffer): Remove unused variable `cur-size'.
104         * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
105         allow lexical-binding compilation.
106         (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
107         (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
108         (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
109         Mark unused parameters.
110         (gud-gdb-marker-filter): Remove unused variable `match'.
111         (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
112         lambda expressions and funcall them, instead of using `fset'.
114         * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
115         HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
117         * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
118         variable `header-beg'; use `let'.
120         * progmodes/icon.el (indent-icon-exp): Remove unused variables
121         `restart', `last-sexp' and `at-do'.
123         * progmodes/js.el (js--debug): Mark unused parameter.
124         (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
125         (js--splice-into-items): Remove unused variable `item'.
126         (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
128         * progmodes/make-mode.el (makefile-make-font-lock-keywords):
129         Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
130         (makefile-complete): Remove unused variable `try'.
131         (makefile-fill-paragraph, makefile-match-function-end):
132         Mark unused parameters.
134         * progmodes/octave-inf.el (inferior-octave-complete):
135         Remove unused variable `proc'.
136         (inferior-octave-output-digest): Mark unused parameter.
138         * progmodes/perl-mode.el (perl-calculate-indent):
139         Remove unused variable `err'.
141         * progmodes/prolog.el (prolog-mode-keybindings-inferior)
142         (prolog-indent-line): Mark unused parameters.
143         (prolog-indent-line): Remove unused variable `beg'.
145         * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
146         (reporter-dont-compact-list): Declare.
148         * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
149         Remove unused variable `char'.
150         (sh-debug): Mark unused parameter.
151         (sh-get-indent-info): Remove unused variable `start'.
152         (sh-calculate-indent): Remove unused variable `var'.
154         * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
155         (simula-electric-keyword): Remove unused variable `null'.
156         (simula-search-backward, simula-search-forward): Remove unused
157         variables `begin' and `end'.
159         * progmodes/vera-mode.el (vera-guess-basic-syntax):
160         Remove unused variable `pos'.
161         (vera-electric-tab, vera-comment-uncomment-region):
162         Mark unused parameters.
163         (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
165 2011-04-22  Chong Yidong  <cyd@stupidchicken.com>
167         * emacs-lisp/package.el (package--builtins, package-alist)
168         (package-load-descriptor, package-built-in-p, package-activate)
169         (define-package, package-installed-p)
170         (package-compute-transaction, package-buffer-info)
171         (package--push): Doc fix.  Distinguish more clearly between
172         version strings and version lists.
174 2011-04-21  Juanma Barranquero  <lekktu@gmail.com>
176         Lexical-binding cleanup.
178         * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
179         (5x5-make-mutate-best):
180         * play/fortune.el (fortune-in-buffer):
181         * play/gomoku.el (gomoku-init-display):
182         * play/solitaire.el (solitaire, solitaire-do-check):
183         * play/tetris.el (tetris-default-update-speed-function):
184         Mark unused parameters.
186         * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
187         (bubbles--shift): Remove unused variable `char-org'.
188         (bubbles--set-faces): Remove unused variable `fg-col'.  Simplify.
189         (bubbles--show-images): Remove unused variable `char'.
191         * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
192         (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
193         (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
194         (decipher-analyze-buffer): Use ?\s.
195         (decipher-make-checkpoint): Remove unused variable `mapping'.
197         * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
199         * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
200         Remove unused variable `result'; use `let'.
202         * play/gametree.el (gametree-current-layout, gametree-apply-layout):
203         Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
204         (gametree-children-shown-p, gametree-compute-reduced-score):
205         Use `ignore-errors'.
207         * play/handwrite.el (ps-lpr-switches): Declare.
208         (handwrite): Remove unused variables `pmin' and `lastp'.
210         * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
212         * play/landmark.el (landmark-init-display)
213         (landmark-update-naught-weights): Mark unused parameters.
214         (landmark-y): Remove unused variable `noise'.  Simplify.
215         (landmark-human-plays): Remove unused variable `score'.
217         * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
218         (mpuz-try-proposal): Remove unused variable `game'.
220         * play/zone.el (life-patterns): Declare.
222 2011-04-20  Juanma Barranquero  <lekktu@gmail.com>
224         * vc/vc.el (ediff-vc-internal): Declare function.
226 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
228         * shell.el: Use lexical-binding and std completion UI.
229         (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
230         (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
231         comint-preoutput-filter-functions rather than on
232         comint-output-filter-functions.
233         (shell-command-completion, shell--command-completion-data)
234         (shell-filename-completion, shell-environment-variable-completion)
235         (shell-c-a-p-replace-by-expanded-directory): New functions.
236         (shell-dynamic-complete-functions, shell-dynamic-complete-command)
237         (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
238         (shell-dynamic-complete-environment-variable): Use them.
239         (shell-dynamic-complete-as-environment-variable)
240         (shell-dynamic-complete-as-command): Remove.
241         (shell-match-partial-variable): Match past point.
242         * comint.el: Clean up use of completion-at-point-functions.
243         (comint-completion-at-point): New function.
244         (comint-mode): Use it completion-at-point-functions.
245         (comint-dynamic-complete): Make it obsolete.
246         (comint-replace-by-expanded-history-before-point): Add dry-run arg.
247         (comint-c-a-p-replace-by-expanded-history): New function.
248         (comint-dynamic-complete-functions)
249         (comint-replace-by-expanded-history): Use it.
250         * minibuffer.el (completion-table-with-terminator): Allow dynamic
251         termination strings.  Try harder to avoid second try-completion.
252         (completion-in-region-mode-map): Disable bindings that don't work yet.
254         * comint.el: Use lexical-binding.  Require CL.
255         (comint-dynamic-complete-functions): Use comint-filename-completion.
256         (comint-completion-addsuffix): Tweak custom type.
257         (comint-filename-completion, comint--common-suffix)
258         (comint--common-quoted-suffix, comint--table-subvert)
259         (comint--complete-file-name-data): New functions.
260         (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
261         (comint-dynamic-list-filename-completions): Use them.
262         (comint-dynamic-simple-complete): Make obsolete.
264         * minibuffer.el (completion-in-region-mode):
265         Keep completion-in-region-mode--predicate global.
266         (completion-in-region--postch):
267         Assume completion-in-region-mode--predicate is not null.
269         * progmodes/flymake.el (flymake-start-syntax-check-process):
270         Obey `dir'.  Simplify.
272         * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
273         we're in VC after all.
275 2011-04-20  Christoph Scholtes  <cschol2112@googlemail.com>
277         * vc/vc.el (vc-diff-build-argument-list-internal)
278         (vc-version-ediff, vc-ediff): New commands.
279         (vc-version-diff): Use vc-diff-build-argument-list-internal.
281 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
283         * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
284         add sanity check.
286         * obsolete/erc-hecomplete.el: Make obsolete.
287         * obsolete/: Standardize obsolescence info in the header.
289 2011-04-20  Glenn Morris  <rgm@gnu.org>
291         * calendar/solar.el (solar-horizontal-coordinates):
292         Use the longitude argument rather than `calendar-longitude'.
293         (solar-date-next-longitude): Remove unused locals.
295 2011-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
297         * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
298         (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
299         multi-line comments as well.
301 2011-04-19  Juanma Barranquero  <lekktu@gmail.com>
303         Lexical-binding cleanup.
305         * arc-mode.el (archive-mode-revert):
306         * cmuscheme.el (scheme-interactively-start-process):
307         * custom.el (custom-initialize-delay):
308         * dnd.el (dnd-open-local-file, dnd-open-remote-url):
309         * dos-w32.el (direct-print-region-helper, direct-print-region-function):
310         * emacs-lock.el (emacs-lock-clear-sentinel):
311         * ezimage.el (defezimage):
312         * follow.el (follow-avoid-tail-recenter):
313         * fringe.el (set-fringe-mode-1):
314         * generic-x.el (bat-generic-mode-compile):
315         * help-mode.el (help-info-variable, help-do-xref)
316         (help-mode-revert-buffer):
317         * help.el (view-emacs-todo):
318         * iswitchb.el (iswitchb-completion-help):
319         * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
320         * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
321         (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
322         * locate.el (locate-update):
323         * longlines.el (longlines-encode-region)
324         (longlines-after-change-function):
325         * outline.el (outline-isearch-open-invisible):
326         * ps-def.el (declare-function, charset-dimension, char-width)
327         (encode-char):
328         * ps-mule.el (ps-mule-plot-string):
329         * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
330         (recentf-edit-list-select, recentf-edit-list-validate)
331         (recentf-open-files-action):
332         * rect.el (delete-whitespace-rectangle-line)
333         (rectangle-number-line-callback):
334         * register.el (window-configuration-to-register)
335         (frame-configuration-to-register):
336         * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
337         * select.el (xselect-convert-to-string, xselect-convert-to-length)
338         (xselect-convert-to-targets, xselect-convert-to-delete)
339         (xselect-convert-to-filename, xselect-convert-to-charpos)
340         (xselect-convert-to-lineno, xselect-convert-to-colno)
341         (xselect-convert-to-os, xselect-convert-to-host)
342         (xselect-convert-to-user, xselect-convert-to-class)
343         (xselect-convert-to-name, xselect-convert-to-integer)
344         (xselect-convert-to-atom, xselect-convert-to-identity):
345         * subr.el (declare, ignore, process-kill-without-query)
346         (text-clone-maintain):
347         * terminal.el (te-get-char, te-tic-sentinel):
348         * tool-bar.el (tool-bar-make-keymap):
349         * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
350         * type-break.el (type-break-mode, type-break-noninteractive-query):
351         * view.el (View-back-to-mark):
352         * wid-browse.el (widget-browse-action, widget-browse-widget)
353         (widget-browse-widgets, widget-browse-sexp):
354         * widget.el (define-widget-keywords):
355         * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
356         Mark unused parameters.
358         * align.el (align-adjust-col-for-rule): Mark unused parameter.
359         (align-areas): Remove unused variable `look'.
360         (align-region): Remove unused variables `real-end' and `pos-list'.
362         * apropos.el (apropos-score-doc): Remove unused variable `i'.
364         * bindings.el (mode-line-modified, mode-line-remote):
365         Mark unused parameters.
366         (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
368         * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
369         (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
371         * comint.el (comint-history-isearch-pop-state)
372         (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
373         (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
374         (comint-substitute-in-file-name): Doc fix.
376         * completion.el (cmpl-statistics-block): Mark unused parameter.
377         (add-completions-from-tags-table, add-completions-from-lisp-buffer)
378         (save-completions-to-file, load-completions-from-file):
379         Remove unused local variable `e'.
381         * composite.el (compose-chars): Remove unused variable `len'.
382         (lgstring-insert-glyph): Remove unused variable `g'.
383         (compose-glyph-string): Remove unused variables `ascent',
384         `descent', `lbearing' and `rbearing'.
385         (compose-glyph-string-relative): Remove unused variables
386         `lbearing', `rbearing' and `wadjust'.
387         (compose-gstring-for-graphic): Remove unused variables `header',
388         `wadjust', `xoff' and `yoff'.  Use `let', not `let*'.
389         (compose-gstring-for-terminal): Remove unused variables `header'
390         and `nchars'.  Use `let', not `let*'.
392         * cus-edit.el (Custom-set, Custom-save, custom-reset)
393         (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
394         (Custom-buffer-done, custom-buffer-create-internal)
395         (custom-browse-visibility-action, custom-browse-group-tag-action)
396         (custom-browse-variable-tag-action, custom-browse-face-tag-action)
397         (widget-magic-mouse-down-action, custom-toggle-parent)
398         (custom-add-parent-links, custom-toggle-hide-variable)
399         (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
400         (custom-toggle-hide-face, face, hook, custom-group-link-action)
401         (custom-face-menu-create, custom-variable-menu-create, get)
402         (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
403         (custom-reset-standard-save-and-update): Remove unused variable `value'.
404         (customize-apropos): Remove unused variable `tests'.
405         (custom-group-value-create): Remove unused variable `hidden-p'.
406         (sort-fold-case): Declare.
408         * cus-theme.el (custom-reset-standard-faces-list)
409         (custom-reset-standard-variables-list): Declare.
410         (customize-create-theme, custom-theme-revert, custom-theme-write)
411         (custom-theme-choose-mode, customize-themes, custom-theme-save):
412         Mark unused parameters.
414         * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
416         * delim-col.el (delimit-columns-max): Move defvar before first use.
418         * descr-text.el (describe-char-categories): Don't quote `lambda'.
419         (describe-char): Don't quote `lambda'.  Mark unused parameter.
421         * desktop.el (desktop-save-buffer-p): Mark unused parameter.
422         (auto-insert): Declare.
423         (desktop-restore-file-buffer): Rename desktop-* parameters;
424         mark unused ones.
425         (desktop-create-buffer): Rename desktop-* parameters and bind them.
426         (desktop-buffer): Rename desktop-* parameters.
428         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
429         (dframe-reposition-frame-xemacs, dframe-help-echo)
430         (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
431         Mark unused parameters.
433         * dired-aux.el (backup-extract-version-start, overwrite-query)
434         (overwrite-backup-query, rename-regexp-query)
435         (rename-non-directory-query): Declare.
436         (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
437         (dired-add-entry): Remove unused variable `orig-file-name'.
438         (dired-copy-file-recursive): Remove unused variable `dirfailed'.
439         Use parameter PRESERVE-TIME instead of accessing dynamic variable
440         `dired-copy-preserve-time' directly.
441         (dired-do-create-files-regexp): Remove unused variable `fn-count'.
442         (dired-insert-subdir-newpos): Rename unused variable `pos'.
444         * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
445         (dired-virtual-revert, dired-make-relative-symlink):
446         Mark unused parameters.
447         (manual-program): Declare.
448         (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
449         (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
450         wrapped in `with-no-warnings' to avoid replacing one warning by another.
452         * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
454         * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
456         * echistory.el (electric-history-in-progress, Helper-return-blurb):
457         Declare.
459         * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
461         * electric.el (Electric-command-loop): Rename parameter
462         INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
464         * expand.el (expand-in-literal): Remove unused variable `here'.
466         * facemenu.el (facemenu-add-new-color):
467         Remove unused variable `docstring'.
469         * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
470         (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
471         (face-attr-construct): Mark unused parameter.  Doc fix.
472         (read-color): Remove unused variable `hex-string'.
474         * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
475         (locate-dominating-file): Remove unused vars `prev-file' and `user'.
476         (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
477         (display-buffer-other-frame): Remove unused variable `old-window'.
478         (kill-buffer-hook): Declare.
479         (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
480         Mark unused parameters.
481         (after-find-file): Pass 1 to `auto-save-mode', not t.
483         * files-x.el (auto-insert): Declare.
484         (modify-file-local-variable-prop-line): Remove unused variable `val'.
486         * find-lisp.el (find-lisp-find-dired-internal): Remove unused
487         variable `buf'.  Mark unused parameter.
488         (find-lisp-insert-directory): Mark unused parameter.
490         * format.el (format-decode-run-method): Mark unused parameter; doc fix.
491         (format-encode-region): Remove unused variables `cur-buf' and `result'.
492         (format-common-tail): Remove, unused.
493         (format-deannotate-region): Remove unused variable `loc'.
494         (format-annotate-region): Remove unused variable `p'.
495         (format-annotate-single-property-change): Remove unused variables
496         `default' and `tail'.
498         * forms.el (read-file-filter): Declare.
499         (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
501         * frame.el (frame-creation-function-alist): Mark unused parameter.
502         (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
504         * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
505         Remove unused parameters.
506         (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
507         (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
509         * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
510         (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
511         (hfy-prepare-tag-map): Mark unused parameters.
512         (htmlfontify-buffer): Use `called-interactively-p'.
514         * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
515         (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
516         (ibuffer-do-occur): Mark unused parameters.
517         (ibuffer-forward-next-marked): Remove unused variable `curmark'.
518         (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
520         * ibuffer.el: Don't quote `lambda'.
521         (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
522         (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
523         Mark unused parameters.
525         * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
526         (ido-completing-read): Mark unused parameters.
527         (ido-copy-current-word): Mark unused parameters;
528         remove unused variable `name'.
529         (ido-sort-merged-list): Remove unused parameter `dirs'.
531         * ielm.el (ielm-input-sender): Mark unused parameter.
532         (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
533         (ielm-output, ielm-wbuf, ielm-pmark): Declare.
534         (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
535         `ielm-string' as a dynamic variable accessible from the IELM prompt.
536         Bind `ielm-string' to INPUT-STRING.  Remove unused variable `err'.
538         * image-dired.el (image-dired-display-thumbs): Remove unused
539         variables `curr-file' and `count'.
540         (image-dired-remove-tag): Remove unused variable `start'.
541         (image-dired-tag-files, image-dired-create-thumbs): Remove unused
542         variable `curr-file'
543         (image-dired-rotate-original): Remove unused variable `temp-file'.
544         (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
545         Remove unused variable `file'.
546         (image-dired-gallery-generate): Remove unused variable `curr'.
547         (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
549         * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
551         * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
553         * informat.el (texinfo-command-start, texinfo-command-end): Declare.
555         * isearch.el (minibuffer-history-symbol): Declare.
556         (isearch-edit-string): Remove unused variable `err'.
557         (isearch-message-prefix, isearch-message-suffix):
558         Mark unused parameters.
560         * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
562         * macros.el (insert-kbd-macro): Remove unused variable `mods'.
564         * makesum.el (double-column): Remove unused variable `cnt'.
566         * misearch.el (multi-isearch-pop-state): Mark unused parameter.
567         (ido-ignore-item-temp-list): Declare.
569         * mouse-drag.el (mouse-drag-throw): Remove unused variables
570         `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
571         `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
572         (mouse-drag-drag): Remove unused variables `mouse-delta' and
573         `mouse-col-delta'.
575         * mouse-sel.el (mouse-extend-internal):
576         Remove unused variable `orig-window-frame'.
578         * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
579         (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
580         Move declarations before first use.
581         (pcomplete-opt): Mark unused parameters; doc fix.
583         * proced.el (proced-revert): Mark unused parameter.
584         (proced-send-signal): Remove unused variable `err'.
586         * ps-print.el (ps-print-preprint-region, ps-print-preprint):
587         Rename parameter PREFIX-ARG to ARG.
588         (ps-basic-plot-string, ps-basic-plot-whitespace):
589         Mark unused parameters.
591         * replace.el (replace-count): Define.
592         (occur-revert-function): Mark unused parameters.
593         (ido-ignore-item-temp-list, isearch-error, isearch-forward)
594         (isearch-case-fold-search, isearch-string): Declare.
595         (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
596         bind `case-fold-search'.  Remove unused variables `beg' and `end',
597         and simplify.
598         (replace-eval-replacement): Rename parameter REPLACE-COUNT to
599         COUNT and bind `replace-count'.
600         (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
601         to COUNT.
603         * savehist.el (print-readably, print-string-length): Declare.
605         * shadowfile.el (shadow-expand-cluster-in-file-name):
606         Remove unused variable `cluster'.
607         (shadow-copy-file): Remove unused variable `i'.
608         (shadow-noquery, shadow-clusters, shadow-site-cluster)
609         (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
610         (shadow-define-literal-group, shadow-define-regexp-group)
611         (shadow-make-group, shadow-shadows-of): Clean up docstrings.
613         * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
614         (shell): Use `called-interactively-p'.
615         (shell-directory-tracker): Remove unused variable `chdir-failure'.
617         * simple.el (compilation-context-lines, comint-file-name-quote-list)
618         (comint-file-name-chars, comint-delimiter-argument-list): Declare.
619         (delete-backward-char): Remove unused variable `ocol'.
620         (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
621         (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
622         (event-apply-hyper-modifier, event-apply-shift-modifier)
623         (event-apply-control-modifier, event-apply-meta-modifier):
624         Mark unused parameters.
625         (undo-make-selective-list): Remove duplicate variable `undo-elt'.
626         (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
628         * speedbar.el (speedbar-ignored-directory-expressions)
629         (speedbar-supported-extension-expressions, speedbar-directory-buttons)
630         (speedbar-find-file, speedbar-dir-follow)
631         (speedbar-directory-buttons-follow, speedbar-tag-find)
632         (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
633         (speedbar-buffers-line-directory, speedbar-buffer-click):
634         Mark unused parameters.
635         (speedbar-tag-file): Remove unused variable `mode'.
636         (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
638         * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
640         * talk.el (talk): Remove unused variable `display'.
642         * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
643         (tar-write-region-annotate): Mark unused parameter.
645         * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
646         (minutes, seconds, time-zone, day, year, monthname, month, dayname):
647         Declare them, wrapped in `with-no-warnings' to avoid replacing one
648         warning by another.
650         * time-stamp.el (time-stamp-string-preprocess):
651         Remove unused variable `require-padding'.
653         * tree-widget.el (widget-glyph-enable): Declare.
654         (tree-widget-action): Mark unused parameter.
656         * w32-fns.el (x-get-selection): Mark unused parameter.
657         (autoload-make-program, generated-autoload-file): Declare.
659         * wdired.el (wdired-revert): Mark unused parameters.
660         (wdired-xcase-word): Remove unused variable `err'.
662         * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
663         (whitespace-help-scroll): Remove unused variable `data-help'.
665         * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
666         (widget-image-insert, widget-after-change, default)
667         (widget-default-format-handler, widget-default-notify)
668         (widget-default-prompt-value, widget-info-link-action)
669         (widget-url-link-action, widget-function-link-action)
670         (widget-variable-link-action, widget-file-link-action)
671         (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
672         (widget-field-prompt-internal, widget-field-action, widget-field-match)
673         (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
674         (widget-insert-button-action, widget-delete-button-action, visibility)
675         (widget-documentation-link-action, widget-documentation-string-action)
676         (widget-const-prompt-value, widget-regexp-match, symbol)
677         (widget-coding-system-prompt-value)
678         (widget-key-sequence-value-to-external, sexp)
679         (widget-sexp-value-to-internal, character, vector, cons)
680         (widget-choice-prompt-value, widget-boolean-prompt-value)
681         (widget-color--choose-action): Mark unused parameters.
682         (widget-item-match-inline, widget-choice-match-inline)
683         (widget-checklist-match, widget-checklist-match-inline)
684         (widget-group-match): Rename parameter VALUES to VALS.
685         (widget-field-value-set): Remove unused variable `size'.
686         (widget-color-action): Remove unused variables `value' and `start'.
688         * windmove.el (windmove-wrap-loc-for-movement): Remove unused
689         variable `dir'.  Doc fix.
690         (windmove-find-other-window): Don't pass it.
692         * window.el (count-windows): Mark unused parameter.
693         (bw-adjust-window): Remove unused variable `err'.
695         * woman.el (woman-file-name): Remove unused variable `default'.
696         (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
697         WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
698         (global-font-lock-mode): Declare.
699         (woman-decode-region): Mark unused parameter.
700         (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
702         * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
703         (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
704         (x-dnd-handle-moz-url): Remove unused variable `title'.
705         (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
707         * xml.el (xml-parse-tag, xml-parse-attlist):
708         Remove unused variable `pos'.
710 2011-04-19  Glenn Morris  <rgm@gnu.org>
712         * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
713         (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
714         (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
715         (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
716         * calendar/cal-html.el (cal-html-insert-minical):
717         * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
718         (calendar-mark-date-pattern):
719         Prefix "unused" locals.
721         * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
722         optional argument `style'.
724         * calendar/appt.el (appt-make-list):
725         * calendar/cal-china.el (calendar-chinese-date-string):
726         * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
727         (diary-hebrew-yahrzeit):
728         * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
729         * calendar/calendar.el (calendar-generate-window):
730         * calendar/time-date.el (time-to-days):
731         Remove unused local variables.
733 2011-04-18  Chong Yidong  <cyd@stupidchicken.com>
735         * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
736         glyphless-char-display table.
737         (tabulated-list-glyphless-char-display): New var.
739 2011-04-18  Sam Steingold  <sds@gnu.org>
741         * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
742         to acknowledgments.
744 2011-04-17  Glenn Morris  <rgm@gnu.org>
746         * calendar/diary-lib.el (diary-sexp-entry):
747         * calendar/holidays.el (holiday-sexp):
748         Set debug-on-error rather than the removed stack-trace-on-error.
750 2011-04-16  Glenn Morris  <rgm@gnu.org>
752         * progmodes/f90.el: Use lexical-binding.
753         (f90-get-correct-indent): Remove unnecessary local variable `cont'.
755 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
757         * mail/sendmail.el (mail-mode-map): Use completion-at-point.
758         (mail-mode): Setup mailalias completion here instead.
759         * mail/mailalias.el: Use lexical-binding.
760         (pattern, mailalias-done): Declare dynamic.
761         (mail-completion-at-point-function): New function, from mail-complete.
762         (mail-complete): Use it.
763         (mail-completion-expand): New function.
764         (mail-get-names): Use it.
765         (mail-directory, mail-directory-process, mail-directory-stream):
766         Don't use `pattern' for lexically bound arg.
768         * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
770         * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
771         (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
772         (hfy-etags-cmd-alist): Don't eval-and-compile any more.
774         * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
775         (byte-save-window-excursion, byte-temp-output-buffer-setup)
776         (byte-interactive-p): Define them again, for use when inlining
777         old code.
779 2011-04-15  Juanma Barranquero  <lekktu@gmail.com>
781         * loadup.el: Use `string-to-number', not `string-to-int'.
783 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
785         * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
786         gud-gdb-complete-command.
787         (gud-gdb-completions): New function, from gud-gdb-complete-command.
788         (gud-gdb-completion-at-point): New function.
789         (gud-gdb-completions): Remove.
791 2011-04-14  Michael Albinus  <michael.albinus@gmx.de>
793         * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
794         when the scripts fail.  Use `tramp-do-file-attributes-with-ls' then.
795         (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
796         whether `executable-find' is bound.
798         * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
800 2011-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
802         * minibuffer.el (completion-in-region-mode-predicate)
803         (completion-in-region-mode--predicate): New vars.
804         (completion-in-region, completion-in-region--postch)
805         (completion-in-region-mode): Use them.
806         (completion--capf-wrapper): Also return the hook function.
807         (completion-at-point, completion-help-at-point):
808         Adjust and provide a predicate.
810         Preserve arg names for advice of subr and lexical functions (bug#8457).
811         * help-fns.el (help-function-arglist): Consolidate the subr and
812         new-byte-code cases.  Add argument `preserve-names' to extract names
813         from the docstring when needed.
814         * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
815         (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
816         (ad-arglist): Use help-function-arglist's new arg.
817         (ad-definition-type): Use cond.
819 2011-04-13  Juanma Barranquero  <lekktu@gmail.com>
821         * autorevert.el (auto-revert-handler):
822         Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
823         which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
824         Don't quote lambda.
826         * image-mode.el (image-transform-set-scale):
827         Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
829 2011-04-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
831         * net/network-stream.el (network-stream-open-starttls): Only do
832         opportunistic STARTTLS upgrades if we have built-in gnutls support.
833         Upgrades via gnutls-cli are too slow to be done opportunistically.
835 2011-04-12  Juanma Barranquero  <lekktu@gmail.com>
837         * dframe.el (dframe-current-frame): Remove spurious quote.
839 2011-04-12  Glenn Morris  <rgm@gnu.org>
841         * calendar/cal-tex.el (cal-tex-end-document):
842         Try to automatically use latin1 input if needed.
844         * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
845         Don't try to cons a mark onto an empty element.
847 2011-04-11  Leo Liu  <sdl.web@gmail.com>
849         * ido.el (ido-buffer-internal): Allow method 'kill for virtual
850         buffers.
851         (ido-kill-buffer-at-head): Support killing virtual buffers.
853 2011-04-10  Chong Yidong  <cyd@stupidchicken.com>
855         * minibuffer.el (completion-show-inline-help): New var.
856         (completion--do-completion, minibuffer-complete)
857         (minibuffer-force-complete, minibuffer-complete-word):
858         Inhibit minibuffer messages if completion-show-inline-help is nil.
860         * icomplete.el (icomplete-mode): Bind completion-show-inline-help
861         to avoid interference from inline help (Bug#5849).
863 2011-04-10  Leo Liu  <sdl.web@gmail.com>
865         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
866         Fix typo.
868 2011-04-09  Chong Yidong  <cyd@stupidchicken.com>
870         * image-mode.el (image-toggle-display-image): Signal an error if
871         not in Image mode.
872         (image-transform-mode, image-transform-resize)
873         (image-transform-set-rotation): Doc fix.
874         (image-transform-set-resize): Delete.
875         (image-transform-set-scale, image-transform-fit-to-height)
876         (image-transform-fit-to-width): Handle image-toggle-display-image
877         and image-transform-resize directly.
879 2011-04-08  Sho Nakatani  <lay.sakura@gmail.com>
881         * doc-view.el (doc-view-fit-width-to-window)
882         (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
883         New functions for fitting the shown image to the Emacs window size.
884         (doc-view-mode-map): Add bindings for the new functions.
886 2011-04-08  Juanma Barranquero  <lekktu@gmail.com>
888         * vc-annotate.el (vc-annotate-show-log-revision-at-line):
889         Fix typo in docstring.
891 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
893         * files.el (file-size-human-readable): Produce one digit after
894         decimal, like "ls -lh" does.
896         * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
897         the file size representation.
899         * simple.el (list-processes): If async subprocesses are not
900         available, error out with a clear error message.
902 2011-04-08  Chong Yidong  <cyd@stupidchicken.com>
904         * help.el (help-form-show): New function, to be called from C.
905         Put help-form output in a buffer named differently than *Help*.
907 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
909         * files.el (file-size-human-readable): New function.
911         * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
912         computing the representation inline.  Don't require `cl'.
914 2011-04-08  Glenn Morris  <rgm@gnu.org>
916         * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
918         * net/browse-url.el (browse-url-firefox):
919         Test system-type, not system-configuration.
921         * vc/log-edit.el (log-edit-empty-buffer-p): New function.
922         (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
923         Use log-edit-empty-buffer-p.  (Bug#7598)
925         * net/rlogin.el (rlogin-process-connection-type): Simplify.
926         (rlogin-mode-map): Initialize in the defvar.
927         (rlogin): Use ignore-errors.
929         * replace.el (occur-mode-map): Some fixes for menu items.
931 2011-04-07  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
933         * play/morse.el (denato-region): Handle varying case.  (Bug#8386)
935 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
937         * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
938         issuing unused warnings.
940         * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
941         macro directly.
943         * simple.el: Lisp reimplement of list-processes.  Based on an
944         earlier reimplementation by Leo Liu, but using tabulated-list.el.
945         (process-menu-mode): New major mode.
946         (list-processes--refresh, list-processes):
947         (process-menu-visit-buffer): New functions.
949         * files.el (save-buffers-kill-emacs): Don't assume any return
950         value of list-processes, which is undocumented anyway.
952 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
954         * emacs-lisp/tabulated-list.el: New file.
956         * emacs-lisp/package.el: Use Tabulated List mode.
957         (package-menu-mode-map): Inherit from tabulated-list-mode-map.
958         (package-menu-mode): Derive from tabulated-list-mode.  Set up the
959         table format using Tabulated List mode variables.
960         (package--push): New macro, replacing package-list-maybe-add.
961         (package-menu--generate): Use package--push.  Renamed from
962         package--generate-package-list.
963         (package-menu-refresh, list-packages): Use it.
964         (package-menu--print-info): Rename from package-print-package.
965         Return insertion data instead of inserting it directly.
966         (package-menu-describe-package, package-menu-execute):
967         Use tabulated-list-get-id.
968         (package-menu-mark-delete, package-menu-mark-install)
969         (package-menu-mark-unmark, package-menu-backup-unmark)
970         (package-menu-mark-obsolete-for-deletion):
971         Use tabulated-list-put-tag.
972         (package--list-packages, package-menu-revert)
973         (package-menu-get-package, package-menu-get-version)
974         (package-menu-sort-by-column): Functions deleted.
975         (package-menu-package-list, package-menu-sort-key): Vars deleted.
976         (package-menu--status-predicate, package-menu--version-predicate)
977         (package-menu--name-predicate)
978         (package-menu--description-predicate): Handle arguments in the
979         Tabulated List format.
980         (package-list-packages-no-fetch): Call list-packages.
982 2011-04-06  Juanma Barranquero  <lekktu@gmail.com>
984         * files.el (after-find-file-from-revert-buffer): Remove variable.
985         (after-find-file): Don't bind it.
986         (revert-buffer-in-progress-p): New variable.
987         (revert-buffer): Bind it.
988         Pass nil for `after-find-file-from-revert-buffer'.
990         * saveplace.el (save-place-find-file-hook): Use new variable
991         `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
993 2011-04-06  Glenn Morris  <rgm@gnu.org>
995         * Makefile.in (AUTOGEN_VCS): New variable.
996         (autoloads): Use $AUTOGEN_VCS.
998         * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
999         * calendar/calendar.el (calendar-mode-map):
1000         Check for toolkit scroll bars.  (Bug#8305)
1002 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
1004         * minibuffer.el (completion-in-region--postch)
1005         (completion-in-region-mode): Remove unnecessary messages.
1007 2011-04-05  Juanma Barranquero  <lekktu@gmail.com>
1009         * font-lock.el (font-lock-refresh-defaults):
1010         Don't bind `hi-lock--inhibit-font-lock-hook', removed in
1011         2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
1013         * info.el (Info-directory-list, Info-read-node-name-2)
1014         (Info-split-parameter-string): Doc fixes.
1015         (Info-virtual-nodes): Reflow docstring.
1016         (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
1017         (Info-apropos-toc-nodes, info-finder, Info-get-token)
1018         (Info-find-emacs-command-nodes, Info-speedbar-key-map):
1019         Fix typos in docstrings.
1020         (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
1021         (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
1022         (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
1023         (Info-restore-desktop-buffer): Mark unused parameters.
1024         (Info-directory-find-file, Info-directory-find-node)
1025         (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
1026         (Info-virtual-index-find-node, Info-apropos-find-file)
1027         (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
1028         Mark unused parameters; fix typos in docstrings.
1029         (Info-virtual-index): Remove unused local variable `nodename'.
1031 2011-04-05  Deniz Dogan  <deniz@dogan.se>
1033         * net/rcirc.el: Update my e-mail address.
1034         (rcirc-mode-map): Remove M-o binding.
1036 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
1038         * startup.el (command-line): Save the cursor's theme-face
1039         directly, instead of using face-override-spec.
1041         * custom.el (load-theme): Minor optimization in assigning faces.
1043 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
1045         * help-fns.el (describe-variable): Complete all variables having
1046         documentation, including keywords.
1047         http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
1049 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
1051         Convert to lexical-binding.
1053         * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
1054         (bs--get-marked-string, bs--get-modified-string)
1055         (bs--get-readonly-string, bs--get-size-string, bs--get-name)
1056         (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
1057         (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
1059         * ehelp.el (electric-help-execute-extended)
1060         (electric-help-ctrl-x-prefix):
1061         * hexl.el (hexl-revert-buffer-function):
1062         * linum.el (linum-after-change, linum-after-scroll):
1063         * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
1065         * help-fns.el (help-describe-category-set): Remove unused ERR variable.
1067 2011-04-04  Daiki Ueno  <ueno@unixuser.org>
1069         * epa-dired.el:
1070         * epa-mail.el:
1071         * epa-hook.el:
1072         * epa-file.el:
1073         * epa.el:
1074         * epg.el: Use lexical binding.
1076 2011-04-03  Chong Yidong  <cyd@stupidchicken.com>
1078         * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
1080         * textmodes/flyspell.el (flyspell-word): Recognize default
1081         dictionary case for flyspell-mark-duplications-exceptions.
1082         Use regexp matching for languages.
1083         (flyspell-mark-duplications-exceptions): Add "that" and "had" for
1084         default dictionary (Bug#7926).
1086 2011-04-02  Chong Yidong  <cyd@stupidchicken.com>
1088         * emacs-lisp/package.el (package--with-work-buffer):
1089         Recognize https URLs.
1091         * net/network-stream.el: Move from gnus/proto-stream.el.
1092         Change prefix to network-stream throughout.
1093         (open-protocol-stream): Merge into open-network-stream, leaving
1094         open-protocol-stream as an alias.  Handle nil BUFFER args.
1096         * subr.el (open-network-stream): Move to net/network-stream.el.
1098 2011-04-02  Glenn Morris  <rgm@gnu.org>
1100         * find-dired.el (find-exec-terminator): New option.
1101         (find-ls-option): Test for -ls support.
1102         (find-ls-subdir-switches): Test for -b in find-ls-option.
1103         (find-dired, find-grep-dired): Doc fixes.
1104         (find-dired): Use find-exec-terminator.
1106         * find-dired.el (find-ls-option, find-ls-subdir-switches)
1107         (find-grep-options): Do not autoload these defcustoms, remove purecopy.
1108         (find-name-arg): Remove purecopy.
1110         * progmodes/grep.el (grep-find-use-xargs): Doc fix.
1111         (grep-compute-defaults): Check for `-exec COMMAND +' support.
1112         Set grep-find-use-xargs, grep-find-command, and grep-find-template
1113         accordingly.  Don't add the null-device if not needed.
1115         * files.el (save-some-buffers): Doc fix.
1117 2011-04-02  Eli Zaretskii  <eliz@gnu.org>
1119         * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
1121 2011-04-01  Juanma Barranquero  <lekktu@gmail.com>
1123         * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
1124         Use `dolist' rather than `mapcar'.
1126 2011-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>
1128         Add lexical binding.
1130         * subr.el (apply-partially): Use new closures rather than CL.
1131         (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
1132         (dolist, dotimes): Use slightly different expansion for lexical code.
1133         (functionp): Move to C.
1134         (letrec): New macro.
1135         (with-wrapper-hook): Use it and apply-partially instead of CL.
1136         (eval-after-load): Preserve lexical-binding.
1137         (save-window-excursion, with-output-to-temp-buffer): Turn them
1138         into macros.
1140         * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
1142         * help-fns.el (help-split-fundoc): Return nil if there's nothing else
1143         than the arglist.
1144         (help-add-fundoc-usage): Don't add `Not documented'.
1145         (help-function-arglist): Handle closures, subroutines, and new
1146         byte-code-functions.
1147         (help-make-usage): Remove leading underscores.
1148         (describe-function-1): Handle closures.
1149         (describe-variable): Use special-variable-p for completion.
1151         * files.el (lexical-binding): Declare safe.
1153         * emacs-lisp/pcase.el: Don't use destructuring-bind.
1154         (pcase--memoize): Rename from pcase-memoize.  Change weakness.
1155         (pcase): Add `let' pattern.
1156         Change memoization so it actually works.
1157         (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
1158         (pcase--u1) <guard, pred>: Fix possible shadowing problem.
1159         <let>: New case.
1161         * emacs-lisp/macroexp.el: Use lexical binding.
1162         (macroexpand-all-1): Check obsolete macros.  Expand compiler-macros.
1163         Don't convert ' to #' without checking that it's indeed quoting
1164         a lambda.
1166         * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
1167         Use eval-sexp-add-defvars.
1168         (eval-sexp-add-defvars): New fun.
1170         * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
1172         * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
1173         Don't autoload.
1174         (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
1175         than the internal `byte-compile-lambda'.
1176         (defmethod): Don't hide code under quotes.
1177         (eieio-defmethod): New `code' argument.
1179         * emacs-lisp/eieio-comp.el: Remove.
1181         * emacs-lisp/edebug.el (edebug-eval-defun)
1182         (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
1183         (edebug-toggle): Avoid `eval'.
1185         * emacs-lisp/disass.el (disassemble-internal): Handle new
1186         `closure' objects.
1187         (disassemble-1): Handle new byte codes.
1189         * emacs-lisp/cl.el (pushnew): Silence warning.
1191         * emacs-lisp/cl-macs.el (cl-byte-compile-block)
1192         (cl-byte-compile-throw): Remove.
1193         (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
1195         * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
1196         closures.
1198         * emacs-lisp/cconv.el: New file.
1200         * emacs-lisp/bytecomp.el: Use lexical binding instead of
1201         a "bytecomp-" prefix.  Macroexpand everything as a separate phase.
1202         (byte-compile-initial-macro-environment):
1203         Handle declare-function here.
1204         (byte-compile--lexical-environment): New var.
1205         (byte-stack-ref, byte-stack-set, byte-discardN)
1206         (byte-discardN-preserve-tos): New lap codes.
1207         (byte-interactive-p): Don't use any more.
1208         (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
1209         New macros.
1210         (byte-compile-lapcode): Use them and handle new lap codes.
1211         (byte-compile-obsolete): Remove.
1212         (byte-compile-arglist-signature): Handle new byte-code arg"lists".
1213         (byte-compile-arglist-warn): Check late def of inlinable funs.
1214         (byte-compile-cl-warn): Don't silence warnings for compiler-macros
1215         since they should have been expanded by now.
1216         (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
1217         (byte-compile-from-buffer): Remove unused second arg.
1218         (byte-compile-preprocess): New function.
1219         (byte-compile-toplevel-file-form): New function to distinguish
1220         file-form calls from outside from file-form calls from hunk-handlers.
1221         (byte-compile-file-form): Simplify.
1222         (byte-compile-file-form-defsubst): Remove.
1223         (byte-compile-file-form-defmumble): Simplify now that
1224         byte-compile-lambda always returns a byte-code-function.
1225         (byte-compile): Preprocess.
1226         (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
1227         Remove, not used any more.
1228         (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
1229         (byte-compile-make-args-desc): New funs.
1230         (byte-compile-lambda): Handle lexical functions.  Always return
1231         a byte-code-function.
1232         (byte-compile-reserved-constants): New var, to make up room for
1233         closed-over variables.
1234         (byte-compile-constants-vector): Obey it.
1235         (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
1236         (byte-compile-macroexpand-declare-function): New function.
1237         (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
1238         byte-code-functions.
1239         (byte-compile-form): Check obsolescence here.
1240         (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
1241         (byte-compile-variable-ref): Remove.
1242         (byte-compile-dynamic-variable-op): New fun.
1243         (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
1244         (byte-compile-variable-set): New funs.
1245         (byte-compile-discard): Add 2 args.
1246         (byte-compile-stack-ref, byte-compile-stack-set)
1247         (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
1248         (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
1249         macroexpand-all instead.
1250         (byte-compile-quote-form): Remove.
1251         (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
1252         (byte-compile-bind, byte-compile-unbind): New funs.
1253         (byte-compile-let): Handle let* and lexical binding.
1254         (byte-compile-let*): Remove.
1255         (byte-compile-catch, byte-compile-unwind-protect)
1256         (byte-compile-track-mouse, byte-compile-condition-case):
1257         Handle a new :fun-body form, used for lexical scoping.
1258         (byte-compile-save-window-excursion)
1259         (byte-compile-with-output-to-temp-buffer): Remove.
1260         (byte-compile-defun): Simplify.
1261         (byte-compile-stack-adjustment): New fun.
1262         (byte-compile-out): Use it.
1263         (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
1265         * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
1266         handler any more.
1268         * emacs-lisp/byte-opt.el: Use lexical binding.
1269         (byte-inline-lapcode): Remove (to bytecomp).
1270         (byte-compile-inline-expand): Pay attention to inlining to/from
1271         lexically bound code.
1272         (byte-compile-unfold-lambda): Don't handle byte-code-functions
1273         any more.
1274         (byte-optimize-form-code-walker): Don't handle save-window-excursion
1275         any more and don't call compiler-macros.
1276         (byte-compile-splice-in-already-compiled-code): Remove.
1277         (byte-code): Don't inline any more.
1278         (disassemble-offset): Receive `bytes' as argument rather than via
1279         dynamic scoping.
1280         (byte-compile-tag-number): Declare before first use.
1281         (byte-decompile-bytecode-1): Handle new byte-codes, don't change
1282         `return' even if make-spliceable.
1283         (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
1284         obsolete interactive-p.
1285         (byte-optimize-lapcode): Optimize new lap-codes.
1286         Don't trip up on new form of `byte-constant' lap code.
1288         * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
1290         * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
1292         * custom.el (custom-initialize-default, custom-declare-variable):
1293         Use `defvar'.
1295         * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
1296         New variables.
1297         (compile-onefile, .el.elc, compile-calc, recompile): Use them.
1298         (COMPILE_FIRST): Add macroexp and cconv.
1299         * makefile.w32-in: Mirror changes in Makefile.in.
1301         * vc/cvs-status.el:
1302         * vc/diff-mode.el:
1303         * vc/log-edit.el:
1304         * vc/log-view.el:
1305         * vc/smerge-mode.el:
1306         * textmodes/bibtex-style.el:
1307         * textmodes/css.el:
1308         * startup.el:
1309         * uniquify.el:
1310         * minibuffer.el:
1311         * newcomment.el:
1312         * reveal.el:
1313         * server.el:
1314         * mpc.el:
1315         * emacs-lisp/smie.el:
1316         * doc-view.el:
1317         * dired.el:
1318         * abbrev.el: Use lexical binding.
1320 2011-04-01  Eli Zaretskii  <eliz@gnu.org>
1322         * info.el (info-display-manual): New function.
1324 2011-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
1326         * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
1328 2011-03-31  Tassilo Horn  <tassilo@member.fsf.org>
1330         * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
1331         an entry for that server in rcirc-authinfo.  (Bug#8385)
1333 2011-03-31  Glenn Morris  <rgm@gnu.org>
1335         * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
1337         * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
1339 2011-03-30  Christoph Scholtes  <cschol2112@googlemail.com>
1341         * progmodes/python.el (python-default-interpreter)
1342         (python-python-command-args, python-jython-command-args)
1343         (python-which-shell, python-which-args, python-which-bufname)
1344         (python-file-queue, python-comint-output-filter-function)
1345         (python-toggle-shells, python-shell): Remove obsolete defcustoms,
1346         variables and functions.
1348 2011-03-30  Stefan Monnier  <monnier@iro.umontreal.ca>
1350         * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
1351         (completion-in-region-mode): New minor mode.
1352         (completion-in-region): Use it.
1353         (completion-in-region--data, completion-in-region-mode-map): New vars.
1354         (completion-in-region--postch): New function.
1355         (completion--capf-misbehave-funs, completion--capf-safe-funs):
1356         New vars.
1357         (completion--capf-wrapper): New function.
1358         (completion-at-point): Use it to track well-behavedness of
1359         hook functions.
1360         (completion-help-at-point): New command.
1362 2011-03-30  Jason Merrill  <jason@redhat.com>  (tiny change)
1364         * vc/add-log.el (add-change-log-entry): Don't use whitespace
1365         syntax class to search for whitespace on a single line
1366         (Message-ID: <4D938140.4030905@redhat.com>).
1368 2011-03-30  Leo Liu  <sdl.web@gmail.com>
1370         * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
1371         New commands.
1372         (edit-abbrevs-map): Bind them here.
1373         (write-abbrev-file): New optinal arg VERBOSE.  (Bug#5937)
1375 2011-03-29  Ken Manheimer  <ken.manheimer@gmail.com>
1377         * allout.el (allout-hide-by-annotation, allout-flag-region):
1378         Reduce possibility of overlay leakage by making them volatile.
1380         * allout-widgets.el (allout-widgets-tally): Define as nil so the
1381         hash is not shared between buffers.  Mode initialization is
1382         responsible for giving it a useful starting value.
1383         (allout-item-span): Reduce possibility of overlay leakage by
1384         making them volatile.
1385         (allout-widgets-count-buttons-in-region): Add diagnostic function
1386         for tracking down button overlay leaks.
1388 2011-03-29  Leo Liu  <sdl.web@gmail.com>
1390         * ido.el (ido-read-internal): Use the default history var
1391         minibuffer-history if no HISTORY is specified.
1393 2011-03-28  Brian T. Sniffen  <bsniffen@akamai.com>  (tiny change)
1395         * net/imap.el (imap-shell-open, imap-process-connection-type):
1396         Use imap-process-connection-type for 'shell' streams as well as
1397         Kerberos, SSL, other subprocesses.
1399 2011-03-28  Leo Liu  <sdl.web@gmail.com>
1401         * abbrev.el (abbrev-table-empty-p): New function.
1402         (prepare-abbrev-list-buffer): Place empty abbrev tables after
1403         nonempty ones.  (Bug#5937)
1405 2011-03-27  Jan Djärv  <jan.h.d@swipnet.se>
1407         * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
1409 2011-03-27  Leo Liu  <sdl.web@gmail.com>
1411         * ansi-color.el (ansi-color-names-vector): Allow cons cell value
1412         for foreground and background colors.
1413         (ansi-color-make-color-map): Adapt.
1415 2011-03-25  Leo Liu  <sdl.web@gmail.com>
1417         * midnight.el (midnight-time-float): Remove.  Note it calculates
1418         the microsecond component incorrectly and seconds-to-time does the
1419         same job.
1420         Remove redundant (require 'timer).
1422         * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
1423         (ido-completions): Remove unused arguments.  (Bug#8329)
1425 2011-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
1427         * minibuffer.el (completion--flush-all-sorted-completions):
1428         Remove itself from hook.
1429         (completion-at-point): Let the functions perform the completion
1430         immediately and return nil or t.
1431         * comint.el (comint-dynamic-complete-functions): Now identical to
1432         completion-at-point-functions.
1433         (comint-dynamic-list-input-ring): Remove unused var `index'.
1434         (comint--match-partial-filename, comint--unquote&expand-filename):
1435         New funs, split from comint-match-partial-filename.
1436         (comint-dynamic-complete): Use completion-at-point.
1437         (comint-dynamic-complete-filename): Use comint--match-partial-filename.
1439 2011-03-24  Drew Adams  <drew.adams@oracle.com>
1441         * thingatpt.el: Support `defun'.
1443 2011-03-23  Leo Liu  <sdl.web@gmail.com>
1445         * abbrevlist.el: Move to obsolete/abbrevlist.el.
1447         * help-mode.el (help-mode-finish): Tweak regexp.
1449 2011-03-23  Glenn Morris  <rgm@gnu.org>
1451         * eshell/esh-opt.el (eshell-eval-using-options):
1452         Do not bind unused local variable `eshell-option-stub'.
1454         * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
1456 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
1458         * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
1459         keymap variable in `with-no-warnings' to avoid a warning when the
1460         keymap has been already `defconst'ed.
1462 2011-03-22  Leo Liu  <sdl.web@gmail.com>
1464         * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
1465         encode all chars in abbrevs; otherwise use emacs-mule or
1466         utf-8-emacs.  (Bug#8308)
1468 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
1470         * simple.el (backward-delete-char-untabify):
1471         Avoid warning about using `delete-backward-char'.
1473         * image.el (image-type-file-name-regexps): Make it variable.
1474         `imagemagick-register-types' modifies it, and the user may want
1475         to add new extensions for known image types.
1476         (imagemagick-register-types): Throw error if not using ImageMagick.
1478 2011-03-22  Leo Liu  <sdl.web@gmail.com>
1480         * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
1481         located before rcirc-prompt-end-marker.
1482         (rcirc-complete): Error if point is not after rcirc prompt.
1483         Handle the case when table is nil.
1484         (rcirc-user-authenticated): Define to fix compiler warning.
1486 2011-03-22  Chong Yidong  <cyd@stupidchicken.com>
1488         * custom.el (custom--inhibit-theme-enable): Make it affect only
1489         custom-theme-set-variables and custom-theme-set-faces.
1490         (provide-theme): Ignore custom--inhibit-theme-enable.
1491         (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
1492         (custom-enabling-themes): Delete variable.
1493         (enable-theme): Accept only loaded themes as arguments.
1494         Ignore the special custom-enabled-themes variable.
1495         (custom-enabled-themes): Forbid themes from setting this.
1496         Eliminate use of custom-enabling-themes.
1497         (custom-push-theme): Quote "changed" custom var entry.
1499 2011-03-21  Leo Liu  <sdl.web@gmail.com>
1501         * ido.el (ido-read-internal): Add ido-selected to history instead
1502         of user input.
1504 2011-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
1506         * subr.el (deferred-action-list, deferred-action-function):
1507         Mark obsolete.
1509 2011-03-21  Leo Liu  <sdl.web@gmail.com>
1511         * vc/log-view.el: Remove (require 'wid-edit), not needed after the
1512         change on 2011-02-13 (bug#8309).
1514         * minibuffer.el (read-file-name-function): Change default value.
1515         (read-file-name--defaults): Rename from read-file-name-defaults.
1516         (read-file-name-default): Rename from read-file-name.
1517         (read-file-name): Call read-file-name-function.
1519 2011-03-21  Glenn Morris  <rgm@gnu.org>
1521         * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
1522         Doc fixes.
1524 2011-03-21  Chong Yidong  <cyd@stupidchicken.com>
1526         * cus-theme.el: Add missing provide statement.
1527         (customize-create-theme): Extract theme value correctly.
1528         (custom-theme-visit-theme): Autoload.
1529         (customize-create-theme): Prompt before inserting default faces.
1531 2011-03-20  Jay Belanger  <jay.p.belanger@gmail.com>
1533         * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
1534         units and musical notes.
1536 2011-03-20  Leo  <sdl.web@gmail.com>
1538         * ido.el (ido-read-internal): Use completing-read-default.
1539         (ido-completing-read): Fix compatibility with completing-read.
1541 2011-03-20  Christian Ohler  <ohler@gnu.org>
1543         * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
1544         (ert-delete-all-tests): Use `called-interactively-p' rather than
1545         `interactive-p'.
1546         (ert--make-xrefs-region): Respect END.
1548 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
1550         * dired-aux.el (dired-create-directory): Signal an error if the
1551         directory already exists (Bug#8246).
1553         * facemenu.el (list-colors-display): Call list-faces-display
1554         inside with-help-window.
1555         (list-colors-print): Use display property to align the final
1556         column, instead of checking window-width.
1558 2011-03-19  Eli Zaretskii  <eliz@gnu.org>
1560         * emerge.el (emerge-metachars): Separate value for ms-dos and
1561         windows-nt systems.
1562         (emerge-protect-metachars): Quote correctly for ms-dos and
1563         windows-nt systems.
1565 2011-03-19  Ralph Schleicher  <rs@ralph-schleicher.de>  (tiny change)
1567         * info.el (info-initialize): Replace all uses of `:' with
1568         path-separator for compatibility with non-Unix systems.
1569         Cache quoting of path-separator.  (Bug#8258)
1571 2011-03-19  Juanma Barranquero  <lekktu@gmail.com>
1573         * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
1574         (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
1575         (mouse-avoidance-mode): Fix typos in docstrings.
1577 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
1579         * startup.el (package-subdirectory-regexp): Move from package.el.
1580         Omit \\` and \\', and let callers add them.
1582         * emacs-lisp/package.el (package-strip-version)
1583         (package-load-all-descriptors): Add \\` and \\' to
1584         package-subdirectory-regexp before using it.
1585         (package-untar-buffer): New arg DIR; ensure that file untars only
1586         into this expected directory.  Remove superfluous delete-region.
1587         (package-unpack): Caller changed.
1588         (package-tar-file-info): Use package-subdirectory-regexp.
1590 2011-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
1592         * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
1593         diff-mode-shared-map (bug#8284).
1594         (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1596 2011-03-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1598         * calendar/time-date.el (format-seconds): Use assoc instead of
1599         assoc-string, since assoc-string doesn't exist in XEmacs.
1601 2011-03-17  Juanma Barranquero  <lekktu@gmail.com>
1603         * custom.el (custom-known-themes): Reflow docstring.
1604         (custom-theme-load-path): Fix typo in docstring.
1605         (load-theme): Fix typo in error message.
1606         (custom-available-themes, custom-variable-theme-value):
1607         Use `let', not `let*'.
1609 2011-03-17  Jay Belanger  <jay.p.belanger@gmail.com>
1611         * calc/README: Mention inclusion of musical notes.
1613         * calc/calc-units.el (calc-lu-quant): Rename from
1614         `calc-logunits-quantity'.
1615         (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
1616         (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
1617         (calc-db): Rename from `calc-dblevel'.
1618         (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
1619         (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
1620         (calc-np): Rename from `calc-nplevel'.
1621         (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
1622         (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
1623         (calc-lu-plus): Rename from `calc-logunits-add'.
1624         (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
1625         (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
1626         (calc-lu-minus): Rename from `calc-logunits-sub'.
1627         (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
1628         (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
1629         (calc-lu-times): Rename from `calc-logunits-mul'.
1630         (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
1631         (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
1632         (calc-lu-divide): Rename from `calc-logunits-div'.
1633         (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
1634         (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
1636         * calc/calc-ext.el (calc-init-extensions): Update the names of the
1637         functions being autoloaded.
1639         * calc/calc.el (calc-lu-power-reference): Rename from
1640         `calc-logunits-power-reference'.
1641         (calc-lu-field-reference): Rename from
1642         `calc-logunits-field-reference'.
1644         * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
1646 2011-03-17  Stefan Monnier  <monnier@iro.umontreal.ca>
1648         * minibuffer.el (completion-all-sorted-completions):
1649         Use :completion-cycle-penalty text property if present.
1651 2011-03-16  Ken Manheimer  <ken.manheimer@gmail.com>
1653         * allout.el (allout-yank-processing): Adjust for new rebulleting
1654         regime so bullet being yanked is used without prompting the user
1655         for a choice.
1657 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
1659         * startup.el (command-line): Warn the user that _emacs is deprecated.
1661 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
1663         * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
1664         (delphi-verbose, delphi-comment-face, delphi-string-face)
1665         (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
1666         (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
1667         (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
1668         (delphi-new-comment-line, delphi-font-lock-defaults)
1669         (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
1670         Fix typos in docstrings.
1672 2011-03-15  Ken Manheimer  <ken.manheimer@gmail.com>
1674         * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
1675         Invert the roles of character and string values for INSTEAD, so a
1676         string is used for the more common case of a defaulting prompt.
1678 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
1680         * progmodes/ruby-mode.el (ruby-backward-sexp):
1681         * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
1682         * play/gamegrid.el (gamegrid-make-face):
1683         * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
1684         (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
1685         * notifications.el (notifications-notify):
1686         * net/xesam.el (xesam-search-engines):
1687         * net/quickurl.el (quickurl-list-insert):
1688         * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
1690 2011-03-15  Chong Yidong  <cyd@stupidchicken.com>
1692         * startup.el (command-line): Update package subdirectory regexp.
1694 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
1696         * allout.el (allout-abbreviate-flattened-numbering)
1697         (allout-mode-deactivate-hook): Fix up obsolescence "date".
1699         * subr.el (read-char-choice): Only show the cursor after the prompt,
1700         not after the answer.
1702 2011-03-15  Kevin Ryde  <user42@zip.com.au>
1704         * help-fns.el (variable-at-point): Skip leading quotes, if any
1705         (bug#8253).
1707 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
1709         * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
1710         warning message.
1712 2011-03-14  Michael Albinus  <michael.albinus@gmx.de>
1714         * shell.el (shell): When called interactively, offer to change the
1715         shell file name on remote hosts.
1717 2011-03-13  Teodor Zlatanov  <tzz@lifelogs.com>
1719         * net/ldap.el (ldap-search-internal): Add `auth-source-search'
1720         integration for LDAP parameters.  The host, base, user or binddn,
1721         and secret tokens can be specified in a netrc file, for instance.
1722         This is optional because an `auth-source' parameter must be
1723         specified in the search attributes.
1725 2011-03-13  Juanma Barranquero  <lekktu@gmail.com>
1727         * help.el (describe-mode): Link to the mode's definition (bug#8185).
1729 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
1731         * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
1732         into declaration.  Remove redundant and harmful binding.
1734 2011-03-12  Eli Zaretskii  <eliz@gnu.org>
1736         * files.el (file-ownership-preserved-p): Pass `integer' as an
1737         explicit 2nd argument to `file-attributes'.  If the file's owner
1738         is the Administrators group on Windows, and the current user is
1739         Administrator, consider that a match.
1741         * server.el (server-ensure-safe-dir): Consider server directory
1742         safe on MS-Windows if its owner is the Administrators group while
1743         the current Emacs user is Administrator.  Use `=' to compare
1744         numerical UIDs, since they could be integers or floats.
1746 2011-03-12  Juanma Barranquero  <lekktu@gmail.com>
1748         * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
1750 2011-03-12  Michael Albinus  <michael.albinus@gmx.de>
1752         Sync with Tramp 2.2.1.
1754         * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
1756         * net/trampver.el: Update release number.
1758 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
1760         * progmodes/compile.el (compilation--previous-directory): Fix up
1761         various nil/dead-marker mismatches (bug#8014).
1762         (compilation-directory-properties, compilation-error-properties):
1763         Don't call it at a position past the one we're about to change.
1765         * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
1766         Disable obsolescence warnings in the file that declares it.
1768 2011-03-11  Ken Manheimer  <ken.manheimer@gmail.com>
1770         * allout-widgets.el (allout-widgets-tally):
1771         Initialize allout-widgets-tally as a hash table rather than nil to
1772         prevent mode-line redisplay warnings.  Also, clarify the module
1773         description and fix a comment typo.
1775 2011-03-11  Juanma Barranquero  <lekktu@gmail.com>
1777         * help-fns.el (describe-variable): Don't complete keywords.
1778         Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
1780 2011-03-10  Chong Yidong  <cyd@stupidchicken.com>
1782         * emacs-lisp/package.el (package-version-join): Impose a standard
1783         string representation for pre/alpha/beta version lists.
1784         (package-unpack-single): Standardize the directory name by passing
1785         it through package-version-join.
1786         (package-strip-rcs-id): Accept any version string that does not
1787         signal an error in version-to-list.
1789 2011-03-10  Michael Albinus  <michael.albinus@gmx.de>
1791         * simple.el (delete-trailing-whitespace): Return nil for the
1792         benefit of `write-file-functions'.
1794 2011-03-10  Glenn Morris  <rgm@gnu.org>
1796         * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
1798         * vc/vc-git.el (vc-git-program): New option.
1799         (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
1800         (vc-git--call): Use it.
1802         * eshell/esh-util.el (eshell-condition-case): Doc fix.
1804         * cus-edit.el (Custom-newline): If no button at point, look
1805         for a subgroup button at start-of-line.  (Bug#2298)
1807         * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
1809 2011-03-10  Julien Danjou  <julien@danjou.info>
1811         * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
1812         `cursor-type' is nil.
1814 2011-03-09  Jay Belanger  <jay.p.belanger@gmail.com>
1816         * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
1818 2011-03-09  Ken Manheimer  <ken.manheimer@gmail.com>
1820         * allout.el Summary: Change so yank of distinctive-bullet items
1821         preserves the existing header prefix, rebulleting it if necessary,
1822         rather than replacing it.  This is necessary for proper operation
1823         of cooperative addons like allout-widgets.
1824         (allout-make-topic-prefix, allout-rebullet-heading): Change
1825         SOLICIT arg to INSTEAD, and interpret additionally a string value
1826         as alternate bullet to be used, instead of prompting the user for
1827         a bullet character.
1829 2011-03-09  Michael Albinus  <michael.albinus@gmx.de>
1831         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
1832         Do not use `tramp-file-name-port', because this returns also
1833         `tramp-default-port'.
1835 2011-03-09  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
1837         * net/rcirc.el (rcirc-handler-001): Remove useless
1838         with-rcirc-process-buffer.
1839         (rcirc-check-auth-status): Swap arguments to string-match.
1841 2011-03-09  Glenn Morris  <rgm@gnu.org>
1843         * shell.el (shell-mode):
1844         Set comint-input-ring-size from HISTSIZE.  (Bug#7889)
1846         * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
1847         Check for GDBHISTFILE, HISTSIZE, etc.  (Bug#7889)
1849 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
1851         * emacs-lisp/package.el (package-refresh-contents)
1852         (package-menu-execute): Use condition-case-no-debug.
1854 2011-03-08  Michael Albinus  <michael.albinus@gmx.de>
1856         * simple.el (shell-command-to-string): Use `process-file'.
1858         * emacs-lisp/package.el (package-tar-file-info): Handle also
1859         remote files.
1861         * emacs-lisp/package-x.el (package-upload-buffer-internal):
1862         Use `equal' for upload base check.
1864 2011-03-08  Arni Magnusson  <arnima@hafro.is>  (tiny change)
1866         * textmodes/texinfo.el (texinfo-environments):
1867         Add deftypecv, deftypeivar, deftypemethod, deftypeop, html.  (Bug#2783)
1869 2011-03-08  Glenn Morris  <rgm@gnu.org>
1871         * cus-start.el (cursor-in-non-selected-windows):
1872         Fix :set quoting oddness.  (Bug#8192)
1874         * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
1875         in some setf expressions.  (Bug#2159)
1877 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
1879         * custom.el (custom-available-themes): Return themes in
1880         alphabetical order.
1882 See ChangeLog.15 for earlier changes.
1884 ;; Local Variables:
1885 ;; coding: utf-8
1886 ;; End:
1888   Copyright (C) 2011  Free Software Foundation, Inc.
1890   This file is part of GNU Emacs.
1892   GNU Emacs is free software: you can redistribute it and/or modify
1893   it under the terms of the GNU General Public License as published by
1894   the Free Software Foundation, either version 3 of the License, or
1895   (at your option) any later version.
1897   GNU Emacs is distributed in the hope that it will be useful,
1898   but WITHOUT ANY WARRANTY; without even the implied warranty of
1899   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
1900   GNU General Public License for more details.
1902   You should have received a copy of the GNU General Public License
1903   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.