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