ange-ftp fixes for dired switches not being just a single short option.
[emacs.git] / lisp / ChangeLog
blob6e08029588a6d334ac43875fa5d354ac4440b532
1 2011-06-09  Glenn Morris  <rgm@gnu.org>
3         * net/ange-ftp.el (ange-ftp-switches-ok): New function.
4         (ange-ftp-get-files): Use it.
6 2011-06-09  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
8         * mail/sendmail.el (mail-recover-1, mail-recover):
9         * files.el (recover-file, recover-session):
10         Handle dired-listing-switches not being just a single short option.
12 2011-06-09  Glenn Morris  <rgm@gnu.org>
14         * calendar/appt.el (appt-display-message, appt-disp-window):
15         Handle lists of appointments.
17 2011-06-08  Martin Rudalics  <rudalics@gmx.at>
19         * window.el (one-window-p): Move down in code.  Rewrite
20         doc-string.
21         (window-current-scroll-bars): Rewrite doc-string.  Normalize
22         live window argument.
23         (walk-windows, get-window-with-predicate, count-windows):
24         Rewrite doc-string.  Use window-list-1.
25         (window-in-direction-2, window-in-direction, get-mru-window):
26         New functions.
28 2011-06-08  Reuben Thomas <rrt@sc3d.org>
30         * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
31         Doc fix (Bug#8713).
33 2011-06-08  Chong Yidong  <cyd@stupidchicken.com>
35         * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
37 2011-06-08  Juanma Barranquero  <lekktu@gmail.com>
39         * loadhist.el (unload-feature-special-hooks):
40         Add `comint-output-filter-functions'.
42 2011-06-08  Ivan Kanis  <gnu@kanis.fr>
44         * calendar/appt.el (appt-check): Move some initializations into the let.
46 2011-06-08  Martin Rudalics  <rudalics@gmx.at>
48         * window.el (window-height): Defalias to window-total-height.
49         (window-width): Defalias to window-body-width.
51 2011-06-07  Chong Yidong  <cyd@stupidchicken.com>
53         * image-mode.el (image-toggle-animation): New command.
54         (image-mode-map): Bind it to RET.
55         (image-mode): Update message.
56         (image-toggle-display-image): Avoid a spurious cache flush.
57         (image-transform-rotation): Doc fix.
58         (image-transform-properties): Return quickly in the normal case.
59         (image-animate-loop): Rename from image-animate-max-time.
61         * image.el (image-animate-max-time): Moved to image-mode.el.
62         (create-animated-image): Remove unnecessary function.
63         (image-animate): Rename from image-animate-start.  New arg.
64         (image-animate-stop): Removed; just use image-animate-timer.
65         (image-animate-timer): Use car-safe.
66         (image-animate-timeout): Rename argument.
68 2011-06-07  Martin Rudalics  <rudalics@gmx.at>
70         * window.el (get-lru-window, get-largest-window): Move here from
71         window.c.  Rename first argument to ALL-FRAMES.  Rephrase
72         doc-strings.
73         (get-buffer-window-list): Rewrite using window-list-1.  Rephrase
74         doc-string.
75         (window-safe-min-height, window-safe-min-width): New constants.
76         (window-size-ignore, window-min-size, window-min-size-1)
77         (window-sizable, window-sizable-p, window-size-fixed-1)
78         (window-size-fixed-p, window-min-delta-1, window-min-delta)
79         (window-max-delta-1, window-max-delta, window-resizable)
80         (window-resizable-p, window-total-height, window-total-width)
81         (window-body-width): New functions.
82         (window-full-height-p, window-full-width-p): Rewrite using
83         window-total-size.
84         (window-body-height): Rewrite using window-body-size.
86 2011-06-06  Martin Rudalics  <rudalics@gmx.at>
88         * window.el (window-right, window-left, window-child)
89         (window-child-count, window-last-child, window-any-p)
90         (normalize-live-buffer, normalize-live-frame)
91         (normalize-any-window, normalize-live-window)
92         (window-iso-combination-p, window-iso-combined-p)
93         (window-iso-combinations)
94         (walk-window-tree-1, walk-window-tree, walk-window-subtree)
95         (windows-with-parameter, window-with-parameter)
96         (window-atom-root, make-window-atom, window-atom-check-1)
97         (window-atom-check, window-side-check, window-check): New
98         functions.
99         (ignore-window-parameters, window-sides, window-sides-vertical)
100         (window-sides-slots): New variables.
101         (window-size-fixed): Move down in code.  Minor doc-string fix.
103 2011-06-05  Andreas Schwab  <schwab@linux-m68k.org>
105         * comint.el (comint-dynamic-complete-as-filename)
106         (comint-dynamic-complete-filename): Correctly call
107         completion-in-region.
109 2011-06-05  Deniz Dogan  <deniz@dogan.se>
111         * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
112         in last change.
114 2011-06-05  Deniz Dogan  <deniz@dogan.se>
116         * net/rcirc.el (rcirc-prompt-for-encryption): New function.
117         (rcirc): Use it to prompt for encryption.
119 2011-06-05  Roland Winkler  <winkler@gnu.org>
121         * textmodes/bibtex.el (bibtex-search-buffer): New variable.
122         (bibtex-search-entries): New command bound to C-c C-a.
123         (bibtex-display-entries): New function.
125 2011-06-05  Roland Winkler  <winkler@gnu.org>
127         * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
128         (bibtex-insert-kill): After yanking insert newline if necessary.
129         (bibtex-initialize): Call bibtex-string-files-init only once.
130         (bibtex-mode): Do not call easy-menu-add.
131         (bibtex-validate-globally): Use save-excursion in bibtex buffers.
132         (bibtex-yank): Set arg properly if nil.
134 2011-06-05  Roland Winkler  <winkler@gnu.org>
136         * textmodes/bibtex.el (bibtex-search-entry-globally): New
137         variable.
138         (bibtex-search-entry): Use it.
140 2011-06-05  Roland Winkler  <winkler@gnu.org>
142         * textmodes/bibtex.el (bibtex-entry-format): New option
143         sort-fields.
144         (bibtex-format-entry, bibtex-reformat): Honor this option.
145         (bibtex-parse-entry): Return fields in proper order.
147 2011-06-05  Juanma Barranquero  <lekktu@gmail.com>
149         * doc-view.el (doc-view-remove-if): Move computation of result out
150         of `dolist' to silence misleading lexical-binding warning.
152 2011-06-04  Chong Yidong  <cyd@stupidchicken.com>
154         * emacs-lisp/timer.el (timer-activate): Remove unused arg.
155         (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
157 2011-06-04  Michael Albinus  <michael.albinus@gmx.de>
159         * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
160         "SunOS 5.10".
162 2011-06-04  Michael Albinus  <michael.albinus@gmx.de>
164         * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
165         (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
166         (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
167         (tramp-parse-putty):
168         * net/tramp-sh.el (tramp-completion-function-alist-rsh)
169         (tramp-completion-function-alist-ssh)
170         (tramp-completion-function-alist-telnet)
171         (tramp-completion-function-alist-su)
172         (tramp-completion-function-alist-putty): Set `tramp-autoload'
173         cookie.
175         * net/tramp-ftp.el:
176         * net/tramp-sh.el:
177         * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
178         load "tramp.el" `tramp-set-completion-function'.
180 2011-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
182         * shell.el: Require and use pcomplete.
183         (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
184         (shell-completion-vars): Set pcomplete-default-completion-function.
186 2011-06-04  Deniz Dogan  <deniz@dogan.se>
188         * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
189         `memq' (Bug#8799).
191 2011-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
193         * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
195 2011-06-02  Juanma Barranquero  <lekktu@gmail.com>
197         * bs.el (bs--mark-unmark, bs--nth-wrapper):
198         * mpc.el (mpc-select-extend, mpc-songpointer-context):
199         * vc/log-view.el (log-view-beginning-of-defun):
200         * vc/smerge-mode.el (smerge-apply-resolution-patch)
201         (smerge-refine-forward, smerge-refine-chopup-region):
202         Silence warning for unused `dotimes' counter variables.
204 2011-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
206         * net/tramp.el (tramp-with-progress-reporter): Rename from
207         with-progress-reporter.  Use `declare'.
208         * net/tramp-smb.el:
209         * net/tramp-sh.el:
210         * net/tramp-gvfs.el: Update all uses.
212 2011-06-02  Jay Belanger  <jay.p.belanger@gmail.com>
214         * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
215         buffer isn't killed before making it current.
217 2011-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
219         Silence various byte-compiler warnings.
220         * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
221         `access-type' and new obsolescence format.
222         * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
223         new format.
224         (byte-compile-check-variable): New `access-type' argument.
225         Only warn if the access-type is obsolete.
226         (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
227         (byte-compile-variable-set): Adjust callers.
228         * help-fns.el (describe-variable): Adjust to new obsolescence format.
229         * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
230         setting it as obsolete.
231         * simple.el (minibuffer-completing-symbol):
232         * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
233         access as obsolete.
234         * minibuffer.el (minibuffer-completing-file-name): Don't make it
235         obsolete yet.
236         * international/quail.el (quail-mouse-choose-completion): Remove unused
237         code referring to obsolete var.
238         (quail-choose-completion-string): Remove.
239         * server.el (server-clients-with, server-kill-buffer-query-function)
240         (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
241         * proced.el (proced-send-signal):
242         * emacs-lisp/lisp.el (lisp-complete-symbol):
243         Replace completion-annotate-function with completion-extra-properties.
245 2011-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
247         * simple.el (goto-line): Use read-number.
248         (overriding-map-is-bound): Remove.
249         (saved-overriding-map): Change default.
250         (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
251         Take the map as argument.
252         (universal-argument, negative-argument, digit-argument): Use it.
253         (restore-overriding-map): Adjust.
254         (do-auto-fill): Use fill-forward-paragraph.
255         (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
257         * minibuffer.el (minibuffer-inactive-mode-map): New var.
258         (minibuffer-inactive-mode): New major mode.
259         * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
260         the *Messages* buffer" hack.
261         (mouse-popup-menubar): Don't burp if the event is a normal key.
263         Miscellaneous tweaks.
264         * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
265         lexical scoping as in subr.el's dolist and dotimes.
266         * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
267         Silence compiler warning.
268         * thingatpt.el (forward-whitespace): Trivial coding style fix.
269         * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
270         * international/ccl.el (ccl-compile): Trivial simplification.
271         * help-fns.el (help-do-arg-highlight): Silence compiler warning.
272         * emacs-lisp/testcover.el (testcover-end): Remove spurious
273         `printflag' argument.
274         * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
275         Purecopy the whole obsolescence data.
277 2011-06-01  Leo Liu  <sdl.web@gmail.com>
279         * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
280         improve doc-string as suggested by Marco Pessotto
281         <melmothx@gmail.com>.
282         (rcirc-print): Fix last change.
284 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
286         * minibuffer.el (complete-with-action): Return nil for the metadata and
287         boundaries of non-functional tables.
288         (completion-table-dynamic): Return nil for the metadata.
289         (completion-table-with-terminator): Add default case, using
290         complete-with-action.
291         (completion--metadata): New function.
292         (completion-all-sorted-completions, minibuffer-completion-help): Use it
293         to try and avoid pathological performance problems.
294         (completion--embedded-envvar-table): Return `category' metadata.
296 2011-05-31  Lars Magne Ingebrigtsen  <larsi@gnus.org>
298         * subr.el (process-alive-p): New tiny convenience function.
300 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
302         * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
303         content but also its previous major mode.
305 2011-05-31  Helmut Eller  <eller.helmut@gmail.com>
307         * debug.el (debug): Restore the previous content of the
308         *Backtrace* buffer when we exit with C-M-c.
310 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
312         * minibuffer.el: Add metadata method to completion tables.
313         (completion-category-overrides): New defcustom.
314         (completion-metadata, completion--field-metadata)
315         (completion-metadata-get, completion--styles)
316         (completion--cycle-threshold): New functions.
317         (completion-try-completion, completion-all-completions):
318         Add `metadata' argument to choose completion-styles.
319         (completion--do-completion): Use metadata to choose cycling.
320         (completion-all-sorted-completions): Use metadata for sorting.
321         Remove :completion-cycle-penalty which is not needed any more.
322         (completion--try-word-completion): Add `metadata' argument.
323         (minibuffer-completion-help): Check metadata for annotation function
324         and sorting.
325         (completion-file-name-table): Return `category' metadata.
326         (minibuffer-completing-file-name): Make obsolete.
327         * simple.el (minibuffer-completing-symbol): Make obsolete.
328         * icomplete.el (icomplete-completions): Pass new `metadata' param to
329         completion-try-completion.
331 2011-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
333         * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
335 2011-05-30  Leo Liu  <sdl.web@gmail.com>
337         * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
338         (rcirc-print): Decode all incoming messages (bug#8744).
339         (rcirc-decode-coding-system): Allow value nil for automatic coding
340         system detection.
342 2011-06-01  Glenn Morris  <rgm@gnu.org>
344         * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
346 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
348         * image.el (image-animate-max-time): Allow nil and t values.
349         Default to nil.
350         (create-animated-image): Doc fix.
351         (image-animate-start): Remove second arg; just use
352         image-animate-max-time.
353         (image-animate-timeout): Doc fix.  Args changed.
355         * image-mode.el (image-toggle-display-image): Ensure that the
356         image spec passed to the animate timer is the same object as in
357         the the buffer's display property (Bug#6981).
358         (image-transform-properties): Doc fix.
360         * image.el (image-animate-max-time): Default to nil.
362 2011-05-29  Martin Rudalics  <rudalics@gmx.at>
364         * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
365         entire buffer list (Bug#8184).
367 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
369         * image.el (imagemagick-types-inhibit)
370         (imagemagick-register-types): Doc fix.
372 2011-05-29  Deniz Dogan  <deniz@dogan.se>
374         * net/rcirc.el (rcirc): Use the user's stored encryption method by
375         default.
377 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
379         * select.el: Don't perform clipboard-manager saving in hooks;
380         leave the hooks empty.
382 2011-05-28  Leo Liu  <sdl.web@gmail.com>
384         * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
385         (occur-mode-map): Bind occur-edit-mode.  Use occur-menu-map.
386         (occur-edit-mode): New major mode (Bug#8463).
387         (occur-after-change-function): New function.
388         (occur-engine): Give Occur tags a read-only property.
390 2011-05-28  Kevin Ryde  <user42@zip.com.au>
392         * subr.el (def-edebug-spec): Doc fix (Bug#8430).
394 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
396         * bindings.el (help-echo): Make the initial non-indicator dash
397         empty on graphical terminals (Bug#7295).
399         * files.el (auto-mode-alist): Move config rule after the
400         in-stripping one (Bug#8547).
402         * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
404         * startup.el (normal-splash-screen): Remove gratuitous mode-line
405         setting (Bug#8740).
407 2011-05-28  Alp Aker  <aker@pitt.edu>  (tiny change)
409         * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
410         (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
411         (Bug#8539).
413 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
416         * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
418 2011-05-28  Dima Kogan  <dkogan@cds.caltech.edu>  (tiny change)
420         * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
421         (hs-hide-block-at-point, hs-find-block-beginning)
422         (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
423         (Bug#8279).
425 2011-05-28  Glenn Morris  <rgm@gnu.org>
427         * startup.el (fancy-about-screen): Use standard mode line.  (Bug#8740)
429 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
431         * help-fns.el (describe-function-1): If the function is a derived
432         major mode, print the parent mode.
434         * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
435         (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
437 2011-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
439         * minibuffer.el (completion--capf-wrapper): Check applicability before
440         retuning non-nil for non-exclusive completion data.
441         * progmodes/etags.el (tags-completion-at-point-function):
442         * info-look.el (info-lookup-completions-at-point): Mark as
443         non-exclusive.
444         (info-complete): Adjust accordingly.
446         * info-look.el: Convert to lexical-binding and completion-at-point.
447         (info-lookup-completions-at-point): New function.
448         (info-complete): Use it and completion-in-region.
450 2011-05-28  Drew Adams  <drew.adams@oracle.com>
452         * isearch.el: Let M-e start with point at the first mismatched char.
453         (isearch-fail-pos): New function.
454         (isearch-edit-string): Use it.
456 2011-05-28  Dmitry Kurochkin  <dmitry.kurochkin@gmail.com>  (tiny change)
458         * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
460 2009-11-23  Toby Cubitt  <toby-predictive@dr-qubit.org>
462         * emacs-lisp/avl-tree.el: New avl-tree-stack datatype.  Add new
463         traversal functions for avl-trees.
464         (avl-tree--stack): New struct.
465         (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
466         (avl-tree-enter): Add optional `updatefun' arg.
467         (avl-tree--do-enter): Add optional `updatefun' arg.
468         Change return value.
469         (avl-tree-delete): Add optional `test' and `nilflag' args.
470         (avl-tree--do-delete): Add `test' and `nilflag' args.
471         Change return value.
472         (avl-tree-member): Add optional `nilflag'
473         (avl-tree-member-p): New function.
474         (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
475         (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
476         (avl-tree-stack-empty-p): New functions.
478 2009-11-23  Toby Cubitt  <toby-predictive@dr-qubit.org>
480         * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
481         avl-tree--del-balance1 and make it work both ways.
482         (avl-tree--del-balance2): Remove.
483         (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
484         make it work both ways.
485         (avl-tree--enter-balance2): Remove.
486         (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
487         New macros.
488         (avl-tree--mapc, avl-tree-map): Add direction argument.
490 2011-05-27  David Michael  <fedora.dm0@gmail.com>  (tiny change)
492         * files.el (interpreter-mode-alist): Add rbash (bug#8745).
494 2011-05-27  Chong Yidong  <cyd@stupidchicken.com>
496         * select.el: Support clipboard managers with built-in function
497         x-clipboard-manager-save, via delete-frame-functions and
498         kill-emacs-hook.
499         (xselect-convert-to-targets): Add MULTIPLE target to list.
500         (xselect-convert-to-save-targets): New function.
502 2011-05-27  Kenichi Handa  <handa@m17n.org>
504         * mail/sendmail.el (mail-encode-header): Avoid double encoding by
505         let-binding rfc2047-encode-encoded-words to nil.
507 2011-05-27  Glenn Morris  <rgm@gnu.org>
509         * mail/emacsbug.el: Don't require url-util.
511         * shell.el (shell-directory-tracker): Case matters.  (Bug#8735)
513         * files.el (set-auto-mode):
514         Also respect mode: entries at the end of the file.  (Bug#8586)
516 2011-05-26  Glenn Morris  <rgm@gnu.org>
518         * files.el (hack-local-variables-prop-line, hack-local-variables):
519         Downcase mode names, as seems to be traditional.
520         (hack-local-variables, hack-local-variables-apply): Doc fixes.
522         * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
523         (report-emacs-bug-hook): Try to validate the From address.  (Bug#8038)
525 2011-05-25  Julien Danjou  <julien@danjou.info>
527         * textmodes/rst.el (rst-define-level-faces): Do not define face
528         symbol if it is already defined.
530 2011-05-24  Vincent Belaïche  <vincentb1@users.sourceforge.net>
532         * play/5x5.el (5x5-new-game, 5x5-randomize):
533         Reset 5x5-solver-output to nil when a new grid is cast.
534         (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
535         these debugging traces, as defmacro breaks the compiled code.
537 2011-05-24  Dmitry Kurochkin  <dmitry.kurochkin@gmail.com>  (tiny change)
539         * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
541 2011-05-24  Leo Liu  <sdl.web@gmail.com>
543         * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
544         (vc-bzr-sha1): Adapt.
546         * sha1.el: Remove. Function `sha1' is now builtin.
548         * bindings.el: Provide sha1 feature.
550 2011-05-24  Kenichi Handa  <handa@m17n.org>
552         * mail/sendmail.el: Require `rfc2047'.
553         (mail-insert-from-field): Do not perform RFC2047 encoding.
554         (mail-encode-header): New function.
555         (sendmail-send-it): Set buffer-file-coding-system of the work
556         buffer to the return value of select-message-coding-system.
557         Call mail-encode-header.
559         * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
561 2011-05-24  Sean Neakums  <sneakums@zork.net>  (tiny change)
563         * mail/supercite.el (sc-default-cite-frame):
564         Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
566 2011-05-24  Glenn Morris  <rgm@gnu.org>
568         * progmodes/python.el (brm-menu): Declare.
570         * emulation/viper.el (viper-set-hooks): Declare.
572         * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
573         (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
574         (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
575         (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
576         (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
577         (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
579 2011-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
581         Add an :exit-function for completion-at-point.
583         * minibuffer.el (completion--done): New fun.
584         (completion--do-completion): Use it.  New arg `expect-exact'.
585         (minibuffer-complete, minibuffer-complete-word): Don't output message,
586         since completion--do-completion does it for us now.
587         (minibuffer-force-complete): Use completion--done and
588         completion--replace.  Handle sole-completion case with more care.
589         (minibuffer-complete-and-exit): Use new `expect-exact' arg.
590         (completion-extra-properties): New var.
591         (completion-annotate-function): Make obsolete.
592         (minibuffer-completion-help): Adjust accordingly.
593         Use completion-list-insert-choice-function.
594         (completion-at-point, completion-help-at-point):
595         Bind completion-extra-properties.
596         (completion-pcm-word-delimiters): Add | (for uniquify, for example).
597         * simple.el (completion-list-insert-choice-function): New var.
598         (completion-setup-function): Preserve it.
599         (choose-completion): Pay attention to it, shuffle the code a bit.
600         (choose-completion-string): New arg `insert-function'.
602         * textmodes/bibtex.el: Convert to lexical binding.
603         (bibtex-mode-map): Use completion-at-point.
604         (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
605         (bibtex-completion-at-point-function): New fun, from bibtex-complete.
606         (bibtex-complete): Define as obsolete alias.
607         (bibtex-complete-internal): Remove.
608         (bibtex-format-entry): Remove unused sub-group in regexp.
609         * shell.el (shell--command-completion-data)
610         (shell-environment-variable-completion):
611         * pcomplete.el (pcomplete-completions-at-point):
612         * comint.el (comint--complete-file-name-data): Use :exit-function
613         instead of completion-table-with-terminator so it also works for
614         choose-completion.
616 2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
618         * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
620         * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
621         (bug#8710).
623         * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
625 2011-05-23  Ken Manheimer  <ken.manheimer@gmail.com>
627         * allout.el (allout-inhibit-auto-fill-on-headline): Create new
628         customization variable and implement: If non-nil, auto-fill will
629         be inhibited while on topic's header line.
631 2011-05-23  Vincent Belaïche  <vincentb1@users.sourceforge.net>
633         * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
634         click on. II/ Make 5x5 multisession. III/ Ensure that random grids
635         always have a solution in grid size = 5 cases.
636         (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
637         (5x5-solver-output, 5x5-log-buffer): New vars.
638         (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
639         Make these variables buffer local to achieve 5x5 multi-session-ness.
640         (5x5): Set 5x5-grid-size only if SIZE is non-negative.
641         (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
642         (5x5-solve-suggest): New funs.
643         (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
644         randomize a grid so that we ensure that there is always a solution.
645         (5x5-make-random-grid): Allow other movement than flipping.
647 2011-05-23  Kevin Ryde  <user42@zip.com.au>
649         * emacs-lisp/advice.el (ad-read-advised-function):
650         Use `function-called-at-point' as the default default, if it has
651         advice and passes PREDICATE.
653 2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
655         * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
656         byte-compile-lambda if it's actually a lambda.
658         * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
659         Fix function quoting.  Use backquote better.
661 2011-05-22  Yuanle Song  <sylecn@gmail.com>
663         * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
664         matching (Bug#8516).
666 2011-01-22  Jari Aalto  <jari.aalto@cante.net>
668         * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
669         different face (Bug#8178).
671 2011-05-22  Chong Yidong  <cyd@stupidchicken.com>
673         * vc/diff-mode.el (diff-changed): Don't use terminal specs for
674         defface (Bug#8144).
676 2011-05-22  Stefan Monnier  <monnier@iro.umontreal.ca>
678         * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
679         funcall as well (bug#8712).  Warn when performing those conversions.
680         * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
682         * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
684 2011-05-22  Glenn Morris  <rgm@gnu.org>
686         * files.el (hack-local-variables-prop-line): Small simplifications.
687         (hack-local-variables, hack-local-variables-prop-line):
688         If MODE-ONLY, return the mode, rather than just `t'.
690 2011-05-21  Stefan Monnier  <monnier@iro.umontreal.ca>
692         * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
694 2011-05-21  Glenn Morris  <rgm@gnu.org>
696         * files.el (hack-local-variables-prop-line, hack-local-variables):
697         If only interested in the mode, don't bother doing the other stuff.
699         * image-mode.el (image-after-revert-hook):
700         Redraw all frames on which the image is visible.  (Bug#8567)
702         * dired-aux.el (dired-touch-initial): Just use current-time.  (Bug#6887)
704         * wid-edit.el (widget-checklist-match-inline):
705         Fix 2011-04-19 change.  (Bug#8649)
707 2011-05-20  Stefan Monnier  <monnier@iro.umontreal.ca>
709         * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
710         Also allow singlespace after single-letter capitals followed by a dot.
712         * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
713         enabled.  Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
715 2011-05-20  Nix  <nix@esperi.org.uk>
717         * files.el (basic-save-buffer-2):
718         Fix handling of break-hardlink-on-save with non-existent files.
720 2011-05-19  Deniz Dogan  <deniz@dogan.se>
722         * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
723         (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
725 2011-05-19  Glenn Morris  <rgm@gnu.org>
727         * progmodes/f90.el (f90-type-def-re):
728         Handle "type, bind(c)".  (Bug#8691)
730         * emacs-lisp/autoload.el (batch-update-autoloads):
731         Set autoload-excludes by parsing loadup.el rather than Makefiles.
733 2011-05-18  Michael Albinus  <michael.albinus@gmx.de>
735         * net/tramp.el (tramp-process-actions): Set "first-password-request"
736         property for the correct connection in case of multihops.
738 2011-05-18  Glenn Morris  <rgm@gnu.org>
740         * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
741         * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
743         Rationalize calendar handling of day and month abbrev-arrays.
744         * calendar/calendar.el (calendar-customized-p): New function.
745         (calendar-abbrev-construct, calendar-make-alist): Change what it does.
746         (calendar-day-name-array, calendar-month-name-array): Doc fix.
747         Add :set function.
748         (calendar-abbrev-length, calendar-day-abbrev-array)
749         (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
750         (calendar-day-abbrev-array, calendar-month-abbrev-array):
751         Elements may no longer be nil.
752         (calendar-day-name, calendar-month-name):
753         Update for changed nature of abbrev arrays.
754         * calendar/diary-lib.el (diary-name-pattern):
755         Update for changed nature of abbrev arrays.
756         (diary-mark-entries-1): Update calendar-make-alist calls.
757         (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
758         * calendar/cal-html.el (cal-html-day-abbrev-array):
759         Simply inherit from calendar-day-abbrev-array.
761 2011-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
763         * progmodes/grep.el (grep-mode): Disable default
764         compilation-directory-matcher setting (bug#8684).
766 2011-05-17  Michael Albinus  <michael.albinus@gmx.de>
768         * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
769         instead of "head" and "tail".  There were problems with SunOS 5.9,
770         and it performs better.
772 2011-05-17  Glenn Morris  <rgm@gnu.org>
774         * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
776         * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
777         Replace obsolete function.
779         * shell.el (pcomplete-parse-arguments-function): Declare.
781         * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
782         (appt-display-diary, appt-display-interval, appt-prev-comp-time)
783         (appt-check): Doc fixes.
784         (appt-disp-window-function, appt-delete-window-function):
785         Remove needless special case in custom :type.
786         (appt-display-count): Default to 0, not nil.
787         (appt-check): Reset appt-display-count to 0, not nil.
789 2011-05-17  Juanma Barranquero  <lekktu@gmail.com>
791         * progmodes/python.el (python-font-lock-keywords):
792         Add the Python 3.X keyword "nonlocal" (bug#8639).
794 2011-05-16  Stefan Monnier  <monnier@iro.umontreal.ca>
796         * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
798 2011-05-16  Kevin Ryde  <user42@zip.com.au>
800         * info-look.el (makefile-automake-mode): New setups, looking in
801         automake manual, then makefile-mode.
802         (makefile-mode): Remove automake manual, have it just in
803         makefile-automake-mode since there's various things different or
804         not relevant to plain make.
805         (makefile-mode): Remove "other-modes" non-existent automake-mode,
806         believe a hypothetical automake-mode would go to makefile-mode,
807         not the other way around.
809 2011-05-15  Chong Yidong  <cyd@stupidchicken.com>
811         * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
812         hunk-end tags (Bug#8672).
814         * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
815         vc-annotate-show-diff-revision-at-line (Bug#8671).
817 2011-05-14  Glenn Morris  <rgm@gnu.org>
819         * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
820         in the middle of an existing one with multiple authors.  (Bug#8645)
821         (change-log-font-lock-keywords): Also handle multiple author lines
822         with leading tabs.  (Bug#8644)
824         * calendar/appt.el (appt-check): Rename some local variables.
825         Some simplification/reordering.
827         * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
828         (feedmail-sendmail-f-doesnt-sell-me-out)
829         (feedmail-queue-slug-suspect-regexp, feedmail-debug)
830         (feedmail-debug-sit-for, feedmail-queue-express-hook)
831         (feedmail-queue-runner-message-sender): Set :version.
832         (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
833         (bbdb-dwim-net-address, vm-mail): Declare.
834         (feedmail-binmail-gnulinuxish-template):
835         Rename from feedmail-binmail-linuxish-template.
836         (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
837         Use insert-buffer-substring.
839 2011-05-14  Bill Carpenter  <bill@carpenter.org>
841         * mail/feedmail.el (feedmail-patch-level): Increase.
842         (feedmail-debug): New custom group.
843         (feedmail-confirm-outgoing-timeout)
844         (feedmail-sendmail-f-doesnt-sell-me-out)
845         (feedmail-queue-slug-suspect-regexp, feedmail-debug)
846         (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
847         (feedmail-sender-line, feedmail-from-line)
848         (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
849         (feedmail-spray-this-address)
850         (feedmail-spray-address-fiddle-plex-list)
851         (feedmail-queue-use-send-time-for-date)
852         (feedmail-queue-use-send-time-for-message-id)
853         (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
854         (feedmail-buffer-eating-function):
855         Doc fixes.
856         (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
857         (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
858         (feedmail-message-action-scroll-down): New functions.
859         (feedmail-queue-directory, feedmail-queue-draft-directory):
860         Use expand-file-name.
861         (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
862         Remove C-v help entry.
863         (feedmail-queue-buffer-file-name): New variable.
864         (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
865         (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
866         (feedmail-message-action-send-strong, feedmail-message-action-edit)
867         (feedmail-message-action-draft, feedmail-message-action-draft-strong)
868         (feedmail-message-action-queue, feedmail-message-action-queue-strong)
869         (feedmail-message-action-toggle-spray)
870         (feedmail-run-the-queue-no-prompts)
871         (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
872         (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
873         (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
874         (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
875         (feedmail-envelope-deducer, feedmail-fiddle-from)
876         (feedmail-fiddle-sender, feedmail-default-date-generator)
877         (feedmail-fiddle-date, feedmail-fiddle-message-id)
878         (feedmail-fiddle-spray-address)
879         (feedmail-fiddle-list-of-spray-fiddle-plexes)
880         (feedmail-fiddle-list-of-fiddle-plexes)
881         (feedmail-fill-to-cc-function, feedmail-fill-this-one)
882         (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
883         (feedmail-queue-runner-message-sender, feedmail-binmail-template):
884         Change default.  Doc fix.
885         (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
886         (feedmail-binmail-linuxish-template): New constant.
887         (feedmail-buffer-to-sendmail): Doc fix.  Add debug call.
888         Respect feedmail-sendmail-f-doesnt-sell-me-out.
889         (feedmail-send-it): Add debug call.
890         Use feedmail-queue-buffer-file-name, and
891         feedmail-send-it-immediately-wrapper.
892         (feedmail-message-action-send): Add debug call.
893         Use feedmail-send-it-immediately-wrapper.
894         (feedmail-queue-express-to-queue): Add debug call.
895         Run feedmail-queue-express-hook.
896         (feedmail-message-action-help): Add debug call.  Use feedmail-p-h-b-n.
897         (feedmail-message-action-help-blat):
898         Rename from feedmail-queue-send-edit-prompt-help-first.
899         (feedmail-run-the-queue): Add debug call.  Set buffer-file-type.
900         Check line-endings.  Handle errors better.
901         (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
902         Doc fix.  Add debug call.
903         (feedmail-queue-send-edit-prompt): Doc fix.  Add debug call.
904         Use feedmail-queue-send-edit-prompt-inner.
905         (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
906         (feedmail-queue-send-edit-prompt-inner): New function, extracted
907         from feedmail-queue-send-edit-prompt.
908         (feedmail-queue-send-edit-prompt-help)
909         (feedmail-queue-send-edit-prompt-help-later): Remove functions.
910         (feedmail-tidy-up-slug): Add debug call.
911         Respect feedmail-queue-slug-suspect-regexp.
912         (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
913         (feedmail-dump-message-to-queue): Add debug call.
914         Expand queue-directory.
915         (feedmail-dump-message-to-queue): Change message slightly.
916         Use feedmail-say-chatter.
917         (feedmail-rfc822-date): Add debug call.  Bind system-time-locale.
918         (feedmail-send-it-immediately-wrapper): New function.
919         (feedmail-send-it-immediately): Add debug calls.  Use let not let*.
920         Insert empty string rather than newline.  Handle full-frame case.
921         Use catch/throw.  Use feedmail-say-chatter.
922         (feedmail-fiddle-from): Try mail-host-address.
923         (feedmail-default-message-id-generator): Doc fix.
924         Bind system-time-locale.  Handle missing end.
925         (feedmail-fiddle-x-mailer): Add debug call.
926         Handle feedmail-x-mailer-line being nil.
927         (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
928         Add debug call.  Use buffer-substring-no-properties.
929         (feedmail-say-debug, feedmail-say-chatter): New functions.
930         (feedmail-find-eoh): Give an explicit error.
932 2011-05-13  Ulf Jasper  <ulf.jasper@web.de>
934         * net/newst-treeview.el (newsticker-treeview-face): Change default
935         family from helvetica to sans.
936         (newsticker-treeview-tool-bar-map): Move tool-bar icons to
937         etc/images/newsticker.
939         * net/newst-reader.el (newsticker-feed-face): Change default
940         family from helvetica to sans.
942         * net/newst-plainview.el (newsticker-new-item-face)
943         (newsticker-old-item-face, newsticker-immortal-item-face)
944         (newsticker-obsolete-item-face, newsticker-date-face)
945         (newsticker-statistics-face): Change default family from
946         helvetica to sans.
947         (newsticker--plainview-tool-bar-map): Move tool-bar icons to
948         etc/images/newsticker.
950         * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
951         (newsticker--process-auto-mark-filter-match): : Tell user about
952         auto-marking.
954 2011-05-13  Didier Verna  <didier@xemacs.org>
956         Common Lisp indentation improvements on defmethod and lambda-lists.
957         * cl-indent.el: Advertise the changes and remove obsolete TODO entries.
958         (lisp-lambda-list-keyword-parameter-indentation)
959         (lisp-lambda-list-keyword-parameter-alignment)
960         (lisp-lambda-list-keyword-alignment): New customizable user options.
961         (lisp-indent-defun-method): Improve docstring.
962         (extended-loop-p): Fix comment.
963         (lisp-indent-lambda-list-keywords-regexp): New variable.
964         (lisp-indent-lambda-list): New function.
965         (lisp-indent-259): Use it.
966         (lisp-indent-defmethod): Support for more than one
967         method qualifier and properly indent methods lambda-lists.
968         (defgeneric): Provide a missing common-lisp-indent-function property.
970 2011-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
972         * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
973         bounds for the empty string (bug#8667).
975 2011-05-13  Glenn Morris  <rgm@gnu.org>
977         * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
979         * mail/sendmail.el (sendmail-program): Try executable-find first.
980         (sendmail-send-it): `sendmail-program' cannot be unbound.
982         * calendar/appt.el (appt-make-list): Simplify.
983         (appt-time-msg-list): Doc fix.
984         (appt-check): Change mode-line message at the time of the appointment.
986 2011-05-12  Andreas Schwab  <schwab@linux-m68k.org>
988         * progmodes/ld-script.el (ld-script-keywords)
989         (ld-script-builtins): Update keywords list.
991 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
993         * progmodes/grep.el (grep-filter): Don't trip on partial lines.
995         * shell.el (shell-completion-vars): New function.
996         (shell-mode):
997         * simple.el (read-shell-command): Use it.
998         (blink-matching-open): No need for " [...]" in minibuffer-message.
1000 2011-05-12  Glenn Morris  <rgm@gnu.org>
1002         * calendar/appt.el (appt-now-displayed): Remove pointless variable.
1003         (appt-check): Simplify.
1005 2011-05-12  Eli Zaretskii  <eliz@gnu.org>
1007         * smerge-mode.el (smerge-resolve): Use null-device rather than a
1008         literal "/dev/null".
1010 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
1012         * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
1013         Fix typo.
1015 2011-05-12  Ralph Schleicher  <rs@ralph-schleicher.de>
1017         * progmodes/which-func.el (which-function):
1018         Use add-log-current-defun instead of add-log-current-defun-function,
1019         which might not be defined (Bug#8260).
1021 2011-05-12  Glenn Morris  <rgm@gnu.org>
1023         * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
1024         Let byte-compile-initial-macro-environment always take precedence.
1026 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
1028         * net/rcirc.el: Add support for SSL/TLS connections.
1029         (rcirc-server-alist): New field `encryption'.
1030         (rcirc): Check `encryption' settings.
1031         (rcirc-connect): New arg `encryption'.  Use open-network-stream.
1032         Merge make-local-variable into `set'.
1033         (rcirc--connection-open-p): New function.
1034         (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
1035         the process is not a network process (e.g. running gnutls-cli).
1036         (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
1037         Make rcirc-(en|de)code-coding-system local here.
1038         (rcirc-mode): Merge make-local-variable into `set'.
1039         (rcirc-parent-buffer): Make permanent buffer-local.
1040         (rcirc-multiline-minor-mode): Don't do it here.
1041         (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
1042         there's no server buffer.
1044 2011-05-11  Glenn Morris  <rgm@gnu.org>
1046         * newcomment.el (comment-kill): Prefix "unused" local.
1048         * term/w32console.el (get-screen-color): Declare.
1050         * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
1051         Handle symbol elements of byte-compile-initial-macro-environment.
1053 2011-05-10  Leo Liu  <sdl.web@gmail.com>
1055         * bookmark.el (bookmark-bmenu-mode-map):
1056         Bind bookmark-bmenu-search to `/'.
1058         * mail/footnote.el: Convert to utf-8 encoding.
1059         (footnote-unicode-string, footnote-unicode-regexp): New variable.
1060         (Footnote-unicode): New function.
1061         (footnote-style-alist): Add unicode style to the list.
1062         (footnote-style): Doc fix.
1064 2011-05-10  Jim Meyering  <meyering@redhat.com>
1066         Fix doubled-word typos.
1067         * international/quail.el (quail-insert-kbd-layout): and and -> and
1068         * kermit.el: and and -> and
1069         * net/ldap.el (ldap-search-internal): to to -> to
1070         * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
1071         * progmodes/js.el (js-mode): and and -> and
1072         * textmodes/artist.el (artist-move-to-xy): at at -> at
1073         (artist-draw-region-trim-line-endings): if if -> if
1074         And Safetyc -> Safety.
1075         * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
1077 2011-05-10  Glenn Morris  <rgm@gnu.org>
1078             Stefan Monnier  <monnier@iro.umontreal.ca>
1080         * files.el (hack-one-local-variable-eval-safep):
1081         Consider "eval: (foo-mode)" to be safe.  (Bug#8613)
1083 2011-05-10  Glenn Morris  <rgm@gnu.org>
1085         * calendar/diary-lib.el (diary-list-entries-hook)
1086         (diary-mark-entries-hook, diary-nongregorian-listing-hook)
1087         (diary-nongregorian-marking-hook, diary-list-entries)
1088         (diary-include-other-diary-files, diary-mark-entries)
1089         (diary-mark-included-diary-files): Doc fixes.
1091 2011-05-09  Juanma Barranquero  <lekktu@gmail.com>
1093         * misc.el: Require tabulated-list.el during compilation.
1095 2011-05-09  Chong Yidong  <cyd@stupidchicken.com>
1097         * progmodes/compile.el (compilation-start):
1098         Run compilation-filter-hook for the async case too.
1099         (compilation-filter-hook): Doc fix.
1101 2011-05-09  Deniz Dogan  <deniz@dogan.se>
1103         * wdired.el: Remove outdated installation comment.  Fix usage
1104         comment.
1106 2011-05-09  Juanma Barranquero  <lekktu@gmail.com>
1108         * misc.el: Implement new command `list-dynamic-libraries'.
1109         (list-dynamic-libraries--loaded-only-p): New variable.
1110         (list-dynamic-libraries--refresh): New function.
1111         (list-dynamic-libraries): New command.
1113 2011-05-09  Chong Yidong  <cyd@stupidchicken.com>
1115         * progmodes/compile.el (compilation-error-regexp-alist-alist):
1116         Fix the ant regexp to handle end-line and end-column info from jikes.
1117         Re-introduce maven regexp.  Give the ruby-Test::Unit regexp a
1118         higher priority to avoid clobbering by gnu.
1120 2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
1122         * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
1123         if the face has existing theme settings (Bug#8454).
1125 2011-05-08  Ralph Schleicher  <rs@ralph-schleicher.de>
1127         * progmodes/perl-mode.el (perl-imenu-generic-expression):
1128         Only match variables declared via `my' or `our' (Bug#8261).
1130         * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
1131         special file names `.' and `..' (Bug#8259).
1133 2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
1135         * progmodes/grep.el (grep-mode-font-lock-keywords):
1136         Remove buffer-changing entries.
1137         (grep-filter): New function.
1138         (grep-mode): Add it to compilation-filter-hook.
1140         * progmodes/compile.el (compilation-filter-hook)
1141         (compilation-filter-start): New defvars.
1142         (compilation-filter): Call compilation-filter-hook prior to
1143         updating the process mark.
1145 2011-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1147         * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
1149 2011-05-07  Eli Zaretskii  <eliz@gnu.org>
1151         * mail/sendmail.el (send-mail-function): On MS-Windows, default to
1152         mailclient-send-it even if window-system is nil.  (Bug#8595)
1154         * term/w32console.el (terminal-init-w32console):
1155         Call get-screen-color and use its output to set the frame
1156         background-mode.  (Bug#8597)
1158 2011-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
1160         Make bytecomp.el understand that defmethod defines funs (bug#8631).
1161         * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
1162         New functions.
1163         (defgeneric, eieio--defmethod): Use them.
1164         (eieio-defgeneric): Remove.
1165         (defmethod): Call defgeneric in a way visible to the byte-compiler.
1167 2011-05-07  Glenn Morris  <rgm@gnu.org>
1169         * calendar/timeclock.el (timeclock-log-data): Remove unused local.
1170         Use let rather than let*.
1171         (timeclock-find-discrep): Remove unused local.
1173         * calendar/diary-lib.el (diary-comment-start): Doc fix.
1175         * calendar/appt.el (appt-time-msg-list): Doc fix.
1177 2011-05-06  Noah Friedman  <friedman@splode.com>
1179         * apropos.el (apropos-print-doc): Only use
1180         emacs-lisp-docstring-fill-column when it is bound to an integer,
1181         per that variable's documentation.
1183 2011-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
1185         * lpr.el (print-region-1): Echo lpr-program's output, so error messages
1186         and warnings are not silently discarded (e.g. use -d instead of -P).
1188 2011-05-06  Glenn Morris  <rgm@gnu.org>
1190         * calendar/appt.el (appt-message-warning-time): Doc fix.
1191         (appt-warning-time-regexp): New option.
1192         (appt-make-list): Respect appt-message-warning-time.
1194         * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
1195         New options.
1196         (diary-add-to-list): Strip comments from the displayed string.
1197         (diary-mode): Set comment-start and comment-end.
1199         * vc/diff-mode.el (smerge-refine-subst): Declare.
1200         (diff-refine-hunk): Don't require smerge-mode when compiling.
1202 2011-05-06  Juanma Barranquero  <lekktu@gmail.com>
1204         * simple.el (list-processes): Return nil as the docstring says.
1206 2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
1208         * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
1209         to "".
1210         (ange-ftp-write-region, ange-ftp-insert-file-contents)
1211         (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
1212         determining of binary transfer.  (Bug#7383)
1214 2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
1216         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
1217         Fix port computation bug.  (Bug#8618)
1219 2011-05-05  Glenn Morris  <rgm@gnu.org>
1221         * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
1223         * simple.el (shell-dynamic-complete-functions)
1224         (comint-dynamic-complete-functions): Declare.
1226         * net/network-stream.el (gnutls-negotiate):
1227         * simple.el (tabulated-list-print): Fix declarations.
1229         * progmodes/gud.el (syntax-symbol, syntax-point):
1230         Remove unnecessary and incorrect declarations.
1232         * emacs-lisp/check-declare.el (check-declare-scan):
1233         Handle byte-compile-initial-macro-environment in bytecomp.el
1235 2011-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
1237         Fix earlier half-done eieio-defmethod change (bug#8338).
1238         * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
1239         Streamline and change calling convention.
1240         (defmethod): Adjust accordingly and simplify.
1241         (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
1242         new eieio--defmethod.
1243         (slot-boundp): Minor CSE simplification.
1245 2011-05-05  Milan Zamazal  <pdm@zamazal.org>
1247         * progmodes/glasses.el (glasses-separate-capital-groups): New option.
1248         (glasses-make-readable): Use glasses-separate-capital-groups.
1250 2011-05-05  Juanma Barranquero  <lekktu@gmail.com>
1252         * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
1253         (warning-series): Doc fix.
1254         (display-warning): Don't try to create the buffer if we just found it.
1256 2011-05-04  Chong Yidong  <cyd@stupidchicken.com>
1258         * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
1259         (autoload-find-generated-file): New function.
1260         (generate-file-autoloads): Bind generated-autoload-file to
1261         buffer-file-name.
1262         (update-file-autoloads, update-directory-autoloads):
1263         Use autoload-find-generated-file.  If called interactively, prompt for
1264         output file (Bug#7989).
1265         (batch-update-autoloads): Doc fix.
1267 2011-05-04  Juanma Barranquero  <lekktu@gmail.com>
1269         * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
1271 2011-05-04  Glenn Morris  <rgm@gnu.org>
1273         * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
1274         function, so it follows changes in calendar-date-style.
1275         (diary-fancy-date-matcher): New function.
1276         (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
1277         (diary-fancy-font-lock-fontify-region-function):
1278         Use diary-fancy-date-pattern as a function.
1280         * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
1281         non-numbers for `year' etc pseudo-variables.  (Bug#8583)
1283 2011-05-04  Teodor Zlatanov  <tzz@lifelogs.com>
1285         * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
1286         instead of positional arguments.  Allow :keylist and :crlfiles
1287         arguments.
1288         (open-gnutls-stream): Call it.
1290         * net/network-stream.el (network-stream-open-starttls): Adjust to
1291         call `gnutls-negotiate' with :process and :hostname arguments.
1293 2011-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
1295         * minibuffer.el (completion--message): New function.
1296         (completion--do-completion, minibuffer-complete)
1297         (minibuffer-force-complete, minibuffer-complete-word): Use it.
1298         (completion--do-completion): Don't ignore completion-auto-help when in
1299         icomplete-mode.
1301         * whitespace.el (whitespace-trailing-regexp): Don't rely on the
1302         internal encoding (e.g. tibetan zero is not whitespace).
1303         (global-whitespace-mode): Prefer save-current-buffer.
1304         (whitespace-trailing-regexp): Remove useless save-match-data.
1305         (whitespace-empty-at-bob-regexp): Minor simplification.
1307 2011-05-03  Chong Yidong  <cyd@stupidchicken.com>
1309         * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
1311 2011-05-03  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
1313         * textmodes/ispell.el (ispell-add-per-file-word-list):
1314         Use `concat' to create string for insertion.
1316 2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
1318         * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
1319         Avoid open-line which runs post-self-insert-hook.
1320         (bibtex-fill-entry): Remove unused `end' var.
1322 2011-05-03  Dirk Ullrich  <dirk.ullrich@googlemail.com>  (tiny change)
1324         * textmodes/ispell.el (ispell-add-per-file-word-list):
1325         Protect against `nil' value of `comment-start' (Bug#8579).
1327 2011-05-03  Leo Liu  <sdl.web@gmail.com>
1329         * isearch.el (isearch-yank-pop): New command.
1330         (isearch-mode-map): Bind it to `M-y'.
1331         (isearch-forward): Mention it.
1333 2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
1335         * simple.el (minibuffer-complete-shell-command): Remove.
1336         (minibuffer-local-shell-command-map): Use completion-at-point.
1337         (read-shell-command): Setup completion vars here instead.
1338         (read-expression-map): Bind TAB to symbol completion.
1340         * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
1341         error directly rather via storing it into `results'.
1343 2011-05-02  Leo Liu  <sdl.web@gmail.com>
1345         * vc/diff.el: Fix description.
1347 2011-05-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1349         * server.el (server-eval-at): New function.
1351 2011-05-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1353         * net/network-stream.el (open-network-stream): Take a :nowait
1354         parameter and pass it on to `make-network-process'.
1355         (network-stream-open-plain): Ditto.
1357 2011-04-30  Andreas Schwab  <schwab@linux-m68k.org>
1359         * faces.el (face-spec-set-match-display): Don't match toolkit
1360         options on terminal frames.
1362 2011-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
1364         * progmodes/pascal.el: Use lexical binding.
1365         (pascal-mode-map): Remove author preferences.
1367         * pcomplete.el (pcomplete-std-complete): Don't abuse
1368         completion-at-point.
1370 2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
1372         * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
1373         removing code that has been dead since 1991 or so.
1375         * startup.el (command-line): When warning about "_emacs", use a
1376         delayed warning to allow the user to filter it out.
1378 2011-04-28  Deniz Dogan  <deniz@dogan.se>
1380         * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
1381         user has not joined.
1383 2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1385         * pcomplete.el (pcomplete-completions-at-point): Return nil if there
1386         aren't any completions at point.
1388 2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
1390         * subr.el (display-delayed-warnings): New function.
1391         (delayed-warnings-hook): New variable.
1393 2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1395         * minibuffer.el (completion-at-point, completion-help-at-point):
1396         Don't presume that a given completion-at-point-function will always
1397         use the same calling convention.
1399         * pcomplete.el (pcomplete-completions-at-point):
1400         Obey pcomplete-ignore-case.  Don't call pcomplete-norm-func unless
1401         pcomplete-seen is non-nil.
1402         (pcomplete-comint-setup): Also recognize the new comint/shell
1403         completion functions.
1404         (pcomplete-do-complete): Don't call pcomplete-norm-func unless
1405         pcomplete-seen is non-nil.
1407 2011-04-27  Niels Giesen  <niels.giesen@gmail.com>
1409         * calendar/icalendar.el (diary-lib): Add require statement.
1410         (icalendar--create-uid): Read out a uid from a text-property on
1411         the first character in the entry.  This allows for code to add its
1412         own uid to the entry.
1413         (icalendar--convert-float-to-ical): Add export of
1414         `diary-float'-entries save for those with the optional DAY
1415         argument.
1417 2011-04-27  Daniel Colascione  <dan.colascione@gmail.com>
1419         * subr.el (shell-quote-argument): Use alternate escaping strategy
1420         when we spot a variable reference in a string.
1422 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
1424         * cus-start.el (all): Define customization for debug-on-event.
1426 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
1428         * subr.el (shell-quote-argument): Escape correctly under Windows.
1430 2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
1432         * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
1434 2011-04-25  Michael Albinus  <michael.albinus@gmx.de>
1436         * net/tramp.el (tramp-process-actions): Add POS argument.
1437         Delete region between POS and (pos).
1439         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
1440         Use `nil' position in `tramp-process-actions' call.
1441         (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
1443         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
1444         position in `tramp-process-actions' call.
1446         * net/trampver.el: Update release number.
1448 2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
1450         * custom.el (defcustom): Obey lexical-binding.
1452         Fix octave-inf completion problems reported by Alexander Klimov.
1453         * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
1454         Inherit from octave-mode-syntax-table.
1455         (inferior-octave-mode): Set info-lookup-mode.
1456         (inferior-octave-completion-at-point): New function.
1457         (inferior-octave-complete): Use it and completion-in-region.
1458         (inferior-octave-dynamic-complete-functions): Use it as well, and use
1459         comint-filename-completion.
1460         * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
1461         symbol elements which shouldn't be word elements.
1462         (octave-font-lock-keywords, octave-beginning-of-defun)
1463         (octave-function-header-regexp): Adjust regexps accordingly.
1464         (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
1466 2011-04-25  Juanma Barranquero  <lekktu@gmail.com>
1468         * net/gnutls.el (gnutls-errorp): Declare before first use.
1470 2011-04-24  Teodor Zlatanov  <tzz@lifelogs.com>
1472         * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
1473         verify-error, and verify-hostname-error parameters.  Check whether
1474         default trustfile exists before going to use it.  Add missing
1475         argument to gnutls-message-maybe call.  Return return value.
1476         Reported by Claudio Bley <claudio.bley@gmail.com>.
1477         (open-gnutls-stream): Add usage example.
1479         * net/network-stream.el (network-stream-open-starttls): Give host
1480         parameter to `gnutls-negotiate'.
1481         (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
1482         * subr.el (shell-quote-argument): Escape correctly under Windows.
1484 2011-04-24  Daniel Colascione  <dan.colascione@gmail.com>
1486         * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
1487         Use correct match group (bug#8438).
1489 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
1491         * emacs-lisp/package.el (package-built-in-p): Fix typo.
1492         (package-menu--generate): New arg specifying packages to show.
1493         (package-menu-refresh, package-menu-execute, list-packages):
1494         Callers changed.
1495         (package-show-package-list): New function, replacing deleted
1496         package--list-packages (renamed because it is non-internal).
1498         * finder.el (finder-list-matches): Use package-show-package-list
1499         instead of deleted package--list-packages.
1501         * vc/vc-annotate.el (vc-annotate-goto-line): New command.
1502         Based on a previous implementation by Juanma Barranquero (Bug#8366).
1503         (vc-annotate-mode-map): Bind it to RET.
1505 2011-04-24  Uday S Reddy  <u.s.reddy@cs.bham.ac.uk>  (tiny change)
1507         * progmodes/etags.el (next-file): Don't use set-buffer to change
1508         buffers (Bug#8478).
1510 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
1512         * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
1514         * apropos.el (apropos-label-face): Avoid variable-pitch face.
1515         (apropos-accumulator): Doc fix.
1516         (apropos-function, apropos-macro, apropos-command)
1517         (apropos-variable, apropos-face, apropos-group, apropos-widget)
1518         (apropos-plist): Add face property.
1519         (apropos-symbols-internal): Fix indentation.
1520         (apropos-print): Simplify help, and recognize apropos-multi-type.
1521         (apropos-print-doc): Use button-type-get to extract the button's
1522         face property.  Fill docstring (Bug#8352).
1524 2011-04-23  Juanma Barranquero  <lekktu@gmail.com>
1526         * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
1528         * play/mpuz.el (mpuz-silent): Doc fix.
1529         (mpuz-mode-map): Use mapc.
1530         (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
1531         (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
1532         Fix typos in docstrings.
1534         * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
1535         (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
1537         * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
1539 2011-04-23  Chong Yidong  <cyd@stupidchicken.com>
1541         * minibuffer.el (completion--do-completion): Avoid the "Next char
1542         not unique" prompt if icomplete-mode is enabled (Bug#5849).
1544         * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
1545         mouse-2 into unread-command-events, it is interpreted correctly.
1547         * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
1548         (image-toggle-display): Doc fix.
1550 2011-04-23  Stephen Berman  <stephen.berman@gmx.net>
1552         * textmodes/page.el (what-page): Use line-number-at-pos to
1553         calculate line number (Bug#6825).
1555 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
1557         * eshell/esh-mode.el (find-tag-interactive): Declare function.
1558         (eshell-find-tag): Remove `with-no-warnings', unneeded now.
1559         Pass argument NO-DEFAULT to `find-tag-interactive'.
1561 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
1563         Lexical-binding cleanup.
1565         * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
1566         (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
1567         * progmodes/ada-prj.el (ada-prj-initialize-values)
1568         (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
1569         (ada-prj-show-value):
1570         * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
1571         * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
1572         (antlr-invalidate-context-cache, antlr-options-menu-filter)
1573         (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
1574         * progmodes/bug-reference.el (bug-reference-push-button):
1575         * progmodes/fortran.el (fortran-line-length):
1576         * progmodes/glasses.el (glasses-change):
1577         * progmodes/octave-mod.el (octave-fill-paragraph):
1578         * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
1579         (python-pdbtrack-grub-for-buffer, python-sentinel):
1580         * progmodes/sql.el (sql-save-connection):
1581         * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
1582         * progmodes/xscheme.el (xscheme-enter-debugger-mode):
1583         Mark unused parameters.
1585         * progmodes/compile.el (compilation--flush-directory-cache)
1586         (compilation--flush-parse, compile-internal): Mark unused parameters.
1587         (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
1588         (compilation-next-error-function): Remove unused variable `timestamp'.
1590         * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
1591         (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
1593         * progmodes/dcl-mode.el (dcl-end-of-command):
1594         Remove unused variable `start'.
1595         (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
1596         (dcl-option-value-basic, dcl-option-value-offset)
1597         (dcl-option-value-margin-offset, dcl-option-value-comment-line):
1598         Mark unused parameters.
1599         (dcl-save-local-variable): Remove unused variable `val'.
1600         (mode): Declare.
1602         * progmodes/delphi.el (delphi-save-state, delphi-after-change):
1603         Mark unused parameters.
1604         (delphi-ignore-changes): Move before first use.
1605         (delphi-charset-token-at): Remove unused variable `start'.
1606         (delphi-else-start): Remove unused variable `if-count'.
1607         (delphi-comment-block-start, delphi-comment-block-end):
1608         Remove unused variable `kind'.
1609         (delphi-indent-line): Remove unused variable `new-point'.
1611         * progmodes/ebrowse.el (ebrowse-files-list)
1612         (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
1613         Mark unused parameters.  Don't quote `lambda'.
1614         (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
1615         Don't quote `lambda'.
1616         (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
1617         (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
1618         (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
1619         (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
1620         Use `ignore-errors'.
1621         (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
1622         (ebrowse-view/find-file-and-search-pattern)
1623         (ebrowse-view/find-member-declaration/definition):
1624         Rename parameter TAGS-FILE-NAME to TAGS-FILE.
1625         (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
1626         Rename parameter PREFIX-ARG to PREFIX.
1627         (ebrowse-tags-read-name): Remove unused variables `start' and
1628         `member-info'.
1629         (ebrowse-display-member-buffer): Rename variable `tags-file-name'
1630         to `tags-file'.
1632         * progmodes/etags.el (local-find-tag-hook): Declare.
1633         (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
1634         Mark unused parameters.
1636         * progmodes/executable.el (compilation-error-regexp-alist): Declare.
1637         (executable-interpret): Mark unused parameter.
1639         * progmodes/flymake.el (flymake-process-sentinel)
1640         (flymake-after-change-function)
1641         (flymake-create-temp-with-folder-structure)
1642         (flymake-get-include-dirs-dot): Mark unused parameters.
1643         (flymake-safe-delete-directory): Remove unused variable `err'.
1645         * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
1646         (speedbar-timer-fn, speedbar-line-text)
1647         (speedbar-change-expand-button-char, speedbar-delete-subblock)
1648         (speedbar-center-buffer-smartly): Declare functions.
1649         (gdb-find-watch-expression): Remove unused variable `array'.
1650         (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
1651         (gdb-starting): Mark unused parameters.
1652         (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
1653         (gdb-table-string): Remove unused variable `res'.
1654         (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
1655         (gdb-disassembly-handler-custom): Remove unused variable `pos'.
1656         (gdb-display-buffer): Remove unused variable `cur-size'.
1658         * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
1659         allow lexical-binding compilation.
1660         (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
1661         (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
1662         (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
1663         Mark unused parameters.
1664         (gud-gdb-marker-filter): Remove unused variable `match'.
1665         (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
1666         lambda expressions and funcall them, instead of using `fset'.
1668         * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
1669         HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
1671         * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
1672         variable `header-beg'; use `let'.
1674         * progmodes/icon.el (indent-icon-exp): Remove unused variables
1675         `restart', `last-sexp' and `at-do'.
1677         * progmodes/js.el (js--debug): Mark unused parameter.
1678         (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
1679         (js--splice-into-items): Remove unused variable `item'.
1680         (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
1682         * progmodes/make-mode.el (makefile-make-font-lock-keywords):
1683         Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
1684         (makefile-complete): Remove unused variable `try'.
1685         (makefile-fill-paragraph, makefile-match-function-end):
1686         Mark unused parameters.
1688         * progmodes/octave-inf.el (inferior-octave-complete):
1689         Remove unused variable `proc'.
1690         (inferior-octave-output-digest): Mark unused parameter.
1692         * progmodes/perl-mode.el (perl-calculate-indent):
1693         Remove unused variable `err'.
1695         * progmodes/prolog.el (prolog-mode-keybindings-inferior)
1696         (prolog-indent-line): Mark unused parameters.
1697         (prolog-indent-line): Remove unused variable `beg'.
1699         * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
1700         (reporter-dont-compact-list): Declare.
1702         * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
1703         Remove unused variable `char'.
1704         (sh-debug): Mark unused parameter.
1705         (sh-get-indent-info): Remove unused variable `start'.
1706         (sh-calculate-indent): Remove unused variable `var'.
1708         * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
1709         (simula-electric-keyword): Remove unused variable `null'.
1710         (simula-search-backward, simula-search-forward): Remove unused
1711         variables `begin' and `end'.
1713         * progmodes/vera-mode.el (vera-guess-basic-syntax):
1714         Remove unused variable `pos'.
1715         (vera-electric-tab, vera-comment-uncomment-region):
1716         Mark unused parameters.
1717         (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
1719 2011-04-22  Chong Yidong  <cyd@stupidchicken.com>
1721         * emacs-lisp/package.el (package--builtins, package-alist)
1722         (package-load-descriptor, package-built-in-p, package-activate)
1723         (define-package, package-installed-p)
1724         (package-compute-transaction, package-buffer-info)
1725         (package--push): Doc fix.  Distinguish more clearly between
1726         version strings and version lists.
1728 2011-04-21  Juanma Barranquero  <lekktu@gmail.com>
1730         Lexical-binding cleanup.
1732         * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
1733         (5x5-make-mutate-best):
1734         * play/fortune.el (fortune-in-buffer):
1735         * play/gomoku.el (gomoku-init-display):
1736         * play/solitaire.el (solitaire, solitaire-do-check):
1737         * play/tetris.el (tetris-default-update-speed-function):
1738         Mark unused parameters.
1740         * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
1741         (bubbles--shift): Remove unused variable `char-org'.
1742         (bubbles--set-faces): Remove unused variable `fg-col'.  Simplify.
1743         (bubbles--show-images): Remove unused variable `char'.
1745         * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
1746         (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
1747         (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
1748         (decipher-analyze-buffer): Use ?\s.
1749         (decipher-make-checkpoint): Remove unused variable `mapping'.
1751         * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
1753         * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
1754         Remove unused variable `result'; use `let'.
1756         * play/gametree.el (gametree-current-layout, gametree-apply-layout):
1757         Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
1758         (gametree-children-shown-p, gametree-compute-reduced-score):
1759         Use `ignore-errors'.
1761         * play/handwrite.el (ps-lpr-switches): Declare.
1762         (handwrite): Remove unused variables `pmin' and `lastp'.
1764         * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
1766         * play/landmark.el (landmark-init-display)
1767         (landmark-update-naught-weights): Mark unused parameters.
1768         (landmark-y): Remove unused variable `noise'.  Simplify.
1769         (landmark-human-plays): Remove unused variable `score'.
1771         * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
1772         (mpuz-try-proposal): Remove unused variable `game'.
1774         * play/zone.el (life-patterns): Declare.
1776 2011-04-20  Juanma Barranquero  <lekktu@gmail.com>
1778         * vc/vc.el (ediff-vc-internal): Declare function.
1780 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
1782         * shell.el: Use lexical-binding and std completion UI.
1783         (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
1784         (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
1785         comint-preoutput-filter-functions rather than on
1786         comint-output-filter-functions.
1787         (shell-command-completion, shell--command-completion-data)
1788         (shell-filename-completion, shell-environment-variable-completion)
1789         (shell-c-a-p-replace-by-expanded-directory): New functions.
1790         (shell-dynamic-complete-functions, shell-dynamic-complete-command)
1791         (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
1792         (shell-dynamic-complete-environment-variable): Use them.
1793         (shell-dynamic-complete-as-environment-variable)
1794         (shell-dynamic-complete-as-command): Remove.
1795         (shell-match-partial-variable): Match past point.
1796         * comint.el: Clean up use of completion-at-point-functions.
1797         (comint-completion-at-point): New function.
1798         (comint-mode): Use it completion-at-point-functions.
1799         (comint-dynamic-complete): Make it obsolete.
1800         (comint-replace-by-expanded-history-before-point): Add dry-run arg.
1801         (comint-c-a-p-replace-by-expanded-history): New function.
1802         (comint-dynamic-complete-functions)
1803         (comint-replace-by-expanded-history): Use it.
1804         * minibuffer.el (completion-table-with-terminator): Allow dynamic
1805         termination strings.  Try harder to avoid second try-completion.
1806         (completion-in-region-mode-map): Disable bindings that don't work yet.
1808         * comint.el: Use lexical-binding.  Require CL.
1809         (comint-dynamic-complete-functions): Use comint-filename-completion.
1810         (comint-completion-addsuffix): Tweak custom type.
1811         (comint-filename-completion, comint--common-suffix)
1812         (comint--common-quoted-suffix, comint--table-subvert)
1813         (comint--complete-file-name-data): New functions.
1814         (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
1815         (comint-dynamic-list-filename-completions): Use them.
1816         (comint-dynamic-simple-complete): Make obsolete.
1818         * minibuffer.el (completion-in-region-mode):
1819         Keep completion-in-region-mode--predicate global.
1820         (completion-in-region--postch):
1821         Assume completion-in-region-mode--predicate is not null.
1823         * progmodes/flymake.el (flymake-start-syntax-check-process):
1824         Obey `dir'.  Simplify.
1826         * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
1827         we're in VC after all.
1829 2011-04-20  Christoph Scholtes  <cschol2112@googlemail.com>
1831         * vc/vc.el (vc-diff-build-argument-list-internal)
1832         (vc-version-ediff, vc-ediff): New commands.
1833         (vc-version-diff): Use vc-diff-build-argument-list-internal.
1835 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
1837         * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
1838         add sanity check.
1840         * obsolete/erc-hecomplete.el: Make obsolete.
1841         * obsolete/: Standardize obsolescence info in the header.
1843 2011-04-20  Glenn Morris  <rgm@gnu.org>
1845         * calendar/solar.el (solar-horizontal-coordinates):
1846         Use the longitude argument rather than `calendar-longitude'.
1847         (solar-date-next-longitude): Remove unused locals.
1849 2011-04-20  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
1851         * whitespace.el: New version 13.2.1.
1853 2011-04-20  felix  <EmacsWiki>  (tiny change)
1855         * whitespace.el (global-whitespace-mode): keep highlight when
1856         switching between major modes on a file.
1858 2011-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
1860         * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
1861         (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
1862         multi-line comments as well.
1864 2011-04-19  Juanma Barranquero  <lekktu@gmail.com>
1866         Lexical-binding cleanup.
1868         * arc-mode.el (archive-mode-revert):
1869         * cmuscheme.el (scheme-interactively-start-process):
1870         * custom.el (custom-initialize-delay):
1871         * dnd.el (dnd-open-local-file, dnd-open-remote-url):
1872         * dos-w32.el (direct-print-region-helper, direct-print-region-function):
1873         * emacs-lock.el (emacs-lock-clear-sentinel):
1874         * ezimage.el (defezimage):
1875         * follow.el (follow-avoid-tail-recenter):
1876         * fringe.el (set-fringe-mode-1):
1877         * generic-x.el (bat-generic-mode-compile):
1878         * help-mode.el (help-info-variable, help-do-xref)
1879         (help-mode-revert-buffer):
1880         * help.el (view-emacs-todo):
1881         * iswitchb.el (iswitchb-completion-help):
1882         * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
1883         * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
1884         (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
1885         * locate.el (locate-update):
1886         * longlines.el (longlines-encode-region)
1887         (longlines-after-change-function):
1888         * outline.el (outline-isearch-open-invisible):
1889         * ps-def.el (declare-function, charset-dimension, char-width)
1890         (encode-char):
1891         * ps-mule.el (ps-mule-plot-string):
1892         * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
1893         (recentf-edit-list-select, recentf-edit-list-validate)
1894         (recentf-open-files-action):
1895         * rect.el (delete-whitespace-rectangle-line)
1896         (rectangle-number-line-callback):
1897         * register.el (window-configuration-to-register)
1898         (frame-configuration-to-register):
1899         * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
1900         * select.el (xselect-convert-to-string, xselect-convert-to-length)
1901         (xselect-convert-to-targets, xselect-convert-to-delete)
1902         (xselect-convert-to-filename, xselect-convert-to-charpos)
1903         (xselect-convert-to-lineno, xselect-convert-to-colno)
1904         (xselect-convert-to-os, xselect-convert-to-host)
1905         (xselect-convert-to-user, xselect-convert-to-class)
1906         (xselect-convert-to-name, xselect-convert-to-integer)
1907         (xselect-convert-to-atom, xselect-convert-to-identity):
1908         * subr.el (declare, ignore, process-kill-without-query)
1909         (text-clone-maintain):
1910         * terminal.el (te-get-char, te-tic-sentinel):
1911         * tool-bar.el (tool-bar-make-keymap):
1912         * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
1913         * type-break.el (type-break-mode, type-break-noninteractive-query):
1914         * view.el (View-back-to-mark):
1915         * wid-browse.el (widget-browse-action, widget-browse-widget)
1916         (widget-browse-widgets, widget-browse-sexp):
1917         * widget.el (define-widget-keywords):
1918         * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
1919         Mark unused parameters.
1921         * align.el (align-adjust-col-for-rule): Mark unused parameter.
1922         (align-areas): Remove unused variable `look'.
1923         (align-region): Remove unused variables `real-end' and `pos-list'.
1925         * apropos.el (apropos-score-doc): Remove unused variable `i'.
1927         * bindings.el (mode-line-modified, mode-line-remote):
1928         Mark unused parameters.
1929         (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
1931         * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
1932         (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
1934         * comint.el (comint-history-isearch-pop-state)
1935         (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
1936         (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
1937         (comint-substitute-in-file-name): Doc fix.
1939         * completion.el (cmpl-statistics-block): Mark unused parameter.
1940         (add-completions-from-tags-table, add-completions-from-lisp-buffer)
1941         (save-completions-to-file, load-completions-from-file):
1942         Remove unused local variable `e'.
1944         * composite.el (compose-chars): Remove unused variable `len'.
1945         (lgstring-insert-glyph): Remove unused variable `g'.
1946         (compose-glyph-string): Remove unused variables `ascent',
1947         `descent', `lbearing' and `rbearing'.
1948         (compose-glyph-string-relative): Remove unused variables
1949         `lbearing', `rbearing' and `wadjust'.
1950         (compose-gstring-for-graphic): Remove unused variables `header',
1951         `wadjust', `xoff' and `yoff'.  Use `let', not `let*'.
1952         (compose-gstring-for-terminal): Remove unused variables `header'
1953         and `nchars'.  Use `let', not `let*'.
1955         * cus-edit.el (Custom-set, Custom-save, custom-reset)
1956         (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
1957         (Custom-buffer-done, custom-buffer-create-internal)
1958         (custom-browse-visibility-action, custom-browse-group-tag-action)
1959         (custom-browse-variable-tag-action, custom-browse-face-tag-action)
1960         (widget-magic-mouse-down-action, custom-toggle-parent)
1961         (custom-add-parent-links, custom-toggle-hide-variable)
1962         (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
1963         (custom-toggle-hide-face, face, hook, custom-group-link-action)
1964         (custom-face-menu-create, custom-variable-menu-create, get)
1965         (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
1966         (custom-reset-standard-save-and-update): Remove unused variable `value'.
1967         (customize-apropos): Remove unused variable `tests'.
1968         (custom-group-value-create): Remove unused variable `hidden-p'.
1969         (sort-fold-case): Declare.
1971         * cus-theme.el (custom-reset-standard-faces-list)
1972         (custom-reset-standard-variables-list): Declare.
1973         (customize-create-theme, custom-theme-revert, custom-theme-write)
1974         (custom-theme-choose-mode, customize-themes, custom-theme-save):
1975         Mark unused parameters.
1977         * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
1979         * delim-col.el (delimit-columns-max): Move defvar before first use.
1981         * descr-text.el (describe-char-categories): Don't quote `lambda'.
1982         (describe-char): Don't quote `lambda'.  Mark unused parameter.
1984         * desktop.el (desktop-save-buffer-p): Mark unused parameter.
1985         (auto-insert): Declare.
1986         (desktop-restore-file-buffer): Rename desktop-* parameters;
1987         mark unused ones.
1988         (desktop-create-buffer): Rename desktop-* parameters and bind them.
1989         (desktop-buffer): Rename desktop-* parameters.
1991         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
1992         (dframe-reposition-frame-xemacs, dframe-help-echo)
1993         (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
1994         Mark unused parameters.
1996         * dired-aux.el (backup-extract-version-start, overwrite-query)
1997         (overwrite-backup-query, rename-regexp-query)
1998         (rename-non-directory-query): Declare.
1999         (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
2000         (dired-add-entry): Remove unused variable `orig-file-name'.
2001         (dired-copy-file-recursive): Remove unused variable `dirfailed'.
2002         Use parameter PRESERVE-TIME instead of accessing dynamic variable
2003         `dired-copy-preserve-time' directly.
2004         (dired-do-create-files-regexp): Remove unused variable `fn-count'.
2005         (dired-insert-subdir-newpos): Rename unused variable `pos'.
2007         * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
2008         (dired-virtual-revert, dired-make-relative-symlink):
2009         Mark unused parameters.
2010         (manual-program): Declare.
2011         (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
2012         (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
2013         wrapped in `with-no-warnings' to avoid replacing one warning by another.
2015         * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
2017         * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
2019         * echistory.el (electric-history-in-progress, Helper-return-blurb):
2020         Declare.
2022         * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
2024         * electric.el (Electric-command-loop): Rename parameter
2025         INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
2027         * expand.el (expand-in-literal): Remove unused variable `here'.
2029         * facemenu.el (facemenu-add-new-color):
2030         Remove unused variable `docstring'.
2032         * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
2033         (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
2034         (face-attr-construct): Mark unused parameter.  Doc fix.
2035         (read-color): Remove unused variable `hex-string'.
2037         * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
2038         (locate-dominating-file): Remove unused vars `prev-file' and `user'.
2039         (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
2040         (display-buffer-other-frame): Remove unused variable `old-window'.
2041         (kill-buffer-hook): Declare.
2042         (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
2043         Mark unused parameters.
2044         (after-find-file): Pass 1 to `auto-save-mode', not t.
2046         * files-x.el (auto-insert): Declare.
2047         (modify-file-local-variable-prop-line): Remove unused variable `val'.
2049         * find-lisp.el (find-lisp-find-dired-internal): Remove unused
2050         variable `buf'.  Mark unused parameter.
2051         (find-lisp-insert-directory): Mark unused parameter.
2053         * format.el (format-decode-run-method): Mark unused parameter; doc fix.
2054         (format-encode-region): Remove unused variables `cur-buf' and `result'.
2055         (format-common-tail): Remove, unused.
2056         (format-deannotate-region): Remove unused variable `loc'.
2057         (format-annotate-region): Remove unused variable `p'.
2058         (format-annotate-single-property-change): Remove unused variables
2059         `default' and `tail'.
2061         * forms.el (read-file-filter): Declare.
2062         (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
2064         * frame.el (frame-creation-function-alist): Mark unused parameter.
2065         (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
2067         * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
2068         Remove unused parameters.
2069         (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
2070         (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
2072         * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
2073         (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
2074         (hfy-prepare-tag-map): Mark unused parameters.
2075         (htmlfontify-buffer): Use `called-interactively-p'.
2077         * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
2078         (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
2079         (ibuffer-do-occur): Mark unused parameters.
2080         (ibuffer-forward-next-marked): Remove unused variable `curmark'.
2081         (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
2083         * ibuffer.el: Don't quote `lambda'.
2084         (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
2085         (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
2086         Mark unused parameters.
2088         * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
2089         (ido-completing-read): Mark unused parameters.
2090         (ido-copy-current-word): Mark unused parameters;
2091         remove unused variable `name'.
2092         (ido-sort-merged-list): Remove unused parameter `dirs'.
2094         * ielm.el (ielm-input-sender): Mark unused parameter.
2095         (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
2096         (ielm-output, ielm-wbuf, ielm-pmark): Declare.
2097         (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
2098         `ielm-string' as a dynamic variable accessible from the IELM prompt.
2099         Bind `ielm-string' to INPUT-STRING.  Remove unused variable `err'.
2101         * image-dired.el (image-dired-display-thumbs): Remove unused
2102         variables `curr-file' and `count'.
2103         (image-dired-remove-tag): Remove unused variable `start'.
2104         (image-dired-tag-files, image-dired-create-thumbs): Remove unused
2105         variable `curr-file'
2106         (image-dired-rotate-original): Remove unused variable `temp-file'.
2107         (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
2108         Remove unused variable `file'.
2109         (image-dired-gallery-generate): Remove unused variable `curr'.
2110         (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
2112         * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
2114         * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
2116         * informat.el (texinfo-command-start, texinfo-command-end): Declare.
2118         * isearch.el (minibuffer-history-symbol): Declare.
2119         (isearch-edit-string): Remove unused variable `err'.
2120         (isearch-message-prefix, isearch-message-suffix):
2121         Mark unused parameters.
2123         * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
2125         * macros.el (insert-kbd-macro): Remove unused variable `mods'.
2127         * makesum.el (double-column): Remove unused variable `cnt'.
2129         * misearch.el (multi-isearch-pop-state): Mark unused parameter.
2130         (ido-ignore-item-temp-list): Declare.
2132         * mouse-drag.el (mouse-drag-throw): Remove unused variables
2133         `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
2134         `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
2135         (mouse-drag-drag): Remove unused variables `mouse-delta' and
2136         `mouse-col-delta'.
2138         * mouse-sel.el (mouse-extend-internal):
2139         Remove unused variable `orig-window-frame'.
2141         * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
2142         (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
2143         Move declarations before first use.
2144         (pcomplete-opt): Mark unused parameters; doc fix.
2146         * proced.el (proced-revert): Mark unused parameter.
2147         (proced-send-signal): Remove unused variable `err'.
2149         * ps-print.el (ps-print-preprint-region, ps-print-preprint):
2150         Rename parameter PREFIX-ARG to ARG.
2151         (ps-basic-plot-string, ps-basic-plot-whitespace):
2152         Mark unused parameters.
2154         * replace.el (replace-count): Define.
2155         (occur-revert-function): Mark unused parameters.
2156         (ido-ignore-item-temp-list, isearch-error, isearch-forward)
2157         (isearch-case-fold-search, isearch-string): Declare.
2158         (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
2159         bind `case-fold-search'.  Remove unused variables `beg' and `end',
2160         and simplify.
2161         (replace-eval-replacement): Rename parameter REPLACE-COUNT to
2162         COUNT and bind `replace-count'.
2163         (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
2164         to COUNT.
2166         * savehist.el (print-readably, print-string-length): Declare.
2168         * shadowfile.el (shadow-expand-cluster-in-file-name):
2169         Remove unused variable `cluster'.
2170         (shadow-copy-file): Remove unused variable `i'.
2171         (shadow-noquery, shadow-clusters, shadow-site-cluster)
2172         (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
2173         (shadow-define-literal-group, shadow-define-regexp-group)
2174         (shadow-make-group, shadow-shadows-of): Clean up docstrings.
2176         * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
2177         (shell): Use `called-interactively-p'.
2178         (shell-directory-tracker): Remove unused variable `chdir-failure'.
2180         * simple.el (compilation-context-lines, comint-file-name-quote-list)
2181         (comint-file-name-chars, comint-delimiter-argument-list): Declare.
2182         (delete-backward-char): Remove unused variable `ocol'.
2183         (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
2184         (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
2185         (event-apply-hyper-modifier, event-apply-shift-modifier)
2186         (event-apply-control-modifier, event-apply-meta-modifier):
2187         Mark unused parameters.
2188         (undo-make-selective-list): Remove duplicate variable `undo-elt'.
2189         (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
2191         * speedbar.el (speedbar-ignored-directory-expressions)
2192         (speedbar-supported-extension-expressions, speedbar-directory-buttons)
2193         (speedbar-find-file, speedbar-dir-follow)
2194         (speedbar-directory-buttons-follow, speedbar-tag-find)
2195         (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
2196         (speedbar-buffers-line-directory, speedbar-buffer-click):
2197         Mark unused parameters.
2198         (speedbar-tag-file): Remove unused variable `mode'.
2199         (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
2201         * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
2203         * talk.el (talk): Remove unused variable `display'.
2205         * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
2206         (tar-write-region-annotate): Mark unused parameter.
2208         * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
2209         (minutes, seconds, time-zone, day, year, monthname, month, dayname):
2210         Declare them, wrapped in `with-no-warnings' to avoid replacing one
2211         warning by another.
2213         * time-stamp.el (time-stamp-string-preprocess):
2214         Remove unused variable `require-padding'.
2216         * tree-widget.el (widget-glyph-enable): Declare.
2217         (tree-widget-action): Mark unused parameter.
2219         * w32-fns.el (x-get-selection): Mark unused parameter.
2220         (autoload-make-program, generated-autoload-file): Declare.
2222         * wdired.el (wdired-revert): Mark unused parameters.
2223         (wdired-xcase-word): Remove unused variable `err'.
2225         * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
2226         (whitespace-help-scroll): Remove unused variable `data-help'.
2228         * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
2229         (widget-image-insert, widget-after-change, default)
2230         (widget-default-format-handler, widget-default-notify)
2231         (widget-default-prompt-value, widget-info-link-action)
2232         (widget-url-link-action, widget-function-link-action)
2233         (widget-variable-link-action, widget-file-link-action)
2234         (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
2235         (widget-field-prompt-internal, widget-field-action, widget-field-match)
2236         (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
2237         (widget-insert-button-action, widget-delete-button-action, visibility)
2238         (widget-documentation-link-action, widget-documentation-string-action)
2239         (widget-const-prompt-value, widget-regexp-match, symbol)
2240         (widget-coding-system-prompt-value)
2241         (widget-key-sequence-value-to-external, sexp)
2242         (widget-sexp-value-to-internal, character, vector, cons)
2243         (widget-choice-prompt-value, widget-boolean-prompt-value)
2244         (widget-color--choose-action): Mark unused parameters.
2245         (widget-item-match-inline, widget-choice-match-inline)
2246         (widget-checklist-match, widget-checklist-match-inline)
2247         (widget-group-match): Rename parameter VALUES to VALS.
2248         (widget-field-value-set): Remove unused variable `size'.
2249         (widget-color-action): Remove unused variables `value' and `start'.
2251         * windmove.el (windmove-wrap-loc-for-movement): Remove unused
2252         variable `dir'.  Doc fix.
2253         (windmove-find-other-window): Don't pass it.
2255         * window.el (count-windows): Mark unused parameter.
2256         (bw-adjust-window): Remove unused variable `err'.
2258         * woman.el (woman-file-name): Remove unused variable `default'.
2259         (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
2260         WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
2261         (global-font-lock-mode): Declare.
2262         (woman-decode-region): Mark unused parameter.
2263         (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
2265         * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
2266         (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
2267         (x-dnd-handle-moz-url): Remove unused variable `title'.
2268         (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
2270         * xml.el (xml-parse-tag, xml-parse-attlist):
2271         Remove unused variable `pos'.
2273 2011-04-19  Glenn Morris  <rgm@gnu.org>
2275         * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
2276         (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
2277         (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
2278         (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
2279         * calendar/cal-html.el (cal-html-insert-minical):
2280         * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
2281         (calendar-mark-date-pattern):
2282         Prefix "unused" locals.
2284         * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
2285         optional argument `style'.
2287         * calendar/appt.el (appt-make-list):
2288         * calendar/cal-china.el (calendar-chinese-date-string):
2289         * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
2290         (diary-hebrew-yahrzeit):
2291         * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
2292         * calendar/calendar.el (calendar-generate-window):
2293         * calendar/time-date.el (time-to-days):
2294         Remove unused local variables.
2296 2011-04-18  Chong Yidong  <cyd@stupidchicken.com>
2298         * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
2299         glyphless-char-display table.
2300         (tabulated-list-glyphless-char-display): New var.
2302 2011-04-18  Sam Steingold  <sds@gnu.org>
2304         * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
2305         to acknowledgments.
2307 2011-04-17  Glenn Morris  <rgm@gnu.org>
2309         * calendar/diary-lib.el (diary-sexp-entry):
2310         * calendar/holidays.el (holiday-sexp):
2311         Set debug-on-error rather than the removed stack-trace-on-error.
2313 2011-04-16  Glenn Morris  <rgm@gnu.org>
2315         * progmodes/f90.el: Use lexical-binding.
2316         (f90-get-correct-indent): Remove unnecessary local variable `cont'.
2318 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
2320         * mail/sendmail.el (mail-mode-map): Use completion-at-point.
2321         (mail-mode): Setup mailalias completion here instead.
2322         * mail/mailalias.el: Use lexical-binding.
2323         (pattern, mailalias-done): Declare dynamic.
2324         (mail-completion-at-point-function): New function, from mail-complete.
2325         (mail-complete): Use it.
2326         (mail-completion-expand): New function.
2327         (mail-get-names): Use it.
2328         (mail-directory, mail-directory-process, mail-directory-stream):
2329         Don't use `pattern' for lexically bound arg.
2331         * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
2333         * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
2334         (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
2335         (hfy-etags-cmd-alist): Don't eval-and-compile any more.
2337         * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
2338         (byte-save-window-excursion, byte-temp-output-buffer-setup)
2339         (byte-interactive-p): Define them again, for use when inlining
2340         old code.
2342 2011-04-15  Juanma Barranquero  <lekktu@gmail.com>
2344         * loadup.el: Use `string-to-number', not `string-to-int'.
2346 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
2348         * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
2349         gud-gdb-complete-command.
2350         (gud-gdb-completions): New function, from gud-gdb-complete-command.
2351         (gud-gdb-completion-at-point): New function.
2352         (gud-gdb-completions): Remove.
2354 2011-04-14  Michael Albinus  <michael.albinus@gmx.de>
2356         * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
2357         when the scripts fail.  Use `tramp-do-file-attributes-with-ls' then.
2358         (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
2359         whether `executable-find' is bound.
2361         * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
2363 2011-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
2365         * minibuffer.el (completion-in-region-mode-predicate)
2366         (completion-in-region-mode--predicate): New vars.
2367         (completion-in-region, completion-in-region--postch)
2368         (completion-in-region-mode): Use them.
2369         (completion--capf-wrapper): Also return the hook function.
2370         (completion-at-point, completion-help-at-point):
2371         Adjust and provide a predicate.
2373         Preserve arg names for advice of subr and lexical functions (bug#8457).
2374         * help-fns.el (help-function-arglist): Consolidate the subr and
2375         new-byte-code cases.  Add argument `preserve-names' to extract names
2376         from the docstring when needed.
2377         * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
2378         (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
2379         (ad-arglist): Use help-function-arglist's new arg.
2380         (ad-definition-type): Use cond.
2382 2011-04-13  Juanma Barranquero  <lekktu@gmail.com>
2384         * autorevert.el (auto-revert-handler):
2385         Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
2386         which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
2387         Don't quote lambda.
2389         * image-mode.el (image-transform-set-scale):
2390         Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
2392 2011-04-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2394         * net/network-stream.el (network-stream-open-starttls): Only do
2395         opportunistic STARTTLS upgrades if we have built-in gnutls support.
2396         Upgrades via gnutls-cli are too slow to be done opportunistically.
2398 2011-04-12  Juanma Barranquero  <lekktu@gmail.com>
2400         * dframe.el (dframe-current-frame): Remove spurious quote.
2402 2011-04-12  Glenn Morris  <rgm@gnu.org>
2404         * calendar/cal-tex.el (cal-tex-end-document):
2405         Try to automatically use latin1 input if needed.
2407         * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
2408         Don't try to cons a mark onto an empty element.
2410 2011-04-11  Leo Liu  <sdl.web@gmail.com>
2412         * ido.el (ido-buffer-internal): Allow method 'kill for virtual
2413         buffers.
2414         (ido-kill-buffer-at-head): Support killing virtual buffers.
2416 2011-04-10  Chong Yidong  <cyd@stupidchicken.com>
2418         * minibuffer.el (completion-show-inline-help): New var.
2419         (completion--do-completion, minibuffer-complete)
2420         (minibuffer-force-complete, minibuffer-complete-word):
2421         Inhibit minibuffer messages if completion-show-inline-help is nil.
2423         * icomplete.el (icomplete-mode): Bind completion-show-inline-help
2424         to avoid interference from inline help (Bug#5849).
2426 2011-04-10  Leo Liu  <sdl.web@gmail.com>
2428         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
2429         Fix typo.
2431 2011-04-09  Chong Yidong  <cyd@stupidchicken.com>
2433         * image-mode.el (image-toggle-display-image): Signal an error if
2434         not in Image mode.
2435         (image-transform-mode, image-transform-resize)
2436         (image-transform-set-rotation): Doc fix.
2437         (image-transform-set-resize): Delete.
2438         (image-transform-set-scale, image-transform-fit-to-height)
2439         (image-transform-fit-to-width): Handle image-toggle-display-image
2440         and image-transform-resize directly.
2442 2011-04-08  Sho Nakatani  <lay.sakura@gmail.com>
2444         * doc-view.el (doc-view-fit-width-to-window)
2445         (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
2446         New functions for fitting the shown image to the Emacs window size.
2447         (doc-view-mode-map): Add bindings for the new functions.
2449 2011-04-08  Juanma Barranquero  <lekktu@gmail.com>
2451         * vc-annotate.el (vc-annotate-show-log-revision-at-line):
2452         Fix typo in docstring.
2454 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
2456         * files.el (file-size-human-readable): Produce one digit after
2457         decimal, like "ls -lh" does.
2459         * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
2460         the file size representation.
2462         * simple.el (list-processes): If async subprocesses are not
2463         available, error out with a clear error message.
2465 2011-04-08  Chong Yidong  <cyd@stupidchicken.com>
2467         * help.el (help-form-show): New function, to be called from C.
2468         Put help-form output in a buffer named differently than *Help*.
2470 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
2472         * files.el (file-size-human-readable): New function.
2474         * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
2475         computing the representation inline.  Don't require `cl'.
2477 2011-04-08  Glenn Morris  <rgm@gnu.org>
2479         * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
2481         * net/browse-url.el (browse-url-firefox):
2482         Test system-type, not system-configuration.
2484         * vc/log-edit.el (log-edit-empty-buffer-p): New function.
2485         (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
2486         Use log-edit-empty-buffer-p.  (Bug#7598)
2488         * net/rlogin.el (rlogin-process-connection-type): Simplify.
2489         (rlogin-mode-map): Initialize in the defvar.
2490         (rlogin): Use ignore-errors.
2492         * replace.el (occur-mode-map): Some fixes for menu items.
2494 2011-04-07  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
2496         * play/morse.el (denato-region): Handle varying case.  (Bug#8386)
2498 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
2500         * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
2501         issuing unused warnings.
2503         * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
2504         macro directly.
2506         * simple.el: Lisp reimplement of list-processes.  Based on an
2507         earlier reimplementation by Leo Liu, but using tabulated-list.el.
2508         (process-menu-mode): New major mode.
2509         (list-processes--refresh, list-processes):
2510         (process-menu-visit-buffer): New functions.
2512         * files.el (save-buffers-kill-emacs): Don't assume any return
2513         value of list-processes, which is undocumented anyway.
2515 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
2517         * emacs-lisp/tabulated-list.el: New file.
2519         * emacs-lisp/package.el: Use Tabulated List mode.
2520         (package-menu-mode-map): Inherit from tabulated-list-mode-map.
2521         (package-menu-mode): Derive from tabulated-list-mode.  Set up the
2522         table format using Tabulated List mode variables.
2523         (package--push): New macro, replacing package-list-maybe-add.
2524         (package-menu--generate): Use package--push.  Renamed from
2525         package--generate-package-list.
2526         (package-menu-refresh, list-packages): Use it.
2527         (package-menu--print-info): Rename from package-print-package.
2528         Return insertion data instead of inserting it directly.
2529         (package-menu-describe-package, package-menu-execute):
2530         Use tabulated-list-get-id.
2531         (package-menu-mark-delete, package-menu-mark-install)
2532         (package-menu-mark-unmark, package-menu-backup-unmark)
2533         (package-menu-mark-obsolete-for-deletion):
2534         Use tabulated-list-put-tag.
2535         (package--list-packages, package-menu-revert)
2536         (package-menu-get-package, package-menu-get-version)
2537         (package-menu-sort-by-column): Functions deleted.
2538         (package-menu-package-list, package-menu-sort-key): Vars deleted.
2539         (package-menu--status-predicate, package-menu--version-predicate)
2540         (package-menu--name-predicate)
2541         (package-menu--description-predicate): Handle arguments in the
2542         Tabulated List format.
2543         (package-list-packages-no-fetch): Call list-packages.
2545 2011-04-06  Juanma Barranquero  <lekktu@gmail.com>
2547         * files.el (after-find-file-from-revert-buffer): Remove variable.
2548         (after-find-file): Don't bind it.
2549         (revert-buffer-in-progress-p): New variable.
2550         (revert-buffer): Bind it.
2551         Pass nil for `after-find-file-from-revert-buffer'.
2553         * saveplace.el (save-place-find-file-hook): Use new variable
2554         `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
2556 2011-04-06  Glenn Morris  <rgm@gnu.org>
2558         * Makefile.in (AUTOGEN_VCS): New variable.
2559         (autoloads): Use $AUTOGEN_VCS.
2561         * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
2562         * calendar/calendar.el (calendar-mode-map):
2563         Check for toolkit scroll bars.  (Bug#8305)
2565 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
2567         * minibuffer.el (completion-in-region--postch)
2568         (completion-in-region-mode): Remove unnecessary messages.
2570 2011-04-05  Juanma Barranquero  <lekktu@gmail.com>
2572         * font-lock.el (font-lock-refresh-defaults):
2573         Don't bind `hi-lock--inhibit-font-lock-hook', removed in
2574         2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
2576         * info.el (Info-directory-list, Info-read-node-name-2)
2577         (Info-split-parameter-string): Doc fixes.
2578         (Info-virtual-nodes): Reflow docstring.
2579         (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
2580         (Info-apropos-toc-nodes, info-finder, Info-get-token)
2581         (Info-find-emacs-command-nodes, Info-speedbar-key-map):
2582         Fix typos in docstrings.
2583         (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
2584         (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
2585         (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
2586         (Info-restore-desktop-buffer): Mark unused parameters.
2587         (Info-directory-find-file, Info-directory-find-node)
2588         (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
2589         (Info-virtual-index-find-node, Info-apropos-find-file)
2590         (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
2591         Mark unused parameters; fix typos in docstrings.
2592         (Info-virtual-index): Remove unused local variable `nodename'.
2594 2011-04-05  Deniz Dogan  <deniz@dogan.se>
2596         * net/rcirc.el: Update my e-mail address.
2597         (rcirc-mode-map): Remove M-o binding.
2599 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
2601         * startup.el (command-line): Save the cursor's theme-face
2602         directly, instead of using face-override-spec.
2604         * custom.el (load-theme): Minor optimization in assigning faces.
2606 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
2608         * help-fns.el (describe-variable): Complete all variables having
2609         documentation, including keywords.
2610         http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
2612 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
2614         Convert to lexical-binding.
2616         * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
2617         (bs--get-marked-string, bs--get-modified-string)
2618         (bs--get-readonly-string, bs--get-size-string, bs--get-name)
2619         (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
2620         (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
2622         * ehelp.el (electric-help-execute-extended)
2623         (electric-help-ctrl-x-prefix):
2624         * hexl.el (hexl-revert-buffer-function):
2625         * linum.el (linum-after-change, linum-after-scroll):
2626         * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
2628         * help-fns.el (help-describe-category-set): Remove unused ERR variable.
2630 2011-04-04  Daiki Ueno  <ueno@unixuser.org>
2632         * epa-dired.el:
2633         * epa-mail.el:
2634         * epa-hook.el:
2635         * epa-file.el:
2636         * epa.el:
2637         * epg.el: Use lexical binding.
2639 2011-04-03  Chong Yidong  <cyd@stupidchicken.com>
2641         * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
2643         * textmodes/flyspell.el (flyspell-word): Recognize default
2644         dictionary case for flyspell-mark-duplications-exceptions.
2645         Use regexp matching for languages.
2646         (flyspell-mark-duplications-exceptions): Add "that" and "had" for
2647         default dictionary (Bug#7926).
2649 2011-04-02  Chong Yidong  <cyd@stupidchicken.com>
2651         * emacs-lisp/package.el (package--with-work-buffer):
2652         Recognize https URLs.
2654         * net/network-stream.el: Move from gnus/proto-stream.el.
2655         Change prefix to network-stream throughout.
2656         (open-protocol-stream): Merge into open-network-stream, leaving
2657         open-protocol-stream as an alias.  Handle nil BUFFER args.
2659         * subr.el (open-network-stream): Move to net/network-stream.el.
2661 2011-04-02  Glenn Morris  <rgm@gnu.org>
2663         * find-dired.el (find-exec-terminator): New option.
2664         (find-ls-option): Test for -ls support.
2665         (find-ls-subdir-switches): Test for -b in find-ls-option.
2666         (find-dired, find-grep-dired): Doc fixes.
2667         (find-dired): Use find-exec-terminator.
2669         * find-dired.el (find-ls-option, find-ls-subdir-switches)
2670         (find-grep-options): Do not autoload these defcustoms, remove purecopy.
2671         (find-name-arg): Remove purecopy.
2673         * progmodes/grep.el (grep-find-use-xargs): Doc fix.
2674         (grep-compute-defaults): Check for `-exec COMMAND +' support.
2675         Set grep-find-use-xargs, grep-find-command, and grep-find-template
2676         accordingly.  Don't add the null-device if not needed.
2678         * files.el (save-some-buffers): Doc fix.
2680 2011-04-02  Eli Zaretskii  <eliz@gnu.org>
2682         * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
2684 2011-04-01  Juanma Barranquero  <lekktu@gmail.com>
2686         * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
2687         Use `dolist' rather than `mapcar'.
2689 2011-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>
2691         Add lexical binding.
2693         * subr.el (apply-partially): Use new closures rather than CL.
2694         (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
2695         (dolist, dotimes): Use slightly different expansion for lexical code.
2696         (functionp): Move to C.
2697         (letrec): New macro.
2698         (with-wrapper-hook): Use it and apply-partially instead of CL.
2699         (eval-after-load): Preserve lexical-binding.
2700         (save-window-excursion, with-output-to-temp-buffer): Turn them
2701         into macros.
2703         * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
2705         * help-fns.el (help-split-fundoc): Return nil if there's nothing else
2706         than the arglist.
2707         (help-add-fundoc-usage): Don't add `Not documented'.
2708         (help-function-arglist): Handle closures, subroutines, and new
2709         byte-code-functions.
2710         (help-make-usage): Remove leading underscores.
2711         (describe-function-1): Handle closures.
2712         (describe-variable): Use special-variable-p for completion.
2714         * files.el (lexical-binding): Declare safe.
2716         * emacs-lisp/pcase.el: Don't use destructuring-bind.
2717         (pcase--memoize): Rename from pcase-memoize.  Change weakness.
2718         (pcase): Add `let' pattern.
2719         Change memoization so it actually works.
2720         (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
2721         (pcase--u1) <guard, pred>: Fix possible shadowing problem.
2722         <let>: New case.
2724         * emacs-lisp/macroexp.el: Use lexical binding.
2725         (macroexpand-all-1): Check obsolete macros.  Expand compiler-macros.
2726         Don't convert ' to #' without checking that it's indeed quoting
2727         a lambda.
2729         * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
2730         Use eval-sexp-add-defvars.
2731         (eval-sexp-add-defvars): New fun.
2733         * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
2735         * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
2736         Don't autoload.
2737         (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
2738         than the internal `byte-compile-lambda'.
2739         (defmethod): Don't hide code under quotes.
2740         (eieio-defmethod): New `code' argument.
2742         * emacs-lisp/eieio-comp.el: Remove.
2744         * emacs-lisp/edebug.el (edebug-eval-defun)
2745         (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
2746         (edebug-toggle): Avoid `eval'.
2748         * emacs-lisp/disass.el (disassemble-internal): Handle new
2749         `closure' objects.
2750         (disassemble-1): Handle new byte codes.
2752         * emacs-lisp/cl.el (pushnew): Silence warning.
2754         * emacs-lisp/cl-macs.el (cl-byte-compile-block)
2755         (cl-byte-compile-throw): Remove.
2756         (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
2758         * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
2759         closures.
2761         * emacs-lisp/cconv.el: New file.
2763         * emacs-lisp/bytecomp.el: Use lexical binding instead of
2764         a "bytecomp-" prefix.  Macroexpand everything as a separate phase.
2765         (byte-compile-initial-macro-environment):
2766         Handle declare-function here.
2767         (byte-compile--lexical-environment): New var.
2768         (byte-stack-ref, byte-stack-set, byte-discardN)
2769         (byte-discardN-preserve-tos): New lap codes.
2770         (byte-interactive-p): Don't use any more.
2771         (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
2772         New macros.
2773         (byte-compile-lapcode): Use them and handle new lap codes.
2774         (byte-compile-obsolete): Remove.
2775         (byte-compile-arglist-signature): Handle new byte-code arg"lists".
2776         (byte-compile-arglist-warn): Check late def of inlinable funs.
2777         (byte-compile-cl-warn): Don't silence warnings for compiler-macros
2778         since they should have been expanded by now.
2779         (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
2780         (byte-compile-from-buffer): Remove unused second arg.
2781         (byte-compile-preprocess): New function.
2782         (byte-compile-toplevel-file-form): New function to distinguish
2783         file-form calls from outside from file-form calls from hunk-handlers.
2784         (byte-compile-file-form): Simplify.
2785         (byte-compile-file-form-defsubst): Remove.
2786         (byte-compile-file-form-defmumble): Simplify now that
2787         byte-compile-lambda always returns a byte-code-function.
2788         (byte-compile): Preprocess.
2789         (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
2790         Remove, not used any more.
2791         (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
2792         (byte-compile-make-args-desc): New funs.
2793         (byte-compile-lambda): Handle lexical functions.  Always return
2794         a byte-code-function.
2795         (byte-compile-reserved-constants): New var, to make up room for
2796         closed-over variables.
2797         (byte-compile-constants-vector): Obey it.
2798         (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
2799         (byte-compile-macroexpand-declare-function): New function.
2800         (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
2801         byte-code-functions.
2802         (byte-compile-form): Check obsolescence here.
2803         (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
2804         (byte-compile-variable-ref): Remove.
2805         (byte-compile-dynamic-variable-op): New fun.
2806         (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
2807         (byte-compile-variable-set): New funs.
2808         (byte-compile-discard): Add 2 args.
2809         (byte-compile-stack-ref, byte-compile-stack-set)
2810         (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
2811         (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
2812         macroexpand-all instead.
2813         (byte-compile-quote-form): Remove.
2814         (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
2815         (byte-compile-bind, byte-compile-unbind): New funs.
2816         (byte-compile-let): Handle let* and lexical binding.
2817         (byte-compile-let*): Remove.
2818         (byte-compile-catch, byte-compile-unwind-protect)
2819         (byte-compile-track-mouse, byte-compile-condition-case):
2820         Handle a new :fun-body form, used for lexical scoping.
2821         (byte-compile-save-window-excursion)
2822         (byte-compile-with-output-to-temp-buffer): Remove.
2823         (byte-compile-defun): Simplify.
2824         (byte-compile-stack-adjustment): New fun.
2825         (byte-compile-out): Use it.
2826         (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
2828         * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
2829         handler any more.
2831         * emacs-lisp/byte-opt.el: Use lexical binding.
2832         (byte-inline-lapcode): Remove (to bytecomp).
2833         (byte-compile-inline-expand): Pay attention to inlining to/from
2834         lexically bound code.
2835         (byte-compile-unfold-lambda): Don't handle byte-code-functions
2836         any more.
2837         (byte-optimize-form-code-walker): Don't handle save-window-excursion
2838         any more and don't call compiler-macros.
2839         (byte-compile-splice-in-already-compiled-code): Remove.
2840         (byte-code): Don't inline any more.
2841         (disassemble-offset): Receive `bytes' as argument rather than via
2842         dynamic scoping.
2843         (byte-compile-tag-number): Declare before first use.
2844         (byte-decompile-bytecode-1): Handle new byte-codes, don't change
2845         `return' even if make-spliceable.
2846         (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
2847         obsolete interactive-p.
2848         (byte-optimize-lapcode): Optimize new lap-codes.
2849         Don't trip up on new form of `byte-constant' lap code.
2851         * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
2853         * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
2855         * custom.el (custom-initialize-default, custom-declare-variable):
2856         Use `defvar'.
2858         * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
2859         New variables.
2860         (compile-onefile, .el.elc, compile-calc, recompile): Use them.
2861         (COMPILE_FIRST): Add macroexp and cconv.
2862         * makefile.w32-in: Mirror changes in Makefile.in.
2864         * vc/cvs-status.el:
2865         * vc/diff-mode.el:
2866         * vc/log-edit.el:
2867         * vc/log-view.el:
2868         * vc/smerge-mode.el:
2869         * textmodes/bibtex-style.el:
2870         * textmodes/css.el:
2871         * startup.el:
2872         * uniquify.el:
2873         * minibuffer.el:
2874         * newcomment.el:
2875         * reveal.el:
2876         * server.el:
2877         * mpc.el:
2878         * emacs-lisp/smie.el:
2879         * doc-view.el:
2880         * dired.el:
2881         * abbrev.el: Use lexical binding.
2883 2011-04-01  Eli Zaretskii  <eliz@gnu.org>
2885         * info.el (info-display-manual): New function.
2887 2011-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
2889         * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
2891 2011-03-31  Tassilo Horn  <tassilo@member.fsf.org>
2893         * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2894         an entry for that server in rcirc-authinfo.  (Bug#8385)
2896 2011-03-31  Glenn Morris  <rgm@gnu.org>
2898         * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
2900         * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
2902 2011-03-30  Christoph Scholtes  <cschol2112@googlemail.com>
2904         * progmodes/python.el (python-default-interpreter)
2905         (python-python-command-args, python-jython-command-args)
2906         (python-which-shell, python-which-args, python-which-bufname)
2907         (python-file-queue, python-comint-output-filter-function)
2908         (python-toggle-shells, python-shell): Remove obsolete defcustoms,
2909         variables and functions.
2911 2011-03-30  Stefan Monnier  <monnier@iro.umontreal.ca>
2913         * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
2914         (completion-in-region-mode): New minor mode.
2915         (completion-in-region): Use it.
2916         (completion-in-region--data, completion-in-region-mode-map): New vars.
2917         (completion-in-region--postch): New function.
2918         (completion--capf-misbehave-funs, completion--capf-safe-funs):
2919         New vars.
2920         (completion--capf-wrapper): New function.
2921         (completion-at-point): Use it to track well-behavedness of
2922         hook functions.
2923         (completion-help-at-point): New command.
2925 2011-03-30  Jason Merrill  <jason@redhat.com>  (tiny change)
2927         * vc/add-log.el (add-change-log-entry): Don't use whitespace
2928         syntax class to search for whitespace on a single line
2929         (Message-ID: <4D938140.4030905@redhat.com>).
2931 2011-03-30  Leo Liu  <sdl.web@gmail.com>
2933         * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
2934         New commands.
2935         (edit-abbrevs-map): Bind them here.
2936         (write-abbrev-file): New optinal arg VERBOSE.  (Bug#5937)
2938 2011-03-29  Ken Manheimer  <ken.manheimer@gmail.com>
2940         * allout.el (allout-hide-by-annotation, allout-flag-region):
2941         Reduce possibility of overlay leakage by making them volatile.
2943         * allout-widgets.el (allout-widgets-tally): Define as nil so the
2944         hash is not shared between buffers.  Mode initialization is
2945         responsible for giving it a useful starting value.
2946         (allout-item-span): Reduce possibility of overlay leakage by
2947         making them volatile.
2948         (allout-widgets-count-buttons-in-region): Add diagnostic function
2949         for tracking down button overlay leaks.
2951 2011-03-29  Leo Liu  <sdl.web@gmail.com>
2953         * ido.el (ido-read-internal): Use the default history var
2954         minibuffer-history if no HISTORY is specified.
2956 2011-03-28  Brian T. Sniffen  <bsniffen@akamai.com>  (tiny change)
2958         * net/imap.el (imap-shell-open, imap-process-connection-type):
2959         Use imap-process-connection-type for 'shell' streams as well as
2960         Kerberos, SSL, other subprocesses.
2962 2011-03-28  Leo Liu  <sdl.web@gmail.com>
2964         * abbrev.el (abbrev-table-empty-p): New function.
2965         (prepare-abbrev-list-buffer): Place empty abbrev tables after
2966         nonempty ones.  (Bug#5937)
2968 2011-03-27  Jan Djärv  <jan.h.d@swipnet.se>
2970         * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
2972 2011-03-27  Leo Liu  <sdl.web@gmail.com>
2974         * ansi-color.el (ansi-color-names-vector): Allow cons cell value
2975         for foreground and background colors.
2976         (ansi-color-make-color-map): Adapt.
2978 2011-03-25  Leo Liu  <sdl.web@gmail.com>
2980         * midnight.el (midnight-time-float): Remove.  Note it calculates
2981         the microsecond component incorrectly and seconds-to-time does the
2982         same job.
2983         Remove redundant (require 'timer).
2985         * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
2986         (ido-completions): Remove unused arguments.  (Bug#8329)
2988 2011-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
2990         * minibuffer.el (completion--flush-all-sorted-completions):
2991         Remove itself from hook.
2992         (completion-at-point): Let the functions perform the completion
2993         immediately and return nil or t.
2994         * comint.el (comint-dynamic-complete-functions): Now identical to
2995         completion-at-point-functions.
2996         (comint-dynamic-list-input-ring): Remove unused var `index'.
2997         (comint--match-partial-filename, comint--unquote&expand-filename):
2998         New funs, split from comint-match-partial-filename.
2999         (comint-dynamic-complete): Use completion-at-point.
3000         (comint-dynamic-complete-filename): Use comint--match-partial-filename.
3002 2011-03-24  Drew Adams  <drew.adams@oracle.com>
3004         * thingatpt.el: Support `defun'.
3006 2011-03-23  Leo Liu  <sdl.web@gmail.com>
3008         * abbrevlist.el: Move to obsolete/abbrevlist.el.
3010         * help-mode.el (help-mode-finish): Tweak regexp.
3012 2011-03-23  Glenn Morris  <rgm@gnu.org>
3014         * eshell/esh-opt.el (eshell-eval-using-options):
3015         Do not bind unused local variable `eshell-option-stub'.
3017         * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
3019 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
3021         * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
3022         keymap variable in `with-no-warnings' to avoid a warning when the
3023         keymap has been already `defconst'ed.
3025 2011-03-22  Leo Liu  <sdl.web@gmail.com>
3027         * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
3028         encode all chars in abbrevs; otherwise use emacs-mule or
3029         utf-8-emacs.  (Bug#8308)
3031 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
3033         * simple.el (backward-delete-char-untabify):
3034         Avoid warning about using `delete-backward-char'.
3036         * image.el (image-type-file-name-regexps): Make it variable.
3037         `imagemagick-register-types' modifies it, and the user may want
3038         to add new extensions for known image types.
3039         (imagemagick-register-types): Throw error if not using ImageMagick.
3041 2011-03-22  Leo Liu  <sdl.web@gmail.com>
3043         * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
3044         located before rcirc-prompt-end-marker.
3045         (rcirc-complete): Error if point is not after rcirc prompt.
3046         Handle the case when table is nil.
3047         (rcirc-user-authenticated): Define to fix compiler warning.
3049 2011-03-22  Chong Yidong  <cyd@stupidchicken.com>
3051         * custom.el (custom--inhibit-theme-enable): Make it affect only
3052         custom-theme-set-variables and custom-theme-set-faces.
3053         (provide-theme): Ignore custom--inhibit-theme-enable.
3054         (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
3055         (custom-enabling-themes): Delete variable.
3056         (enable-theme): Accept only loaded themes as arguments.
3057         Ignore the special custom-enabled-themes variable.
3058         (custom-enabled-themes): Forbid themes from setting this.
3059         Eliminate use of custom-enabling-themes.
3060         (custom-push-theme): Quote "changed" custom var entry.
3062 2011-03-21  Leo Liu  <sdl.web@gmail.com>
3064         * ido.el (ido-read-internal): Add ido-selected to history instead
3065         of user input.
3067 2011-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
3069         * subr.el (deferred-action-list, deferred-action-function):
3070         Mark obsolete.
3072 2011-03-21  Leo Liu  <sdl.web@gmail.com>
3074         * vc/log-view.el: Remove (require 'wid-edit), not needed after the
3075         change on 2011-02-13 (bug#8309).
3077         * minibuffer.el (read-file-name-function): Change default value.
3078         (read-file-name--defaults): Rename from read-file-name-defaults.
3079         (read-file-name-default): Rename from read-file-name.
3080         (read-file-name): Call read-file-name-function.
3082 2011-03-21  Glenn Morris  <rgm@gnu.org>
3084         * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
3085         Doc fixes.
3087 2011-03-21  Chong Yidong  <cyd@stupidchicken.com>
3089         * cus-theme.el: Add missing provide statement.
3090         (customize-create-theme): Extract theme value correctly.
3091         (custom-theme-visit-theme): Autoload.
3092         (customize-create-theme): Prompt before inserting default faces.
3094 2011-03-20  Jay Belanger  <jay.p.belanger@gmail.com>
3096         * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
3097         units and musical notes.
3099 2011-03-20  Leo  <sdl.web@gmail.com>
3101         * ido.el (ido-read-internal): Use completing-read-default.
3102         (ido-completing-read): Fix compatibility with completing-read.
3104 2011-03-20  Christian Ohler  <ohler@gnu.org>
3106         * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
3107         (ert-delete-all-tests): Use `called-interactively-p' rather than
3108         `interactive-p'.
3109         (ert--make-xrefs-region): Respect END.
3111 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
3113         * dired-aux.el (dired-create-directory): Signal an error if the
3114         directory already exists (Bug#8246).
3116         * facemenu.el (list-colors-display): Call list-faces-display
3117         inside with-help-window.
3118         (list-colors-print): Use display property to align the final
3119         column, instead of checking window-width.
3121 2011-03-19  Eli Zaretskii  <eliz@gnu.org>
3123         * emerge.el (emerge-metachars): Separate value for ms-dos and
3124         windows-nt systems.
3125         (emerge-protect-metachars): Quote correctly for ms-dos and
3126         windows-nt systems.
3128 2011-03-19  Ralph Schleicher  <rs@ralph-schleicher.de>
3130         * info.el (info-initialize): Replace all uses of `:' with
3131         path-separator for compatibility with non-Unix systems.
3132         Cache quoting of path-separator.  (Bug#8258)
3134 2011-03-19  Juanma Barranquero  <lekktu@gmail.com>
3136         * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
3137         (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
3138         (mouse-avoidance-mode): Fix typos in docstrings.
3140 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
3142         * startup.el (package-subdirectory-regexp): Move from package.el.
3143         Omit \\` and \\', and let callers add them.
3145         * emacs-lisp/package.el (package-strip-version)
3146         (package-load-all-descriptors): Add \\` and \\' to
3147         package-subdirectory-regexp before using it.
3148         (package-untar-buffer): New arg DIR; ensure that file untars only
3149         into this expected directory.  Remove superfluous delete-region.
3150         (package-unpack): Caller changed.
3151         (package-tar-file-info): Use package-subdirectory-regexp.
3153 2011-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3155         * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
3156         diff-mode-shared-map (bug#8284).
3157         (diff-mode-shared-map): Re-introduce some bindings that were problematic.
3159 2011-03-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3161         * calendar/time-date.el (format-seconds): Use assoc instead of
3162         assoc-string, since assoc-string doesn't exist in XEmacs.
3164 2011-03-17  Juanma Barranquero  <lekktu@gmail.com>
3166         * custom.el (custom-known-themes): Reflow docstring.
3167         (custom-theme-load-path): Fix typo in docstring.
3168         (load-theme): Fix typo in error message.
3169         (custom-available-themes, custom-variable-theme-value):
3170         Use `let', not `let*'.
3172 2011-03-17  Jay Belanger  <jay.p.belanger@gmail.com>
3174         * calc/README: Mention inclusion of musical notes.
3176         * calc/calc-units.el (calc-lu-quant): Rename from
3177         `calc-logunits-quantity'.
3178         (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
3179         (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
3180         (calc-db): Rename from `calc-dblevel'.
3181         (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
3182         (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
3183         (calc-np): Rename from `calc-nplevel'.
3184         (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
3185         (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
3186         (calc-lu-plus): Rename from `calc-logunits-add'.
3187         (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
3188         (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
3189         (calc-lu-minus): Rename from `calc-logunits-sub'.
3190         (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
3191         (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
3192         (calc-lu-times): Rename from `calc-logunits-mul'.
3193         (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
3194         (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
3195         (calc-lu-divide): Rename from `calc-logunits-div'.
3196         (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
3197         (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
3199         * calc/calc-ext.el (calc-init-extensions): Update the names of the
3200         functions being autoloaded.
3202         * calc/calc.el (calc-lu-power-reference): Rename from
3203         `calc-logunits-power-reference'.
3204         (calc-lu-field-reference): Rename from
3205         `calc-logunits-field-reference'.
3207         * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
3209 2011-03-17  Stefan Monnier  <monnier@iro.umontreal.ca>
3211         * minibuffer.el (completion-all-sorted-completions):
3212         Use :completion-cycle-penalty text property if present.
3214 2011-03-16  Ken Manheimer  <ken.manheimer@gmail.com>
3216         * allout.el (allout-yank-processing): Adjust for new rebulleting
3217         regime so bullet being yanked is used without prompting the user
3218         for a choice.
3220 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
3222         * startup.el (command-line): Warn the user that _emacs is deprecated.
3224 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
3226         * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
3227         (delphi-verbose, delphi-comment-face, delphi-string-face)
3228         (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
3229         (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
3230         (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
3231         (delphi-new-comment-line, delphi-font-lock-defaults)
3232         (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
3233         Fix typos in docstrings.
3235 2011-03-15  Ken Manheimer  <ken.manheimer@gmail.com>
3237         * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
3238         Invert the roles of character and string values for INSTEAD, so a
3239         string is used for the more common case of a defaulting prompt.
3241 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
3243         * progmodes/ruby-mode.el (ruby-backward-sexp):
3244         * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
3245         * play/gamegrid.el (gamegrid-make-face):
3246         * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
3247         (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
3248         * notifications.el (notifications-notify):
3249         * net/xesam.el (xesam-search-engines):
3250         * net/quickurl.el (quickurl-list-insert):
3251         * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
3253 2011-03-15  Chong Yidong  <cyd@stupidchicken.com>
3255         * startup.el (command-line): Update package subdirectory regexp.
3257 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
3259         * allout.el (allout-abbreviate-flattened-numbering)
3260         (allout-mode-deactivate-hook): Fix up obsolescence "date".
3262         * subr.el (read-char-choice): Only show the cursor after the prompt,
3263         not after the answer.
3265 2011-03-15  Kevin Ryde  <user42@zip.com.au>
3267         * help-fns.el (variable-at-point): Skip leading quotes, if any
3268         (bug#8253).
3270 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
3272         * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
3273         warning message.
3275 2011-03-14  Michael Albinus  <michael.albinus@gmx.de>
3277         * shell.el (shell): When called interactively, offer to change the
3278         shell file name on remote hosts.
3280 2011-03-13  Teodor Zlatanov  <tzz@lifelogs.com>
3282         * net/ldap.el (ldap-search-internal): Add `auth-source-search'
3283         integration for LDAP parameters.  The host, base, user or binddn,
3284         and secret tokens can be specified in a netrc file, for instance.
3285         This is optional because an `auth-source' parameter must be
3286         specified in the search attributes.
3288 2011-03-13  Juanma Barranquero  <lekktu@gmail.com>
3290         * help.el (describe-mode): Link to the mode's definition (bug#8185).
3292 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3294         * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
3295         into declaration.  Remove redundant and harmful binding.
3297 2011-03-12  Eli Zaretskii  <eliz@gnu.org>
3299         * files.el (file-ownership-preserved-p): Pass `integer' as an
3300         explicit 2nd argument to `file-attributes'.  If the file's owner
3301         is the Administrators group on Windows, and the current user is
3302         Administrator, consider that a match.
3304         * server.el (server-ensure-safe-dir): Consider server directory
3305         safe on MS-Windows if its owner is the Administrators group while
3306         the current Emacs user is Administrator.  Use `=' to compare
3307         numerical UIDs, since they could be integers or floats.
3309 2011-03-12  Juanma Barranquero  <lekktu@gmail.com>
3311         * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
3313 2011-03-12  Michael Albinus  <michael.albinus@gmx.de>
3315         Sync with Tramp 2.2.1.
3317         * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
3319         * net/trampver.el: Update release number.
3321 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3323         * progmodes/compile.el (compilation--previous-directory): Fix up
3324         various nil/dead-marker mismatches (bug#8014).
3325         (compilation-directory-properties, compilation-error-properties):
3326         Don't call it at a position past the one we're about to change.
3328         * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
3329         Disable obsolescence warnings in the file that declares it.
3331 2011-03-11  Ken Manheimer  <ken.manheimer@gmail.com>
3333         * allout-widgets.el (allout-widgets-tally):
3334         Initialize allout-widgets-tally as a hash table rather than nil to
3335         prevent mode-line redisplay warnings.  Also, clarify the module
3336         description and fix a comment typo.
3338 2011-03-11  Juanma Barranquero  <lekktu@gmail.com>
3340         * help-fns.el (describe-variable): Don't complete keywords.
3341         Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
3343 2011-03-10  Chong Yidong  <cyd@stupidchicken.com>
3345         * emacs-lisp/package.el (package-version-join): Impose a standard
3346         string representation for pre/alpha/beta version lists.
3347         (package-unpack-single): Standardize the directory name by passing
3348         it through package-version-join.
3349         (package-strip-rcs-id): Accept any version string that does not
3350         signal an error in version-to-list.
3352 2011-03-10  Michael Albinus  <michael.albinus@gmx.de>
3354         * simple.el (delete-trailing-whitespace): Return nil for the
3355         benefit of `write-file-functions'.
3357 2011-03-10  Glenn Morris  <rgm@gnu.org>
3359         * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
3361         * vc/vc-git.el (vc-git-program): New option.
3362         (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
3363         (vc-git--call): Use it.
3365         * eshell/esh-util.el (eshell-condition-case): Doc fix.
3367         * cus-edit.el (Custom-newline): If no button at point, look
3368         for a subgroup button at start-of-line.  (Bug#2298)
3370         * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
3372 2011-03-10  Julien Danjou  <julien@danjou.info>
3374         * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
3375         `cursor-type' is nil.
3377 2011-03-09  Jay Belanger  <jay.p.belanger@gmail.com>
3379         * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
3381 2011-03-09  Ken Manheimer  <ken.manheimer@gmail.com>
3383         * allout.el Summary: Change so yank of distinctive-bullet items
3384         preserves the existing header prefix, rebulleting it if necessary,
3385         rather than replacing it.  This is necessary for proper operation
3386         of cooperative addons like allout-widgets.
3387         (allout-make-topic-prefix, allout-rebullet-heading): Change
3388         SOLICIT arg to INSTEAD, and interpret additionally a string value
3389         as alternate bullet to be used, instead of prompting the user for
3390         a bullet character.
3392 2011-03-09  Michael Albinus  <michael.albinus@gmx.de>
3394         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
3395         Do not use `tramp-file-name-port', because this returns also
3396         `tramp-default-port'.
3398 2011-03-09  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
3400         * net/rcirc.el (rcirc-handler-001): Remove useless
3401         with-rcirc-process-buffer.
3402         (rcirc-check-auth-status): Swap arguments to string-match.
3404 2011-03-09  Glenn Morris  <rgm@gnu.org>
3406         * shell.el (shell-mode):
3407         Set comint-input-ring-size from HISTSIZE.  (Bug#7889)
3409         * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
3410         Check for GDBHISTFILE, HISTSIZE, etc.  (Bug#7889)
3412 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
3414         * emacs-lisp/package.el (package-refresh-contents)
3415         (package-menu-execute): Use condition-case-no-debug.
3417 2011-03-08  Michael Albinus  <michael.albinus@gmx.de>
3419         * simple.el (shell-command-to-string): Use `process-file'.
3421         * emacs-lisp/package.el (package-tar-file-info): Handle also
3422         remote files.
3424         * emacs-lisp/package-x.el (package-upload-buffer-internal):
3425         Use `equal' for upload base check.
3427 2011-03-08  Arni Magnusson  <arnima@hafro.is>  (tiny change)
3429         * textmodes/texinfo.el (texinfo-environments):
3430         Add deftypecv, deftypeivar, deftypemethod, deftypeop, html.  (Bug#2783)
3432 2011-03-08  Glenn Morris  <rgm@gnu.org>
3434         * cus-start.el (cursor-in-non-selected-windows):
3435         Fix :set quoting oddness.  (Bug#8192)
3437         * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
3438         in some setf expressions.  (Bug#2159)
3440 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
3442         * custom.el (custom-available-themes): Return themes in
3443         alphabetical order.
3445 See ChangeLog.15 for earlier changes.
3447 ;; Local Variables:
3448 ;; coding: utf-8
3449 ;; End:
3451   Copyright (C) 2011  Free Software Foundation, Inc.
3453   This file is part of GNU Emacs.
3455   GNU Emacs is free software: you can redistribute it and/or modify
3456   it under the terms of the GNU General Public License as published by
3457   the Free Software Foundation, either version 3 of the License, or
3458   (at your option) any later version.
3460   GNU Emacs is distributed in the hope that it will be useful,
3461   but WITHOUT ANY WARRANTY; without even the implied warranty of
3462   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
3463   GNU General Public License for more details.
3465   You should have received a copy of the GNU General Public License
3466   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.