Derive some programming modes from prog-mode.
[emacs.git] / lisp / ChangeLog
blobb868daaf9079ab9071587d3c0c51d27a519200c9
1 2011-06-15  Dan Nicolaescu  <dann@ics.uci.edu>
3         * progmodes/python.el (python-mode): Derive from prog-mode.
4         * progmodes/ps-mode.el (ps-mode):
5         * progmodes/mixal-mode.el (mixal-mode):
6         * progmodes/ld-script.el (ld-script-mode): Likewise.
8 2011-06-15  Martin Rudalics  <rudalics@gmx.at>
10         * window.el (display-buffer-alist): Trim default value to avoid
11         popping up a new frame (Bug#8857) or reusing an arbitrary window
12         on another frame.
13         (display-buffer): Do not fall back on popping up a new frame in
14         batch mode (Bug#8857).
16 2011-06-14  Chong Yidong  <cyd@stupidchicken.com>
18         * cus-theme.el (describe-theme-1): Use custom-theme-p.
19         (custom-theme-summary): New function.
20         (customize-themes): Use it.
22 2011-06-13  Glenn Morris  <rgm@gnu.org>
24         * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
26 2011-06-13  Martin Rudalics  <rudalics@gmx.at>
28         * help.el (help-window): Remove variable.
29         (help-window-point-marker, temp-buffer-max-height)
30         (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
31         (help-print-return-message): Don't set help-window.
32         (resize-temp-buffer-window): Rewrite cod eand doc-string.
33         (help-window-setup-finish): Remove.
34         (help-window-display-message, help-window-setup)
35         (with-help-window): Major rewrite based on new
36         display-buffer-window variable.
38         * help-mode.el (help-mode-finish): Remove help-window related
39         code.
41         * view.el (view-exits-all-viewing-windows): Remove reference to
42         view-return-to-alist in doc-string.
43         (view-return-to-alist): Make obsolete.
44         (view-buffer): Call pop-to-buffer-same-window and remove
45         undo-window code.
46         (view-buffer-other-window): Call pop-to-buffer-other-window and
47         simplify code.  Ignore second argument.
48         (view-buffer-other-frame): Call pop-to-buffer-other-frame and
49         simplify code.  Ignore second argument.
50         (view-return-to-alist-update): Make obsolete.
51         (view-mode-enter): Rename second argument to QUIT-RESTORE.
52         Rewrite using quit-restore window parameters.
53         (view-mode-exit): Rename second argument to EXIT-ONLY.  Rewrite
54         using quit-restore-window.
55         (View-exit, View-exit-and-edit, View-leave, View-quit)
56         (View-quit-all, View-kill-and-leave): Call view-mode-exit with
57         appropriate arguments.
58         (view-end-message): Use quit-restore window parameter.
60         * window.el (display-buffer-function): Rewrite doc-string.
61         (display-buffer-window, display-buffer-alist): New variables.
62         (display-buffer-split-specifiers)
63         (display-buffer-side-specifiers)
64         (display-buffer-macro-specifiers): New constants.
65         (display-buffer-even-window-sizes, display-buffer-set-height)
66         (display-buffer-set-width, display-buffer-select-window)
67         (display-buffer-in-window, display-buffer-reuse-window)
68         (display-buffer-split-window-1, display-buffer-split-window)
69         (display-buffer-split-atom-window, display-buffer-pop-up-window)
70         (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
71         (display-buffer-in-side-window, normalize-buffer-to-display)
72         (display-buffer-normalize-specifiers-1)
73         (display-buffer-normalize-specifiers-2)
74         (display-buffer-normalize-specifiers, display-buffer-frame): New
75         functions.
76         (display-buffer): Major rewrite.
77         (display-buffer-other-window, display-buffer-other-frame)
78         (pop-to-buffer, switch-to-buffer-other-window)
79         (switch-to-buffer-other-frame): Rewrite.
80         (display-buffer-same-window, display-buffer-same-frame)
81         (display-buffer-same-frame-other-window)
82         (pop-to-buffer-same-window, pop-to-buffer-same-frame)
83         (pop-to-buffer-other-window)
84         (pop-to-buffer-same-frame-other-window)
85         (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
86         (switch-to-buffer-other-window-same-frame): New functions.
87         (same-window-p, special-display-p): Rewrite disabling warnings.
88         Make obsolete.
89         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
90         (display-buffer-mark-dedicated): Initialize to symbol 'unset.
91         Make obsolete
92         (same-window-buffer-names, same-window-regexps)
93         (special-display-frame-alist, special-display-popup-frame)
94         (special-display-function, special-display-buffer-names)
95         (special-display-regexps, pop-up-frame-alist)
96         (pop-up-frame-function, split-window-preferred-function)
97         (split-height-threshold, split-width-threshold)
98         (even-window-heights): Make obsolete.
100 2011-06-12  Glenn Morris  <rgm@gnu.org>
102         * term/xterm.el (terminal-init-xterm): `version' may be nil.  (Bug#8838)
103         Misc simplifications.
105 2011-06-12  Martin Rudalics  <rudalics@gmx.at>
107         * window.el (window-safely-shrinkable-p): Restore function which
108         was inadvertently removed in change from 2011-06-11.  Declare as
109         obsolete.
111         * calendar/calendar.el (calendar-generate-window): Use
112         window-iso-combined-p instead of combination of one-window-p and
113         window-safely-shrinkable-p.
115 2011-06-12  Glenn Morris  <rgm@gnu.org>
117         * progmodes/fortran.el (fortran-mode-syntax-table):
118         * progmodes/f90.el (f90-mode-syntax-table):
119         Set % to punctuation.  (Bug#8820)
120         (f90-find-tag-default): Remove, no longer needed.
122 2011-06-12  Daniel Colascione  <dan.colascione@gmail.com>
124         * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
126 2011-06-11  Chong Yidong  <cyd@stupidchicken.com>
128         * image.el (image-animated-p): Return animation delay in seconds.
129         Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
130         (image-animate-timeout): Remove DELAY argument.  Don't assume
131         every subimage has the same delay; get it from image-animated-p.
132         (image-animate): Caller changed.
134 2011-06-11  Michael Albinus  <michael.albinus@gmx.de>
136         * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
137         to ignored backtrace functions.
139 2011-06-11  Glenn Morris  <rgm@gnu.org>
141         * calendar/appt.el (appt-disp-window-function): Doc fix.
142         (appt-check): Handle overlapping appointments.  (Bug#8337)
144 2011-06-11  Martin Rudalics  <rudalics@gmx.at>
146         * window.el (window-tree-1, window-tree): New functions, moving
147         the latter to window.el.
148         (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
149         (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
150         (bw-refresh-edges): Remove.
151         (balance-windows-1, balance-windows-2): New functions.
152         (balance-windows): Rewrite in terms of window tree functions,
153         balance-windows-1 and balance-windows-2.
154         (bw-adjust-window): Remove.
155         (balance-windows-area-adjust): New function with functionality of
156         bw-adjust-window but using resize-window.
157         (set-window-text-height): Rewrite doc-string.  Use
158         normalize-live-window and resize-window.
159         (enlarge-window-horizontally, shrink-window-horizontally): Rename
160         argument to DELTA.
161         (window-buffer-height): New function.
162         (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
163         Rewrite using new window resize routines.
164         (kill-buffer-and-window, mouse-autoselect-window-select): Use
165         ignore-errors instead of condition-case.
166         (quit-window): Call delete-frame instead of delete-windows-on
167         for the only buffer on frame.
169 2011-06-10  Martin Rudalics  <rudalics@gmx.at>
171         * loadup.el (top-level): Load window before files for the sake
172         of replace-buffer-in-windows.
174         * files.el (read-buffer-to-switch)
175         (switch-to-buffer-other-window)
176         (switch-to-buffer-other-frame, display-buffer-other-frame): Move
177         to window.el.
179         * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
180         (previous-buffer): Move to window.el.
182         * bindings.el (unbury-buffer): Move to window.el.
184         * window.el (delete-other-windows-vertically): Move after
185         definition of delete-other-windows.
186         (other-window, delete-windows-on, replace-buffer-in-windows):
187         Move here from window.c.
188         (record-window-buffer, unrecord-window-buffer)
189         (set-window-buffer-start-and-point, switch-to-prev-buffer)
190         (switch-to-next-buffer): New functions.
191         (get-next-valid-buffer, last-buffer, next-buffer): Move here
192         from simple.el.  Call switch-to-next-buffer.
193         (previous-buffer): Move here from simple.el.  Call
194         switch-to-prev-buffer.
195         (bury-buffer): Move here from buffer.c.  Switch to previous
196         buffer when window cannot be deleted.
197         (unbury-buffer): Move here from bindings.el.
198         (ctl-x-map): Move binding for other-window from window.c to
199         here.
200         (read-buffer-to-switch, switch-to-buffer-other-window)
201         (switch-to-buffer-other-frame): Move here from files.el.
202         (normalize-buffer-to-switch-to): New functions.
203         (switch-to-buffer): Move here from buffer.c.  Use
204         read-buffer-to-switch and normalize-buffer-to-switch-to.
206 2011-06-10  Martin Rudalics  <rudalics@gmx.at>
208         * window.el (window-min-height, window-min-width): Move here
209         from window.c.  Add defcustoms and rewrite doc-strings.
210         (resize-mini-window, resize-window): New functions.
211         (adjust-window-trailing-edge, enlarge-window, shrink-window):
212         Move here from window.c.
213         (maximize-window, minimize-window): New functions.
214         (delete-window, delete-other-windows, split-window): Move here
215         from window.c.
216         (window-split-min-size): New function.
217         (split-window-keep-point): Mention split-window-above-each-other
218         instead of split-window-vertically.
219         (split-window-above-each-other, split-window-vertically): Rename
220         split-window-vertically to split-window-above-each-other and
221         provide defalias for old definition.
222         (split-window-side-by-side, split-window-horizontally): Rename
223         split-window-horizontally to split-window-side-by-side and provide
224         defalias for the old definition.
225         (ctl-x-map): Move bindings for delete-window,
226         delete-other-windows and enlarge-window here from window.c.
227         Replace bindings for split-window-vertically and
228         split-window-horizontally by bindings for
229         split-window-above-each-other and split-window-side-by-side.
231         * cus-start.el (all): Remove entries for window-min-height and
232         window-min-width.  Add entries for window-splits and
233         window-nest.
235 2011-06-09  Glenn Morris  <rgm@gnu.org>
237         * calendar/appt.el (appt-mode-line): New function.
238         (appt-check, appt-disp-window): Use it.
240         * files.el (hack-one-local-variable-eval-safep):
241         Allow minor-modes with explicit +/-1 arguments.
243 2011-06-09  Teodor Zlatanov  <tzz@lifelogs.com>
245         * term/xterm.el (xterm): Add defgroup.
246         (xterm-extra-capabilities): Add defcustom to supply known xterm
247         capabilities, skip querying them, or query them (default).
248         (terminal-init-xterm): Use it.
249         (terminal-init-xterm-modify-other-keys): New function to set up
250         modifyOtherKeys support to simplify `terminal-init-xterm'.
252 2011-06-09  Martin Rudalics  <rudalics@gmx.at>
254         * window.el (resize-window-reset, resize-window-reset-1)
255         (resize-subwindows-skip-p, resize-subwindows-normal)
256         (resize-subwindows, resize-other-windows, resize-this-window)
257         (resize-root-window, resize-root-window-vertically)
258         (window-deletable-p, window-or-subwindow-p)
259         (frame-root-window-p): New functions.
261 2011-06-09  Glenn Morris  <rgm@gnu.org>
263         * net/ange-ftp.el (ange-ftp-switches-ok): New function.
264         (ange-ftp-get-files): Use it.
266 2011-06-09  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
268         * mail/sendmail.el (mail-recover-1, mail-recover):
269         * files.el (recover-file, recover-session):
270         Handle dired-listing-switches not being just a single short option.
272 2011-06-09  Glenn Morris  <rgm@gnu.org>
274         * calendar/appt.el (appt-display-message, appt-disp-window):
275         Handle lists of appointments.
277 2011-06-08  Martin Rudalics  <rudalics@gmx.at>
279         * window.el (one-window-p): Move down in code.  Rewrite
280         doc-string.
281         (window-current-scroll-bars): Rewrite doc-string.  Normalize
282         live window argument.
283         (walk-windows, get-window-with-predicate, count-windows):
284         Rewrite doc-string.  Use window-list-1.
285         (window-in-direction-2, window-in-direction, get-mru-window):
286         New functions.
288 2011-06-08  Reuben Thomas <rrt@sc3d.org>
290         * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
291         Doc fix (Bug#8713).
293 2011-06-08  Chong Yidong  <cyd@stupidchicken.com>
295         * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
297 2011-06-08  Juanma Barranquero  <lekktu@gmail.com>
299         * loadhist.el (unload-feature-special-hooks):
300         Add `comint-output-filter-functions'.
302 2011-06-08  Ivan Kanis  <gnu@kanis.fr>
304         * calendar/appt.el (appt-check): Move some initializations into the let.
306 2011-06-08  Martin Rudalics  <rudalics@gmx.at>
308         * window.el (window-height): Defalias to window-total-height.
309         (window-width): Defalias to window-body-width.
311 2011-06-07  Chong Yidong  <cyd@stupidchicken.com>
313         * image-mode.el (image-toggle-animation): New command.
314         (image-mode-map): Bind it to RET.
315         (image-mode): Update message.
316         (image-toggle-display-image): Avoid a spurious cache flush.
317         (image-transform-rotation): Doc fix.
318         (image-transform-properties): Return quickly in the normal case.
319         (image-animate-loop): Rename from image-animate-max-time.
321         * image.el (image-animate-max-time): Moved to image-mode.el.
322         (create-animated-image): Remove unnecessary function.
323         (image-animate): Rename from image-animate-start.  New arg.
324         (image-animate-stop): Removed; just use image-animate-timer.
325         (image-animate-timer): Use car-safe.
326         (image-animate-timeout): Rename argument.
328 2011-06-07  Martin Rudalics  <rudalics@gmx.at>
330         * window.el (get-lru-window, get-largest-window): Move here from
331         window.c.  Rename first argument to ALL-FRAMES.  Rephrase
332         doc-strings.
333         (get-buffer-window-list): Rewrite using window-list-1.  Rephrase
334         doc-string.
335         (window-safe-min-height, window-safe-min-width): New constants.
336         (window-size-ignore, window-min-size, window-min-size-1)
337         (window-sizable, window-sizable-p, window-size-fixed-1)
338         (window-size-fixed-p, window-min-delta-1, window-min-delta)
339         (window-max-delta-1, window-max-delta, window-resizable)
340         (window-resizable-p, window-total-height, window-total-width)
341         (window-body-width): New functions.
342         (window-full-height-p, window-full-width-p): Rewrite using
343         window-total-size.
344         (window-body-height): Rewrite using window-body-size.
346 2011-06-06  Martin Rudalics  <rudalics@gmx.at>
348         * window.el (window-right, window-left, window-child)
349         (window-child-count, window-last-child, window-any-p)
350         (normalize-live-buffer, normalize-live-frame)
351         (normalize-any-window, normalize-live-window)
352         (window-iso-combination-p, window-iso-combined-p)
353         (window-iso-combinations)
354         (walk-window-tree-1, walk-window-tree, walk-window-subtree)
355         (windows-with-parameter, window-with-parameter)
356         (window-atom-root, make-window-atom, window-atom-check-1)
357         (window-atom-check, window-side-check, window-check): New
358         functions.
359         (ignore-window-parameters, window-sides, window-sides-vertical)
360         (window-sides-slots): New variables.
361         (window-size-fixed): Move down in code.  Minor doc-string fix.
363 2011-06-05  Andreas Schwab  <schwab@linux-m68k.org>
365         * comint.el (comint-dynamic-complete-as-filename)
366         (comint-dynamic-complete-filename): Correctly call
367         completion-in-region.
369 2011-06-05  Deniz Dogan  <deniz@dogan.se>
371         * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
372         in last change.
374 2011-06-05  Deniz Dogan  <deniz@dogan.se>
376         * net/rcirc.el (rcirc-prompt-for-encryption): New function.
377         (rcirc): Use it to prompt for encryption.
379 2011-06-05  Roland Winkler  <winkler@gnu.org>
381         * textmodes/bibtex.el (bibtex-search-buffer): New variable.
382         (bibtex-search-entries): New command bound to C-c C-a.
383         (bibtex-display-entries): New function.
385 2011-06-05  Roland Winkler  <winkler@gnu.org>
387         * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
388         (bibtex-insert-kill): After yanking insert newline if necessary.
389         (bibtex-initialize): Call bibtex-string-files-init only once.
390         (bibtex-mode): Do not call easy-menu-add.
391         (bibtex-validate-globally): Use save-excursion in bibtex buffers.
392         (bibtex-yank): Set arg properly if nil.
394 2011-06-05  Roland Winkler  <winkler@gnu.org>
396         * textmodes/bibtex.el (bibtex-search-entry-globally): New
397         variable.
398         (bibtex-search-entry): Use it.
400 2011-06-05  Roland Winkler  <winkler@gnu.org>
402         * textmodes/bibtex.el (bibtex-entry-format): New option
403         sort-fields.
404         (bibtex-format-entry, bibtex-reformat): Honor this option.
405         (bibtex-parse-entry): Return fields in proper order.
407 2011-06-05  Juanma Barranquero  <lekktu@gmail.com>
409         * doc-view.el (doc-view-remove-if): Move computation of result out
410         of `dolist' to silence misleading lexical-binding warning.
412 2011-06-04  Chong Yidong  <cyd@stupidchicken.com>
414         * emacs-lisp/timer.el (timer-activate): Remove unused arg.
415         (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
417 2011-06-04  Michael Albinus  <michael.albinus@gmx.de>
419         * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
420         "SunOS 5.10".
422 2011-06-04  Michael Albinus  <michael.albinus@gmx.de>
424         * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
425         (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
426         (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
427         (tramp-parse-putty):
428         * net/tramp-sh.el (tramp-completion-function-alist-rsh)
429         (tramp-completion-function-alist-ssh)
430         (tramp-completion-function-alist-telnet)
431         (tramp-completion-function-alist-su)
432         (tramp-completion-function-alist-putty): Set `tramp-autoload'
433         cookie.
435         * net/tramp-ftp.el:
436         * net/tramp-sh.el:
437         * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
438         load "tramp.el" `tramp-set-completion-function'.
440 2011-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
442         * shell.el: Require and use pcomplete.
443         (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
444         (shell-completion-vars): Set pcomplete-default-completion-function.
446 2011-06-04  Deniz Dogan  <deniz@dogan.se>
448         * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
449         `memq' (Bug#8799).
451 2011-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
453         * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
455 2011-06-02  Juanma Barranquero  <lekktu@gmail.com>
457         * bs.el (bs--mark-unmark, bs--nth-wrapper):
458         * mpc.el (mpc-select-extend, mpc-songpointer-context):
459         * vc/log-view.el (log-view-beginning-of-defun):
460         * vc/smerge-mode.el (smerge-apply-resolution-patch)
461         (smerge-refine-forward, smerge-refine-chopup-region):
462         Silence warning for unused `dotimes' counter variables.
464 2011-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
466         * net/tramp.el (tramp-with-progress-reporter): Rename from
467         with-progress-reporter.  Use `declare'.
468         * net/tramp-smb.el:
469         * net/tramp-sh.el:
470         * net/tramp-gvfs.el: Update all uses.
472 2011-06-02  Jay Belanger  <jay.p.belanger@gmail.com>
474         * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
475         buffer isn't killed before making it current.
477 2011-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
479         Silence various byte-compiler warnings.
480         * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
481         `access-type' and new obsolescence format.
482         * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
483         new format.
484         (byte-compile-check-variable): New `access-type' argument.
485         Only warn if the access-type is obsolete.
486         (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
487         (byte-compile-variable-set): Adjust callers.
488         * help-fns.el (describe-variable): Adjust to new obsolescence format.
489         * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
490         setting it as obsolete.
491         * simple.el (minibuffer-completing-symbol):
492         * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
493         access as obsolete.
494         * minibuffer.el (minibuffer-completing-file-name): Don't make it
495         obsolete yet.
496         * international/quail.el (quail-mouse-choose-completion): Remove unused
497         code referring to obsolete var.
498         (quail-choose-completion-string): Remove.
499         * server.el (server-clients-with, server-kill-buffer-query-function)
500         (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
501         * proced.el (proced-send-signal):
502         * emacs-lisp/lisp.el (lisp-complete-symbol):
503         Replace completion-annotate-function with completion-extra-properties.
505 2011-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
507         * simple.el (goto-line): Use read-number.
508         (overriding-map-is-bound): Remove.
509         (saved-overriding-map): Change default.
510         (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
511         Take the map as argument.
512         (universal-argument, negative-argument, digit-argument): Use it.
513         (restore-overriding-map): Adjust.
514         (do-auto-fill): Use fill-forward-paragraph.
515         (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
517         * minibuffer.el (minibuffer-inactive-mode-map): New var.
518         (minibuffer-inactive-mode): New major mode.
519         * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
520         the *Messages* buffer" hack.
521         (mouse-popup-menubar): Don't burp if the event is a normal key.
523         Miscellaneous tweaks.
524         * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
525         lexical scoping as in subr.el's dolist and dotimes.
526         * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
527         Silence compiler warning.
528         * thingatpt.el (forward-whitespace): Trivial coding style fix.
529         * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
530         * international/ccl.el (ccl-compile): Trivial simplification.
531         * help-fns.el (help-do-arg-highlight): Silence compiler warning.
532         * emacs-lisp/testcover.el (testcover-end): Remove spurious
533         `printflag' argument.
534         * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
535         Purecopy the whole obsolescence data.
537 2011-06-01  Leo Liu  <sdl.web@gmail.com>
539         * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
540         improve doc-string as suggested by Marco Pessotto
541         <melmothx@gmail.com>.
542         (rcirc-print): Fix last change.
544 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
546         * minibuffer.el (complete-with-action): Return nil for the metadata and
547         boundaries of non-functional tables.
548         (completion-table-dynamic): Return nil for the metadata.
549         (completion-table-with-terminator): Add default case, using
550         complete-with-action.
551         (completion--metadata): New function.
552         (completion-all-sorted-completions, minibuffer-completion-help): Use it
553         to try and avoid pathological performance problems.
554         (completion--embedded-envvar-table): Return `category' metadata.
556 2011-05-31  Lars Magne Ingebrigtsen  <larsi@gnus.org>
558         * subr.el (process-alive-p): New tiny convenience function.
560 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
562         * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
563         content but also its previous major mode.
565 2011-05-31  Helmut Eller  <eller.helmut@gmail.com>
567         * debug.el (debug): Restore the previous content of the
568         *Backtrace* buffer when we exit with C-M-c.
570 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
572         * minibuffer.el: Add metadata method to completion tables.
573         (completion-category-overrides): New defcustom.
574         (completion-metadata, completion--field-metadata)
575         (completion-metadata-get, completion--styles)
576         (completion--cycle-threshold): New functions.
577         (completion-try-completion, completion-all-completions):
578         Add `metadata' argument to choose completion-styles.
579         (completion--do-completion): Use metadata to choose cycling.
580         (completion-all-sorted-completions): Use metadata for sorting.
581         Remove :completion-cycle-penalty which is not needed any more.
582         (completion--try-word-completion): Add `metadata' argument.
583         (minibuffer-completion-help): Check metadata for annotation function
584         and sorting.
585         (completion-file-name-table): Return `category' metadata.
586         (minibuffer-completing-file-name): Make obsolete.
587         * simple.el (minibuffer-completing-symbol): Make obsolete.
588         * icomplete.el (icomplete-completions): Pass new `metadata' param to
589         completion-try-completion.
591 2011-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
593         * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
595 2011-05-30  Leo Liu  <sdl.web@gmail.com>
597         * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
598         (rcirc-print): Decode all incoming messages (bug#8744).
599         (rcirc-decode-coding-system): Allow value nil for automatic coding
600         system detection.
602 2011-06-01  Glenn Morris  <rgm@gnu.org>
604         * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
606 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
608         * image.el (image-animate-max-time): Allow nil and t values.
609         Default to nil.
610         (create-animated-image): Doc fix.
611         (image-animate-start): Remove second arg; just use
612         image-animate-max-time.
613         (image-animate-timeout): Doc fix.  Args changed.
615         * image-mode.el (image-toggle-display-image): Ensure that the
616         image spec passed to the animate timer is the same object as in
617         the the buffer's display property (Bug#6981).
618         (image-transform-properties): Doc fix.
620         * image.el (image-animate-max-time): Default to nil.
622 2011-05-29  Martin Rudalics  <rudalics@gmx.at>
624         * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
625         entire buffer list (Bug#8184).
627 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
629         * image.el (imagemagick-types-inhibit)
630         (imagemagick-register-types): Doc fix.
632 2011-05-29  Deniz Dogan  <deniz@dogan.se>
634         * net/rcirc.el (rcirc): Use the user's stored encryption method by
635         default.
637 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
639         * select.el: Don't perform clipboard-manager saving in hooks;
640         leave the hooks empty.
642 2011-05-28  Leo Liu  <sdl.web@gmail.com>
644         * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
645         (occur-mode-map): Bind occur-edit-mode.  Use occur-menu-map.
646         (occur-edit-mode): New major mode (Bug#8463).
647         (occur-after-change-function): New function.
648         (occur-engine): Give Occur tags a read-only property.
650 2011-05-28  Kevin Ryde  <user42@zip.com.au>
652         * subr.el (def-edebug-spec): Doc fix (Bug#8430).
654 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
656         * bindings.el (help-echo): Make the initial non-indicator dash
657         empty on graphical terminals (Bug#7295).
659         * files.el (auto-mode-alist): Move config rule after the
660         in-stripping one (Bug#8547).
662         * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
664         * startup.el (normal-splash-screen): Remove gratuitous mode-line
665         setting (Bug#8740).
667 2011-05-28  Alp Aker  <aker@pitt.edu>  (tiny change)
669         * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
670         (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
671         (Bug#8539).
673 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
676         * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
678 2011-05-28  Dima Kogan  <dkogan@cds.caltech.edu>  (tiny change)
680         * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
681         (hs-hide-block-at-point, hs-find-block-beginning)
682         (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
683         (Bug#8279).
685 2011-05-28  Glenn Morris  <rgm@gnu.org>
687         * startup.el (fancy-about-screen): Use standard mode line.  (Bug#8740)
689 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
691         * help-fns.el (describe-function-1): If the function is a derived
692         major mode, print the parent mode.
694         * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
695         (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
697 2011-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
699         * minibuffer.el (completion--capf-wrapper): Check applicability before
700         retuning non-nil for non-exclusive completion data.
701         * progmodes/etags.el (tags-completion-at-point-function):
702         * info-look.el (info-lookup-completions-at-point): Mark as
703         non-exclusive.
704         (info-complete): Adjust accordingly.
706         * info-look.el: Convert to lexical-binding and completion-at-point.
707         (info-lookup-completions-at-point): New function.
708         (info-complete): Use it and completion-in-region.
710 2011-05-28  Drew Adams  <drew.adams@oracle.com>
712         * isearch.el: Let M-e start with point at the first mismatched char.
713         (isearch-fail-pos): New function.
714         (isearch-edit-string): Use it.
716 2011-05-28  Dmitry Kurochkin  <dmitry.kurochkin@gmail.com>  (tiny change)
718         * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
720 2009-11-23  Toby Cubitt  <toby-predictive@dr-qubit.org>
722         * emacs-lisp/avl-tree.el: New avl-tree-stack datatype.  Add new
723         traversal functions for avl-trees.
724         (avl-tree--stack): New struct.
725         (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
726         (avl-tree-enter): Add optional `updatefun' arg.
727         (avl-tree--do-enter): Add optional `updatefun' arg.
728         Change return value.
729         (avl-tree-delete): Add optional `test' and `nilflag' args.
730         (avl-tree--do-delete): Add `test' and `nilflag' args.
731         Change return value.
732         (avl-tree-member): Add optional `nilflag'
733         (avl-tree-member-p): New function.
734         (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
735         (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
736         (avl-tree-stack-empty-p): New functions.
738 2009-11-23  Toby Cubitt  <toby-predictive@dr-qubit.org>
740         * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
741         avl-tree--del-balance1 and make it work both ways.
742         (avl-tree--del-balance2): Remove.
743         (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
744         make it work both ways.
745         (avl-tree--enter-balance2): Remove.
746         (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
747         New macros.
748         (avl-tree--mapc, avl-tree-map): Add direction argument.
750 2011-05-27  David Michael  <fedora.dm0@gmail.com>  (tiny change)
752         * files.el (interpreter-mode-alist): Add rbash (bug#8745).
754 2011-05-27  Chong Yidong  <cyd@stupidchicken.com>
756         * select.el: Support clipboard managers with built-in function
757         x-clipboard-manager-save, via delete-frame-functions and
758         kill-emacs-hook.
759         (xselect-convert-to-targets): Add MULTIPLE target to list.
760         (xselect-convert-to-save-targets): New function.
762 2011-05-27  Kenichi Handa  <handa@m17n.org>
764         * mail/sendmail.el (mail-encode-header): Avoid double encoding by
765         let-binding rfc2047-encode-encoded-words to nil.
767 2011-05-27  Glenn Morris  <rgm@gnu.org>
769         * mail/emacsbug.el: Don't require url-util.
771         * shell.el (shell-directory-tracker): Case matters.  (Bug#8735)
773         * files.el (set-auto-mode):
774         Also respect mode: entries at the end of the file.  (Bug#8586)
776 2011-05-26  Glenn Morris  <rgm@gnu.org>
778         * files.el (hack-local-variables-prop-line, hack-local-variables):
779         Downcase mode names, as seems to be traditional.
780         (hack-local-variables, hack-local-variables-apply): Doc fixes.
782         * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
783         (report-emacs-bug-hook): Try to validate the From address.  (Bug#8038)
785 2011-05-25  Julien Danjou  <julien@danjou.info>
787         * textmodes/rst.el (rst-define-level-faces): Do not define face
788         symbol if it is already defined.
790 2011-05-24  Vincent Belaïche  <vincentb1@users.sourceforge.net>
792         * play/5x5.el (5x5-new-game, 5x5-randomize):
793         Reset 5x5-solver-output to nil when a new grid is cast.
794         (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
795         these debugging traces, as defmacro breaks the compiled code.
797 2011-05-24  Dmitry Kurochkin  <dmitry.kurochkin@gmail.com>  (tiny change)
799         * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
801 2011-05-24  Leo Liu  <sdl.web@gmail.com>
803         * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
804         (vc-bzr-sha1): Adapt.
806         * sha1.el: Remove. Function `sha1' is now builtin.
808         * bindings.el: Provide sha1 feature.
810 2011-05-24  Kenichi Handa  <handa@m17n.org>
812         * mail/sendmail.el: Require `rfc2047'.
813         (mail-insert-from-field): Do not perform RFC2047 encoding.
814         (mail-encode-header): New function.
815         (sendmail-send-it): Set buffer-file-coding-system of the work
816         buffer to the return value of select-message-coding-system.
817         Call mail-encode-header.
819         * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
821 2011-05-24  Sean Neakums  <sneakums@zork.net>  (tiny change)
823         * mail/supercite.el (sc-default-cite-frame):
824         Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
826 2011-05-24  Glenn Morris  <rgm@gnu.org>
828         * progmodes/python.el (brm-menu): Declare.
830         * emulation/viper.el (viper-set-hooks): Declare.
832         * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
833         (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
834         (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
835         (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
836         (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
837         (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
839 2011-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
841         Add an :exit-function for completion-at-point.
843         * minibuffer.el (completion--done): New fun.
844         (completion--do-completion): Use it.  New arg `expect-exact'.
845         (minibuffer-complete, minibuffer-complete-word): Don't output message,
846         since completion--do-completion does it for us now.
847         (minibuffer-force-complete): Use completion--done and
848         completion--replace.  Handle sole-completion case with more care.
849         (minibuffer-complete-and-exit): Use new `expect-exact' arg.
850         (completion-extra-properties): New var.
851         (completion-annotate-function): Make obsolete.
852         (minibuffer-completion-help): Adjust accordingly.
853         Use completion-list-insert-choice-function.
854         (completion-at-point, completion-help-at-point):
855         Bind completion-extra-properties.
856         (completion-pcm-word-delimiters): Add | (for uniquify, for example).
857         * simple.el (completion-list-insert-choice-function): New var.
858         (completion-setup-function): Preserve it.
859         (choose-completion): Pay attention to it, shuffle the code a bit.
860         (choose-completion-string): New arg `insert-function'.
862         * textmodes/bibtex.el: Convert to lexical binding.
863         (bibtex-mode-map): Use completion-at-point.
864         (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
865         (bibtex-completion-at-point-function): New fun, from bibtex-complete.
866         (bibtex-complete): Define as obsolete alias.
867         (bibtex-complete-internal): Remove.
868         (bibtex-format-entry): Remove unused sub-group in regexp.
869         * shell.el (shell--command-completion-data)
870         (shell-environment-variable-completion):
871         * pcomplete.el (pcomplete-completions-at-point):
872         * comint.el (comint--complete-file-name-data): Use :exit-function
873         instead of completion-table-with-terminator so it also works for
874         choose-completion.
876 2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
878         * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
880         * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
881         (bug#8710).
883         * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
885 2011-05-23  Ken Manheimer  <ken.manheimer@gmail.com>
887         * allout.el (allout-inhibit-auto-fill-on-headline): Create new
888         customization variable and implement: If non-nil, auto-fill will
889         be inhibited while on topic's header line.
891 2011-05-23  Vincent Belaïche  <vincentb1@users.sourceforge.net>
893         * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
894         click on. II/ Make 5x5 multisession. III/ Ensure that random grids
895         always have a solution in grid size = 5 cases.
896         (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
897         (5x5-solver-output, 5x5-log-buffer): New vars.
898         (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
899         Make these variables buffer local to achieve 5x5 multi-session-ness.
900         (5x5): Set 5x5-grid-size only if SIZE is non-negative.
901         (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
902         (5x5-solve-suggest): New funs.
903         (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
904         randomize a grid so that we ensure that there is always a solution.
905         (5x5-make-random-grid): Allow other movement than flipping.
907 2011-05-23  Kevin Ryde  <user42@zip.com.au>
909         * emacs-lisp/advice.el (ad-read-advised-function):
910         Use `function-called-at-point' as the default default, if it has
911         advice and passes PREDICATE.
913 2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
915         * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
916         byte-compile-lambda if it's actually a lambda.
918         * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
919         Fix function quoting.  Use backquote better.
921 2011-05-22  Yuanle Song  <sylecn@gmail.com>
923         * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
924         matching (Bug#8516).
926 2011-01-22  Jari Aalto  <jari.aalto@cante.net>
928         * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
929         different face (Bug#8178).
931 2011-05-22  Chong Yidong  <cyd@stupidchicken.com>
933         * vc/diff-mode.el (diff-changed): Don't use terminal specs for
934         defface (Bug#8144).
936 2011-05-22  Stefan Monnier  <monnier@iro.umontreal.ca>
938         * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
939         funcall as well (bug#8712).  Warn when performing those conversions.
940         * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
942         * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
944 2011-05-22  Glenn Morris  <rgm@gnu.org>
946         * files.el (hack-local-variables-prop-line): Small simplifications.
947         (hack-local-variables, hack-local-variables-prop-line):
948         If MODE-ONLY, return the mode, rather than just `t'.
950 2011-05-21  Stefan Monnier  <monnier@iro.umontreal.ca>
952         * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
954 2011-05-21  Glenn Morris  <rgm@gnu.org>
956         * files.el (hack-local-variables-prop-line, hack-local-variables):
957         If only interested in the mode, don't bother doing the other stuff.
959         * image-mode.el (image-after-revert-hook):
960         Redraw all frames on which the image is visible.  (Bug#8567)
962         * dired-aux.el (dired-touch-initial): Just use current-time.  (Bug#6887)
964         * wid-edit.el (widget-checklist-match-inline):
965         Fix 2011-04-19 change.  (Bug#8649)
967 2011-05-20  Stefan Monnier  <monnier@iro.umontreal.ca>
969         * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
970         Also allow singlespace after single-letter capitals followed by a dot.
972         * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
973         enabled.  Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
975 2011-05-20  Nix  <nix@esperi.org.uk>
977         * files.el (basic-save-buffer-2):
978         Fix handling of break-hardlink-on-save with non-existent files.
980 2011-05-19  Deniz Dogan  <deniz@dogan.se>
982         * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
983         (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
985 2011-05-19  Glenn Morris  <rgm@gnu.org>
987         * progmodes/f90.el (f90-type-def-re):
988         Handle "type, bind(c)".  (Bug#8691)
990         * emacs-lisp/autoload.el (batch-update-autoloads):
991         Set autoload-excludes by parsing loadup.el rather than Makefiles.
993 2011-05-18  Michael Albinus  <michael.albinus@gmx.de>
995         * net/tramp.el (tramp-process-actions): Set "first-password-request"
996         property for the correct connection in case of multihops.
998 2011-05-18  Glenn Morris  <rgm@gnu.org>
1000         * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
1001         * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
1003         Rationalize calendar handling of day and month abbrev-arrays.
1004         * calendar/calendar.el (calendar-customized-p): New function.
1005         (calendar-abbrev-construct, calendar-make-alist): Change what it does.
1006         (calendar-day-name-array, calendar-month-name-array): Doc fix.
1007         Add :set function.
1008         (calendar-abbrev-length, calendar-day-abbrev-array)
1009         (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
1010         (calendar-day-abbrev-array, calendar-month-abbrev-array):
1011         Elements may no longer be nil.
1012         (calendar-day-name, calendar-month-name):
1013         Update for changed nature of abbrev arrays.
1014         * calendar/diary-lib.el (diary-name-pattern):
1015         Update for changed nature of abbrev arrays.
1016         (diary-mark-entries-1): Update calendar-make-alist calls.
1017         (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
1018         * calendar/cal-html.el (cal-html-day-abbrev-array):
1019         Simply inherit from calendar-day-abbrev-array.
1021 2011-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
1023         * progmodes/grep.el (grep-mode): Disable default
1024         compilation-directory-matcher setting (bug#8684).
1026 2011-05-17  Michael Albinus  <michael.albinus@gmx.de>
1028         * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
1029         instead of "head" and "tail".  There were problems with SunOS 5.9,
1030         and it performs better.
1032 2011-05-17  Glenn Morris  <rgm@gnu.org>
1034         * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
1036         * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
1037         Replace obsolete function.
1039         * shell.el (pcomplete-parse-arguments-function): Declare.
1041         * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
1042         (appt-display-diary, appt-display-interval, appt-prev-comp-time)
1043         (appt-check): Doc fixes.
1044         (appt-disp-window-function, appt-delete-window-function):
1045         Remove needless special case in custom :type.
1046         (appt-display-count): Default to 0, not nil.
1047         (appt-check): Reset appt-display-count to 0, not nil.
1049 2011-05-17  Juanma Barranquero  <lekktu@gmail.com>
1051         * progmodes/python.el (python-font-lock-keywords):
1052         Add the Python 3.X keyword "nonlocal" (bug#8639).
1054 2011-05-16  Stefan Monnier  <monnier@iro.umontreal.ca>
1056         * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
1058 2011-05-16  Kevin Ryde  <user42@zip.com.au>
1060         * info-look.el (makefile-automake-mode): New setups, looking in
1061         automake manual, then makefile-mode.
1062         (makefile-mode): Remove automake manual, have it just in
1063         makefile-automake-mode since there's various things different or
1064         not relevant to plain make.
1065         (makefile-mode): Remove "other-modes" non-existent automake-mode,
1066         believe a hypothetical automake-mode would go to makefile-mode,
1067         not the other way around.
1069 2011-05-15  Chong Yidong  <cyd@stupidchicken.com>
1071         * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
1072         hunk-end tags (Bug#8672).
1074         * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
1075         vc-annotate-show-diff-revision-at-line (Bug#8671).
1077 2011-05-14  Glenn Morris  <rgm@gnu.org>
1079         * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
1080         in the middle of an existing one with multiple authors.  (Bug#8645)
1081         (change-log-font-lock-keywords): Also handle multiple author lines
1082         with leading tabs.  (Bug#8644)
1084         * calendar/appt.el (appt-check): Rename some local variables.
1085         Some simplification/reordering.
1087         * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
1088         (feedmail-sendmail-f-doesnt-sell-me-out)
1089         (feedmail-queue-slug-suspect-regexp, feedmail-debug)
1090         (feedmail-debug-sit-for, feedmail-queue-express-hook)
1091         (feedmail-queue-runner-message-sender): Set :version.
1092         (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
1093         (bbdb-dwim-net-address, vm-mail): Declare.
1094         (feedmail-binmail-gnulinuxish-template):
1095         Rename from feedmail-binmail-linuxish-template.
1096         (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
1097         Use insert-buffer-substring.
1099 2011-05-14  Bill Carpenter  <bill@carpenter.org>
1101         * mail/feedmail.el (feedmail-patch-level): Increase.
1102         (feedmail-debug): New custom group.
1103         (feedmail-confirm-outgoing-timeout)
1104         (feedmail-sendmail-f-doesnt-sell-me-out)
1105         (feedmail-queue-slug-suspect-regexp, feedmail-debug)
1106         (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
1107         (feedmail-sender-line, feedmail-from-line)
1108         (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
1109         (feedmail-spray-this-address)
1110         (feedmail-spray-address-fiddle-plex-list)
1111         (feedmail-queue-use-send-time-for-date)
1112         (feedmail-queue-use-send-time-for-message-id)
1113         (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
1114         (feedmail-buffer-eating-function):
1115         Doc fixes.
1116         (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
1117         (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
1118         (feedmail-message-action-scroll-down): New functions.
1119         (feedmail-queue-directory, feedmail-queue-draft-directory):
1120         Use expand-file-name.
1121         (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
1122         Remove C-v help entry.
1123         (feedmail-queue-buffer-file-name): New variable.
1124         (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
1125         (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
1126         (feedmail-message-action-send-strong, feedmail-message-action-edit)
1127         (feedmail-message-action-draft, feedmail-message-action-draft-strong)
1128         (feedmail-message-action-queue, feedmail-message-action-queue-strong)
1129         (feedmail-message-action-toggle-spray)
1130         (feedmail-run-the-queue-no-prompts)
1131         (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
1132         (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
1133         (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
1134         (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
1135         (feedmail-envelope-deducer, feedmail-fiddle-from)
1136         (feedmail-fiddle-sender, feedmail-default-date-generator)
1137         (feedmail-fiddle-date, feedmail-fiddle-message-id)
1138         (feedmail-fiddle-spray-address)
1139         (feedmail-fiddle-list-of-spray-fiddle-plexes)
1140         (feedmail-fiddle-list-of-fiddle-plexes)
1141         (feedmail-fill-to-cc-function, feedmail-fill-this-one)
1142         (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
1143         (feedmail-queue-runner-message-sender, feedmail-binmail-template):
1144         Change default.  Doc fix.
1145         (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
1146         (feedmail-binmail-linuxish-template): New constant.
1147         (feedmail-buffer-to-sendmail): Doc fix.  Add debug call.
1148         Respect feedmail-sendmail-f-doesnt-sell-me-out.
1149         (feedmail-send-it): Add debug call.
1150         Use feedmail-queue-buffer-file-name, and
1151         feedmail-send-it-immediately-wrapper.
1152         (feedmail-message-action-send): Add debug call.
1153         Use feedmail-send-it-immediately-wrapper.
1154         (feedmail-queue-express-to-queue): Add debug call.
1155         Run feedmail-queue-express-hook.
1156         (feedmail-message-action-help): Add debug call.  Use feedmail-p-h-b-n.
1157         (feedmail-message-action-help-blat):
1158         Rename from feedmail-queue-send-edit-prompt-help-first.
1159         (feedmail-run-the-queue): Add debug call.  Set buffer-file-type.
1160         Check line-endings.  Handle errors better.
1161         (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
1162         Doc fix.  Add debug call.
1163         (feedmail-queue-send-edit-prompt): Doc fix.  Add debug call.
1164         Use feedmail-queue-send-edit-prompt-inner.
1165         (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
1166         (feedmail-queue-send-edit-prompt-inner): New function, extracted
1167         from feedmail-queue-send-edit-prompt.
1168         (feedmail-queue-send-edit-prompt-help)
1169         (feedmail-queue-send-edit-prompt-help-later): Remove functions.
1170         (feedmail-tidy-up-slug): Add debug call.
1171         Respect feedmail-queue-slug-suspect-regexp.
1172         (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
1173         (feedmail-dump-message-to-queue): Add debug call.
1174         Expand queue-directory.
1175         (feedmail-dump-message-to-queue): Change message slightly.
1176         Use feedmail-say-chatter.
1177         (feedmail-rfc822-date): Add debug call.  Bind system-time-locale.
1178         (feedmail-send-it-immediately-wrapper): New function.
1179         (feedmail-send-it-immediately): Add debug calls.  Use let not let*.
1180         Insert empty string rather than newline.  Handle full-frame case.
1181         Use catch/throw.  Use feedmail-say-chatter.
1182         (feedmail-fiddle-from): Try mail-host-address.
1183         (feedmail-default-message-id-generator): Doc fix.
1184         Bind system-time-locale.  Handle missing end.
1185         (feedmail-fiddle-x-mailer): Add debug call.
1186         Handle feedmail-x-mailer-line being nil.
1187         (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
1188         Add debug call.  Use buffer-substring-no-properties.
1189         (feedmail-say-debug, feedmail-say-chatter): New functions.
1190         (feedmail-find-eoh): Give an explicit error.
1192 2011-05-13  Ulf Jasper  <ulf.jasper@web.de>
1194         * net/newst-treeview.el (newsticker-treeview-face): Change default
1195         family from helvetica to sans.
1196         (newsticker-treeview-tool-bar-map): Move tool-bar icons to
1197         etc/images/newsticker.
1199         * net/newst-reader.el (newsticker-feed-face): Change default
1200         family from helvetica to sans.
1202         * net/newst-plainview.el (newsticker-new-item-face)
1203         (newsticker-old-item-face, newsticker-immortal-item-face)
1204         (newsticker-obsolete-item-face, newsticker-date-face)
1205         (newsticker-statistics-face): Change default family from
1206         helvetica to sans.
1207         (newsticker--plainview-tool-bar-map): Move tool-bar icons to
1208         etc/images/newsticker.
1210         * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
1211         (newsticker--process-auto-mark-filter-match): : Tell user about
1212         auto-marking.
1214 2011-05-13  Didier Verna  <didier@xemacs.org>
1216         Common Lisp indentation improvements on defmethod and lambda-lists.
1217         * cl-indent.el: Advertise the changes and remove obsolete TODO entries.
1218         (lisp-lambda-list-keyword-parameter-indentation)
1219         (lisp-lambda-list-keyword-parameter-alignment)
1220         (lisp-lambda-list-keyword-alignment): New customizable user options.
1221         (lisp-indent-defun-method): Improve docstring.
1222         (extended-loop-p): Fix comment.
1223         (lisp-indent-lambda-list-keywords-regexp): New variable.
1224         (lisp-indent-lambda-list): New function.
1225         (lisp-indent-259): Use it.
1226         (lisp-indent-defmethod): Support for more than one
1227         method qualifier and properly indent methods lambda-lists.
1228         (defgeneric): Provide a missing common-lisp-indent-function property.
1230 2011-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
1232         * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
1233         bounds for the empty string (bug#8667).
1235 2011-05-13  Glenn Morris  <rgm@gnu.org>
1237         * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
1239         * mail/sendmail.el (sendmail-program): Try executable-find first.
1240         (sendmail-send-it): `sendmail-program' cannot be unbound.
1242         * calendar/appt.el (appt-make-list): Simplify.
1243         (appt-time-msg-list): Doc fix.
1244         (appt-check): Change mode-line message at the time of the appointment.
1246 2011-05-12  Andreas Schwab  <schwab@linux-m68k.org>
1248         * progmodes/ld-script.el (ld-script-keywords)
1249         (ld-script-builtins): Update keywords list.
1251 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
1253         * progmodes/grep.el (grep-filter): Don't trip on partial lines.
1255         * shell.el (shell-completion-vars): New function.
1256         (shell-mode):
1257         * simple.el (read-shell-command): Use it.
1258         (blink-matching-open): No need for " [...]" in minibuffer-message.
1260 2011-05-12  Glenn Morris  <rgm@gnu.org>
1262         * calendar/appt.el (appt-now-displayed): Remove pointless variable.
1263         (appt-check): Simplify.
1265 2011-05-12  Eli Zaretskii  <eliz@gnu.org>
1267         * smerge-mode.el (smerge-resolve): Use null-device rather than a
1268         literal "/dev/null".
1270 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
1272         * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
1273         Fix typo.
1275 2011-05-12  Ralph Schleicher  <rs@ralph-schleicher.de>
1277         * progmodes/which-func.el (which-function):
1278         Use add-log-current-defun instead of add-log-current-defun-function,
1279         which might not be defined (Bug#8260).
1281 2011-05-12  Glenn Morris  <rgm@gnu.org>
1283         * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
1284         Let byte-compile-initial-macro-environment always take precedence.
1286 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
1288         * net/rcirc.el: Add support for SSL/TLS connections.
1289         (rcirc-server-alist): New field `encryption'.
1290         (rcirc): Check `encryption' settings.
1291         (rcirc-connect): New arg `encryption'.  Use open-network-stream.
1292         Merge make-local-variable into `set'.
1293         (rcirc--connection-open-p): New function.
1294         (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
1295         the process is not a network process (e.g. running gnutls-cli).
1296         (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
1297         Make rcirc-(en|de)code-coding-system local here.
1298         (rcirc-mode): Merge make-local-variable into `set'.
1299         (rcirc-parent-buffer): Make permanent buffer-local.
1300         (rcirc-multiline-minor-mode): Don't do it here.
1301         (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
1302         there's no server buffer.
1304 2011-05-11  Glenn Morris  <rgm@gnu.org>
1306         * newcomment.el (comment-kill): Prefix "unused" local.
1308         * term/w32console.el (get-screen-color): Declare.
1310         * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
1311         Handle symbol elements of byte-compile-initial-macro-environment.
1313 2011-05-10  Leo Liu  <sdl.web@gmail.com>
1315         * bookmark.el (bookmark-bmenu-mode-map):
1316         Bind bookmark-bmenu-search to `/'.
1318         * mail/footnote.el: Convert to utf-8 encoding.
1319         (footnote-unicode-string, footnote-unicode-regexp): New variable.
1320         (Footnote-unicode): New function.
1321         (footnote-style-alist): Add unicode style to the list.
1322         (footnote-style): Doc fix.
1324 2011-05-10  Jim Meyering  <meyering@redhat.com>
1326         Fix doubled-word typos.
1327         * international/quail.el (quail-insert-kbd-layout): and and -> and
1328         * kermit.el: and and -> and
1329         * net/ldap.el (ldap-search-internal): to to -> to
1330         * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
1331         * progmodes/js.el (js-mode): and and -> and
1332         * textmodes/artist.el (artist-move-to-xy): at at -> at
1333         (artist-draw-region-trim-line-endings): if if -> if
1334         And Safetyc -> Safety.
1335         * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
1337 2011-05-10  Glenn Morris  <rgm@gnu.org>
1338             Stefan Monnier  <monnier@iro.umontreal.ca>
1340         * files.el (hack-one-local-variable-eval-safep):
1341         Consider "eval: (foo-mode)" to be safe.  (Bug#8613)
1343 2011-05-10  Glenn Morris  <rgm@gnu.org>
1345         * calendar/diary-lib.el (diary-list-entries-hook)
1346         (diary-mark-entries-hook, diary-nongregorian-listing-hook)
1347         (diary-nongregorian-marking-hook, diary-list-entries)
1348         (diary-include-other-diary-files, diary-mark-entries)
1349         (diary-mark-included-diary-files): Doc fixes.
1351 2011-05-09  Juanma Barranquero  <lekktu@gmail.com>
1353         * misc.el: Require tabulated-list.el during compilation.
1355 2011-05-09  Chong Yidong  <cyd@stupidchicken.com>
1357         * progmodes/compile.el (compilation-start):
1358         Run compilation-filter-hook for the async case too.
1359         (compilation-filter-hook): Doc fix.
1361 2011-05-09  Deniz Dogan  <deniz@dogan.se>
1363         * wdired.el: Remove outdated installation comment.  Fix usage
1364         comment.
1366 2011-05-09  Juanma Barranquero  <lekktu@gmail.com>
1368         * misc.el: Implement new command `list-dynamic-libraries'.
1369         (list-dynamic-libraries--loaded-only-p): New variable.
1370         (list-dynamic-libraries--refresh): New function.
1371         (list-dynamic-libraries): New command.
1373 2011-05-09  Chong Yidong  <cyd@stupidchicken.com>
1375         * progmodes/compile.el (compilation-error-regexp-alist-alist):
1376         Fix the ant regexp to handle end-line and end-column info from jikes.
1377         Re-introduce maven regexp.  Give the ruby-Test::Unit regexp a
1378         higher priority to avoid clobbering by gnu.
1380 2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
1382         * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
1383         if the face has existing theme settings (Bug#8454).
1385 2011-05-08  Ralph Schleicher  <rs@ralph-schleicher.de>
1387         * progmodes/perl-mode.el (perl-imenu-generic-expression):
1388         Only match variables declared via `my' or `our' (Bug#8261).
1390         * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
1391         special file names `.' and `..' (Bug#8259).
1393 2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
1395         * progmodes/grep.el (grep-mode-font-lock-keywords):
1396         Remove buffer-changing entries.
1397         (grep-filter): New function.
1398         (grep-mode): Add it to compilation-filter-hook.
1400         * progmodes/compile.el (compilation-filter-hook)
1401         (compilation-filter-start): New defvars.
1402         (compilation-filter): Call compilation-filter-hook prior to
1403         updating the process mark.
1405 2011-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1407         * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
1409 2011-05-07  Eli Zaretskii  <eliz@gnu.org>
1411         * mail/sendmail.el (send-mail-function): On MS-Windows, default to
1412         mailclient-send-it even if window-system is nil.  (Bug#8595)
1414         * term/w32console.el (terminal-init-w32console):
1415         Call get-screen-color and use its output to set the frame
1416         background-mode.  (Bug#8597)
1418 2011-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
1420         Make bytecomp.el understand that defmethod defines funs (bug#8631).
1421         * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
1422         New functions.
1423         (defgeneric, eieio--defmethod): Use them.
1424         (eieio-defgeneric): Remove.
1425         (defmethod): Call defgeneric in a way visible to the byte-compiler.
1427 2011-05-07  Glenn Morris  <rgm@gnu.org>
1429         * calendar/timeclock.el (timeclock-log-data): Remove unused local.
1430         Use let rather than let*.
1431         (timeclock-find-discrep): Remove unused local.
1433         * calendar/diary-lib.el (diary-comment-start): Doc fix.
1435         * calendar/appt.el (appt-time-msg-list): Doc fix.
1437 2011-05-06  Noah Friedman  <friedman@splode.com>
1439         * apropos.el (apropos-print-doc): Only use
1440         emacs-lisp-docstring-fill-column when it is bound to an integer,
1441         per that variable's documentation.
1443 2011-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
1445         * lpr.el (print-region-1): Echo lpr-program's output, so error messages
1446         and warnings are not silently discarded (e.g. use -d instead of -P).
1448 2011-05-06  Glenn Morris  <rgm@gnu.org>
1450         * calendar/appt.el (appt-message-warning-time): Doc fix.
1451         (appt-warning-time-regexp): New option.
1452         (appt-make-list): Respect appt-message-warning-time.
1454         * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
1455         New options.
1456         (diary-add-to-list): Strip comments from the displayed string.
1457         (diary-mode): Set comment-start and comment-end.
1459         * vc/diff-mode.el (smerge-refine-subst): Declare.
1460         (diff-refine-hunk): Don't require smerge-mode when compiling.
1462 2011-05-06  Juanma Barranquero  <lekktu@gmail.com>
1464         * simple.el (list-processes): Return nil as the docstring says.
1466 2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
1468         * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
1469         to "".
1470         (ange-ftp-write-region, ange-ftp-insert-file-contents)
1471         (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
1472         determining of binary transfer.  (Bug#7383)
1474 2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
1476         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
1477         Fix port computation bug.  (Bug#8618)
1479 2011-05-05  Glenn Morris  <rgm@gnu.org>
1481         * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
1483         * simple.el (shell-dynamic-complete-functions)
1484         (comint-dynamic-complete-functions): Declare.
1486         * net/network-stream.el (gnutls-negotiate):
1487         * simple.el (tabulated-list-print): Fix declarations.
1489         * progmodes/gud.el (syntax-symbol, syntax-point):
1490         Remove unnecessary and incorrect declarations.
1492         * emacs-lisp/check-declare.el (check-declare-scan):
1493         Handle byte-compile-initial-macro-environment in bytecomp.el
1495 2011-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
1497         Fix earlier half-done eieio-defmethod change (bug#8338).
1498         * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
1499         Streamline and change calling convention.
1500         (defmethod): Adjust accordingly and simplify.
1501         (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
1502         new eieio--defmethod.
1503         (slot-boundp): Minor CSE simplification.
1505 2011-05-05  Milan Zamazal  <pdm@zamazal.org>
1507         * progmodes/glasses.el (glasses-separate-capital-groups): New option.
1508         (glasses-make-readable): Use glasses-separate-capital-groups.
1510 2011-05-05  Juanma Barranquero  <lekktu@gmail.com>
1512         * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
1513         (warning-series): Doc fix.
1514         (display-warning): Don't try to create the buffer if we just found it.
1516 2011-05-04  Chong Yidong  <cyd@stupidchicken.com>
1518         * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
1519         (autoload-find-generated-file): New function.
1520         (generate-file-autoloads): Bind generated-autoload-file to
1521         buffer-file-name.
1522         (update-file-autoloads, update-directory-autoloads):
1523         Use autoload-find-generated-file.  If called interactively, prompt for
1524         output file (Bug#7989).
1525         (batch-update-autoloads): Doc fix.
1527 2011-05-04  Juanma Barranquero  <lekktu@gmail.com>
1529         * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
1531 2011-05-04  Glenn Morris  <rgm@gnu.org>
1533         * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
1534         function, so it follows changes in calendar-date-style.
1535         (diary-fancy-date-matcher): New function.
1536         (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
1537         (diary-fancy-font-lock-fontify-region-function):
1538         Use diary-fancy-date-pattern as a function.
1540         * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
1541         non-numbers for `year' etc pseudo-variables.  (Bug#8583)
1543 2011-05-04  Teodor Zlatanov  <tzz@lifelogs.com>
1545         * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
1546         instead of positional arguments.  Allow :keylist and :crlfiles
1547         arguments.
1548         (open-gnutls-stream): Call it.
1550         * net/network-stream.el (network-stream-open-starttls): Adjust to
1551         call `gnutls-negotiate' with :process and :hostname arguments.
1553 2011-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
1555         * minibuffer.el (completion--message): New function.
1556         (completion--do-completion, minibuffer-complete)
1557         (minibuffer-force-complete, minibuffer-complete-word): Use it.
1558         (completion--do-completion): Don't ignore completion-auto-help when in
1559         icomplete-mode.
1561         * whitespace.el (whitespace-trailing-regexp): Don't rely on the
1562         internal encoding (e.g. tibetan zero is not whitespace).
1563         (global-whitespace-mode): Prefer save-current-buffer.
1564         (whitespace-trailing-regexp): Remove useless save-match-data.
1565         (whitespace-empty-at-bob-regexp): Minor simplification.
1567 2011-05-03  Chong Yidong  <cyd@stupidchicken.com>
1569         * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
1571 2011-05-03  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
1573         * textmodes/ispell.el (ispell-add-per-file-word-list):
1574         Use `concat' to create string for insertion.
1576 2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
1578         * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
1579         Avoid open-line which runs post-self-insert-hook.
1580         (bibtex-fill-entry): Remove unused `end' var.
1582 2011-05-03  Dirk Ullrich  <dirk.ullrich@googlemail.com>  (tiny change)
1584         * textmodes/ispell.el (ispell-add-per-file-word-list):
1585         Protect against `nil' value of `comment-start' (Bug#8579).
1587 2011-05-03  Leo Liu  <sdl.web@gmail.com>
1589         * isearch.el (isearch-yank-pop): New command.
1590         (isearch-mode-map): Bind it to `M-y'.
1591         (isearch-forward): Mention it.
1593 2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
1595         * simple.el (minibuffer-complete-shell-command): Remove.
1596         (minibuffer-local-shell-command-map): Use completion-at-point.
1597         (read-shell-command): Setup completion vars here instead.
1598         (read-expression-map): Bind TAB to symbol completion.
1600         * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
1601         error directly rather via storing it into `results'.
1603 2011-05-02  Leo Liu  <sdl.web@gmail.com>
1605         * vc/diff.el: Fix description.
1607 2011-05-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1609         * server.el (server-eval-at): New function.
1611 2011-05-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1613         * net/network-stream.el (open-network-stream): Take a :nowait
1614         parameter and pass it on to `make-network-process'.
1615         (network-stream-open-plain): Ditto.
1617 2011-04-30  Andreas Schwab  <schwab@linux-m68k.org>
1619         * faces.el (face-spec-set-match-display): Don't match toolkit
1620         options on terminal frames.
1622 2011-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
1624         * progmodes/pascal.el: Use lexical binding.
1625         (pascal-mode-map): Remove author preferences.
1627         * pcomplete.el (pcomplete-std-complete): Don't abuse
1628         completion-at-point.
1630 2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
1632         * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
1633         removing code that has been dead since 1991 or so.
1635         * startup.el (command-line): When warning about "_emacs", use a
1636         delayed warning to allow the user to filter it out.
1638 2011-04-28  Deniz Dogan  <deniz@dogan.se>
1640         * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
1641         user has not joined.
1643 2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1645         * pcomplete.el (pcomplete-completions-at-point): Return nil if there
1646         aren't any completions at point.
1648 2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
1650         * subr.el (display-delayed-warnings): New function.
1651         (delayed-warnings-hook): New variable.
1653 2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1655         * minibuffer.el (completion-at-point, completion-help-at-point):
1656         Don't presume that a given completion-at-point-function will always
1657         use the same calling convention.
1659         * pcomplete.el (pcomplete-completions-at-point):
1660         Obey pcomplete-ignore-case.  Don't call pcomplete-norm-func unless
1661         pcomplete-seen is non-nil.
1662         (pcomplete-comint-setup): Also recognize the new comint/shell
1663         completion functions.
1664         (pcomplete-do-complete): Don't call pcomplete-norm-func unless
1665         pcomplete-seen is non-nil.
1667 2011-04-27  Niels Giesen  <niels.giesen@gmail.com>
1669         * calendar/icalendar.el (diary-lib): Add require statement.
1670         (icalendar--create-uid): Read out a uid from a text-property on
1671         the first character in the entry.  This allows for code to add its
1672         own uid to the entry.
1673         (icalendar--convert-float-to-ical): Add export of
1674         `diary-float'-entries save for those with the optional DAY
1675         argument.
1677 2011-04-27  Daniel Colascione  <dan.colascione@gmail.com>
1679         * subr.el (shell-quote-argument): Use alternate escaping strategy
1680         when we spot a variable reference in a string.
1682 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
1684         * cus-start.el (all): Define customization for debug-on-event.
1686 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
1688         * subr.el (shell-quote-argument): Escape correctly under Windows.
1690 2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
1692         * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
1694 2011-04-25  Michael Albinus  <michael.albinus@gmx.de>
1696         * net/tramp.el (tramp-process-actions): Add POS argument.
1697         Delete region between POS and (pos).
1699         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
1700         Use `nil' position in `tramp-process-actions' call.
1701         (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
1703         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
1704         position in `tramp-process-actions' call.
1706         * net/trampver.el: Update release number.
1708 2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
1710         * custom.el (defcustom): Obey lexical-binding.
1712         Fix octave-inf completion problems reported by Alexander Klimov.
1713         * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
1714         Inherit from octave-mode-syntax-table.
1715         (inferior-octave-mode): Set info-lookup-mode.
1716         (inferior-octave-completion-at-point): New function.
1717         (inferior-octave-complete): Use it and completion-in-region.
1718         (inferior-octave-dynamic-complete-functions): Use it as well, and use
1719         comint-filename-completion.
1720         * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
1721         symbol elements which shouldn't be word elements.
1722         (octave-font-lock-keywords, octave-beginning-of-defun)
1723         (octave-function-header-regexp): Adjust regexps accordingly.
1724         (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
1726 2011-04-25  Juanma Barranquero  <lekktu@gmail.com>
1728         * net/gnutls.el (gnutls-errorp): Declare before first use.
1730 2011-04-24  Teodor Zlatanov  <tzz@lifelogs.com>
1732         * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
1733         verify-error, and verify-hostname-error parameters.  Check whether
1734         default trustfile exists before going to use it.  Add missing
1735         argument to gnutls-message-maybe call.  Return return value.
1736         Reported by Claudio Bley <claudio.bley@gmail.com>.
1737         (open-gnutls-stream): Add usage example.
1739         * net/network-stream.el (network-stream-open-starttls): Give host
1740         parameter to `gnutls-negotiate'.
1741         (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
1742         * subr.el (shell-quote-argument): Escape correctly under Windows.
1744 2011-04-24  Daniel Colascione  <dan.colascione@gmail.com>
1746         * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
1747         Use correct match group (bug#8438).
1749 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
1751         * emacs-lisp/package.el (package-built-in-p): Fix typo.
1752         (package-menu--generate): New arg specifying packages to show.
1753         (package-menu-refresh, package-menu-execute, list-packages):
1754         Callers changed.
1755         (package-show-package-list): New function, replacing deleted
1756         package--list-packages (renamed because it is non-internal).
1758         * finder.el (finder-list-matches): Use package-show-package-list
1759         instead of deleted package--list-packages.
1761         * vc/vc-annotate.el (vc-annotate-goto-line): New command.
1762         Based on a previous implementation by Juanma Barranquero (Bug#8366).
1763         (vc-annotate-mode-map): Bind it to RET.
1765 2011-04-24  Uday S Reddy  <u.s.reddy@cs.bham.ac.uk>  (tiny change)
1767         * progmodes/etags.el (next-file): Don't use set-buffer to change
1768         buffers (Bug#8478).
1770 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
1772         * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
1774         * apropos.el (apropos-label-face): Avoid variable-pitch face.
1775         (apropos-accumulator): Doc fix.
1776         (apropos-function, apropos-macro, apropos-command)
1777         (apropos-variable, apropos-face, apropos-group, apropos-widget)
1778         (apropos-plist): Add face property.
1779         (apropos-symbols-internal): Fix indentation.
1780         (apropos-print): Simplify help, and recognize apropos-multi-type.
1781         (apropos-print-doc): Use button-type-get to extract the button's
1782         face property.  Fill docstring (Bug#8352).
1784 2011-04-23  Juanma Barranquero  <lekktu@gmail.com>
1786         * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
1788         * play/mpuz.el (mpuz-silent): Doc fix.
1789         (mpuz-mode-map): Use mapc.
1790         (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
1791         (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
1792         Fix typos in docstrings.
1794         * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
1795         (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
1797         * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
1799 2011-04-23  Chong Yidong  <cyd@stupidchicken.com>
1801         * minibuffer.el (completion--do-completion): Avoid the "Next char
1802         not unique" prompt if icomplete-mode is enabled (Bug#5849).
1804         * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
1805         mouse-2 into unread-command-events, it is interpreted correctly.
1807         * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
1808         (image-toggle-display): Doc fix.
1810 2011-04-23  Stephen Berman  <stephen.berman@gmx.net>
1812         * textmodes/page.el (what-page): Use line-number-at-pos to
1813         calculate line number (Bug#6825).
1815 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
1817         * eshell/esh-mode.el (find-tag-interactive): Declare function.
1818         (eshell-find-tag): Remove `with-no-warnings', unneeded now.
1819         Pass argument NO-DEFAULT to `find-tag-interactive'.
1821 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
1823         Lexical-binding cleanup.
1825         * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
1826         (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
1827         * progmodes/ada-prj.el (ada-prj-initialize-values)
1828         (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
1829         (ada-prj-show-value):
1830         * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
1831         * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
1832         (antlr-invalidate-context-cache, antlr-options-menu-filter)
1833         (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
1834         * progmodes/bug-reference.el (bug-reference-push-button):
1835         * progmodes/fortran.el (fortran-line-length):
1836         * progmodes/glasses.el (glasses-change):
1837         * progmodes/octave-mod.el (octave-fill-paragraph):
1838         * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
1839         (python-pdbtrack-grub-for-buffer, python-sentinel):
1840         * progmodes/sql.el (sql-save-connection):
1841         * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
1842         * progmodes/xscheme.el (xscheme-enter-debugger-mode):
1843         Mark unused parameters.
1845         * progmodes/compile.el (compilation--flush-directory-cache)
1846         (compilation--flush-parse, compile-internal): Mark unused parameters.
1847         (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
1848         (compilation-next-error-function): Remove unused variable `timestamp'.
1850         * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
1851         (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
1853         * progmodes/dcl-mode.el (dcl-end-of-command):
1854         Remove unused variable `start'.
1855         (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
1856         (dcl-option-value-basic, dcl-option-value-offset)
1857         (dcl-option-value-margin-offset, dcl-option-value-comment-line):
1858         Mark unused parameters.
1859         (dcl-save-local-variable): Remove unused variable `val'.
1860         (mode): Declare.
1862         * progmodes/delphi.el (delphi-save-state, delphi-after-change):
1863         Mark unused parameters.
1864         (delphi-ignore-changes): Move before first use.
1865         (delphi-charset-token-at): Remove unused variable `start'.
1866         (delphi-else-start): Remove unused variable `if-count'.
1867         (delphi-comment-block-start, delphi-comment-block-end):
1868         Remove unused variable `kind'.
1869         (delphi-indent-line): Remove unused variable `new-point'.
1871         * progmodes/ebrowse.el (ebrowse-files-list)
1872         (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
1873         Mark unused parameters.  Don't quote `lambda'.
1874         (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
1875         Don't quote `lambda'.
1876         (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
1877         (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
1878         (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
1879         (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
1880         Use `ignore-errors'.
1881         (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
1882         (ebrowse-view/find-file-and-search-pattern)
1883         (ebrowse-view/find-member-declaration/definition):
1884         Rename parameter TAGS-FILE-NAME to TAGS-FILE.
1885         (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
1886         Rename parameter PREFIX-ARG to PREFIX.
1887         (ebrowse-tags-read-name): Remove unused variables `start' and
1888         `member-info'.
1889         (ebrowse-display-member-buffer): Rename variable `tags-file-name'
1890         to `tags-file'.
1892         * progmodes/etags.el (local-find-tag-hook): Declare.
1893         (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
1894         Mark unused parameters.
1896         * progmodes/executable.el (compilation-error-regexp-alist): Declare.
1897         (executable-interpret): Mark unused parameter.
1899         * progmodes/flymake.el (flymake-process-sentinel)
1900         (flymake-after-change-function)
1901         (flymake-create-temp-with-folder-structure)
1902         (flymake-get-include-dirs-dot): Mark unused parameters.
1903         (flymake-safe-delete-directory): Remove unused variable `err'.
1905         * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
1906         (speedbar-timer-fn, speedbar-line-text)
1907         (speedbar-change-expand-button-char, speedbar-delete-subblock)
1908         (speedbar-center-buffer-smartly): Declare functions.
1909         (gdb-find-watch-expression): Remove unused variable `array'.
1910         (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
1911         (gdb-starting): Mark unused parameters.
1912         (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
1913         (gdb-table-string): Remove unused variable `res'.
1914         (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
1915         (gdb-disassembly-handler-custom): Remove unused variable `pos'.
1916         (gdb-display-buffer): Remove unused variable `cur-size'.
1918         * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
1919         allow lexical-binding compilation.
1920         (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
1921         (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
1922         (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
1923         Mark unused parameters.
1924         (gud-gdb-marker-filter): Remove unused variable `match'.
1925         (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
1926         lambda expressions and funcall them, instead of using `fset'.
1928         * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
1929         HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
1931         * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
1932         variable `header-beg'; use `let'.
1934         * progmodes/icon.el (indent-icon-exp): Remove unused variables
1935         `restart', `last-sexp' and `at-do'.
1937         * progmodes/js.el (js--debug): Mark unused parameter.
1938         (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
1939         (js--splice-into-items): Remove unused variable `item'.
1940         (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
1942         * progmodes/make-mode.el (makefile-make-font-lock-keywords):
1943         Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
1944         (makefile-complete): Remove unused variable `try'.
1945         (makefile-fill-paragraph, makefile-match-function-end):
1946         Mark unused parameters.
1948         * progmodes/octave-inf.el (inferior-octave-complete):
1949         Remove unused variable `proc'.
1950         (inferior-octave-output-digest): Mark unused parameter.
1952         * progmodes/perl-mode.el (perl-calculate-indent):
1953         Remove unused variable `err'.
1955         * progmodes/prolog.el (prolog-mode-keybindings-inferior)
1956         (prolog-indent-line): Mark unused parameters.
1957         (prolog-indent-line): Remove unused variable `beg'.
1959         * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
1960         (reporter-dont-compact-list): Declare.
1962         * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
1963         Remove unused variable `char'.
1964         (sh-debug): Mark unused parameter.
1965         (sh-get-indent-info): Remove unused variable `start'.
1966         (sh-calculate-indent): Remove unused variable `var'.
1968         * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
1969         (simula-electric-keyword): Remove unused variable `null'.
1970         (simula-search-backward, simula-search-forward): Remove unused
1971         variables `begin' and `end'.
1973         * progmodes/vera-mode.el (vera-guess-basic-syntax):
1974         Remove unused variable `pos'.
1975         (vera-electric-tab, vera-comment-uncomment-region):
1976         Mark unused parameters.
1977         (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
1979 2011-04-22  Chong Yidong  <cyd@stupidchicken.com>
1981         * emacs-lisp/package.el (package--builtins, package-alist)
1982         (package-load-descriptor, package-built-in-p, package-activate)
1983         (define-package, package-installed-p)
1984         (package-compute-transaction, package-buffer-info)
1985         (package--push): Doc fix.  Distinguish more clearly between
1986         version strings and version lists.
1988 2011-04-21  Juanma Barranquero  <lekktu@gmail.com>
1990         Lexical-binding cleanup.
1992         * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
1993         (5x5-make-mutate-best):
1994         * play/fortune.el (fortune-in-buffer):
1995         * play/gomoku.el (gomoku-init-display):
1996         * play/solitaire.el (solitaire, solitaire-do-check):
1997         * play/tetris.el (tetris-default-update-speed-function):
1998         Mark unused parameters.
2000         * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
2001         (bubbles--shift): Remove unused variable `char-org'.
2002         (bubbles--set-faces): Remove unused variable `fg-col'.  Simplify.
2003         (bubbles--show-images): Remove unused variable `char'.
2005         * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
2006         (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
2007         (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
2008         (decipher-analyze-buffer): Use ?\s.
2009         (decipher-make-checkpoint): Remove unused variable `mapping'.
2011         * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
2013         * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
2014         Remove unused variable `result'; use `let'.
2016         * play/gametree.el (gametree-current-layout, gametree-apply-layout):
2017         Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
2018         (gametree-children-shown-p, gametree-compute-reduced-score):
2019         Use `ignore-errors'.
2021         * play/handwrite.el (ps-lpr-switches): Declare.
2022         (handwrite): Remove unused variables `pmin' and `lastp'.
2024         * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
2026         * play/landmark.el (landmark-init-display)
2027         (landmark-update-naught-weights): Mark unused parameters.
2028         (landmark-y): Remove unused variable `noise'.  Simplify.
2029         (landmark-human-plays): Remove unused variable `score'.
2031         * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
2032         (mpuz-try-proposal): Remove unused variable `game'.
2034         * play/zone.el (life-patterns): Declare.
2036 2011-04-20  Juanma Barranquero  <lekktu@gmail.com>
2038         * vc/vc.el (ediff-vc-internal): Declare function.
2040 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
2042         * shell.el: Use lexical-binding and std completion UI.
2043         (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
2044         (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
2045         comint-preoutput-filter-functions rather than on
2046         comint-output-filter-functions.
2047         (shell-command-completion, shell--command-completion-data)
2048         (shell-filename-completion, shell-environment-variable-completion)
2049         (shell-c-a-p-replace-by-expanded-directory): New functions.
2050         (shell-dynamic-complete-functions, shell-dynamic-complete-command)
2051         (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
2052         (shell-dynamic-complete-environment-variable): Use them.
2053         (shell-dynamic-complete-as-environment-variable)
2054         (shell-dynamic-complete-as-command): Remove.
2055         (shell-match-partial-variable): Match past point.
2056         * comint.el: Clean up use of completion-at-point-functions.
2057         (comint-completion-at-point): New function.
2058         (comint-mode): Use it completion-at-point-functions.
2059         (comint-dynamic-complete): Make it obsolete.
2060         (comint-replace-by-expanded-history-before-point): Add dry-run arg.
2061         (comint-c-a-p-replace-by-expanded-history): New function.
2062         (comint-dynamic-complete-functions)
2063         (comint-replace-by-expanded-history): Use it.
2064         * minibuffer.el (completion-table-with-terminator): Allow dynamic
2065         termination strings.  Try harder to avoid second try-completion.
2066         (completion-in-region-mode-map): Disable bindings that don't work yet.
2068         * comint.el: Use lexical-binding.  Require CL.
2069         (comint-dynamic-complete-functions): Use comint-filename-completion.
2070         (comint-completion-addsuffix): Tweak custom type.
2071         (comint-filename-completion, comint--common-suffix)
2072         (comint--common-quoted-suffix, comint--table-subvert)
2073         (comint--complete-file-name-data): New functions.
2074         (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
2075         (comint-dynamic-list-filename-completions): Use them.
2076         (comint-dynamic-simple-complete): Make obsolete.
2078         * minibuffer.el (completion-in-region-mode):
2079         Keep completion-in-region-mode--predicate global.
2080         (completion-in-region--postch):
2081         Assume completion-in-region-mode--predicate is not null.
2083         * progmodes/flymake.el (flymake-start-syntax-check-process):
2084         Obey `dir'.  Simplify.
2086         * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
2087         we're in VC after all.
2089 2011-04-20  Christoph Scholtes  <cschol2112@googlemail.com>
2091         * vc/vc.el (vc-diff-build-argument-list-internal)
2092         (vc-version-ediff, vc-ediff): New commands.
2093         (vc-version-diff): Use vc-diff-build-argument-list-internal.
2095 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
2097         * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
2098         add sanity check.
2100         * obsolete/erc-hecomplete.el: Make obsolete.
2101         * obsolete/: Standardize obsolescence info in the header.
2103 2011-04-20  Glenn Morris  <rgm@gnu.org>
2105         * calendar/solar.el (solar-horizontal-coordinates):
2106         Use the longitude argument rather than `calendar-longitude'.
2107         (solar-date-next-longitude): Remove unused locals.
2109 2011-04-20  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
2111         * whitespace.el: New version 13.2.1.
2113 2011-04-20  felix  <EmacsWiki>  (tiny change)
2115         * whitespace.el (global-whitespace-mode): keep highlight when
2116         switching between major modes on a file.
2118 2011-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
2120         * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
2121         (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
2122         multi-line comments as well.
2124 2011-04-19  Juanma Barranquero  <lekktu@gmail.com>
2126         Lexical-binding cleanup.
2128         * arc-mode.el (archive-mode-revert):
2129         * cmuscheme.el (scheme-interactively-start-process):
2130         * custom.el (custom-initialize-delay):
2131         * dnd.el (dnd-open-local-file, dnd-open-remote-url):
2132         * dos-w32.el (direct-print-region-helper, direct-print-region-function):
2133         * emacs-lock.el (emacs-lock-clear-sentinel):
2134         * ezimage.el (defezimage):
2135         * follow.el (follow-avoid-tail-recenter):
2136         * fringe.el (set-fringe-mode-1):
2137         * generic-x.el (bat-generic-mode-compile):
2138         * help-mode.el (help-info-variable, help-do-xref)
2139         (help-mode-revert-buffer):
2140         * help.el (view-emacs-todo):
2141         * iswitchb.el (iswitchb-completion-help):
2142         * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
2143         * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
2144         (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
2145         * locate.el (locate-update):
2146         * longlines.el (longlines-encode-region)
2147         (longlines-after-change-function):
2148         * outline.el (outline-isearch-open-invisible):
2149         * ps-def.el (declare-function, charset-dimension, char-width)
2150         (encode-char):
2151         * ps-mule.el (ps-mule-plot-string):
2152         * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
2153         (recentf-edit-list-select, recentf-edit-list-validate)
2154         (recentf-open-files-action):
2155         * rect.el (delete-whitespace-rectangle-line)
2156         (rectangle-number-line-callback):
2157         * register.el (window-configuration-to-register)
2158         (frame-configuration-to-register):
2159         * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
2160         * select.el (xselect-convert-to-string, xselect-convert-to-length)
2161         (xselect-convert-to-targets, xselect-convert-to-delete)
2162         (xselect-convert-to-filename, xselect-convert-to-charpos)
2163         (xselect-convert-to-lineno, xselect-convert-to-colno)
2164         (xselect-convert-to-os, xselect-convert-to-host)
2165         (xselect-convert-to-user, xselect-convert-to-class)
2166         (xselect-convert-to-name, xselect-convert-to-integer)
2167         (xselect-convert-to-atom, xselect-convert-to-identity):
2168         * subr.el (declare, ignore, process-kill-without-query)
2169         (text-clone-maintain):
2170         * terminal.el (te-get-char, te-tic-sentinel):
2171         * tool-bar.el (tool-bar-make-keymap):
2172         * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
2173         * type-break.el (type-break-mode, type-break-noninteractive-query):
2174         * view.el (View-back-to-mark):
2175         * wid-browse.el (widget-browse-action, widget-browse-widget)
2176         (widget-browse-widgets, widget-browse-sexp):
2177         * widget.el (define-widget-keywords):
2178         * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
2179         Mark unused parameters.
2181         * align.el (align-adjust-col-for-rule): Mark unused parameter.
2182         (align-areas): Remove unused variable `look'.
2183         (align-region): Remove unused variables `real-end' and `pos-list'.
2185         * apropos.el (apropos-score-doc): Remove unused variable `i'.
2187         * bindings.el (mode-line-modified, mode-line-remote):
2188         Mark unused parameters.
2189         (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
2191         * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
2192         (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
2194         * comint.el (comint-history-isearch-pop-state)
2195         (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
2196         (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
2197         (comint-substitute-in-file-name): Doc fix.
2199         * completion.el (cmpl-statistics-block): Mark unused parameter.
2200         (add-completions-from-tags-table, add-completions-from-lisp-buffer)
2201         (save-completions-to-file, load-completions-from-file):
2202         Remove unused local variable `e'.
2204         * composite.el (compose-chars): Remove unused variable `len'.
2205         (lgstring-insert-glyph): Remove unused variable `g'.
2206         (compose-glyph-string): Remove unused variables `ascent',
2207         `descent', `lbearing' and `rbearing'.
2208         (compose-glyph-string-relative): Remove unused variables
2209         `lbearing', `rbearing' and `wadjust'.
2210         (compose-gstring-for-graphic): Remove unused variables `header',
2211         `wadjust', `xoff' and `yoff'.  Use `let', not `let*'.
2212         (compose-gstring-for-terminal): Remove unused variables `header'
2213         and `nchars'.  Use `let', not `let*'.
2215         * cus-edit.el (Custom-set, Custom-save, custom-reset)
2216         (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
2217         (Custom-buffer-done, custom-buffer-create-internal)
2218         (custom-browse-visibility-action, custom-browse-group-tag-action)
2219         (custom-browse-variable-tag-action, custom-browse-face-tag-action)
2220         (widget-magic-mouse-down-action, custom-toggle-parent)
2221         (custom-add-parent-links, custom-toggle-hide-variable)
2222         (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
2223         (custom-toggle-hide-face, face, hook, custom-group-link-action)
2224         (custom-face-menu-create, custom-variable-menu-create, get)
2225         (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
2226         (custom-reset-standard-save-and-update): Remove unused variable `value'.
2227         (customize-apropos): Remove unused variable `tests'.
2228         (custom-group-value-create): Remove unused variable `hidden-p'.
2229         (sort-fold-case): Declare.
2231         * cus-theme.el (custom-reset-standard-faces-list)
2232         (custom-reset-standard-variables-list): Declare.
2233         (customize-create-theme, custom-theme-revert, custom-theme-write)
2234         (custom-theme-choose-mode, customize-themes, custom-theme-save):
2235         Mark unused parameters.
2237         * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
2239         * delim-col.el (delimit-columns-max): Move defvar before first use.
2241         * descr-text.el (describe-char-categories): Don't quote `lambda'.
2242         (describe-char): Don't quote `lambda'.  Mark unused parameter.
2244         * desktop.el (desktop-save-buffer-p): Mark unused parameter.
2245         (auto-insert): Declare.
2246         (desktop-restore-file-buffer): Rename desktop-* parameters;
2247         mark unused ones.
2248         (desktop-create-buffer): Rename desktop-* parameters and bind them.
2249         (desktop-buffer): Rename desktop-* parameters.
2251         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
2252         (dframe-reposition-frame-xemacs, dframe-help-echo)
2253         (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
2254         Mark unused parameters.
2256         * dired-aux.el (backup-extract-version-start, overwrite-query)
2257         (overwrite-backup-query, rename-regexp-query)
2258         (rename-non-directory-query): Declare.
2259         (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
2260         (dired-add-entry): Remove unused variable `orig-file-name'.
2261         (dired-copy-file-recursive): Remove unused variable `dirfailed'.
2262         Use parameter PRESERVE-TIME instead of accessing dynamic variable
2263         `dired-copy-preserve-time' directly.
2264         (dired-do-create-files-regexp): Remove unused variable `fn-count'.
2265         (dired-insert-subdir-newpos): Rename unused variable `pos'.
2267         * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
2268         (dired-virtual-revert, dired-make-relative-symlink):
2269         Mark unused parameters.
2270         (manual-program): Declare.
2271         (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
2272         (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
2273         wrapped in `with-no-warnings' to avoid replacing one warning by another.
2275         * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
2277         * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
2279         * echistory.el (electric-history-in-progress, Helper-return-blurb):
2280         Declare.
2282         * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
2284         * electric.el (Electric-command-loop): Rename parameter
2285         INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
2287         * expand.el (expand-in-literal): Remove unused variable `here'.
2289         * facemenu.el (facemenu-add-new-color):
2290         Remove unused variable `docstring'.
2292         * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
2293         (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
2294         (face-attr-construct): Mark unused parameter.  Doc fix.
2295         (read-color): Remove unused variable `hex-string'.
2297         * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
2298         (locate-dominating-file): Remove unused vars `prev-file' and `user'.
2299         (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
2300         (display-buffer-other-frame): Remove unused variable `old-window'.
2301         (kill-buffer-hook): Declare.
2302         (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
2303         Mark unused parameters.
2304         (after-find-file): Pass 1 to `auto-save-mode', not t.
2306         * files-x.el (auto-insert): Declare.
2307         (modify-file-local-variable-prop-line): Remove unused variable `val'.
2309         * find-lisp.el (find-lisp-find-dired-internal): Remove unused
2310         variable `buf'.  Mark unused parameter.
2311         (find-lisp-insert-directory): Mark unused parameter.
2313         * format.el (format-decode-run-method): Mark unused parameter; doc fix.
2314         (format-encode-region): Remove unused variables `cur-buf' and `result'.
2315         (format-common-tail): Remove, unused.
2316         (format-deannotate-region): Remove unused variable `loc'.
2317         (format-annotate-region): Remove unused variable `p'.
2318         (format-annotate-single-property-change): Remove unused variables
2319         `default' and `tail'.
2321         * forms.el (read-file-filter): Declare.
2322         (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
2324         * frame.el (frame-creation-function-alist): Mark unused parameter.
2325         (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
2327         * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
2328         Remove unused parameters.
2329         (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
2330         (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
2332         * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
2333         (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
2334         (hfy-prepare-tag-map): Mark unused parameters.
2335         (htmlfontify-buffer): Use `called-interactively-p'.
2337         * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
2338         (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
2339         (ibuffer-do-occur): Mark unused parameters.
2340         (ibuffer-forward-next-marked): Remove unused variable `curmark'.
2341         (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
2343         * ibuffer.el: Don't quote `lambda'.
2344         (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
2345         (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
2346         Mark unused parameters.
2348         * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
2349         (ido-completing-read): Mark unused parameters.
2350         (ido-copy-current-word): Mark unused parameters;
2351         remove unused variable `name'.
2352         (ido-sort-merged-list): Remove unused parameter `dirs'.
2354         * ielm.el (ielm-input-sender): Mark unused parameter.
2355         (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
2356         (ielm-output, ielm-wbuf, ielm-pmark): Declare.
2357         (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
2358         `ielm-string' as a dynamic variable accessible from the IELM prompt.
2359         Bind `ielm-string' to INPUT-STRING.  Remove unused variable `err'.
2361         * image-dired.el (image-dired-display-thumbs): Remove unused
2362         variables `curr-file' and `count'.
2363         (image-dired-remove-tag): Remove unused variable `start'.
2364         (image-dired-tag-files, image-dired-create-thumbs): Remove unused
2365         variable `curr-file'
2366         (image-dired-rotate-original): Remove unused variable `temp-file'.
2367         (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
2368         Remove unused variable `file'.
2369         (image-dired-gallery-generate): Remove unused variable `curr'.
2370         (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
2372         * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
2374         * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
2376         * informat.el (texinfo-command-start, texinfo-command-end): Declare.
2378         * isearch.el (minibuffer-history-symbol): Declare.
2379         (isearch-edit-string): Remove unused variable `err'.
2380         (isearch-message-prefix, isearch-message-suffix):
2381         Mark unused parameters.
2383         * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
2385         * macros.el (insert-kbd-macro): Remove unused variable `mods'.
2387         * makesum.el (double-column): Remove unused variable `cnt'.
2389         * misearch.el (multi-isearch-pop-state): Mark unused parameter.
2390         (ido-ignore-item-temp-list): Declare.
2392         * mouse-drag.el (mouse-drag-throw): Remove unused variables
2393         `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
2394         `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
2395         (mouse-drag-drag): Remove unused variables `mouse-delta' and
2396         `mouse-col-delta'.
2398         * mouse-sel.el (mouse-extend-internal):
2399         Remove unused variable `orig-window-frame'.
2401         * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
2402         (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
2403         Move declarations before first use.
2404         (pcomplete-opt): Mark unused parameters; doc fix.
2406         * proced.el (proced-revert): Mark unused parameter.
2407         (proced-send-signal): Remove unused variable `err'.
2409         * ps-print.el (ps-print-preprint-region, ps-print-preprint):
2410         Rename parameter PREFIX-ARG to ARG.
2411         (ps-basic-plot-string, ps-basic-plot-whitespace):
2412         Mark unused parameters.
2414         * replace.el (replace-count): Define.
2415         (occur-revert-function): Mark unused parameters.
2416         (ido-ignore-item-temp-list, isearch-error, isearch-forward)
2417         (isearch-case-fold-search, isearch-string): Declare.
2418         (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
2419         bind `case-fold-search'.  Remove unused variables `beg' and `end',
2420         and simplify.
2421         (replace-eval-replacement): Rename parameter REPLACE-COUNT to
2422         COUNT and bind `replace-count'.
2423         (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
2424         to COUNT.
2426         * savehist.el (print-readably, print-string-length): Declare.
2428         * shadowfile.el (shadow-expand-cluster-in-file-name):
2429         Remove unused variable `cluster'.
2430         (shadow-copy-file): Remove unused variable `i'.
2431         (shadow-noquery, shadow-clusters, shadow-site-cluster)
2432         (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
2433         (shadow-define-literal-group, shadow-define-regexp-group)
2434         (shadow-make-group, shadow-shadows-of): Clean up docstrings.
2436         * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
2437         (shell): Use `called-interactively-p'.
2438         (shell-directory-tracker): Remove unused variable `chdir-failure'.
2440         * simple.el (compilation-context-lines, comint-file-name-quote-list)
2441         (comint-file-name-chars, comint-delimiter-argument-list): Declare.
2442         (delete-backward-char): Remove unused variable `ocol'.
2443         (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
2444         (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
2445         (event-apply-hyper-modifier, event-apply-shift-modifier)
2446         (event-apply-control-modifier, event-apply-meta-modifier):
2447         Mark unused parameters.
2448         (undo-make-selective-list): Remove duplicate variable `undo-elt'.
2449         (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
2451         * speedbar.el (speedbar-ignored-directory-expressions)
2452         (speedbar-supported-extension-expressions, speedbar-directory-buttons)
2453         (speedbar-find-file, speedbar-dir-follow)
2454         (speedbar-directory-buttons-follow, speedbar-tag-find)
2455         (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
2456         (speedbar-buffers-line-directory, speedbar-buffer-click):
2457         Mark unused parameters.
2458         (speedbar-tag-file): Remove unused variable `mode'.
2459         (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
2461         * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
2463         * talk.el (talk): Remove unused variable `display'.
2465         * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
2466         (tar-write-region-annotate): Mark unused parameter.
2468         * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
2469         (minutes, seconds, time-zone, day, year, monthname, month, dayname):
2470         Declare them, wrapped in `with-no-warnings' to avoid replacing one
2471         warning by another.
2473         * time-stamp.el (time-stamp-string-preprocess):
2474         Remove unused variable `require-padding'.
2476         * tree-widget.el (widget-glyph-enable): Declare.
2477         (tree-widget-action): Mark unused parameter.
2479         * w32-fns.el (x-get-selection): Mark unused parameter.
2480         (autoload-make-program, generated-autoload-file): Declare.
2482         * wdired.el (wdired-revert): Mark unused parameters.
2483         (wdired-xcase-word): Remove unused variable `err'.
2485         * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
2486         (whitespace-help-scroll): Remove unused variable `data-help'.
2488         * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
2489         (widget-image-insert, widget-after-change, default)
2490         (widget-default-format-handler, widget-default-notify)
2491         (widget-default-prompt-value, widget-info-link-action)
2492         (widget-url-link-action, widget-function-link-action)
2493         (widget-variable-link-action, widget-file-link-action)
2494         (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
2495         (widget-field-prompt-internal, widget-field-action, widget-field-match)
2496         (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
2497         (widget-insert-button-action, widget-delete-button-action, visibility)
2498         (widget-documentation-link-action, widget-documentation-string-action)
2499         (widget-const-prompt-value, widget-regexp-match, symbol)
2500         (widget-coding-system-prompt-value)
2501         (widget-key-sequence-value-to-external, sexp)
2502         (widget-sexp-value-to-internal, character, vector, cons)
2503         (widget-choice-prompt-value, widget-boolean-prompt-value)
2504         (widget-color--choose-action): Mark unused parameters.
2505         (widget-item-match-inline, widget-choice-match-inline)
2506         (widget-checklist-match, widget-checklist-match-inline)
2507         (widget-group-match): Rename parameter VALUES to VALS.
2508         (widget-field-value-set): Remove unused variable `size'.
2509         (widget-color-action): Remove unused variables `value' and `start'.
2511         * windmove.el (windmove-wrap-loc-for-movement): Remove unused
2512         variable `dir'.  Doc fix.
2513         (windmove-find-other-window): Don't pass it.
2515         * window.el (count-windows): Mark unused parameter.
2516         (bw-adjust-window): Remove unused variable `err'.
2518         * woman.el (woman-file-name): Remove unused variable `default'.
2519         (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
2520         WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
2521         (global-font-lock-mode): Declare.
2522         (woman-decode-region): Mark unused parameter.
2523         (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
2525         * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
2526         (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
2527         (x-dnd-handle-moz-url): Remove unused variable `title'.
2528         (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
2530         * xml.el (xml-parse-tag, xml-parse-attlist):
2531         Remove unused variable `pos'.
2533 2011-04-19  Glenn Morris  <rgm@gnu.org>
2535         * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
2536         (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
2537         (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
2538         (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
2539         * calendar/cal-html.el (cal-html-insert-minical):
2540         * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
2541         (calendar-mark-date-pattern):
2542         Prefix "unused" locals.
2544         * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
2545         optional argument `style'.
2547         * calendar/appt.el (appt-make-list):
2548         * calendar/cal-china.el (calendar-chinese-date-string):
2549         * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
2550         (diary-hebrew-yahrzeit):
2551         * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
2552         * calendar/calendar.el (calendar-generate-window):
2553         * calendar/time-date.el (time-to-days):
2554         Remove unused local variables.
2556 2011-04-18  Chong Yidong  <cyd@stupidchicken.com>
2558         * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
2559         glyphless-char-display table.
2560         (tabulated-list-glyphless-char-display): New var.
2562 2011-04-18  Sam Steingold  <sds@gnu.org>
2564         * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
2565         to acknowledgments.
2567 2011-04-17  Glenn Morris  <rgm@gnu.org>
2569         * calendar/diary-lib.el (diary-sexp-entry):
2570         * calendar/holidays.el (holiday-sexp):
2571         Set debug-on-error rather than the removed stack-trace-on-error.
2573 2011-04-16  Glenn Morris  <rgm@gnu.org>
2575         * progmodes/f90.el: Use lexical-binding.
2576         (f90-get-correct-indent): Remove unnecessary local variable `cont'.
2578 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
2580         * mail/sendmail.el (mail-mode-map): Use completion-at-point.
2581         (mail-mode): Setup mailalias completion here instead.
2582         * mail/mailalias.el: Use lexical-binding.
2583         (pattern, mailalias-done): Declare dynamic.
2584         (mail-completion-at-point-function): New function, from mail-complete.
2585         (mail-complete): Use it.
2586         (mail-completion-expand): New function.
2587         (mail-get-names): Use it.
2588         (mail-directory, mail-directory-process, mail-directory-stream):
2589         Don't use `pattern' for lexically bound arg.
2591         * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
2593         * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
2594         (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
2595         (hfy-etags-cmd-alist): Don't eval-and-compile any more.
2597         * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
2598         (byte-save-window-excursion, byte-temp-output-buffer-setup)
2599         (byte-interactive-p): Define them again, for use when inlining
2600         old code.
2602 2011-04-15  Juanma Barranquero  <lekktu@gmail.com>
2604         * loadup.el: Use `string-to-number', not `string-to-int'.
2606 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
2608         * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
2609         gud-gdb-complete-command.
2610         (gud-gdb-completions): New function, from gud-gdb-complete-command.
2611         (gud-gdb-completion-at-point): New function.
2612         (gud-gdb-completions): Remove.
2614 2011-04-14  Michael Albinus  <michael.albinus@gmx.de>
2616         * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
2617         when the scripts fail.  Use `tramp-do-file-attributes-with-ls' then.
2618         (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
2619         whether `executable-find' is bound.
2621         * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
2623 2011-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
2625         * minibuffer.el (completion-in-region-mode-predicate)
2626         (completion-in-region-mode--predicate): New vars.
2627         (completion-in-region, completion-in-region--postch)
2628         (completion-in-region-mode): Use them.
2629         (completion--capf-wrapper): Also return the hook function.
2630         (completion-at-point, completion-help-at-point):
2631         Adjust and provide a predicate.
2633         Preserve arg names for advice of subr and lexical functions (bug#8457).
2634         * help-fns.el (help-function-arglist): Consolidate the subr and
2635         new-byte-code cases.  Add argument `preserve-names' to extract names
2636         from the docstring when needed.
2637         * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
2638         (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
2639         (ad-arglist): Use help-function-arglist's new arg.
2640         (ad-definition-type): Use cond.
2642 2011-04-13  Juanma Barranquero  <lekktu@gmail.com>
2644         * autorevert.el (auto-revert-handler):
2645         Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
2646         which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
2647         Don't quote lambda.
2649         * image-mode.el (image-transform-set-scale):
2650         Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
2652 2011-04-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2654         * net/network-stream.el (network-stream-open-starttls): Only do
2655         opportunistic STARTTLS upgrades if we have built-in gnutls support.
2656         Upgrades via gnutls-cli are too slow to be done opportunistically.
2658 2011-04-12  Juanma Barranquero  <lekktu@gmail.com>
2660         * dframe.el (dframe-current-frame): Remove spurious quote.
2662 2011-04-12  Glenn Morris  <rgm@gnu.org>
2664         * calendar/cal-tex.el (cal-tex-end-document):
2665         Try to automatically use latin1 input if needed.
2667         * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
2668         Don't try to cons a mark onto an empty element.
2670 2011-04-11  Leo Liu  <sdl.web@gmail.com>
2672         * ido.el (ido-buffer-internal): Allow method 'kill for virtual
2673         buffers.
2674         (ido-kill-buffer-at-head): Support killing virtual buffers.
2676 2011-04-10  Chong Yidong  <cyd@stupidchicken.com>
2678         * minibuffer.el (completion-show-inline-help): New var.
2679         (completion--do-completion, minibuffer-complete)
2680         (minibuffer-force-complete, minibuffer-complete-word):
2681         Inhibit minibuffer messages if completion-show-inline-help is nil.
2683         * icomplete.el (icomplete-mode): Bind completion-show-inline-help
2684         to avoid interference from inline help (Bug#5849).
2686 2011-04-10  Leo Liu  <sdl.web@gmail.com>
2688         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
2689         Fix typo.
2691 2011-04-09  Chong Yidong  <cyd@stupidchicken.com>
2693         * image-mode.el (image-toggle-display-image): Signal an error if
2694         not in Image mode.
2695         (image-transform-mode, image-transform-resize)
2696         (image-transform-set-rotation): Doc fix.
2697         (image-transform-set-resize): Delete.
2698         (image-transform-set-scale, image-transform-fit-to-height)
2699         (image-transform-fit-to-width): Handle image-toggle-display-image
2700         and image-transform-resize directly.
2702 2011-04-08  Sho Nakatani  <lay.sakura@gmail.com>
2704         * doc-view.el (doc-view-fit-width-to-window)
2705         (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
2706         New functions for fitting the shown image to the Emacs window size.
2707         (doc-view-mode-map): Add bindings for the new functions.
2709 2011-04-08  Juanma Barranquero  <lekktu@gmail.com>
2711         * vc-annotate.el (vc-annotate-show-log-revision-at-line):
2712         Fix typo in docstring.
2714 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
2716         * files.el (file-size-human-readable): Produce one digit after
2717         decimal, like "ls -lh" does.
2719         * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
2720         the file size representation.
2722         * simple.el (list-processes): If async subprocesses are not
2723         available, error out with a clear error message.
2725 2011-04-08  Chong Yidong  <cyd@stupidchicken.com>
2727         * help.el (help-form-show): New function, to be called from C.
2728         Put help-form output in a buffer named differently than *Help*.
2730 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
2732         * files.el (file-size-human-readable): New function.
2734         * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
2735         computing the representation inline.  Don't require `cl'.
2737 2011-04-08  Glenn Morris  <rgm@gnu.org>
2739         * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
2741         * net/browse-url.el (browse-url-firefox):
2742         Test system-type, not system-configuration.
2744         * vc/log-edit.el (log-edit-empty-buffer-p): New function.
2745         (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
2746         Use log-edit-empty-buffer-p.  (Bug#7598)
2748         * net/rlogin.el (rlogin-process-connection-type): Simplify.
2749         (rlogin-mode-map): Initialize in the defvar.
2750         (rlogin): Use ignore-errors.
2752         * replace.el (occur-mode-map): Some fixes for menu items.
2754 2011-04-07  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
2756         * play/morse.el (denato-region): Handle varying case.  (Bug#8386)
2758 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
2760         * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
2761         issuing unused warnings.
2763         * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
2764         macro directly.
2766         * simple.el: Lisp reimplement of list-processes.  Based on an
2767         earlier reimplementation by Leo Liu, but using tabulated-list.el.
2768         (process-menu-mode): New major mode.
2769         (list-processes--refresh, list-processes):
2770         (process-menu-visit-buffer): New functions.
2772         * files.el (save-buffers-kill-emacs): Don't assume any return
2773         value of list-processes, which is undocumented anyway.
2775 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
2777         * emacs-lisp/tabulated-list.el: New file.
2779         * emacs-lisp/package.el: Use Tabulated List mode.
2780         (package-menu-mode-map): Inherit from tabulated-list-mode-map.
2781         (package-menu-mode): Derive from tabulated-list-mode.  Set up the
2782         table format using Tabulated List mode variables.
2783         (package--push): New macro, replacing package-list-maybe-add.
2784         (package-menu--generate): Use package--push.  Renamed from
2785         package--generate-package-list.
2786         (package-menu-refresh, list-packages): Use it.
2787         (package-menu--print-info): Rename from package-print-package.
2788         Return insertion data instead of inserting it directly.
2789         (package-menu-describe-package, package-menu-execute):
2790         Use tabulated-list-get-id.
2791         (package-menu-mark-delete, package-menu-mark-install)
2792         (package-menu-mark-unmark, package-menu-backup-unmark)
2793         (package-menu-mark-obsolete-for-deletion):
2794         Use tabulated-list-put-tag.
2795         (package--list-packages, package-menu-revert)
2796         (package-menu-get-package, package-menu-get-version)
2797         (package-menu-sort-by-column): Functions deleted.
2798         (package-menu-package-list, package-menu-sort-key): Vars deleted.
2799         (package-menu--status-predicate, package-menu--version-predicate)
2800         (package-menu--name-predicate)
2801         (package-menu--description-predicate): Handle arguments in the
2802         Tabulated List format.
2803         (package-list-packages-no-fetch): Call list-packages.
2805 2011-04-06  Juanma Barranquero  <lekktu@gmail.com>
2807         * files.el (after-find-file-from-revert-buffer): Remove variable.
2808         (after-find-file): Don't bind it.
2809         (revert-buffer-in-progress-p): New variable.
2810         (revert-buffer): Bind it.
2811         Pass nil for `after-find-file-from-revert-buffer'.
2813         * saveplace.el (save-place-find-file-hook): Use new variable
2814         `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
2816 2011-04-06  Glenn Morris  <rgm@gnu.org>
2818         * Makefile.in (AUTOGEN_VCS): New variable.
2819         (autoloads): Use $AUTOGEN_VCS.
2821         * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
2822         * calendar/calendar.el (calendar-mode-map):
2823         Check for toolkit scroll bars.  (Bug#8305)
2825 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
2827         * minibuffer.el (completion-in-region--postch)
2828         (completion-in-region-mode): Remove unnecessary messages.
2830 2011-04-05  Juanma Barranquero  <lekktu@gmail.com>
2832         * font-lock.el (font-lock-refresh-defaults):
2833         Don't bind `hi-lock--inhibit-font-lock-hook', removed in
2834         2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
2836         * info.el (Info-directory-list, Info-read-node-name-2)
2837         (Info-split-parameter-string): Doc fixes.
2838         (Info-virtual-nodes): Reflow docstring.
2839         (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
2840         (Info-apropos-toc-nodes, info-finder, Info-get-token)
2841         (Info-find-emacs-command-nodes, Info-speedbar-key-map):
2842         Fix typos in docstrings.
2843         (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
2844         (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
2845         (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
2846         (Info-restore-desktop-buffer): Mark unused parameters.
2847         (Info-directory-find-file, Info-directory-find-node)
2848         (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
2849         (Info-virtual-index-find-node, Info-apropos-find-file)
2850         (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
2851         Mark unused parameters; fix typos in docstrings.
2852         (Info-virtual-index): Remove unused local variable `nodename'.
2854 2011-04-05  Deniz Dogan  <deniz@dogan.se>
2856         * net/rcirc.el: Update my e-mail address.
2857         (rcirc-mode-map): Remove M-o binding.
2859 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
2861         * startup.el (command-line): Save the cursor's theme-face
2862         directly, instead of using face-override-spec.
2864         * custom.el (load-theme): Minor optimization in assigning faces.
2866 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
2868         * help-fns.el (describe-variable): Complete all variables having
2869         documentation, including keywords.
2870         http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
2872 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
2874         Convert to lexical-binding.
2876         * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
2877         (bs--get-marked-string, bs--get-modified-string)
2878         (bs--get-readonly-string, bs--get-size-string, bs--get-name)
2879         (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
2880         (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
2882         * ehelp.el (electric-help-execute-extended)
2883         (electric-help-ctrl-x-prefix):
2884         * hexl.el (hexl-revert-buffer-function):
2885         * linum.el (linum-after-change, linum-after-scroll):
2886         * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
2888         * help-fns.el (help-describe-category-set): Remove unused ERR variable.
2890 2011-04-04  Daiki Ueno  <ueno@unixuser.org>
2892         * epa-dired.el:
2893         * epa-mail.el:
2894         * epa-hook.el:
2895         * epa-file.el:
2896         * epa.el:
2897         * epg.el: Use lexical binding.
2899 2011-04-03  Chong Yidong  <cyd@stupidchicken.com>
2901         * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
2903         * textmodes/flyspell.el (flyspell-word): Recognize default
2904         dictionary case for flyspell-mark-duplications-exceptions.
2905         Use regexp matching for languages.
2906         (flyspell-mark-duplications-exceptions): Add "that" and "had" for
2907         default dictionary (Bug#7926).
2909 2011-04-02  Chong Yidong  <cyd@stupidchicken.com>
2911         * emacs-lisp/package.el (package--with-work-buffer):
2912         Recognize https URLs.
2914         * net/network-stream.el: Move from gnus/proto-stream.el.
2915         Change prefix to network-stream throughout.
2916         (open-protocol-stream): Merge into open-network-stream, leaving
2917         open-protocol-stream as an alias.  Handle nil BUFFER args.
2919         * subr.el (open-network-stream): Move to net/network-stream.el.
2921 2011-04-02  Glenn Morris  <rgm@gnu.org>
2923         * find-dired.el (find-exec-terminator): New option.
2924         (find-ls-option): Test for -ls support.
2925         (find-ls-subdir-switches): Test for -b in find-ls-option.
2926         (find-dired, find-grep-dired): Doc fixes.
2927         (find-dired): Use find-exec-terminator.
2929         * find-dired.el (find-ls-option, find-ls-subdir-switches)
2930         (find-grep-options): Do not autoload these defcustoms, remove purecopy.
2931         (find-name-arg): Remove purecopy.
2933         * progmodes/grep.el (grep-find-use-xargs): Doc fix.
2934         (grep-compute-defaults): Check for `-exec COMMAND +' support.
2935         Set grep-find-use-xargs, grep-find-command, and grep-find-template
2936         accordingly.  Don't add the null-device if not needed.
2938         * files.el (save-some-buffers): Doc fix.
2940 2011-04-02  Eli Zaretskii  <eliz@gnu.org>
2942         * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
2944 2011-04-01  Juanma Barranquero  <lekktu@gmail.com>
2946         * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
2947         Use `dolist' rather than `mapcar'.
2949 2011-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>
2951         Add lexical binding.
2953         * subr.el (apply-partially): Use new closures rather than CL.
2954         (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
2955         (dolist, dotimes): Use slightly different expansion for lexical code.
2956         (functionp): Move to C.
2957         (letrec): New macro.
2958         (with-wrapper-hook): Use it and apply-partially instead of CL.
2959         (eval-after-load): Preserve lexical-binding.
2960         (save-window-excursion, with-output-to-temp-buffer): Turn them
2961         into macros.
2963         * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
2965         * help-fns.el (help-split-fundoc): Return nil if there's nothing else
2966         than the arglist.
2967         (help-add-fundoc-usage): Don't add `Not documented'.
2968         (help-function-arglist): Handle closures, subroutines, and new
2969         byte-code-functions.
2970         (help-make-usage): Remove leading underscores.
2971         (describe-function-1): Handle closures.
2972         (describe-variable): Use special-variable-p for completion.
2974         * files.el (lexical-binding): Declare safe.
2976         * emacs-lisp/pcase.el: Don't use destructuring-bind.
2977         (pcase--memoize): Rename from pcase-memoize.  Change weakness.
2978         (pcase): Add `let' pattern.
2979         Change memoization so it actually works.
2980         (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
2981         (pcase--u1) <guard, pred>: Fix possible shadowing problem.
2982         <let>: New case.
2984         * emacs-lisp/macroexp.el: Use lexical binding.
2985         (macroexpand-all-1): Check obsolete macros.  Expand compiler-macros.
2986         Don't convert ' to #' without checking that it's indeed quoting
2987         a lambda.
2989         * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
2990         Use eval-sexp-add-defvars.
2991         (eval-sexp-add-defvars): New fun.
2993         * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
2995         * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
2996         Don't autoload.
2997         (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
2998         than the internal `byte-compile-lambda'.
2999         (defmethod): Don't hide code under quotes.
3000         (eieio-defmethod): New `code' argument.
3002         * emacs-lisp/eieio-comp.el: Remove.
3004         * emacs-lisp/edebug.el (edebug-eval-defun)
3005         (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
3006         (edebug-toggle): Avoid `eval'.
3008         * emacs-lisp/disass.el (disassemble-internal): Handle new
3009         `closure' objects.
3010         (disassemble-1): Handle new byte codes.
3012         * emacs-lisp/cl.el (pushnew): Silence warning.
3014         * emacs-lisp/cl-macs.el (cl-byte-compile-block)
3015         (cl-byte-compile-throw): Remove.
3016         (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
3018         * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
3019         closures.
3021         * emacs-lisp/cconv.el: New file.
3023         * emacs-lisp/bytecomp.el: Use lexical binding instead of
3024         a "bytecomp-" prefix.  Macroexpand everything as a separate phase.
3025         (byte-compile-initial-macro-environment):
3026         Handle declare-function here.
3027         (byte-compile--lexical-environment): New var.
3028         (byte-stack-ref, byte-stack-set, byte-discardN)
3029         (byte-discardN-preserve-tos): New lap codes.
3030         (byte-interactive-p): Don't use any more.
3031         (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
3032         New macros.
3033         (byte-compile-lapcode): Use them and handle new lap codes.
3034         (byte-compile-obsolete): Remove.
3035         (byte-compile-arglist-signature): Handle new byte-code arg"lists".
3036         (byte-compile-arglist-warn): Check late def of inlinable funs.
3037         (byte-compile-cl-warn): Don't silence warnings for compiler-macros
3038         since they should have been expanded by now.
3039         (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
3040         (byte-compile-from-buffer): Remove unused second arg.
3041         (byte-compile-preprocess): New function.
3042         (byte-compile-toplevel-file-form): New function to distinguish
3043         file-form calls from outside from file-form calls from hunk-handlers.
3044         (byte-compile-file-form): Simplify.
3045         (byte-compile-file-form-defsubst): Remove.
3046         (byte-compile-file-form-defmumble): Simplify now that
3047         byte-compile-lambda always returns a byte-code-function.
3048         (byte-compile): Preprocess.
3049         (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
3050         Remove, not used any more.
3051         (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
3052         (byte-compile-make-args-desc): New funs.
3053         (byte-compile-lambda): Handle lexical functions.  Always return
3054         a byte-code-function.
3055         (byte-compile-reserved-constants): New var, to make up room for
3056         closed-over variables.
3057         (byte-compile-constants-vector): Obey it.
3058         (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
3059         (byte-compile-macroexpand-declare-function): New function.
3060         (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
3061         byte-code-functions.
3062         (byte-compile-form): Check obsolescence here.
3063         (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
3064         (byte-compile-variable-ref): Remove.
3065         (byte-compile-dynamic-variable-op): New fun.
3066         (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
3067         (byte-compile-variable-set): New funs.
3068         (byte-compile-discard): Add 2 args.
3069         (byte-compile-stack-ref, byte-compile-stack-set)
3070         (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
3071         (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
3072         macroexpand-all instead.
3073         (byte-compile-quote-form): Remove.
3074         (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
3075         (byte-compile-bind, byte-compile-unbind): New funs.
3076         (byte-compile-let): Handle let* and lexical binding.
3077         (byte-compile-let*): Remove.
3078         (byte-compile-catch, byte-compile-unwind-protect)
3079         (byte-compile-track-mouse, byte-compile-condition-case):
3080         Handle a new :fun-body form, used for lexical scoping.
3081         (byte-compile-save-window-excursion)
3082         (byte-compile-with-output-to-temp-buffer): Remove.
3083         (byte-compile-defun): Simplify.
3084         (byte-compile-stack-adjustment): New fun.
3085         (byte-compile-out): Use it.
3086         (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
3088         * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
3089         handler any more.
3091         * emacs-lisp/byte-opt.el: Use lexical binding.
3092         (byte-inline-lapcode): Remove (to bytecomp).
3093         (byte-compile-inline-expand): Pay attention to inlining to/from
3094         lexically bound code.
3095         (byte-compile-unfold-lambda): Don't handle byte-code-functions
3096         any more.
3097         (byte-optimize-form-code-walker): Don't handle save-window-excursion
3098         any more and don't call compiler-macros.
3099         (byte-compile-splice-in-already-compiled-code): Remove.
3100         (byte-code): Don't inline any more.
3101         (disassemble-offset): Receive `bytes' as argument rather than via
3102         dynamic scoping.
3103         (byte-compile-tag-number): Declare before first use.
3104         (byte-decompile-bytecode-1): Handle new byte-codes, don't change
3105         `return' even if make-spliceable.
3106         (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
3107         obsolete interactive-p.
3108         (byte-optimize-lapcode): Optimize new lap-codes.
3109         Don't trip up on new form of `byte-constant' lap code.
3111         * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
3113         * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
3115         * custom.el (custom-initialize-default, custom-declare-variable):
3116         Use `defvar'.
3118         * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
3119         New variables.
3120         (compile-onefile, .el.elc, compile-calc, recompile): Use them.
3121         (COMPILE_FIRST): Add macroexp and cconv.
3122         * makefile.w32-in: Mirror changes in Makefile.in.
3124         * vc/cvs-status.el:
3125         * vc/diff-mode.el:
3126         * vc/log-edit.el:
3127         * vc/log-view.el:
3128         * vc/smerge-mode.el:
3129         * textmodes/bibtex-style.el:
3130         * textmodes/css.el:
3131         * startup.el:
3132         * uniquify.el:
3133         * minibuffer.el:
3134         * newcomment.el:
3135         * reveal.el:
3136         * server.el:
3137         * mpc.el:
3138         * emacs-lisp/smie.el:
3139         * doc-view.el:
3140         * dired.el:
3141         * abbrev.el: Use lexical binding.
3143 2011-04-01  Eli Zaretskii  <eliz@gnu.org>
3145         * info.el (info-display-manual): New function.
3147 2011-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
3149         * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
3151 2011-03-31  Tassilo Horn  <tassilo@member.fsf.org>
3153         * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
3154         an entry for that server in rcirc-authinfo.  (Bug#8385)
3156 2011-03-31  Glenn Morris  <rgm@gnu.org>
3158         * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
3160         * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
3162 2011-03-30  Christoph Scholtes  <cschol2112@googlemail.com>
3164         * progmodes/python.el (python-default-interpreter)
3165         (python-python-command-args, python-jython-command-args)
3166         (python-which-shell, python-which-args, python-which-bufname)
3167         (python-file-queue, python-comint-output-filter-function)
3168         (python-toggle-shells, python-shell): Remove obsolete defcustoms,
3169         variables and functions.
3171 2011-03-30  Stefan Monnier  <monnier@iro.umontreal.ca>
3173         * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
3174         (completion-in-region-mode): New minor mode.
3175         (completion-in-region): Use it.
3176         (completion-in-region--data, completion-in-region-mode-map): New vars.
3177         (completion-in-region--postch): New function.
3178         (completion--capf-misbehave-funs, completion--capf-safe-funs):
3179         New vars.
3180         (completion--capf-wrapper): New function.
3181         (completion-at-point): Use it to track well-behavedness of
3182         hook functions.
3183         (completion-help-at-point): New command.
3185 2011-03-30  Jason Merrill  <jason@redhat.com>  (tiny change)
3187         * vc/add-log.el (add-change-log-entry): Don't use whitespace
3188         syntax class to search for whitespace on a single line
3189         (Message-ID: <4D938140.4030905@redhat.com>).
3191 2011-03-30  Leo Liu  <sdl.web@gmail.com>
3193         * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
3194         New commands.
3195         (edit-abbrevs-map): Bind them here.
3196         (write-abbrev-file): New optinal arg VERBOSE.  (Bug#5937)
3198 2011-03-29  Ken Manheimer  <ken.manheimer@gmail.com>
3200         * allout.el (allout-hide-by-annotation, allout-flag-region):
3201         Reduce possibility of overlay leakage by making them volatile.
3203         * allout-widgets.el (allout-widgets-tally): Define as nil so the
3204         hash is not shared between buffers.  Mode initialization is
3205         responsible for giving it a useful starting value.
3206         (allout-item-span): Reduce possibility of overlay leakage by
3207         making them volatile.
3208         (allout-widgets-count-buttons-in-region): Add diagnostic function
3209         for tracking down button overlay leaks.
3211 2011-03-29  Leo Liu  <sdl.web@gmail.com>
3213         * ido.el (ido-read-internal): Use the default history var
3214         minibuffer-history if no HISTORY is specified.
3216 2011-03-28  Brian T. Sniffen  <bsniffen@akamai.com>  (tiny change)
3218         * net/imap.el (imap-shell-open, imap-process-connection-type):
3219         Use imap-process-connection-type for 'shell' streams as well as
3220         Kerberos, SSL, other subprocesses.
3222 2011-03-28  Leo Liu  <sdl.web@gmail.com>
3224         * abbrev.el (abbrev-table-empty-p): New function.
3225         (prepare-abbrev-list-buffer): Place empty abbrev tables after
3226         nonempty ones.  (Bug#5937)
3228 2011-03-27  Jan Djärv  <jan.h.d@swipnet.se>
3230         * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
3232 2011-03-27  Leo Liu  <sdl.web@gmail.com>
3234         * ansi-color.el (ansi-color-names-vector): Allow cons cell value
3235         for foreground and background colors.
3236         (ansi-color-make-color-map): Adapt.
3238 2011-03-25  Leo Liu  <sdl.web@gmail.com>
3240         * midnight.el (midnight-time-float): Remove.  Note it calculates
3241         the microsecond component incorrectly and seconds-to-time does the
3242         same job.
3243         Remove redundant (require 'timer).
3245         * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
3246         (ido-completions): Remove unused arguments.  (Bug#8329)
3248 2011-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
3250         * minibuffer.el (completion--flush-all-sorted-completions):
3251         Remove itself from hook.
3252         (completion-at-point): Let the functions perform the completion
3253         immediately and return nil or t.
3254         * comint.el (comint-dynamic-complete-functions): Now identical to
3255         completion-at-point-functions.
3256         (comint-dynamic-list-input-ring): Remove unused var `index'.
3257         (comint--match-partial-filename, comint--unquote&expand-filename):
3258         New funs, split from comint-match-partial-filename.
3259         (comint-dynamic-complete): Use completion-at-point.
3260         (comint-dynamic-complete-filename): Use comint--match-partial-filename.
3262 2011-03-24  Drew Adams  <drew.adams@oracle.com>
3264         * thingatpt.el: Support `defun'.
3266 2011-03-23  Leo Liu  <sdl.web@gmail.com>
3268         * abbrevlist.el: Move to obsolete/abbrevlist.el.
3270         * help-mode.el (help-mode-finish): Tweak regexp.
3272 2011-03-23  Glenn Morris  <rgm@gnu.org>
3274         * eshell/esh-opt.el (eshell-eval-using-options):
3275         Do not bind unused local variable `eshell-option-stub'.
3277         * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
3279 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
3281         * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
3282         keymap variable in `with-no-warnings' to avoid a warning when the
3283         keymap has been already `defconst'ed.
3285 2011-03-22  Leo Liu  <sdl.web@gmail.com>
3287         * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
3288         encode all chars in abbrevs; otherwise use emacs-mule or
3289         utf-8-emacs.  (Bug#8308)
3291 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
3293         * simple.el (backward-delete-char-untabify):
3294         Avoid warning about using `delete-backward-char'.
3296         * image.el (image-type-file-name-regexps): Make it variable.
3297         `imagemagick-register-types' modifies it, and the user may want
3298         to add new extensions for known image types.
3299         (imagemagick-register-types): Throw error if not using ImageMagick.
3301 2011-03-22  Leo Liu  <sdl.web@gmail.com>
3303         * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
3304         located before rcirc-prompt-end-marker.
3305         (rcirc-complete): Error if point is not after rcirc prompt.
3306         Handle the case when table is nil.
3307         (rcirc-user-authenticated): Define to fix compiler warning.
3309 2011-03-22  Chong Yidong  <cyd@stupidchicken.com>
3311         * custom.el (custom--inhibit-theme-enable): Make it affect only
3312         custom-theme-set-variables and custom-theme-set-faces.
3313         (provide-theme): Ignore custom--inhibit-theme-enable.
3314         (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
3315         (custom-enabling-themes): Delete variable.
3316         (enable-theme): Accept only loaded themes as arguments.
3317         Ignore the special custom-enabled-themes variable.
3318         (custom-enabled-themes): Forbid themes from setting this.
3319         Eliminate use of custom-enabling-themes.
3320         (custom-push-theme): Quote "changed" custom var entry.
3322 2011-03-21  Leo Liu  <sdl.web@gmail.com>
3324         * ido.el (ido-read-internal): Add ido-selected to history instead
3325         of user input.
3327 2011-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
3329         * subr.el (deferred-action-list, deferred-action-function):
3330         Mark obsolete.
3332 2011-03-21  Leo Liu  <sdl.web@gmail.com>
3334         * vc/log-view.el: Remove (require 'wid-edit), not needed after the
3335         change on 2011-02-13 (bug#8309).
3337         * minibuffer.el (read-file-name-function): Change default value.
3338         (read-file-name--defaults): Rename from read-file-name-defaults.
3339         (read-file-name-default): Rename from read-file-name.
3340         (read-file-name): Call read-file-name-function.
3342 2011-03-21  Glenn Morris  <rgm@gnu.org>
3344         * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
3345         Doc fixes.
3347 2011-03-21  Chong Yidong  <cyd@stupidchicken.com>
3349         * cus-theme.el: Add missing provide statement.
3350         (customize-create-theme): Extract theme value correctly.
3351         (custom-theme-visit-theme): Autoload.
3352         (customize-create-theme): Prompt before inserting default faces.
3354 2011-03-20  Jay Belanger  <jay.p.belanger@gmail.com>
3356         * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
3357         units and musical notes.
3359 2011-03-20  Leo  <sdl.web@gmail.com>
3361         * ido.el (ido-read-internal): Use completing-read-default.
3362         (ido-completing-read): Fix compatibility with completing-read.
3364 2011-03-20  Christian Ohler  <ohler@gnu.org>
3366         * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
3367         (ert-delete-all-tests): Use `called-interactively-p' rather than
3368         `interactive-p'.
3369         (ert--make-xrefs-region): Respect END.
3371 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
3373         * dired-aux.el (dired-create-directory): Signal an error if the
3374         directory already exists (Bug#8246).
3376         * facemenu.el (list-colors-display): Call list-faces-display
3377         inside with-help-window.
3378         (list-colors-print): Use display property to align the final
3379         column, instead of checking window-width.
3381 2011-03-19  Eli Zaretskii  <eliz@gnu.org>
3383         * emerge.el (emerge-metachars): Separate value for ms-dos and
3384         windows-nt systems.
3385         (emerge-protect-metachars): Quote correctly for ms-dos and
3386         windows-nt systems.
3388 2011-03-19  Ralph Schleicher  <rs@ralph-schleicher.de>
3390         * info.el (info-initialize): Replace all uses of `:' with
3391         path-separator for compatibility with non-Unix systems.
3392         Cache quoting of path-separator.  (Bug#8258)
3394 2011-03-19  Juanma Barranquero  <lekktu@gmail.com>
3396         * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
3397         (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
3398         (mouse-avoidance-mode): Fix typos in docstrings.
3400 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
3402         * startup.el (package-subdirectory-regexp): Move from package.el.
3403         Omit \\` and \\', and let callers add them.
3405         * emacs-lisp/package.el (package-strip-version)
3406         (package-load-all-descriptors): Add \\` and \\' to
3407         package-subdirectory-regexp before using it.
3408         (package-untar-buffer): New arg DIR; ensure that file untars only
3409         into this expected directory.  Remove superfluous delete-region.
3410         (package-unpack): Caller changed.
3411         (package-tar-file-info): Use package-subdirectory-regexp.
3413 2011-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3415         * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
3416         diff-mode-shared-map (bug#8284).
3417         (diff-mode-shared-map): Re-introduce some bindings that were problematic.
3419 2011-03-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3421         * calendar/time-date.el (format-seconds): Use assoc instead of
3422         assoc-string, since assoc-string doesn't exist in XEmacs.
3424 2011-03-17  Juanma Barranquero  <lekktu@gmail.com>
3426         * custom.el (custom-known-themes): Reflow docstring.
3427         (custom-theme-load-path): Fix typo in docstring.
3428         (load-theme): Fix typo in error message.
3429         (custom-available-themes, custom-variable-theme-value):
3430         Use `let', not `let*'.
3432 2011-03-17  Jay Belanger  <jay.p.belanger@gmail.com>
3434         * calc/README: Mention inclusion of musical notes.
3436         * calc/calc-units.el (calc-lu-quant): Rename from
3437         `calc-logunits-quantity'.
3438         (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
3439         (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
3440         (calc-db): Rename from `calc-dblevel'.
3441         (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
3442         (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
3443         (calc-np): Rename from `calc-nplevel'.
3444         (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
3445         (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
3446         (calc-lu-plus): Rename from `calc-logunits-add'.
3447         (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
3448         (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
3449         (calc-lu-minus): Rename from `calc-logunits-sub'.
3450         (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
3451         (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
3452         (calc-lu-times): Rename from `calc-logunits-mul'.
3453         (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
3454         (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
3455         (calc-lu-divide): Rename from `calc-logunits-div'.
3456         (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
3457         (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
3459         * calc/calc-ext.el (calc-init-extensions): Update the names of the
3460         functions being autoloaded.
3462         * calc/calc.el (calc-lu-power-reference): Rename from
3463         `calc-logunits-power-reference'.
3464         (calc-lu-field-reference): Rename from
3465         `calc-logunits-field-reference'.
3467         * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
3469 2011-03-17  Stefan Monnier  <monnier@iro.umontreal.ca>
3471         * minibuffer.el (completion-all-sorted-completions):
3472         Use :completion-cycle-penalty text property if present.
3474 2011-03-16  Ken Manheimer  <ken.manheimer@gmail.com>
3476         * allout.el (allout-yank-processing): Adjust for new rebulleting
3477         regime so bullet being yanked is used without prompting the user
3478         for a choice.
3480 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
3482         * startup.el (command-line): Warn the user that _emacs is deprecated.
3484 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
3486         * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
3487         (delphi-verbose, delphi-comment-face, delphi-string-face)
3488         (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
3489         (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
3490         (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
3491         (delphi-new-comment-line, delphi-font-lock-defaults)
3492         (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
3493         Fix typos in docstrings.
3495 2011-03-15  Ken Manheimer  <ken.manheimer@gmail.com>
3497         * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
3498         Invert the roles of character and string values for INSTEAD, so a
3499         string is used for the more common case of a defaulting prompt.
3501 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
3503         * progmodes/ruby-mode.el (ruby-backward-sexp):
3504         * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
3505         * play/gamegrid.el (gamegrid-make-face):
3506         * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
3507         (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
3508         * notifications.el (notifications-notify):
3509         * net/xesam.el (xesam-search-engines):
3510         * net/quickurl.el (quickurl-list-insert):
3511         * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
3513 2011-03-15  Chong Yidong  <cyd@stupidchicken.com>
3515         * startup.el (command-line): Update package subdirectory regexp.
3517 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
3519         * allout.el (allout-abbreviate-flattened-numbering)
3520         (allout-mode-deactivate-hook): Fix up obsolescence "date".
3522         * subr.el (read-char-choice): Only show the cursor after the prompt,
3523         not after the answer.
3525 2011-03-15  Kevin Ryde  <user42@zip.com.au>
3527         * help-fns.el (variable-at-point): Skip leading quotes, if any
3528         (bug#8253).
3530 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
3532         * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
3533         warning message.
3535 2011-03-14  Michael Albinus  <michael.albinus@gmx.de>
3537         * shell.el (shell): When called interactively, offer to change the
3538         shell file name on remote hosts.
3540 2011-03-13  Teodor Zlatanov  <tzz@lifelogs.com>
3542         * net/ldap.el (ldap-search-internal): Add `auth-source-search'
3543         integration for LDAP parameters.  The host, base, user or binddn,
3544         and secret tokens can be specified in a netrc file, for instance.
3545         This is optional because an `auth-source' parameter must be
3546         specified in the search attributes.
3548 2011-03-13  Juanma Barranquero  <lekktu@gmail.com>
3550         * help.el (describe-mode): Link to the mode's definition (bug#8185).
3552 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3554         * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
3555         into declaration.  Remove redundant and harmful binding.
3557 2011-03-12  Eli Zaretskii  <eliz@gnu.org>
3559         * files.el (file-ownership-preserved-p): Pass `integer' as an
3560         explicit 2nd argument to `file-attributes'.  If the file's owner
3561         is the Administrators group on Windows, and the current user is
3562         Administrator, consider that a match.
3564         * server.el (server-ensure-safe-dir): Consider server directory
3565         safe on MS-Windows if its owner is the Administrators group while
3566         the current Emacs user is Administrator.  Use `=' to compare
3567         numerical UIDs, since they could be integers or floats.
3569 2011-03-12  Juanma Barranquero  <lekktu@gmail.com>
3571         * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
3573 2011-03-12  Michael Albinus  <michael.albinus@gmx.de>
3575         Sync with Tramp 2.2.1.
3577         * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
3579         * net/trampver.el: Update release number.
3581 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3583         * progmodes/compile.el (compilation--previous-directory): Fix up
3584         various nil/dead-marker mismatches (bug#8014).
3585         (compilation-directory-properties, compilation-error-properties):
3586         Don't call it at a position past the one we're about to change.
3588         * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
3589         Disable obsolescence warnings in the file that declares it.
3591 2011-03-11  Ken Manheimer  <ken.manheimer@gmail.com>
3593         * allout-widgets.el (allout-widgets-tally):
3594         Initialize allout-widgets-tally as a hash table rather than nil to
3595         prevent mode-line redisplay warnings.  Also, clarify the module
3596         description and fix a comment typo.
3598 2011-03-11  Juanma Barranquero  <lekktu@gmail.com>
3600         * help-fns.el (describe-variable): Don't complete keywords.
3601         Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
3603 2011-03-10  Chong Yidong  <cyd@stupidchicken.com>
3605         * emacs-lisp/package.el (package-version-join): Impose a standard
3606         string representation for pre/alpha/beta version lists.
3607         (package-unpack-single): Standardize the directory name by passing
3608         it through package-version-join.
3609         (package-strip-rcs-id): Accept any version string that does not
3610         signal an error in version-to-list.
3612 2011-03-10  Michael Albinus  <michael.albinus@gmx.de>
3614         * simple.el (delete-trailing-whitespace): Return nil for the
3615         benefit of `write-file-functions'.
3617 2011-03-10  Glenn Morris  <rgm@gnu.org>
3619         * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
3621         * vc/vc-git.el (vc-git-program): New option.
3622         (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
3623         (vc-git--call): Use it.
3625         * eshell/esh-util.el (eshell-condition-case): Doc fix.
3627         * cus-edit.el (Custom-newline): If no button at point, look
3628         for a subgroup button at start-of-line.  (Bug#2298)
3630         * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
3632 2011-03-10  Julien Danjou  <julien@danjou.info>
3634         * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
3635         `cursor-type' is nil.
3637 2011-03-09  Jay Belanger  <jay.p.belanger@gmail.com>
3639         * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
3641 2011-03-09  Ken Manheimer  <ken.manheimer@gmail.com>
3643         * allout.el Summary: Change so yank of distinctive-bullet items
3644         preserves the existing header prefix, rebulleting it if necessary,
3645         rather than replacing it.  This is necessary for proper operation
3646         of cooperative addons like allout-widgets.
3647         (allout-make-topic-prefix, allout-rebullet-heading): Change
3648         SOLICIT arg to INSTEAD, and interpret additionally a string value
3649         as alternate bullet to be used, instead of prompting the user for
3650         a bullet character.
3652 2011-03-09  Michael Albinus  <michael.albinus@gmx.de>
3654         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
3655         Do not use `tramp-file-name-port', because this returns also
3656         `tramp-default-port'.
3658 2011-03-09  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
3660         * net/rcirc.el (rcirc-handler-001): Remove useless
3661         with-rcirc-process-buffer.
3662         (rcirc-check-auth-status): Swap arguments to string-match.
3664 2011-03-09  Glenn Morris  <rgm@gnu.org>
3666         * shell.el (shell-mode):
3667         Set comint-input-ring-size from HISTSIZE.  (Bug#7889)
3669         * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
3670         Check for GDBHISTFILE, HISTSIZE, etc.  (Bug#7889)
3672 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
3674         * emacs-lisp/package.el (package-refresh-contents)
3675         (package-menu-execute): Use condition-case-no-debug.
3677 2011-03-08  Michael Albinus  <michael.albinus@gmx.de>
3679         * simple.el (shell-command-to-string): Use `process-file'.
3681         * emacs-lisp/package.el (package-tar-file-info): Handle also
3682         remote files.
3684         * emacs-lisp/package-x.el (package-upload-buffer-internal):
3685         Use `equal' for upload base check.
3687 2011-03-08  Arni Magnusson  <arnima@hafro.is>  (tiny change)
3689         * textmodes/texinfo.el (texinfo-environments):
3690         Add deftypecv, deftypeivar, deftypemethod, deftypeop, html.  (Bug#2783)
3692 2011-03-08  Glenn Morris  <rgm@gnu.org>
3694         * cus-start.el (cursor-in-non-selected-windows):
3695         Fix :set quoting oddness.  (Bug#8192)
3697         * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
3698         in some setf expressions.  (Bug#2159)
3700 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
3702         * custom.el (custom-available-themes): Return themes in
3703         alphabetical order.
3705 See ChangeLog.15 for earlier changes.
3707 ;; Local Variables:
3708 ;; coding: utf-8
3709 ;; End:
3711   Copyright (C) 2011  Free Software Foundation, Inc.
3713   This file is part of GNU Emacs.
3715   GNU Emacs is free software: you can redistribute it and/or modify
3716   it under the terms of the GNU General Public License as published by
3717   the Free Software Foundation, either version 3 of the License, or
3718   (at your option) any later version.
3720   GNU Emacs is distributed in the hope that it will be useful,
3721   but WITHOUT ANY WARRANTY; without even the implied warranty of
3722   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
3723   GNU General Public License for more details.
3725   You should have received a copy of the GNU General Public License
3726   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.