Improve Windows quoting robustness
[emacs.git] / lisp / ChangeLog
blobde7379149e8c743d98b3260d620bdd81e3fcfe23
1 2011-04-26  Daniel Colascione <dan.colascione@gmail.com>
3         * subr.el (shell-quote-argument): Escape correctly under Windows.
5 2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
7         * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
9 2011-04-25  Michael Albinus  <michael.albinus@gmx.de>
11         * net/tramp.el (tramp-process-actions): Add POS argument.
12         Delete region between POS and (pos).
14         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
15         Use `nil' position in `tramp-process-actions' call.
16         (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
18         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
19         position in `tramp-process-actions' call.
21         * net/trampver.el: Update release number.
23 2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
25         * custom.el (defcustom): Obey lexical-binding.
27         Fix octave-inf completion problems reported by Alexander Klimov.
28         * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
29         Inherit from octave-mode-syntax-table.
30         (inferior-octave-mode): Set info-lookup-mode.
31         (inferior-octave-completion-at-point): New function.
32         (inferior-octave-complete): Use it and completion-in-region.
33         (inferior-octave-dynamic-complete-functions): Use it as well, and use
34         comint-filename-completion.
35         * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
36         symbol elements which shouldn't be word elements.
37         (octave-font-lock-keywords, octave-beginning-of-defun)
38         (octave-function-header-regexp): Adjust regexps accordingly.
39         (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
41 2011-04-25  Juanma Barranquero  <lekktu@gmail.com>
43         * net/gnutls.el (gnutls-errorp): Declare before first use.
45 2011-04-24  Teodor Zlatanov  <tzz@lifelogs.com>
47         * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
48         verify-error, and verify-hostname-error parameters.  Check whether
49         default trustfile exists before going to use it.  Add missing
50         argument to gnutls-message-maybe call.  Return return value.
51         Reported by Claudio Bley <claudio.bley@gmail.com>.
52         (open-gnutls-stream): Add usage example.
54         * net/network-stream.el (network-stream-open-starttls): Give host
55         parameter to `gnutls-negotiate'.
56         (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
57         * subr.el (shell-quote-argument): Escape correctly under Windows.
59 2011-04-24  Daniel Colascione <dan.colascione@gmail.com>
61         * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
62         Use correct match group (bug#8438).
64 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
66         * emacs-lisp/package.el (package-built-in-p): Fix typo.
67         (package-menu--generate): New arg specifying packages to show.
68         (package-menu-refresh, package-menu-execute, list-packages):
69         Callers changed.
70         (package-show-package-list): New function, replacing deleted
71         package--list-packages (renamed because it is non-internal).
73         * finder.el (finder-list-matches): Use package-show-package-list
74         instead of deleted package--list-packages.
76         * vc/vc-annotate.el (vc-annotate-goto-line): New command.
77         Based on a previous implementation by Juanma Barranquero (Bug#8366).
78         (vc-annotate-mode-map): Bind it to RET.
80 2011-04-24  Uday S Reddy  <u.s.reddy@cs.bham.ac.uk>  (tiny change)
82         * progmodes/etags.el (next-file): Don't use set-buffer to change
83         buffers (Bug#8478).
85 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
87         * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
89         * apropos.el (apropos-label-face): Avoid variable-pitch face.
90         (apropos-accumulator): Doc fix.
91         (apropos-function, apropos-macro, apropos-command)
92         (apropos-variable, apropos-face, apropos-group, apropos-widget)
93         (apropos-plist): Add face property.
94         (apropos-symbols-internal): Fix indentation.
95         (apropos-print): Simplify help, and recognize apropos-multi-type.
96         (apropos-print-doc): Use button-type-get to extract the button's
97         face property.  Fill docstring (Bug#8352).
99 2011-04-23  Juanma Barranquero  <lekktu@gmail.com>
101         * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
103         * play/mpuz.el (mpuz-silent): Doc fix.
104         (mpuz-mode-map): Use mapc.
105         (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
106         (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
107         Fix typos in docstrings.
109         * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
110         (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
112         * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
114 2011-04-23  Chong Yidong  <cyd@stupidchicken.com>
116         * minibuffer.el (completion--do-completion): Avoid the "Next char
117         not unique" prompt if icomplete-mode is enabled (Bug#5849).
119         * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
120         mouse-2 into unread-command-events, it is interpreted correctly.
122         * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
123         (image-toggle-display): Doc fix.
125 2011-04-23  Stephen Berman <stephen.berman@gmx.net>
127         * textmodes/page.el (what-page): Use line-number-at-pos to
128         calculate line number (Bug#6825).
130 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
132         * eshell/esh-mode.el (find-tag-interactive): Declare function.
133         (eshell-find-tag): Remove `with-no-warnings', unneeded now.
134         Pass argument NO-DEFAULT to `find-tag-interactive'.
136 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
138         Lexical-binding cleanup.
140         * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
141         (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
142         * progmodes/ada-prj.el (ada-prj-initialize-values)
143         (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
144         (ada-prj-show-value):
145         * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
146         * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
147         (antlr-invalidate-context-cache, antlr-options-menu-filter)
148         (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
149         * progmodes/bug-reference.el (bug-reference-push-button):
150         * progmodes/fortran.el (fortran-line-length):
151         * progmodes/glasses.el (glasses-change):
152         * progmodes/octave-mod.el (octave-fill-paragraph):
153         * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
154         (python-pdbtrack-grub-for-buffer, python-sentinel):
155         * progmodes/sql.el (sql-save-connection):
156         * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
157         * progmodes/xscheme.el (xscheme-enter-debugger-mode):
158         Mark unused parameters.
160         * progmodes/compile.el (compilation--flush-directory-cache)
161         (compilation--flush-parse, compile-internal): Mark unused parameters.
162         (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
163         (compilation-next-error-function): Remove unused variable `timestamp'.
165         * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
166         (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
168         * progmodes/dcl-mode.el (dcl-end-of-command):
169         Remove unused variable `start'.
170         (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
171         (dcl-option-value-basic, dcl-option-value-offset)
172         (dcl-option-value-margin-offset, dcl-option-value-comment-line):
173         Mark unused parameters.
174         (dcl-save-local-variable): Remove unused variable `val'.
175         (mode): Declare.
177         * progmodes/delphi.el (delphi-save-state, delphi-after-change):
178         Mark unused parameters.
179         (delphi-ignore-changes): Move before first use.
180         (delphi-charset-token-at): Remove unused variable `start'.
181         (delphi-else-start): Remove unused variable `if-count'.
182         (delphi-comment-block-start, delphi-comment-block-end):
183         Remove unused variable `kind'.
184         (delphi-indent-line): Remove unused variable `new-point'.
186         * progmodes/ebrowse.el (ebrowse-files-list)
187         (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
188         Mark unused parameters.  Don't quote `lambda'.
189         (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
190         Don't quote `lambda'.
191         (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
192         (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
193         (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
194         (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
195         Use `ignore-errors'.
196         (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
197         (ebrowse-view/find-file-and-search-pattern)
198         (ebrowse-view/find-member-declaration/definition):
199         Rename parameter TAGS-FILE-NAME to TAGS-FILE.
200         (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
201         Rename parameter PREFIX-ARG to PREFIX.
202         (ebrowse-tags-read-name): Remove unused variables `start' and
203         `member-info'.
204         (ebrowse-display-member-buffer): Rename variable `tags-file-name'
205         to `tags-file'.
207         * progmodes/etags.el (local-find-tag-hook): Declare.
208         (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
209         Mark unused parameters.
211         * progmodes/executable.el (compilation-error-regexp-alist): Declare.
212         (executable-interpret): Mark unused parameter.
214         * progmodes/flymake.el (flymake-process-sentinel)
215         (flymake-after-change-function)
216         (flymake-create-temp-with-folder-structure)
217         (flymake-get-include-dirs-dot): Mark unused parameters.
218         (flymake-safe-delete-directory): Remove unused variable `err'.
220         * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
221         (speedbar-timer-fn, speedbar-line-text)
222         (speedbar-change-expand-button-char, speedbar-delete-subblock)
223         (speedbar-center-buffer-smartly): Declare functions.
224         (gdb-find-watch-expression): Remove unused variable `array'.
225         (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
226         (gdb-starting): Mark unused parameters.
227         (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
228         (gdb-table-string): Remove unused variable `res'.
229         (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
230         (gdb-disassembly-handler-custom): Remove unused variable `pos'.
231         (gdb-display-buffer): Remove unused variable `cur-size'.
233         * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
234         allow lexical-binding compilation.
235         (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
236         (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
237         (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
238         Mark unused parameters.
239         (gud-gdb-marker-filter): Remove unused variable `match'.
240         (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
241         lambda expressions and funcall them, instead of using `fset'.
243         * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
244         HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
246         * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
247         variable `header-beg'; use `let'.
249         * progmodes/icon.el (indent-icon-exp): Remove unused variables
250         `restart', `last-sexp' and `at-do'.
252         * progmodes/js.el (js--debug): Mark unused parameter.
253         (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
254         (js--splice-into-items): Remove unused variable `item'.
255         (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
257         * progmodes/make-mode.el (makefile-make-font-lock-keywords):
258         Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
259         (makefile-complete): Remove unused variable `try'.
260         (makefile-fill-paragraph, makefile-match-function-end):
261         Mark unused parameters.
263         * progmodes/octave-inf.el (inferior-octave-complete):
264         Remove unused variable `proc'.
265         (inferior-octave-output-digest): Mark unused parameter.
267         * progmodes/perl-mode.el (perl-calculate-indent):
268         Remove unused variable `err'.
270         * progmodes/prolog.el (prolog-mode-keybindings-inferior)
271         (prolog-indent-line): Mark unused parameters.
272         (prolog-indent-line): Remove unused variable `beg'.
274         * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
275         (reporter-dont-compact-list): Declare.
277         * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
278         Remove unused variable `char'.
279         (sh-debug): Mark unused parameter.
280         (sh-get-indent-info): Remove unused variable `start'.
281         (sh-calculate-indent): Remove unused variable `var'.
283         * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
284         (simula-electric-keyword): Remove unused variable `null'.
285         (simula-search-backward, simula-search-forward): Remove unused
286         variables `begin' and `end'.
288         * progmodes/vera-mode.el (vera-guess-basic-syntax):
289         Remove unused variable `pos'.
290         (vera-electric-tab, vera-comment-uncomment-region):
291         Mark unused parameters.
292         (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
294 2011-04-22  Chong Yidong  <cyd@stupidchicken.com>
296         * emacs-lisp/package.el (package--builtins, package-alist)
297         (package-load-descriptor, package-built-in-p, package-activate)
298         (define-package, package-installed-p)
299         (package-compute-transaction, package-buffer-info)
300         (package--push): Doc fix.  Distinguish more clearly between
301         version strings and version lists.
303 2011-04-21  Juanma Barranquero  <lekktu@gmail.com>
305         Lexical-binding cleanup.
307         * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
308         (5x5-make-mutate-best):
309         * play/fortune.el (fortune-in-buffer):
310         * play/gomoku.el (gomoku-init-display):
311         * play/solitaire.el (solitaire, solitaire-do-check):
312         * play/tetris.el (tetris-default-update-speed-function):
313         Mark unused parameters.
315         * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
316         (bubbles--shift): Remove unused variable `char-org'.
317         (bubbles--set-faces): Remove unused variable `fg-col'.  Simplify.
318         (bubbles--show-images): Remove unused variable `char'.
320         * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
321         (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
322         (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
323         (decipher-analyze-buffer): Use ?\s.
324         (decipher-make-checkpoint): Remove unused variable `mapping'.
326         * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
328         * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
329         Remove unused variable `result'; use `let'.
331         * play/gametree.el (gametree-current-layout, gametree-apply-layout):
332         Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
333         (gametree-children-shown-p, gametree-compute-reduced-score):
334         Use `ignore-errors'.
336         * play/handwrite.el (ps-lpr-switches): Declare.
337         (handwrite): Remove unused variables `pmin' and `lastp'.
339         * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
341         * play/landmark.el (landmark-init-display)
342         (landmark-update-naught-weights): Mark unused parameters.
343         (landmark-y): Remove unused variable `noise'.  Simplify.
344         (landmark-human-plays): Remove unused variable `score'.
346         * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
347         (mpuz-try-proposal): Remove unused variable `game'.
349         * play/zone.el (life-patterns): Declare.
351 2011-04-20  Juanma Barranquero  <lekktu@gmail.com>
353         * vc/vc.el (ediff-vc-internal): Declare function.
355 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
357         * shell.el: Use lexical-binding and std completion UI.
358         (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
359         (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
360         comint-preoutput-filter-functions rather than on
361         comint-output-filter-functions.
362         (shell-command-completion, shell--command-completion-data)
363         (shell-filename-completion, shell-environment-variable-completion)
364         (shell-c-a-p-replace-by-expanded-directory): New functions.
365         (shell-dynamic-complete-functions, shell-dynamic-complete-command)
366         (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
367         (shell-dynamic-complete-environment-variable): Use them.
368         (shell-dynamic-complete-as-environment-variable)
369         (shell-dynamic-complete-as-command): Remove.
370         (shell-match-partial-variable): Match past point.
371         * comint.el: Clean up use of completion-at-point-functions.
372         (comint-completion-at-point): New function.
373         (comint-mode): Use it completion-at-point-functions.
374         (comint-dynamic-complete): Make it obsolete.
375         (comint-replace-by-expanded-history-before-point): Add dry-run arg.
376         (comint-c-a-p-replace-by-expanded-history): New function.
377         (comint-dynamic-complete-functions)
378         (comint-replace-by-expanded-history): Use it.
379         * minibuffer.el (completion-table-with-terminator): Allow dynamic
380         termination strings.  Try harder to avoid second try-completion.
381         (completion-in-region-mode-map): Disable bindings that don't work yet.
383         * comint.el: Use lexical-binding.  Require CL.
384         (comint-dynamic-complete-functions): Use comint-filename-completion.
385         (comint-completion-addsuffix): Tweak custom type.
386         (comint-filename-completion, comint--common-suffix)
387         (comint--common-quoted-suffix, comint--table-subvert)
388         (comint--complete-file-name-data): New functions.
389         (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
390         (comint-dynamic-list-filename-completions): Use them.
391         (comint-dynamic-simple-complete): Make obsolete.
393         * minibuffer.el (completion-in-region-mode):
394         Keep completion-in-region-mode--predicate global.
395         (completion-in-region--postch):
396         Assume completion-in-region-mode--predicate is not null.
398         * progmodes/flymake.el (flymake-start-syntax-check-process):
399         Obey `dir'.  Simplify.
401         * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
402         we're in VC after all.
404 2011-04-20  Christoph Scholtes  <cschol2112@googlemail.com>
406         * vc/vc.el (vc-diff-build-argument-list-internal)
407         (vc-version-ediff, vc-ediff): New commands.
408         (vc-version-diff): Use vc-diff-build-argument-list-internal.
410 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
412         * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
413         add sanity check.
415         * obsolete/erc-hecomplete.el: Make obsolete.
416         * obsolete/: Standardize obsolescence info in the header.
418 2011-04-20  Glenn Morris  <rgm@gnu.org>
420         * calendar/solar.el (solar-horizontal-coordinates):
421         Use the longitude argument rather than `calendar-longitude'.
422         (solar-date-next-longitude): Remove unused locals.
424 2011-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
426         * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
427         (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
428         multi-line comments as well.
430 2011-04-19  Juanma Barranquero  <lekktu@gmail.com>
432         Lexical-binding cleanup.
434         * arc-mode.el (archive-mode-revert):
435         * cmuscheme.el (scheme-interactively-start-process):
436         * custom.el (custom-initialize-delay):
437         * dnd.el (dnd-open-local-file, dnd-open-remote-url):
438         * dos-w32.el (direct-print-region-helper, direct-print-region-function):
439         * emacs-lock.el (emacs-lock-clear-sentinel):
440         * ezimage.el (defezimage):
441         * follow.el (follow-avoid-tail-recenter):
442         * fringe.el (set-fringe-mode-1):
443         * generic-x.el (bat-generic-mode-compile):
444         * help-mode.el (help-info-variable, help-do-xref)
445         (help-mode-revert-buffer):
446         * help.el (view-emacs-todo):
447         * iswitchb.el (iswitchb-completion-help):
448         * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
449         * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
450         (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
451         * locate.el (locate-update):
452         * longlines.el (longlines-encode-region)
453         (longlines-after-change-function):
454         * outline.el (outline-isearch-open-invisible):
455         * ps-def.el (declare-function, charset-dimension, char-width)
456         (encode-char):
457         * ps-mule.el (ps-mule-plot-string):
458         * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
459         (recentf-edit-list-select, recentf-edit-list-validate)
460         (recentf-open-files-action):
461         * rect.el (delete-whitespace-rectangle-line)
462         (rectangle-number-line-callback):
463         * register.el (window-configuration-to-register)
464         (frame-configuration-to-register):
465         * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
466         * select.el (xselect-convert-to-string, xselect-convert-to-length)
467         (xselect-convert-to-targets, xselect-convert-to-delete)
468         (xselect-convert-to-filename, xselect-convert-to-charpos)
469         (xselect-convert-to-lineno, xselect-convert-to-colno)
470         (xselect-convert-to-os, xselect-convert-to-host)
471         (xselect-convert-to-user, xselect-convert-to-class)
472         (xselect-convert-to-name, xselect-convert-to-integer)
473         (xselect-convert-to-atom, xselect-convert-to-identity):
474         * subr.el (declare, ignore, process-kill-without-query)
475         (text-clone-maintain):
476         * terminal.el (te-get-char, te-tic-sentinel):
477         * tool-bar.el (tool-bar-make-keymap):
478         * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
479         * type-break.el (type-break-mode, type-break-noninteractive-query):
480         * view.el (View-back-to-mark):
481         * wid-browse.el (widget-browse-action, widget-browse-widget)
482         (widget-browse-widgets, widget-browse-sexp):
483         * widget.el (define-widget-keywords):
484         * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
485         Mark unused parameters.
487         * align.el (align-adjust-col-for-rule): Mark unused parameter.
488         (align-areas): Remove unused variable `look'.
489         (align-region): Remove unused variables `real-end' and `pos-list'.
491         * apropos.el (apropos-score-doc): Remove unused variable `i'.
493         * bindings.el (mode-line-modified, mode-line-remote):
494         Mark unused parameters.
495         (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
497         * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
498         (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
500         * comint.el (comint-history-isearch-pop-state)
501         (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
502         (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
503         (comint-substitute-in-file-name): Doc fix.
505         * completion.el (cmpl-statistics-block): Mark unused parameter.
506         (add-completions-from-tags-table, add-completions-from-lisp-buffer)
507         (save-completions-to-file, load-completions-from-file):
508         Remove unused local variable `e'.
510         * composite.el (compose-chars): Remove unused variable `len'.
511         (lgstring-insert-glyph): Remove unused variable `g'.
512         (compose-glyph-string): Remove unused variables `ascent',
513         `descent', `lbearing' and `rbearing'.
514         (compose-glyph-string-relative): Remove unused variables
515         `lbearing', `rbearing' and `wadjust'.
516         (compose-gstring-for-graphic): Remove unused variables `header',
517         `wadjust', `xoff' and `yoff'.  Use `let', not `let*'.
518         (compose-gstring-for-terminal): Remove unused variables `header'
519         and `nchars'.  Use `let', not `let*'.
521         * cus-edit.el (Custom-set, Custom-save, custom-reset)
522         (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
523         (Custom-buffer-done, custom-buffer-create-internal)
524         (custom-browse-visibility-action, custom-browse-group-tag-action)
525         (custom-browse-variable-tag-action, custom-browse-face-tag-action)
526         (widget-magic-mouse-down-action, custom-toggle-parent)
527         (custom-add-parent-links, custom-toggle-hide-variable)
528         (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
529         (custom-toggle-hide-face, face, hook, custom-group-link-action)
530         (custom-face-menu-create, custom-variable-menu-create, get)
531         (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
532         (custom-reset-standard-save-and-update): Remove unused variable `value'.
533         (customize-apropos): Remove unused variable `tests'.
534         (custom-group-value-create): Remove unused variable `hidden-p'.
535         (sort-fold-case): Declare.
537         * cus-theme.el (custom-reset-standard-faces-list)
538         (custom-reset-standard-variables-list): Declare.
539         (customize-create-theme, custom-theme-revert, custom-theme-write)
540         (custom-theme-choose-mode, customize-themes, custom-theme-save):
541         Mark unused parameters.
543         * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
545         * delim-col.el (delimit-columns-max): Move defvar before first use.
547         * descr-text.el (describe-char-categories): Don't quote `lambda'.
548         (describe-char): Don't quote `lambda'.  Mark unused parameter.
550         * desktop.el (desktop-save-buffer-p): Mark unused parameter.
551         (auto-insert): Declare.
552         (desktop-restore-file-buffer): Rename desktop-* parameters;
553         mark unused ones.
554         (desktop-create-buffer): Rename desktop-* parameters and bind them.
555         (desktop-buffer): Rename desktop-* parameters.
557         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
558         (dframe-reposition-frame-xemacs, dframe-help-echo)
559         (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
560         Mark unused parameters.
562         * dired-aux.el (backup-extract-version-start, overwrite-query)
563         (overwrite-backup-query, rename-regexp-query)
564         (rename-non-directory-query): Declare.
565         (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
566         (dired-add-entry): Remove unused variable `orig-file-name'.
567         (dired-copy-file-recursive): Remove unused variable `dirfailed'.
568         Use parameter PRESERVE-TIME instead of accessing dynamic variable
569         `dired-copy-preserve-time' directly.
570         (dired-do-create-files-regexp): Remove unused variable `fn-count'.
571         (dired-insert-subdir-newpos): Rename unused variable `pos'.
573         * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
574         (dired-virtual-revert, dired-make-relative-symlink):
575         Mark unused parameters.
576         (manual-program): Declare.
577         (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
578         (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
579         wrapped in `with-no-warnings' to avoid replacing one warning by another.
581         * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
583         * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
585         * echistory.el (electric-history-in-progress, Helper-return-blurb):
586         Declare.
588         * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
590         * electric.el (Electric-command-loop): Rename parameter
591         INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
593         * expand.el (expand-in-literal): Remove unused variable `here'.
595         * facemenu.el (facemenu-add-new-color):
596         Remove unused variable `docstring'.
598         * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
599         (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
600         (face-attr-construct): Mark unused parameter.  Doc fix.
601         (read-color): Remove unused variable `hex-string'.
603         * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
604         (locate-dominating-file): Remove unused vars `prev-file' and `user'.
605         (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
606         (display-buffer-other-frame): Remove unused variable `old-window'.
607         (kill-buffer-hook): Declare.
608         (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
609         Mark unused parameters.
610         (after-find-file): Pass 1 to `auto-save-mode', not t.
612         * files-x.el (auto-insert): Declare.
613         (modify-file-local-variable-prop-line): Remove unused variable `val'.
615         * find-lisp.el (find-lisp-find-dired-internal): Remove unused
616         variable `buf'.  Mark unused parameter.
617         (find-lisp-insert-directory): Mark unused parameter.
619         * format.el (format-decode-run-method): Mark unused parameter; doc fix.
620         (format-encode-region): Remove unused variables `cur-buf' and `result'.
621         (format-common-tail): Remove, unused.
622         (format-deannotate-region): Remove unused variable `loc'.
623         (format-annotate-region): Remove unused variable `p'.
624         (format-annotate-single-property-change): Remove unused variables
625         `default' and `tail'.
627         * forms.el (read-file-filter): Declare.
628         (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
630         * frame.el (frame-creation-function-alist): Mark unused parameter.
631         (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
633         * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
634         Remove unused parameters.
635         (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
636         (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
638         * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
639         (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
640         (hfy-prepare-tag-map): Mark unused parameters.
641         (htmlfontify-buffer): Use `called-interactively-p'.
643         * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
644         (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
645         (ibuffer-do-occur): Mark unused parameters.
646         (ibuffer-forward-next-marked): Remove unused variable `curmark'.
647         (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
649         * ibuffer.el: Don't quote `lambda'.
650         (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
651         (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
652         Mark unused parameters.
654         * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
655         (ido-completing-read): Mark unused parameters.
656         (ido-copy-current-word): Mark unused parameters;
657         remove unused variable `name'.
658         (ido-sort-merged-list): Remove unused parameter `dirs'.
660         * ielm.el (ielm-input-sender): Mark unused parameter.
661         (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
662         (ielm-output, ielm-wbuf, ielm-pmark): Declare.
663         (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
664         `ielm-string' as a dynamic variable accessible from the IELM prompt.
665         Bind `ielm-string' to INPUT-STRING.  Remove unused variable `err'.
667         * image-dired.el (image-dired-display-thumbs): Remove unused
668         variables `curr-file' and `count'.
669         (image-dired-remove-tag): Remove unused variable `start'.
670         (image-dired-tag-files, image-dired-create-thumbs): Remove unused
671         variable `curr-file'
672         (image-dired-rotate-original): Remove unused variable `temp-file'.
673         (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
674         Remove unused variable `file'.
675         (image-dired-gallery-generate): Remove unused variable `curr'.
676         (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
678         * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
680         * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
682         * informat.el (texinfo-command-start, texinfo-command-end): Declare.
684         * isearch.el (minibuffer-history-symbol): Declare.
685         (isearch-edit-string): Remove unused variable `err'.
686         (isearch-message-prefix, isearch-message-suffix):
687         Mark unused parameters.
689         * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
691         * macros.el (insert-kbd-macro): Remove unused variable `mods'.
693         * makesum.el (double-column): Remove unused variable `cnt'.
695         * misearch.el (multi-isearch-pop-state): Mark unused parameter.
696         (ido-ignore-item-temp-list): Declare.
698         * mouse-drag.el (mouse-drag-throw): Remove unused variables
699         `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
700         `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
701         (mouse-drag-drag): Remove unused variables `mouse-delta' and
702         `mouse-col-delta'.
704         * mouse-sel.el (mouse-extend-internal):
705         Remove unused variable `orig-window-frame'.
707         * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
708         (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
709         Move declarations before first use.
710         (pcomplete-opt): Mark unused parameters; doc fix.
712         * proced.el (proced-revert): Mark unused parameter.
713         (proced-send-signal): Remove unused variable `err'.
715         * ps-print.el (ps-print-preprint-region, ps-print-preprint):
716         Rename parameter PREFIX-ARG to ARG.
717         (ps-basic-plot-string, ps-basic-plot-whitespace):
718         Mark unused parameters.
720         * replace.el (replace-count): Define.
721         (occur-revert-function): Mark unused parameters.
722         (ido-ignore-item-temp-list, isearch-error, isearch-forward)
723         (isearch-case-fold-search, isearch-string): Declare.
724         (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
725         bind `case-fold-search'.  Remove unused variables `beg' and `end',
726         and simplify.
727         (replace-eval-replacement): Rename parameter REPLACE-COUNT to
728         COUNT and bind `replace-count'.
729         (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
730         to COUNT.
732         * savehist.el (print-readably, print-string-length): Declare.
734         * shadowfile.el (shadow-expand-cluster-in-file-name):
735         Remove unused variable `cluster'.
736         (shadow-copy-file): Remove unused variable `i'.
737         (shadow-noquery, shadow-clusters, shadow-site-cluster)
738         (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
739         (shadow-define-literal-group, shadow-define-regexp-group)
740         (shadow-make-group, shadow-shadows-of): Clean up docstrings.
742         * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
743         (shell): Use `called-interactively-p'.
744         (shell-directory-tracker): Remove unused variable `chdir-failure'.
746         * simple.el (compilation-context-lines, comint-file-name-quote-list)
747         (comint-file-name-chars, comint-delimiter-argument-list): Declare.
748         (delete-backward-char): Remove unused variable `ocol'.
749         (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
750         (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
751         (event-apply-hyper-modifier, event-apply-shift-modifier)
752         (event-apply-control-modifier, event-apply-meta-modifier):
753         Mark unused parameters.
754         (undo-make-selective-list): Remove duplicate variable `undo-elt'.
755         (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
757         * speedbar.el (speedbar-ignored-directory-expressions)
758         (speedbar-supported-extension-expressions, speedbar-directory-buttons)
759         (speedbar-find-file, speedbar-dir-follow)
760         (speedbar-directory-buttons-follow, speedbar-tag-find)
761         (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
762         (speedbar-buffers-line-directory, speedbar-buffer-click):
763         Mark unused parameters.
764         (speedbar-tag-file): Remove unused variable `mode'.
765         (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
767         * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
769         * talk.el (talk): Remove unused variable `display'.
771         * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
772         (tar-write-region-annotate): Mark unused parameter.
774         * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
775         (minutes, seconds, time-zone, day, year, monthname, month, dayname):
776         Declare them, wrapped in `with-no-warnings' to avoid replacing one
777         warning by another.
779         * time-stamp.el (time-stamp-string-preprocess):
780         Remove unused variable `require-padding'.
782         * tree-widget.el (widget-glyph-enable): Declare.
783         (tree-widget-action): Mark unused parameter.
785         * w32-fns.el (x-get-selection): Mark unused parameter.
786         (autoload-make-program, generated-autoload-file): Declare.
788         * wdired.el (wdired-revert): Mark unused parameters.
789         (wdired-xcase-word): Remove unused variable `err'.
791         * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
792         (whitespace-help-scroll): Remove unused variable `data-help'.
794         * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
795         (widget-image-insert, widget-after-change, default)
796         (widget-default-format-handler, widget-default-notify)
797         (widget-default-prompt-value, widget-info-link-action)
798         (widget-url-link-action, widget-function-link-action)
799         (widget-variable-link-action, widget-file-link-action)
800         (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
801         (widget-field-prompt-internal, widget-field-action, widget-field-match)
802         (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
803         (widget-insert-button-action, widget-delete-button-action, visibility)
804         (widget-documentation-link-action, widget-documentation-string-action)
805         (widget-const-prompt-value, widget-regexp-match, symbol)
806         (widget-coding-system-prompt-value)
807         (widget-key-sequence-value-to-external, sexp)
808         (widget-sexp-value-to-internal, character, vector, cons)
809         (widget-choice-prompt-value, widget-boolean-prompt-value)
810         (widget-color--choose-action): Mark unused parameters.
811         (widget-item-match-inline, widget-choice-match-inline)
812         (widget-checklist-match, widget-checklist-match-inline)
813         (widget-group-match): Rename parameter VALUES to VALS.
814         (widget-field-value-set): Remove unused variable `size'.
815         (widget-color-action): Remove unused variables `value' and `start'.
817         * windmove.el (windmove-wrap-loc-for-movement): Remove unused
818         variable `dir'.  Doc fix.
819         (windmove-find-other-window): Don't pass it.
821         * window.el (count-windows): Mark unused parameter.
822         (bw-adjust-window): Remove unused variable `err'.
824         * woman.el (woman-file-name): Remove unused variable `default'.
825         (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
826         WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
827         (global-font-lock-mode): Declare.
828         (woman-decode-region): Mark unused parameter.
829         (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
831         * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
832         (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
833         (x-dnd-handle-moz-url): Remove unused variable `title'.
834         (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
836         * xml.el (xml-parse-tag, xml-parse-attlist):
837         Remove unused variable `pos'.
839 2011-04-19  Glenn Morris  <rgm@gnu.org>
841         * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
842         (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
843         (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
844         (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
845         * calendar/cal-html.el (cal-html-insert-minical):
846         * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
847         (calendar-mark-date-pattern):
848         Prefix "unused" locals.
850         * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
851         optional argument `style'.
853         * calendar/appt.el (appt-make-list):
854         * calendar/cal-china.el (calendar-chinese-date-string):
855         * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
856         (diary-hebrew-yahrzeit):
857         * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
858         * calendar/calendar.el (calendar-generate-window):
859         * calendar/time-date.el (time-to-days):
860         Remove unused local variables.
862 2011-04-18  Chong Yidong  <cyd@stupidchicken.com>
864         * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
865         glyphless-char-display table.
866         (tabulated-list-glyphless-char-display): New var.
868 2011-04-18  Sam Steingold  <sds@gnu.org>
870         * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
871         to acknowledgments.
873 2011-04-17  Glenn Morris  <rgm@gnu.org>
875         * calendar/diary-lib.el (diary-sexp-entry):
876         * calendar/holidays.el (holiday-sexp):
877         Set debug-on-error rather than the removed stack-trace-on-error.
879 2011-04-16  Glenn Morris  <rgm@gnu.org>
881         * progmodes/f90.el: Use lexical-binding.
882         (f90-get-correct-indent): Remove unnecessary local variable `cont'.
884 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
886         * mail/sendmail.el (mail-mode-map): Use completion-at-point.
887         (mail-mode): Setup mailalias completion here instead.
888         * mail/mailalias.el: Use lexical-binding.
889         (pattern, mailalias-done): Declare dynamic.
890         (mail-completion-at-point-function): New function, from mail-complete.
891         (mail-complete): Use it.
892         (mail-completion-expand): New function.
893         (mail-get-names): Use it.
894         (mail-directory, mail-directory-process, mail-directory-stream):
895         Don't use `pattern' for lexically bound arg.
897         * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
899         * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
900         (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
901         (hfy-etags-cmd-alist): Don't eval-and-compile any more.
903         * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
904         (byte-save-window-excursion, byte-temp-output-buffer-setup)
905         (byte-interactive-p): Define them again, for use when inlining
906         old code.
908 2011-04-15  Juanma Barranquero  <lekktu@gmail.com>
910         * loadup.el: Use `string-to-number', not `string-to-int'.
912 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
914         * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
915         gud-gdb-complete-command.
916         (gud-gdb-completions): New function, from gud-gdb-complete-command.
917         (gud-gdb-completion-at-point): New function.
918         (gud-gdb-completions): Remove.
920 2011-04-14  Michael Albinus  <michael.albinus@gmx.de>
922         * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
923         when the scripts fail.  Use `tramp-do-file-attributes-with-ls' then.
924         (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
925         whether `executable-find' is bound.
927         * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
929 2011-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
931         * minibuffer.el (completion-in-region-mode-predicate)
932         (completion-in-region-mode--predicate): New vars.
933         (completion-in-region, completion-in-region--postch)
934         (completion-in-region-mode): Use them.
935         (completion--capf-wrapper): Also return the hook function.
936         (completion-at-point, completion-help-at-point):
937         Adjust and provide a predicate.
939         Preserve arg names for advice of subr and lexical functions (bug#8457).
940         * help-fns.el (help-function-arglist): Consolidate the subr and
941         new-byte-code cases.  Add argument `preserve-names' to extract names
942         from the docstring when needed.
943         * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
944         (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
945         (ad-arglist): Use help-function-arglist's new arg.
946         (ad-definition-type): Use cond.
948 2011-04-13  Juanma Barranquero  <lekktu@gmail.com>
950         * autorevert.el (auto-revert-handler):
951         Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
952         which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
953         Don't quote lambda.
955         * image-mode.el (image-transform-set-scale):
956         Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
958 2011-04-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
960         * net/network-stream.el (network-stream-open-starttls): Only do
961         opportunistic STARTTLS upgrades if we have built-in gnutls support.
962         Upgrades via gnutls-cli are too slow to be done opportunistically.
964 2011-04-12  Juanma Barranquero  <lekktu@gmail.com>
966         * dframe.el (dframe-current-frame): Remove spurious quote.
968 2011-04-12  Glenn Morris  <rgm@gnu.org>
970         * calendar/cal-tex.el (cal-tex-end-document):
971         Try to automatically use latin1 input if needed.
973         * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
974         Don't try to cons a mark onto an empty element.
976 2011-04-11  Leo Liu  <sdl.web@gmail.com>
978         * ido.el (ido-buffer-internal): Allow method 'kill for virtual
979         buffers.
980         (ido-kill-buffer-at-head): Support killing virtual buffers.
982 2011-04-10  Chong Yidong  <cyd@stupidchicken.com>
984         * minibuffer.el (completion-show-inline-help): New var.
985         (completion--do-completion, minibuffer-complete)
986         (minibuffer-force-complete, minibuffer-complete-word):
987         Inhibit minibuffer messages if completion-show-inline-help is nil.
989         * icomplete.el (icomplete-mode): Bind completion-show-inline-help
990         to avoid interference from inline help (Bug#5849).
992 2011-04-10  Leo Liu  <sdl.web@gmail.com>
994         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
995         Fix typo.
997 2011-04-09  Chong Yidong  <cyd@stupidchicken.com>
999         * image-mode.el (image-toggle-display-image): Signal an error if
1000         not in Image mode.
1001         (image-transform-mode, image-transform-resize)
1002         (image-transform-set-rotation): Doc fix.
1003         (image-transform-set-resize): Delete.
1004         (image-transform-set-scale, image-transform-fit-to-height)
1005         (image-transform-fit-to-width): Handle image-toggle-display-image
1006         and image-transform-resize directly.
1008 2011-04-08  Sho Nakatani  <lay.sakura@gmail.com>
1010         * doc-view.el (doc-view-fit-width-to-window)
1011         (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
1012         New functions for fitting the shown image to the Emacs window size.
1013         (doc-view-mode-map): Add bindings for the new functions.
1015 2011-04-08  Juanma Barranquero  <lekktu@gmail.com>
1017         * vc-annotate.el (vc-annotate-show-log-revision-at-line):
1018         Fix typo in docstring.
1020 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
1022         * files.el (file-size-human-readable): Produce one digit after
1023         decimal, like "ls -lh" does.
1025         * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
1026         the file size representation.
1028         * simple.el (list-processes): If async subprocesses are not
1029         available, error out with a clear error message.
1031 2011-04-08  Chong Yidong  <cyd@stupidchicken.com>
1033         * help.el (help-form-show): New function, to be called from C.
1034         Put help-form output in a buffer named differently than *Help*.
1036 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
1038         * files.el (file-size-human-readable): New function.
1040         * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
1041         computing the representation inline.  Don't require `cl'.
1043 2011-04-08  Glenn Morris  <rgm@gnu.org>
1045         * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
1047         * net/browse-url.el (browse-url-firefox):
1048         Test system-type, not system-configuration.
1050         * vc/log-edit.el (log-edit-empty-buffer-p): New function.
1051         (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
1052         Use log-edit-empty-buffer-p.  (Bug#7598)
1054         * net/rlogin.el (rlogin-process-connection-type): Simplify.
1055         (rlogin-mode-map): Initialize in the defvar.
1056         (rlogin): Use ignore-errors.
1058         * replace.el (occur-mode-map): Some fixes for menu items.
1060 2011-04-07  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
1062         * play/morse.el (denato-region): Handle varying case.  (Bug#8386)
1064 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
1066         * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
1067         issuing unused warnings.
1069         * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
1070         macro directly.
1072         * simple.el: Lisp reimplement of list-processes.  Based on an
1073         earlier reimplementation by Leo Liu, but using tabulated-list.el.
1074         (process-menu-mode): New major mode.
1075         (list-processes--refresh, list-processes):
1076         (process-menu-visit-buffer): New functions.
1078         * files.el (save-buffers-kill-emacs): Don't assume any return
1079         value of list-processes, which is undocumented anyway.
1081 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
1083         * emacs-lisp/tabulated-list.el: New file.
1085         * emacs-lisp/package.el: Use Tabulated List mode.
1086         (package-menu-mode-map): Inherit from tabulated-list-mode-map.
1087         (package-menu-mode): Derive from tabulated-list-mode.  Set up the
1088         table format using Tabulated List mode variables.
1089         (package--push): New macro, replacing package-list-maybe-add.
1090         (package-menu--generate): Use package--push.  Renamed from
1091         package--generate-package-list.
1092         (package-menu-refresh, list-packages): Use it.
1093         (package-menu--print-info): Rename from package-print-package.
1094         Return insertion data instead of inserting it directly.
1095         (package-menu-describe-package, package-menu-execute):
1096         Use tabulated-list-get-id.
1097         (package-menu-mark-delete, package-menu-mark-install)
1098         (package-menu-mark-unmark, package-menu-backup-unmark)
1099         (package-menu-mark-obsolete-for-deletion):
1100         Use tabulated-list-put-tag.
1101         (package--list-packages, package-menu-revert)
1102         (package-menu-get-package, package-menu-get-version)
1103         (package-menu-sort-by-column): Functions deleted.
1104         (package-menu-package-list, package-menu-sort-key): Vars deleted.
1105         (package-menu--status-predicate, package-menu--version-predicate)
1106         (package-menu--name-predicate)
1107         (package-menu--description-predicate): Handle arguments in the
1108         Tabulated List format.
1109         (package-list-packages-no-fetch): Call list-packages.
1111 2011-04-06  Juanma Barranquero  <lekktu@gmail.com>
1113         * files.el (after-find-file-from-revert-buffer): Remove variable.
1114         (after-find-file): Don't bind it.
1115         (revert-buffer-in-progress-p): New variable.
1116         (revert-buffer): Bind it.
1117         Pass nil for `after-find-file-from-revert-buffer'.
1119         * saveplace.el (save-place-find-file-hook): Use new variable
1120         `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
1122 2011-04-06  Glenn Morris  <rgm@gnu.org>
1124         * Makefile.in (AUTOGEN_VCS): New variable.
1125         (autoloads): Use $AUTOGEN_VCS.
1127         * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
1128         * calendar/calendar.el (calendar-mode-map):
1129         Check for toolkit scroll bars.  (Bug#8305)
1131 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
1133         * minibuffer.el (completion-in-region--postch)
1134         (completion-in-region-mode): Remove unnecessary messages.
1136 2011-04-05  Juanma Barranquero  <lekktu@gmail.com>
1138         * font-lock.el (font-lock-refresh-defaults):
1139         Don't bind `hi-lock--inhibit-font-lock-hook', removed in
1140         2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
1142         * info.el (Info-directory-list, Info-read-node-name-2)
1143         (Info-split-parameter-string): Doc fixes.
1144         (Info-virtual-nodes): Reflow docstring.
1145         (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
1146         (Info-apropos-toc-nodes, info-finder, Info-get-token)
1147         (Info-find-emacs-command-nodes, Info-speedbar-key-map):
1148         Fix typos in docstrings.
1149         (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
1150         (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
1151         (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
1152         (Info-restore-desktop-buffer): Mark unused parameters.
1153         (Info-directory-find-file, Info-directory-find-node)
1154         (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
1155         (Info-virtual-index-find-node, Info-apropos-find-file)
1156         (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
1157         Mark unused parameters; fix typos in docstrings.
1158         (Info-virtual-index): Remove unused local variable `nodename'.
1160 2011-04-05  Deniz Dogan  <deniz@dogan.se>
1162         * net/rcirc.el: Update my e-mail address.
1163         (rcirc-mode-map): Remove M-o binding.
1165 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
1167         * startup.el (command-line): Save the cursor's theme-face
1168         directly, instead of using face-override-spec.
1170         * custom.el (load-theme): Minor optimization in assigning faces.
1172 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
1174         * help-fns.el (describe-variable): Complete all variables having
1175         documentation, including keywords.
1176         http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
1178 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
1180         Convert to lexical-binding.
1182         * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
1183         (bs--get-marked-string, bs--get-modified-string)
1184         (bs--get-readonly-string, bs--get-size-string, bs--get-name)
1185         (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
1186         (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
1188         * ehelp.el (electric-help-execute-extended)
1189         (electric-help-ctrl-x-prefix):
1190         * hexl.el (hexl-revert-buffer-function):
1191         * linum.el (linum-after-change, linum-after-scroll):
1192         * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
1194         * help-fns.el (help-describe-category-set): Remove unused ERR variable.
1196 2011-04-04  Daiki Ueno  <ueno@unixuser.org>
1198         * epa-dired.el:
1199         * epa-mail.el:
1200         * epa-hook.el:
1201         * epa-file.el:
1202         * epa.el:
1203         * epg.el: Use lexical binding.
1205 2011-04-03  Chong Yidong  <cyd@stupidchicken.com>
1207         * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
1209         * textmodes/flyspell.el (flyspell-word): Recognize default
1210         dictionary case for flyspell-mark-duplications-exceptions.
1211         Use regexp matching for languages.
1212         (flyspell-mark-duplications-exceptions): Add "that" and "had" for
1213         default dictionary (Bug#7926).
1215 2011-04-02  Chong Yidong  <cyd@stupidchicken.com>
1217         * emacs-lisp/package.el (package--with-work-buffer):
1218         Recognize https URLs.
1220         * net/network-stream.el: Move from gnus/proto-stream.el.
1221         Change prefix to network-stream throughout.
1222         (open-protocol-stream): Merge into open-network-stream, leaving
1223         open-protocol-stream as an alias.  Handle nil BUFFER args.
1225         * subr.el (open-network-stream): Move to net/network-stream.el.
1227 2011-04-02  Glenn Morris  <rgm@gnu.org>
1229         * find-dired.el (find-exec-terminator): New option.
1230         (find-ls-option): Test for -ls support.
1231         (find-ls-subdir-switches): Test for -b in find-ls-option.
1232         (find-dired, find-grep-dired): Doc fixes.
1233         (find-dired): Use find-exec-terminator.
1235         * find-dired.el (find-ls-option, find-ls-subdir-switches)
1236         (find-grep-options): Do not autoload these defcustoms, remove purecopy.
1237         (find-name-arg): Remove purecopy.
1239         * progmodes/grep.el (grep-find-use-xargs): Doc fix.
1240         (grep-compute-defaults): Check for `-exec COMMAND +' support.
1241         Set grep-find-use-xargs, grep-find-command, and grep-find-template
1242         accordingly.  Don't add the null-device if not needed.
1244         * files.el (save-some-buffers): Doc fix.
1246 2011-04-02  Eli Zaretskii  <eliz@gnu.org>
1248         * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
1250 2011-04-01  Juanma Barranquero  <lekktu@gmail.com>
1252         * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
1253         Use `dolist' rather than `mapcar'.
1255 2011-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>
1257         Add lexical binding.
1259         * subr.el (apply-partially): Use new closures rather than CL.
1260         (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
1261         (dolist, dotimes): Use slightly different expansion for lexical code.
1262         (functionp): Move to C.
1263         (letrec): New macro.
1264         (with-wrapper-hook): Use it and apply-partially instead of CL.
1265         (eval-after-load): Preserve lexical-binding.
1266         (save-window-excursion, with-output-to-temp-buffer): Turn them
1267         into macros.
1269         * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
1271         * help-fns.el (help-split-fundoc): Return nil if there's nothing else
1272         than the arglist.
1273         (help-add-fundoc-usage): Don't add `Not documented'.
1274         (help-function-arglist): Handle closures, subroutines, and new
1275         byte-code-functions.
1276         (help-make-usage): Remove leading underscores.
1277         (describe-function-1): Handle closures.
1278         (describe-variable): Use special-variable-p for completion.
1280         * files.el (lexical-binding): Declare safe.
1282         * emacs-lisp/pcase.el: Don't use destructuring-bind.
1283         (pcase--memoize): Rename from pcase-memoize.  Change weakness.
1284         (pcase): Add `let' pattern.
1285         Change memoization so it actually works.
1286         (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
1287         (pcase--u1) <guard, pred>: Fix possible shadowing problem.
1288         <let>: New case.
1290         * emacs-lisp/macroexp.el: Use lexical binding.
1291         (macroexpand-all-1): Check obsolete macros.  Expand compiler-macros.
1292         Don't convert ' to #' without checking that it's indeed quoting
1293         a lambda.
1295         * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
1296         Use eval-sexp-add-defvars.
1297         (eval-sexp-add-defvars): New fun.
1299         * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
1301         * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
1302         Don't autoload.
1303         (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
1304         than the internal `byte-compile-lambda'.
1305         (defmethod): Don't hide code under quotes.
1306         (eieio-defmethod): New `code' argument.
1308         * emacs-lisp/eieio-comp.el: Remove.
1310         * emacs-lisp/edebug.el (edebug-eval-defun)
1311         (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
1312         (edebug-toggle): Avoid `eval'.
1314         * emacs-lisp/disass.el (disassemble-internal): Handle new
1315         `closure' objects.
1316         (disassemble-1): Handle new byte codes.
1318         * emacs-lisp/cl.el (pushnew): Silence warning.
1320         * emacs-lisp/cl-macs.el (cl-byte-compile-block)
1321         (cl-byte-compile-throw): Remove.
1322         (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
1324         * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
1325         closures.
1327         * emacs-lisp/cconv.el: New file.
1329         * emacs-lisp/bytecomp.el: Use lexical binding instead of
1330         a "bytecomp-" prefix.  Macroexpand everything as a separate phase.
1331         (byte-compile-initial-macro-environment):
1332         Handle declare-function here.
1333         (byte-compile--lexical-environment): New var.
1334         (byte-stack-ref, byte-stack-set, byte-discardN)
1335         (byte-discardN-preserve-tos): New lap codes.
1336         (byte-interactive-p): Don't use any more.
1337         (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
1338         New macros.
1339         (byte-compile-lapcode): Use them and handle new lap codes.
1340         (byte-compile-obsolete): Remove.
1341         (byte-compile-arglist-signature): Handle new byte-code arg"lists".
1342         (byte-compile-arglist-warn): Check late def of inlinable funs.
1343         (byte-compile-cl-warn): Don't silence warnings for compiler-macros
1344         since they should have been expanded by now.
1345         (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
1346         (byte-compile-from-buffer): Remove unused second arg.
1347         (byte-compile-preprocess): New function.
1348         (byte-compile-toplevel-file-form): New function to distinguish
1349         file-form calls from outside from file-form calls from hunk-handlers.
1350         (byte-compile-file-form): Simplify.
1351         (byte-compile-file-form-defsubst): Remove.
1352         (byte-compile-file-form-defmumble): Simplify now that
1353         byte-compile-lambda always returns a byte-code-function.
1354         (byte-compile): Preprocess.
1355         (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
1356         Remove, not used any more.
1357         (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
1358         (byte-compile-make-args-desc): New funs.
1359         (byte-compile-lambda): Handle lexical functions.  Always return
1360         a byte-code-function.
1361         (byte-compile-reserved-constants): New var, to make up room for
1362         closed-over variables.
1363         (byte-compile-constants-vector): Obey it.
1364         (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
1365         (byte-compile-macroexpand-declare-function): New function.
1366         (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
1367         byte-code-functions.
1368         (byte-compile-form): Check obsolescence here.
1369         (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
1370         (byte-compile-variable-ref): Remove.
1371         (byte-compile-dynamic-variable-op): New fun.
1372         (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
1373         (byte-compile-variable-set): New funs.
1374         (byte-compile-discard): Add 2 args.
1375         (byte-compile-stack-ref, byte-compile-stack-set)
1376         (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
1377         (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
1378         macroexpand-all instead.
1379         (byte-compile-quote-form): Remove.
1380         (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
1381         (byte-compile-bind, byte-compile-unbind): New funs.
1382         (byte-compile-let): Handle let* and lexical binding.
1383         (byte-compile-let*): Remove.
1384         (byte-compile-catch, byte-compile-unwind-protect)
1385         (byte-compile-track-mouse, byte-compile-condition-case):
1386         Handle a new :fun-body form, used for lexical scoping.
1387         (byte-compile-save-window-excursion)
1388         (byte-compile-with-output-to-temp-buffer): Remove.
1389         (byte-compile-defun): Simplify.
1390         (byte-compile-stack-adjustment): New fun.
1391         (byte-compile-out): Use it.
1392         (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
1394         * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
1395         handler any more.
1397         * emacs-lisp/byte-opt.el: Use lexical binding.
1398         (byte-inline-lapcode): Remove (to bytecomp).
1399         (byte-compile-inline-expand): Pay attention to inlining to/from
1400         lexically bound code.
1401         (byte-compile-unfold-lambda): Don't handle byte-code-functions
1402         any more.
1403         (byte-optimize-form-code-walker): Don't handle save-window-excursion
1404         any more and don't call compiler-macros.
1405         (byte-compile-splice-in-already-compiled-code): Remove.
1406         (byte-code): Don't inline any more.
1407         (disassemble-offset): Receive `bytes' as argument rather than via
1408         dynamic scoping.
1409         (byte-compile-tag-number): Declare before first use.
1410         (byte-decompile-bytecode-1): Handle new byte-codes, don't change
1411         `return' even if make-spliceable.
1412         (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
1413         obsolete interactive-p.
1414         (byte-optimize-lapcode): Optimize new lap-codes.
1415         Don't trip up on new form of `byte-constant' lap code.
1417         * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
1419         * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
1421         * custom.el (custom-initialize-default, custom-declare-variable):
1422         Use `defvar'.
1424         * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
1425         New variables.
1426         (compile-onefile, .el.elc, compile-calc, recompile): Use them.
1427         (COMPILE_FIRST): Add macroexp and cconv.
1428         * makefile.w32-in: Mirror changes in Makefile.in.
1430         * vc/cvs-status.el:
1431         * vc/diff-mode.el:
1432         * vc/log-edit.el:
1433         * vc/log-view.el:
1434         * vc/smerge-mode.el:
1435         * textmodes/bibtex-style.el:
1436         * textmodes/css.el:
1437         * startup.el:
1438         * uniquify.el:
1439         * minibuffer.el:
1440         * newcomment.el:
1441         * reveal.el:
1442         * server.el:
1443         * mpc.el:
1444         * emacs-lisp/smie.el:
1445         * doc-view.el:
1446         * dired.el:
1447         * abbrev.el: Use lexical binding.
1449 2011-04-01  Eli Zaretskii  <eliz@gnu.org>
1451         * info.el (info-display-manual): New function.
1453 2011-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
1455         * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
1457 2011-03-31  Tassilo Horn  <tassilo@member.fsf.org>
1459         * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
1460         an entry for that server in rcirc-authinfo.  (Bug#8385)
1462 2011-03-31  Glenn Morris  <rgm@gnu.org>
1464         * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
1466         * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
1468 2011-03-30  Christoph Scholtes  <cschol2112@googlemail.com>
1470         * progmodes/python.el (python-default-interpreter)
1471         (python-python-command-args, python-jython-command-args)
1472         (python-which-shell, python-which-args, python-which-bufname)
1473         (python-file-queue, python-comint-output-filter-function)
1474         (python-toggle-shells, python-shell): Remove obsolete defcustoms,
1475         variables and functions.
1477 2011-03-30  Stefan Monnier  <monnier@iro.umontreal.ca>
1479         * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
1480         (completion-in-region-mode): New minor mode.
1481         (completion-in-region): Use it.
1482         (completion-in-region--data, completion-in-region-mode-map): New vars.
1483         (completion-in-region--postch): New function.
1484         (completion--capf-misbehave-funs, completion--capf-safe-funs):
1485         New vars.
1486         (completion--capf-wrapper): New function.
1487         (completion-at-point): Use it to track well-behavedness of
1488         hook functions.
1489         (completion-help-at-point): New command.
1491 2011-03-30  Jason Merrill  <jason@redhat.com>  (tiny change)
1493         * vc/add-log.el (add-change-log-entry): Don't use whitespace
1494         syntax class to search for whitespace on a single line
1495         (Message-ID: <4D938140.4030905@redhat.com>).
1497 2011-03-30  Leo Liu  <sdl.web@gmail.com>
1499         * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
1500         New commands.
1501         (edit-abbrevs-map): Bind them here.
1502         (write-abbrev-file): New optinal arg VERBOSE.  (Bug#5937)
1504 2011-03-29  Ken Manheimer  <ken.manheimer@gmail.com>
1506         * allout.el (allout-hide-by-annotation, allout-flag-region):
1507         Reduce possibility of overlay leakage by making them volatile.
1509         * allout-widgets.el (allout-widgets-tally): Define as nil so the
1510         hash is not shared between buffers.  Mode initialization is
1511         responsible for giving it a useful starting value.
1512         (allout-item-span): Reduce possibility of overlay leakage by
1513         making them volatile.
1514         (allout-widgets-count-buttons-in-region): Add diagnostic function
1515         for tracking down button overlay leaks.
1517 2011-03-29  Leo Liu  <sdl.web@gmail.com>
1519         * ido.el (ido-read-internal): Use the default history var
1520         minibuffer-history if no HISTORY is specified.
1522 2011-03-28  Brian T. Sniffen  <bsniffen@akamai.com>  (tiny change)
1524         * net/imap.el (imap-shell-open, imap-process-connection-type):
1525         Use imap-process-connection-type for 'shell' streams as well as
1526         Kerberos, SSL, other subprocesses.
1528 2011-03-28  Leo Liu  <sdl.web@gmail.com>
1530         * abbrev.el (abbrev-table-empty-p): New function.
1531         (prepare-abbrev-list-buffer): Place empty abbrev tables after
1532         nonempty ones.  (Bug#5937)
1534 2011-03-27  Jan Djärv  <jan.h.d@swipnet.se>
1536         * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
1538 2011-03-27  Leo Liu  <sdl.web@gmail.com>
1540         * ansi-color.el (ansi-color-names-vector): Allow cons cell value
1541         for foreground and background colors.
1542         (ansi-color-make-color-map): Adapt.
1544 2011-03-25  Leo Liu  <sdl.web@gmail.com>
1546         * midnight.el (midnight-time-float): Remove.  Note it calculates
1547         the microsecond component incorrectly and seconds-to-time does the
1548         same job.
1549         Remove redundant (require 'timer).
1551         * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
1552         (ido-completions): Remove unused arguments.  (Bug#8329)
1554 2011-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
1556         * minibuffer.el (completion--flush-all-sorted-completions):
1557         Remove itself from hook.
1558         (completion-at-point): Let the functions perform the completion
1559         immediately and return nil or t.
1560         * comint.el (comint-dynamic-complete-functions): Now identical to
1561         completion-at-point-functions.
1562         (comint-dynamic-list-input-ring): Remove unused var `index'.
1563         (comint--match-partial-filename, comint--unquote&expand-filename):
1564         New funs, split from comint-match-partial-filename.
1565         (comint-dynamic-complete): Use completion-at-point.
1566         (comint-dynamic-complete-filename): Use comint--match-partial-filename.
1568 2011-03-24  Drew Adams  <drew.adams@oracle.com>
1570         * thingatpt.el: Support `defun'.
1572 2011-03-23  Leo Liu  <sdl.web@gmail.com>
1574         * abbrevlist.el: Move to obsolete/abbrevlist.el.
1576         * help-mode.el (help-mode-finish): Tweak regexp.
1578 2011-03-23  Glenn Morris  <rgm@gnu.org>
1580         * eshell/esh-opt.el (eshell-eval-using-options):
1581         Do not bind unused local variable `eshell-option-stub'.
1583         * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
1585 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
1587         * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
1588         keymap variable in `with-no-warnings' to avoid a warning when the
1589         keymap has been already `defconst'ed.
1591 2011-03-22  Leo Liu  <sdl.web@gmail.com>
1593         * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
1594         encode all chars in abbrevs; otherwise use emacs-mule or
1595         utf-8-emacs.  (Bug#8308)
1597 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
1599         * simple.el (backward-delete-char-untabify):
1600         Avoid warning about using `delete-backward-char'.
1602         * image.el (image-type-file-name-regexps): Make it variable.
1603         `imagemagick-register-types' modifies it, and the user may want
1604         to add new extensions for known image types.
1605         (imagemagick-register-types): Throw error if not using ImageMagick.
1607 2011-03-22  Leo Liu  <sdl.web@gmail.com>
1609         * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
1610         located before rcirc-prompt-end-marker.
1611         (rcirc-complete): Error if point is not after rcirc prompt.
1612         Handle the case when table is nil.
1613         (rcirc-user-authenticated): Define to fix compiler warning.
1615 2011-03-22  Chong Yidong  <cyd@stupidchicken.com>
1617         * custom.el (custom--inhibit-theme-enable): Make it affect only
1618         custom-theme-set-variables and custom-theme-set-faces.
1619         (provide-theme): Ignore custom--inhibit-theme-enable.
1620         (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
1621         (custom-enabling-themes): Delete variable.
1622         (enable-theme): Accept only loaded themes as arguments.
1623         Ignore the special custom-enabled-themes variable.
1624         (custom-enabled-themes): Forbid themes from setting this.
1625         Eliminate use of custom-enabling-themes.
1626         (custom-push-theme): Quote "changed" custom var entry.
1628 2011-03-21  Leo Liu  <sdl.web@gmail.com>
1630         * ido.el (ido-read-internal): Add ido-selected to history instead
1631         of user input.
1633 2011-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
1635         * subr.el (deferred-action-list, deferred-action-function):
1636         Mark obsolete.
1638 2011-03-21  Leo Liu  <sdl.web@gmail.com>
1640         * vc/log-view.el: Remove (require 'wid-edit), not needed after the
1641         change on 2011-02-13 (bug#8309).
1643         * minibuffer.el (read-file-name-function): Change default value.
1644         (read-file-name--defaults): Rename from read-file-name-defaults.
1645         (read-file-name-default): Rename from read-file-name.
1646         (read-file-name): Call read-file-name-function.
1648 2011-03-21  Glenn Morris  <rgm@gnu.org>
1650         * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
1651         Doc fixes.
1653 2011-03-21  Chong Yidong  <cyd@stupidchicken.com>
1655         * cus-theme.el: Add missing provide statement.
1656         (customize-create-theme): Extract theme value correctly.
1657         (custom-theme-visit-theme): Autoload.
1658         (customize-create-theme): Prompt before inserting default faces.
1660 2011-03-20  Jay Belanger  <jay.p.belanger@gmail.com>
1662         * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
1663         units and musical notes.
1665 2011-03-20  Leo  <sdl.web@gmail.com>
1667         * ido.el (ido-read-internal): Use completing-read-default.
1668         (ido-completing-read): Fix compatibility with completing-read.
1670 2011-03-20  Christian Ohler  <ohler@gnu.org>
1672         * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
1673         (ert-delete-all-tests): Use `called-interactively-p' rather than
1674         `interactive-p'.
1675         (ert--make-xrefs-region): Respect END.
1677 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
1679         * dired-aux.el (dired-create-directory): Signal an error if the
1680         directory already exists (Bug#8246).
1682         * facemenu.el (list-colors-display): Call list-faces-display
1683         inside with-help-window.
1684         (list-colors-print): Use display property to align the final
1685         column, instead of checking window-width.
1687 2011-03-19  Eli Zaretskii  <eliz@gnu.org>
1689         * emerge.el (emerge-metachars): Separate value for ms-dos and
1690         windows-nt systems.
1691         (emerge-protect-metachars): Quote correctly for ms-dos and
1692         windows-nt systems.
1694 2011-03-19  Ralph Schleicher  <rs@ralph-schleicher.de>  (tiny change)
1696         * info.el (info-initialize): Replace all uses of `:' with
1697         path-separator for compatibility with non-Unix systems.
1698         Cache quoting of path-separator.  (Bug#8258)
1700 2011-03-19  Juanma Barranquero  <lekktu@gmail.com>
1702         * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
1703         (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
1704         (mouse-avoidance-mode): Fix typos in docstrings.
1706 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
1708         * startup.el (package-subdirectory-regexp): Move from package.el.
1709         Omit \\` and \\', and let callers add them.
1711         * emacs-lisp/package.el (package-strip-version)
1712         (package-load-all-descriptors): Add \\` and \\' to
1713         package-subdirectory-regexp before using it.
1714         (package-untar-buffer): New arg DIR; ensure that file untars only
1715         into this expected directory.  Remove superfluous delete-region.
1716         (package-unpack): Caller changed.
1717         (package-tar-file-info): Use package-subdirectory-regexp.
1719 2011-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
1721         * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
1722         diff-mode-shared-map (bug#8284).
1723         (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1725 2011-03-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1727         * calendar/time-date.el (format-seconds): Use assoc instead of
1728         assoc-string, since assoc-string doesn't exist in XEmacs.
1730 2011-03-17  Juanma Barranquero  <lekktu@gmail.com>
1732         * custom.el (custom-known-themes): Reflow docstring.
1733         (custom-theme-load-path): Fix typo in docstring.
1734         (load-theme): Fix typo in error message.
1735         (custom-available-themes, custom-variable-theme-value):
1736         Use `let', not `let*'.
1738 2011-03-17  Jay Belanger  <jay.p.belanger@gmail.com>
1740         * calc/README: Mention inclusion of musical notes.
1742         * calc/calc-units.el (calc-lu-quant): Rename from
1743         `calc-logunits-quantity'.
1744         (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
1745         (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
1746         (calc-db): Rename from `calc-dblevel'.
1747         (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
1748         (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
1749         (calc-np): Rename from `calc-nplevel'.
1750         (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
1751         (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
1752         (calc-lu-plus): Rename from `calc-logunits-add'.
1753         (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
1754         (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
1755         (calc-lu-minus): Rename from `calc-logunits-sub'.
1756         (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
1757         (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
1758         (calc-lu-times): Rename from `calc-logunits-mul'.
1759         (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
1760         (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
1761         (calc-lu-divide): Rename from `calc-logunits-div'.
1762         (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
1763         (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
1765         * calc/calc-ext.el (calc-init-extensions): Update the names of the
1766         functions being autoloaded.
1768         * calc/calc.el (calc-lu-power-reference): Rename from
1769         `calc-logunits-power-reference'.
1770         (calc-lu-field-reference): Rename from
1771         `calc-logunits-field-reference'.
1773         * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
1775 2011-03-17  Stefan Monnier  <monnier@iro.umontreal.ca>
1777         * minibuffer.el (completion-all-sorted-completions):
1778         Use :completion-cycle-penalty text property if present.
1780 2011-03-16  Ken Manheimer  <ken.manheimer@gmail.com>
1782         * allout.el (allout-yank-processing): Adjust for new rebulleting
1783         regime so bullet being yanked is used without prompting the user
1784         for a choice.
1786 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
1788         * startup.el (command-line): Warn the user that _emacs is deprecated.
1790 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
1792         * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
1793         (delphi-verbose, delphi-comment-face, delphi-string-face)
1794         (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
1795         (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
1796         (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
1797         (delphi-new-comment-line, delphi-font-lock-defaults)
1798         (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
1799         Fix typos in docstrings.
1801 2011-03-15  Ken Manheimer  <ken.manheimer@gmail.com>
1803         * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
1804         Invert the roles of character and string values for INSTEAD, so a
1805         string is used for the more common case of a defaulting prompt.
1807 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
1809         * progmodes/ruby-mode.el (ruby-backward-sexp):
1810         * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
1811         * play/gamegrid.el (gamegrid-make-face):
1812         * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
1813         (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
1814         * notifications.el (notifications-notify):
1815         * net/xesam.el (xesam-search-engines):
1816         * net/quickurl.el (quickurl-list-insert):
1817         * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
1819 2011-03-15  Chong Yidong  <cyd@stupidchicken.com>
1821         * startup.el (command-line): Update package subdirectory regexp.
1823 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
1825         * allout.el (allout-abbreviate-flattened-numbering)
1826         (allout-mode-deactivate-hook): Fix up obsolescence "date".
1828         * subr.el (read-char-choice): Only show the cursor after the prompt,
1829         not after the answer.
1831 2011-03-15  Kevin Ryde  <user42@zip.com.au>
1833         * help-fns.el (variable-at-point): Skip leading quotes, if any
1834         (bug#8253).
1836 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
1838         * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
1839         warning message.
1841 2011-03-14  Michael Albinus  <michael.albinus@gmx.de>
1843         * shell.el (shell): When called interactively, offer to change the
1844         shell file name on remote hosts.
1846 2011-03-13  Teodor Zlatanov  <tzz@lifelogs.com>
1848         * net/ldap.el (ldap-search-internal): Add `auth-source-search'
1849         integration for LDAP parameters.  The host, base, user or binddn,
1850         and secret tokens can be specified in a netrc file, for instance.
1851         This is optional because an `auth-source' parameter must be
1852         specified in the search attributes.
1854 2011-03-13  Juanma Barranquero  <lekktu@gmail.com>
1856         * help.el (describe-mode): Link to the mode's definition (bug#8185).
1858 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
1860         * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
1861         into declaration.  Remove redundant and harmful binding.
1863 2011-03-12  Eli Zaretskii  <eliz@gnu.org>
1865         * files.el (file-ownership-preserved-p): Pass `integer' as an
1866         explicit 2nd argument to `file-attributes'.  If the file's owner
1867         is the Administrators group on Windows, and the current user is
1868         Administrator, consider that a match.
1870         * server.el (server-ensure-safe-dir): Consider server directory
1871         safe on MS-Windows if its owner is the Administrators group while
1872         the current Emacs user is Administrator.  Use `=' to compare
1873         numerical UIDs, since they could be integers or floats.
1875 2011-03-12  Juanma Barranquero  <lekktu@gmail.com>
1877         * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
1879 2011-03-12  Michael Albinus  <michael.albinus@gmx.de>
1881         Sync with Tramp 2.2.1.
1883         * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
1885         * net/trampver.el: Update release number.
1887 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
1889         * progmodes/compile.el (compilation--previous-directory): Fix up
1890         various nil/dead-marker mismatches (bug#8014).
1891         (compilation-directory-properties, compilation-error-properties):
1892         Don't call it at a position past the one we're about to change.
1894         * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
1895         Disable obsolescence warnings in the file that declares it.
1897 2011-03-11  Ken Manheimer  <ken.manheimer@gmail.com>
1899         * allout-widgets.el (allout-widgets-tally):
1900         Initialize allout-widgets-tally as a hash table rather than nil to
1901         prevent mode-line redisplay warnings.  Also, clarify the module
1902         description and fix a comment typo.
1904 2011-03-11  Juanma Barranquero  <lekktu@gmail.com>
1906         * help-fns.el (describe-variable): Don't complete keywords.
1907         Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
1909 2011-03-10  Chong Yidong  <cyd@stupidchicken.com>
1911         * emacs-lisp/package.el (package-version-join): Impose a standard
1912         string representation for pre/alpha/beta version lists.
1913         (package-unpack-single): Standardize the directory name by passing
1914         it through package-version-join.
1915         (package-strip-rcs-id): Accept any version string that does not
1916         signal an error in version-to-list.
1918 2011-03-10  Michael Albinus  <michael.albinus@gmx.de>
1920         * simple.el (delete-trailing-whitespace): Return nil for the
1921         benefit of `write-file-functions'.
1923 2011-03-10  Glenn Morris  <rgm@gnu.org>
1925         * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
1927         * vc/vc-git.el (vc-git-program): New option.
1928         (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
1929         (vc-git--call): Use it.
1931         * eshell/esh-util.el (eshell-condition-case): Doc fix.
1933         * cus-edit.el (Custom-newline): If no button at point, look
1934         for a subgroup button at start-of-line.  (Bug#2298)
1936         * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
1938 2011-03-10  Julien Danjou  <julien@danjou.info>
1940         * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
1941         `cursor-type' is nil.
1943 2011-03-09  Jay Belanger  <jay.p.belanger@gmail.com>
1945         * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
1947 2011-03-09  Ken Manheimer  <ken.manheimer@gmail.com>
1949         * allout.el Summary: Change so yank of distinctive-bullet items
1950         preserves the existing header prefix, rebulleting it if necessary,
1951         rather than replacing it.  This is necessary for proper operation
1952         of cooperative addons like allout-widgets.
1953         (allout-make-topic-prefix, allout-rebullet-heading): Change
1954         SOLICIT arg to INSTEAD, and interpret additionally a string value
1955         as alternate bullet to be used, instead of prompting the user for
1956         a bullet character.
1958 2011-03-09  Michael Albinus  <michael.albinus@gmx.de>
1960         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
1961         Do not use `tramp-file-name-port', because this returns also
1962         `tramp-default-port'.
1964 2011-03-09  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
1966         * net/rcirc.el (rcirc-handler-001): Remove useless
1967         with-rcirc-process-buffer.
1968         (rcirc-check-auth-status): Swap arguments to string-match.
1970 2011-03-09  Glenn Morris  <rgm@gnu.org>
1972         * shell.el (shell-mode):
1973         Set comint-input-ring-size from HISTSIZE.  (Bug#7889)
1975         * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
1976         Check for GDBHISTFILE, HISTSIZE, etc.  (Bug#7889)
1978 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
1980         * emacs-lisp/package.el (package-refresh-contents)
1981         (package-menu-execute): Use condition-case-no-debug.
1983 2011-03-08  Michael Albinus  <michael.albinus@gmx.de>
1985         * simple.el (shell-command-to-string): Use `process-file'.
1987         * emacs-lisp/package.el (package-tar-file-info): Handle also
1988         remote files.
1990         * emacs-lisp/package-x.el (package-upload-buffer-internal):
1991         Use `equal' for upload base check.
1993 2011-03-08  Arni Magnusson  <arnima@hafro.is>  (tiny change)
1995         * textmodes/texinfo.el (texinfo-environments):
1996         Add deftypecv, deftypeivar, deftypemethod, deftypeop, html.  (Bug#2783)
1998 2011-03-08  Glenn Morris  <rgm@gnu.org>
2000         * cus-start.el (cursor-in-non-selected-windows):
2001         Fix :set quoting oddness.  (Bug#8192)
2003         * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
2004         in some setf expressions.  (Bug#2159)
2006 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
2008         * custom.el (custom-available-themes): Return themes in
2009         alphabetical order.
2011 See ChangeLog.15 for earlier changes.
2013 ;; Local Variables:
2014 ;; coding: utf-8
2015 ;; End:
2017   Copyright (C) 2011  Free Software Foundation, Inc.
2019   This file is part of GNU Emacs.
2021   GNU Emacs is free software: you can redistribute it and/or modify
2022   it under the terms of the GNU General Public License as published by
2023   the Free Software Foundation, either version 3 of the License, or
2024   (at your option) any later version.
2026   GNU Emacs is distributed in the hope that it will be useful,
2027   but WITHOUT ANY WARRANTY; without even the implied warranty of
2028   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
2029   GNU General Public License for more details.
2031   You should have received a copy of the GNU General Public License
2032   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.