* lisp/emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
[emacs.git] / lisp / ChangeLog
blobf0039e0b6137958e5d8707973a64c65bd0592fcc
1 2011-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
3         * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
4         variable's status.
6 2011-06-20  Jan Djärv  <jan.h.d@swipnet.se>
8         * x-dnd.el (x-dnd-version-from-flags)
9         (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
10         and long as number (Bug#8899).
11         (x-dnd-handle-xdnd): Call functions above (Bug#8899).
13 2011-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
15         * minibuffer.el (completion-metadata): Prepend the alist with `metadata'.
16         (completion-try-completion, completion-all-completions): Compute the
17         metadata argument if it's missing; make it optional (bug#8795).
19         * wid-edit.el: Use lexical scoping and move towards completion-at-point.
20         (widget-complete): Use new :completion-function property.
21         (widget-completions-at-point): New function.
22         (default): Use :completion-function instead of :complete.
23         (widget-default-completions): Rename from widget-default-complete, rewrite.
24         (widget-string-complete, widget-file-complete, widget-color-complete):
25         Remove functions.
26         (file, symbol, function, variable, coding-system, color):
27         * international/mule-cmds.el (default-input-method, charset)
28         (language-info-custom-alist):
29         * cus-edit.el (face): Use new property :completions.
31         * progmodes/pascal.el (pascal-completions-at-point): New function.
32         (pascal-mode): Use it.
33         (pascal-mode-map): Use completion-at-point.
34         (pascal-toggle-completions): Make obsolete.
35         (pascal-complete-word, pascal-show-completions):
36         * progmodes/octave-mod.el (octave-complete-symbol):
37         Redefine as obsolete alias.
38         * progmodes/octave-inf.el (inferior-octave-completion-at-point):
39         Signal absence of completion info for old Octave,
40         (inferior-octave-complete): Redefine as obsolete alias.
41         * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
42         (meta-completions-at-point): Rename from meta-complete-symbol and
43         adapt it for use on completion-at-point-functions.
44         (meta-common-mode): Use it.
45         (meta-looking-at-backward, meta-match-buffer): Remove.
46         (meta-complete-symbol): Redefine as obsolete alias.
47         (meta-common-mode-map): Use completion-at-point.
48         * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
49         (makefile-mode-map): Use completion-at-point.
50         (makefile-completions-at-point): Rename from makefile-complete and
51         adapt it for use on completion-at-point-functions.
52         (makefile-mode): Use it.
53         (makefile-complete): Redefine as obsolete alias.
55 2011-06-20  Deniz Dogan  <deniz@dogan.se>
57         * net/rcirc.el: Delete trailing whitespaces once and for all.
59 2011-06-20  Martin Rudalics  <rudalics@gmx.at>
61         * window.el (get-window-with-predicate): Start scanning with
62         window following selected window to restore Emacs 23 behavior.
63         Clarify doc-string.
64         (get-buffer-window-list): Start scanning with selected window to
65         restore Emacs 23 behavior.  Clarify doc-string.
67 2011-06-20  Daniel Colascione  <dan.colascione@gmail.com>
69         * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
71 2011-06-19  Chong Yidong  <cyd@stupidchicken.com>
73         * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
75         * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
77 2011-06-19  Martin Rudalics  <rudalics@gmx.at>
79         * window.el (display-buffer-other-window-means-other-frame):
80         Call display-buffer-normalize-alist.
81         (display-buffer-normalize-specifiers-1): Rename to
82         display-buffer-normalize-argument.  New argument other-frame.
83         Rewrite.
84         (display-buffer-normalize-specifiers-2): Rename to
85         display-buffer-normalize-options.
86         (display-buffer-normalize-alist-1): New function.
87         (display-buffer-normalize-specifiers-3): Rename to
88         display-buffer-normalize-alist.
89         Call display-buffer-normalize-alist-1.
90         (display-buffer-normalize-options-inhibit): New variable.
91         (display-buffer-normalize-specifiers): Rewrite calling
92         display-buffer-normalize-alist,
93         display-buffer-normalize-argument, and
94         display-buffer-normalize-options.  Don't call the latter if
95         display-buffer-normalize-options-inhibit is non-nil.
96         (frame-auto-delete): New option.
97         (window-deletable-p): Use frame-auto-delete.
98         (window-list-no-nils, window-state-ignored-parameters)
99         (window-state-get-1, window-state-get, window-state-put-list)
100         (window-state-put-1, window-state-put-2, window-state-put):
101         New functions.
102         (display-buffer-normalize-options): Move special-display-p group
103         after pop-up-frame group (Bug#8851) and (Bug#8856).
105 2011-06-18  Chong Yidong  <cyd@stupidchicken.com>
107         * emacs-lisp/rx.el (rx-constituents): Add support for numbered
108         groups (Bug#8776).
109         (rx-submatch-n): New function.
110         (rx): Document it.
112         * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
113         (Bug#8768).
115         * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
117         * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
119         * cus-face.el (custom-declare-face): Call custom-theme-recalc face
120         anytime existing face settings are present (Bug#8889).
122         * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
123         (delphi-mode): Use define-derived-mode to inherit from prog-mode.
124         Remove unused argument.
126 2011-06-18  Martin Rudalics  <rudalics@gmx.at>
128         * window.el (display-buffer-default-specifiers):
129         Remove pop-up-frame.  Add pop-up-window-min-height,
130         pop-up-window-min-width, and another reuse-window specifier
131         (Bug#8882).  Reported by Dan Nicolaescu <dann@gnu.org>.
132         (display-buffer-normalize-specifiers-2):
133         Handle split-height-threshold and split-width-threshold also when
134         pop-up-windows is unset.  Add a reuse-window specifier for the
135         case popping up a new window fails.
136         (special-display-popup-frame): Remove double quoting.
137         (display-buffer-normalize-specifiers-1): Fix thinko.
139 2011-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
141         * shell.el (shell-completion-vars): Set pcomplete-termination-string
142         according to comint-completion-addsuffix.
144         * pcomplete.el: Convert to lexical binding and fix bug#8819.
145         (pcomplete-suffix-list): Mark as obsolete.
146         (pcomplete-completions-at-point): Capture pcomplete-norm-func and
147         pcomplete-seen in the closure.
148         (pcomplete-comint-setup): Setup completion-at-point as well.
149         (pcomplete--entries): New function.
150         (pcomplete--env-regexp): New var.
151         (pcomplete-entries): Rewrite to work with partial-completion and
152         without relying on pcomplete-suffix-list.
153         (pcomplete-pare-list): Remove, unused.
155 2011-06-17  Martin Rudalics  <rudalics@gmx.at>
157         * window.el (display-buffer-alist): Set pop-up-window-min-height
158         and pop-up-window-min-width in default value.  Reported by
159         Thierry Volpiatto <thierry.volpiatto@gmail.com>.  New specifier
160         other-window-means-other-frame.
161         (display-buffer-macro-specifiers): Comment out entry for
162         other-window specifier.
163         (display-buffer-other-window-means-other-frame): New function.
164         (display-buffer-normalize-specifiers-1): New arguments
165         buffer-name and label.  Treat other-window case specially.
166         (display-buffer-normalize-specifiers-2): Treat other-window case
167         specially.
168         (display-buffer-normalize-specifiers-3): New function.
169         (display-buffer-normalize-specifiers):
170         Call display-buffer-normalize-specifiers-3.
172 2011-06-17  Martin Rudalics  <rudalics@gmx.at>
174         * window.el (same-window-p): Fix two typos introduced when
175         adding with-no-warnings.
176         (display-buffer-normalize-specifiers-1): Don't check
177         pop-up-frames for 'unset initialization.
178         (display-buffer-normalize-specifiers-2): Major rewrite using
179         special-display-p and same-window-p (Bug#8851) and (Bug#8856).
180         (pop-up-frames, display-buffer-reuse-frames)
181         (display-buffer-mark-dedicated): Don't initialize to 'unset.
182         Suggested by David Engster <deng@randomsample.de>.
183         (even-window-heights): Initialize to 'unset.
184         (display-buffer-alist-set): Handle new 'unset initializations.
185         (display-buffer-macro-specifiers): Don't pop up a new frame in the
186         other window case.
188 2011-06-16  Martin Rudalics  <rudalics@gmx.at>
190         * window.el (display-buffer-normalize-specifiers-1):
191         Respect current value of pop-up-frames for most reasonable values of
192         second argument of display-buffer (Bug#8865).
193         (switch-to-buffer-same-frame, switch-to-buffer-other-window)
194         (switch-to-buffer-other-window-same-frame)
195         (switch-to-buffer-other-frame): Fix doc-strings.  Reported by Drew
196         Adams (Bug#8875).
197         (display-buffer): Don't check noninteractive when calling
198         display-buffer-pop-up-frame.
199         (display-buffer-pop-up-frame): Never pop up a frame in
200         noninteractive mode (Bug#8857).
201         (enlarge-window, shrink-window): Don't report an error when the
202         window can't be resized as requested (Bug#8862).
204 2011-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
206         * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
208         * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
210         * abbrev.el (define-abbrev-table): Don't add a table multiple times.
212 2011-06-15  Alan Mackenzie  <acm@muc.de>
214         * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
215         for declarators, disable knr checking to speed up for normal files.
216         2: Refactor, replacing a sequence of nested if forms by a cond form.
218 2011-06-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
220         * net/network-stream.el (open-network-stream): Add the keyword
221         :always-query-capabilities for the case where you want to force a
222         `plain' network connection, but the protocol still requires the
223         capabilitiy command (i.e., SMTP and EHLO).
225         * subr.el (process-live-p): Rename from `process-alive-p' for
226         consistency with other `-live-p' functions.
228 2011-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
230         * window.el (same-window-buffer-names, same-window-regexps)
231         (special-display-frame-alist, special-display-popup-frame)
232         (special-display-function, special-display-buffer-names)
233         (special-display-regexps, pop-up-frame-alist)
234         (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
235         (pop-up-windows, split-window-preferred-function)
236         (split-height-threshold, split-width-threshold, even-window-heights)
237         (display-buffer-mark-dedicated): Don't encourage the use of
238         display-buffer-alist from Elisp code.
240 2011-06-15  Dan Nicolaescu  <dann@ics.uci.edu>
242         * progmodes/python.el (python-mode): Derive from prog-mode.
243         * progmodes/ps-mode.el (ps-mode):
244         * progmodes/mixal-mode.el (mixal-mode):
245         * progmodes/cfengine.el (cfengine-mode):
246         * progmodes/ld-script.el (ld-script-mode): Likewise.
248 2011-06-15  Martin Rudalics  <rudalics@gmx.at>
250         * window.el (display-buffer-alist): Trim default value to avoid
251         popping up a new frame (Bug#8857) or reusing an arbitrary window
252         on another frame.
253         (display-buffer): Do not fall back on popping up a new frame in
254         batch mode (Bug#8857).
256 2011-06-14  Chong Yidong  <cyd@stupidchicken.com>
258         * cus-theme.el (describe-theme-1): Use custom-theme-p.
259         (custom-theme-summary): New function.
260         (customize-themes): Use it.
262 2011-06-13  Glenn Morris  <rgm@gnu.org>
264         * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
266 2011-06-13  Martin Rudalics  <rudalics@gmx.at>
268         * help.el (help-window): Remove variable.
269         (help-window-point-marker, temp-buffer-max-height)
270         (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
271         (help-print-return-message): Don't set help-window.
272         (resize-temp-buffer-window): Rewrite cod eand doc-string.
273         (help-window-setup-finish): Remove.
274         (help-window-display-message, help-window-setup)
275         (with-help-window): Major rewrite based on new
276         display-buffer-window variable.
278         * help-mode.el (help-mode-finish): Remove help-window related
279         code.
281         * view.el (view-exits-all-viewing-windows): Remove reference to
282         view-return-to-alist in doc-string.
283         (view-return-to-alist): Make obsolete.
284         (view-buffer): Call pop-to-buffer-same-window and remove
285         undo-window code.
286         (view-buffer-other-window): Call pop-to-buffer-other-window and
287         simplify code.  Ignore second argument.
288         (view-buffer-other-frame): Call pop-to-buffer-other-frame and
289         simplify code.  Ignore second argument.
290         (view-return-to-alist-update): Make obsolete.
291         (view-mode-enter): Rename second argument to QUIT-RESTORE.
292         Rewrite using quit-restore window parameters.
293         (view-mode-exit): Rename second argument to EXIT-ONLY.
294         Rewrite using quit-restore-window.
295         (View-exit, View-exit-and-edit, View-leave, View-quit)
296         (View-quit-all, View-kill-and-leave): Call view-mode-exit with
297         appropriate arguments.
298         (view-end-message): Use quit-restore window parameter.
300         * window.el (display-buffer-function): Rewrite doc-string.
301         (display-buffer-window, display-buffer-alist): New variables.
302         (display-buffer-split-specifiers)
303         (display-buffer-side-specifiers)
304         (display-buffer-macro-specifiers): New constants.
305         (display-buffer-even-window-sizes, display-buffer-set-height)
306         (display-buffer-set-width, display-buffer-select-window)
307         (display-buffer-in-window, display-buffer-reuse-window)
308         (display-buffer-split-window-1, display-buffer-split-window)
309         (display-buffer-split-atom-window, display-buffer-pop-up-window)
310         (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
311         (display-buffer-in-side-window, normalize-buffer-to-display)
312         (display-buffer-normalize-specifiers-1)
313         (display-buffer-normalize-specifiers-2)
314         (display-buffer-normalize-specifiers, display-buffer-frame):
315         New functions.
316         (display-buffer): Major rewrite.
317         (display-buffer-other-window, display-buffer-other-frame)
318         (pop-to-buffer, switch-to-buffer-other-window)
319         (switch-to-buffer-other-frame): Rewrite.
320         (display-buffer-same-window, display-buffer-same-frame)
321         (display-buffer-same-frame-other-window)
322         (pop-to-buffer-same-window, pop-to-buffer-same-frame)
323         (pop-to-buffer-other-window)
324         (pop-to-buffer-same-frame-other-window)
325         (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
326         (switch-to-buffer-other-window-same-frame): New functions.
327         (same-window-p, special-display-p): Rewrite disabling warnings.
328         Make obsolete.
329         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
330         (display-buffer-mark-dedicated): Initialize to symbol 'unset.
331         Make obsolete
332         (same-window-buffer-names, same-window-regexps)
333         (special-display-frame-alist, special-display-popup-frame)
334         (special-display-function, special-display-buffer-names)
335         (special-display-regexps, pop-up-frame-alist)
336         (pop-up-frame-function, split-window-preferred-function)
337         (split-height-threshold, split-width-threshold)
338         (even-window-heights): Make obsolete.
340 2011-06-12  Glenn Morris  <rgm@gnu.org>
342         * term/xterm.el (terminal-init-xterm): `version' may be nil.  (Bug#8838)
343         Misc simplifications.
345 2011-06-12  Martin Rudalics  <rudalics@gmx.at>
347         * window.el (window-safely-shrinkable-p): Restore function which
348         was inadvertently removed in change from 2011-06-11.  Declare as
349         obsolete.
351         * calendar/calendar.el (calendar-generate-window):
352         Use window-iso-combined-p instead of combination of one-window-p and
353         window-safely-shrinkable-p.
355 2011-06-12  Glenn Morris  <rgm@gnu.org>
357         * progmodes/fortran.el (fortran-mode-syntax-table):
358         * progmodes/f90.el (f90-mode-syntax-table):
359         Set % to punctuation.  (Bug#8820)
360         (f90-find-tag-default): Remove, no longer needed.
362 2011-06-12  Daniel Colascione  <dan.colascione@gmail.com>
364         * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
366 2011-06-11  Chong Yidong  <cyd@stupidchicken.com>
368         * image.el (image-animated-p): Return animation delay in seconds.
369         Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
370         (image-animate-timeout): Remove DELAY argument.  Don't assume
371         every subimage has the same delay; get it from image-animated-p.
372         (image-animate): Caller changed.
374 2011-06-11  Michael Albinus  <michael.albinus@gmx.de>
376         * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
377         to ignored backtrace functions.
379 2011-06-11  Glenn Morris  <rgm@gnu.org>
381         * calendar/appt.el (appt-disp-window-function): Doc fix.
382         (appt-check): Handle overlapping appointments.  (Bug#8337)
384 2011-06-11  Martin Rudalics  <rudalics@gmx.at>
386         * window.el (window-tree-1, window-tree): New functions, moving
387         the latter to window.el.
388         (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
389         (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
390         (bw-refresh-edges): Remove.
391         (balance-windows-1, balance-windows-2): New functions.
392         (balance-windows): Rewrite in terms of window tree functions,
393         balance-windows-1 and balance-windows-2.
394         (bw-adjust-window): Remove.
395         (balance-windows-area-adjust): New function with functionality of
396         bw-adjust-window but using resize-window.
397         (set-window-text-height): Rewrite doc-string.
398         Use normalize-live-window and resize-window.
399         (enlarge-window-horizontally, shrink-window-horizontally):
400         Rename argument to DELTA.
401         (window-buffer-height): New function.
402         (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
403         Rewrite using new window resize routines.
404         (kill-buffer-and-window, mouse-autoselect-window-select):
405         Use ignore-errors instead of condition-case.
406         (quit-window): Call delete-frame instead of delete-windows-on
407         for the only buffer on frame.
409 2011-06-10  Martin Rudalics  <rudalics@gmx.at>
411         * loadup.el (top-level): Load window before files for the sake
412         of replace-buffer-in-windows.
414         * files.el (read-buffer-to-switch)
415         (switch-to-buffer-other-window)
416         (switch-to-buffer-other-frame, display-buffer-other-frame):
417         Move to window.el.
419         * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
420         (previous-buffer): Move to window.el.
422         * bindings.el (unbury-buffer): Move to window.el.
424         * window.el (delete-other-windows-vertically): Move after
425         definition of delete-other-windows.
426         (other-window, delete-windows-on, replace-buffer-in-windows):
427         Move here from window.c.
428         (record-window-buffer, unrecord-window-buffer)
429         (set-window-buffer-start-and-point, switch-to-prev-buffer)
430         (switch-to-next-buffer): New functions.
431         (get-next-valid-buffer, last-buffer, next-buffer): Move here
432         from simple.el.  Call switch-to-next-buffer.
433         (previous-buffer): Move here from simple.el.
434         Call switch-to-prev-buffer.
435         (bury-buffer): Move here from buffer.c.  Switch to previous
436         buffer when window cannot be deleted.
437         (unbury-buffer): Move here from bindings.el.
438         (ctl-x-map): Move binding for other-window from window.c to
439         here.
440         (read-buffer-to-switch, switch-to-buffer-other-window)
441         (switch-to-buffer-other-frame): Move here from files.el.
442         (normalize-buffer-to-switch-to): New functions.
443         (switch-to-buffer): Move here from buffer.c.
444         Use read-buffer-to-switch and normalize-buffer-to-switch-to.
446 2011-06-10  Martin Rudalics  <rudalics@gmx.at>
448         * window.el (window-min-height, window-min-width): Move here
449         from window.c.  Add defcustoms and rewrite doc-strings.
450         (resize-mini-window, resize-window): New functions.
451         (adjust-window-trailing-edge, enlarge-window, shrink-window):
452         Move here from window.c.
453         (maximize-window, minimize-window): New functions.
454         (delete-window, delete-other-windows, split-window): Move here
455         from window.c.
456         (window-split-min-size): New function.
457         (split-window-keep-point): Mention split-window-above-each-other
458         instead of split-window-vertically.
459         (split-window-above-each-other, split-window-vertically):
460         Rename split-window-vertically to split-window-above-each-other and
461         provide defalias for old definition.
462         (split-window-side-by-side, split-window-horizontally): Rename
463         split-window-horizontally to split-window-side-by-side and provide
464         defalias for the old definition.
465         (ctl-x-map): Move bindings for delete-window,
466         delete-other-windows and enlarge-window here from window.c.
467         Replace bindings for split-window-vertically and
468         split-window-horizontally by bindings for
469         split-window-above-each-other and split-window-side-by-side.
471         * cus-start.el (all): Remove entries for window-min-height and
472         window-min-width.  Add entries for window-splits and
473         window-nest.
475 2011-06-09  Glenn Morris  <rgm@gnu.org>
477         * calendar/appt.el (appt-mode-line): New function.
478         (appt-check, appt-disp-window): Use it.
480         * files.el (hack-one-local-variable-eval-safep):
481         Allow minor-modes with explicit +/-1 arguments.
483 2011-06-09  Teodor Zlatanov  <tzz@lifelogs.com>
485         * term/xterm.el (xterm): Add defgroup.
486         (xterm-extra-capabilities): Add defcustom to supply known xterm
487         capabilities, skip querying them, or query them (default).
488         (terminal-init-xterm): Use it.
489         (terminal-init-xterm-modify-other-keys): New function to set up
490         modifyOtherKeys support to simplify `terminal-init-xterm'.
492 2011-06-09  Martin Rudalics  <rudalics@gmx.at>
494         * window.el (resize-window-reset, resize-window-reset-1)
495         (resize-subwindows-skip-p, resize-subwindows-normal)
496         (resize-subwindows, resize-other-windows, resize-this-window)
497         (resize-root-window, resize-root-window-vertically)
498         (window-deletable-p, window-or-subwindow-p)
499         (frame-root-window-p): New functions.
501 2011-06-09  Glenn Morris  <rgm@gnu.org>
503         * net/ange-ftp.el (ange-ftp-switches-ok): New function.
504         (ange-ftp-get-files): Use it.
506 2011-06-09  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
508         * mail/sendmail.el (mail-recover-1, mail-recover):
509         * files.el (recover-file, recover-session):
510         Handle dired-listing-switches not being just a single short option.
512 2011-06-09  Glenn Morris  <rgm@gnu.org>
514         * calendar/appt.el (appt-display-message, appt-disp-window):
515         Handle lists of appointments.
517 2011-06-08  Martin Rudalics  <rudalics@gmx.at>
519         * window.el (one-window-p): Move down in code.
520         Rewrite doc-string.
521         (window-current-scroll-bars): Rewrite doc-string.
522         Normalize live window argument.
523         (walk-windows, get-window-with-predicate, count-windows):
524         Rewrite doc-string.  Use window-list-1.
525         (window-in-direction-2, window-in-direction, get-mru-window):
526         New functions.
528 2011-06-08  Reuben Thomas <rrt@sc3d.org>
530         * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
531         Doc fix (Bug#8713).
533 2011-06-08  Chong Yidong  <cyd@stupidchicken.com>
535         * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
537 2011-06-08  Juanma Barranquero  <lekktu@gmail.com>
539         * loadhist.el (unload-feature-special-hooks):
540         Add `comint-output-filter-functions'.
542 2011-06-08  Ivan Kanis  <gnu@kanis.fr>
544         * calendar/appt.el (appt-check): Move some initializations into the let.
546 2011-06-08  Martin Rudalics  <rudalics@gmx.at>
548         * window.el (window-height): Defalias to window-total-height.
549         (window-width): Defalias to window-body-width.
551 2011-06-07  Chong Yidong  <cyd@stupidchicken.com>
553         * image-mode.el (image-toggle-animation): New command.
554         (image-mode-map): Bind it to RET.
555         (image-mode): Update message.
556         (image-toggle-display-image): Avoid a spurious cache flush.
557         (image-transform-rotation): Doc fix.
558         (image-transform-properties): Return quickly in the normal case.
559         (image-animate-loop): Rename from image-animate-max-time.
561         * image.el (image-animate-max-time): Move to image-mode.el.
562         (create-animated-image): Remove unnecessary function.
563         (image-animate): Rename from image-animate-start.  New arg.
564         (image-animate-stop): Remove; just use image-animate-timer.
565         (image-animate-timer): Use car-safe.
566         (image-animate-timeout): Rename argument.
568 2011-06-07  Martin Rudalics  <rudalics@gmx.at>
570         * window.el (get-lru-window, get-largest-window): Move here from
571         window.c.  Rename first argument to ALL-FRAMES.
572         Rephrase doc-strings.
573         (get-buffer-window-list): Rewrite using window-list-1.
574         Rephrase doc-string.
575         (window-safe-min-height, window-safe-min-width): New constants.
576         (window-size-ignore, window-min-size, window-min-size-1)
577         (window-sizable, window-sizable-p, window-size-fixed-1)
578         (window-size-fixed-p, window-min-delta-1, window-min-delta)
579         (window-max-delta-1, window-max-delta, window-resizable)
580         (window-resizable-p, window-total-height, window-total-width)
581         (window-body-width): New functions.
582         (window-full-height-p, window-full-width-p): Rewrite using
583         window-total-size.
584         (window-body-height): Rewrite using window-body-size.
586 2011-06-06  Martin Rudalics  <rudalics@gmx.at>
588         * window.el (window-right, window-left, window-child)
589         (window-child-count, window-last-child, window-any-p)
590         (normalize-live-buffer, normalize-live-frame)
591         (normalize-any-window, normalize-live-window)
592         (window-iso-combination-p, window-iso-combined-p)
593         (window-iso-combinations)
594         (walk-window-tree-1, walk-window-tree, walk-window-subtree)
595         (windows-with-parameter, window-with-parameter)
596         (window-atom-root, make-window-atom, window-atom-check-1)
597         (window-atom-check, window-side-check, window-check):
598         New functions.
599         (ignore-window-parameters, window-sides, window-sides-vertical)
600         (window-sides-slots): New variables.
601         (window-size-fixed): Move down in code.  Minor doc-string fix.
603 2011-06-05  Andreas Schwab  <schwab@linux-m68k.org>
605         * comint.el (comint-dynamic-complete-as-filename)
606         (comint-dynamic-complete-filename): Correctly call
607         completion-in-region.
609 2011-06-05  Deniz Dogan  <deniz@dogan.se>
611         * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
612         in last change.
614 2011-06-05  Deniz Dogan  <deniz@dogan.se>
616         * net/rcirc.el (rcirc-prompt-for-encryption): New function.
617         (rcirc): Use it to prompt for encryption.
619 2011-06-05  Roland Winkler  <winkler@gnu.org>
621         * textmodes/bibtex.el (bibtex-search-buffer): New variable.
622         (bibtex-search-entries): New command bound to C-c C-a.
623         (bibtex-display-entries): New function.
625 2011-06-05  Roland Winkler  <winkler@gnu.org>
627         * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
628         (bibtex-insert-kill): After yanking insert newline if necessary.
629         (bibtex-initialize): Call bibtex-string-files-init only once.
630         (bibtex-mode): Do not call easy-menu-add.
631         (bibtex-validate-globally): Use save-excursion in bibtex buffers.
632         (bibtex-yank): Set arg properly if nil.
634 2011-06-05  Roland Winkler  <winkler@gnu.org>
636         * textmodes/bibtex.el (bibtex-search-entry-globally):
637         New variable.
638         (bibtex-search-entry): Use it.
640 2011-06-05  Roland Winkler  <winkler@gnu.org>
642         * textmodes/bibtex.el (bibtex-entry-format): New option
643         sort-fields.
644         (bibtex-format-entry, bibtex-reformat): Honor this option.
645         (bibtex-parse-entry): Return fields in proper order.
647 2011-06-05  Juanma Barranquero  <lekktu@gmail.com>
649         * doc-view.el (doc-view-remove-if): Move computation of result out
650         of `dolist' to silence misleading lexical-binding warning.
652 2011-06-04  Chong Yidong  <cyd@stupidchicken.com>
654         * emacs-lisp/timer.el (timer-activate): Remove unused arg.
655         (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
657 2011-06-04  Michael Albinus  <michael.albinus@gmx.de>
659         * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
660         "SunOS 5.10".
662 2011-06-04  Michael Albinus  <michael.albinus@gmx.de>
664         * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
665         (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
666         (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
667         (tramp-parse-putty):
668         * net/tramp-sh.el (tramp-completion-function-alist-rsh)
669         (tramp-completion-function-alist-ssh)
670         (tramp-completion-function-alist-telnet)
671         (tramp-completion-function-alist-su)
672         (tramp-completion-function-alist-putty): Set `tramp-autoload'
673         cookie.
675         * net/tramp-ftp.el:
676         * net/tramp-sh.el:
677         * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
678         load "tramp.el" `tramp-set-completion-function'.
680 2011-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
682         * shell.el: Require and use pcomplete.
683         (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
684         (shell-completion-vars): Set pcomplete-default-completion-function.
686 2011-06-04  Deniz Dogan  <deniz@dogan.se>
688         * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
689         `memq' (Bug#8799).
691 2011-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
693         * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
695 2011-06-02  Juanma Barranquero  <lekktu@gmail.com>
697         * bs.el (bs--mark-unmark, bs--nth-wrapper):
698         * mpc.el (mpc-select-extend, mpc-songpointer-context):
699         * vc/log-view.el (log-view-beginning-of-defun):
700         * vc/smerge-mode.el (smerge-apply-resolution-patch)
701         (smerge-refine-forward, smerge-refine-chopup-region):
702         Silence warning for unused `dotimes' counter variables.
704 2011-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
706         * net/tramp.el (tramp-with-progress-reporter): Rename from
707         with-progress-reporter.  Use `declare'.
708         * net/tramp-smb.el:
709         * net/tramp-sh.el:
710         * net/tramp-gvfs.el: Update all uses.
712 2011-06-02  Jay Belanger  <jay.p.belanger@gmail.com>
714         * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
715         buffer isn't killed before making it current.
717 2011-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
719         Silence various byte-compiler warnings.
720         * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
721         `access-type' and new obsolescence format.
722         * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
723         new format.
724         (byte-compile-check-variable): New `access-type' argument.
725         Only warn if the access-type is obsolete.
726         (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
727         (byte-compile-variable-set): Adjust callers.
728         * help-fns.el (describe-variable): Adjust to new obsolescence format.
729         * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
730         setting it as obsolete.
731         * simple.el (minibuffer-completing-symbol):
732         * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
733         access as obsolete.
734         * minibuffer.el (minibuffer-completing-file-name): Don't make it
735         obsolete yet.
736         * international/quail.el (quail-mouse-choose-completion): Remove unused
737         code referring to obsolete var.
738         (quail-choose-completion-string): Remove.
739         * server.el (server-clients-with, server-kill-buffer-query-function)
740         (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
741         * proced.el (proced-send-signal):
742         * emacs-lisp/lisp.el (lisp-complete-symbol):
743         Replace completion-annotate-function with completion-extra-properties.
745 2011-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
747         * simple.el (goto-line): Use read-number.
748         (overriding-map-is-bound): Remove.
749         (saved-overriding-map): Change default.
750         (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
751         Take the map as argument.
752         (universal-argument, negative-argument, digit-argument): Use it.
753         (restore-overriding-map): Adjust.
754         (do-auto-fill): Use fill-forward-paragraph.
755         (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
757         * minibuffer.el (minibuffer-inactive-mode-map): New var.
758         (minibuffer-inactive-mode): New major mode.
759         * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
760         the *Messages* buffer" hack.
761         (mouse-popup-menubar): Don't burp if the event is a normal key.
763         Miscellaneous tweaks.
764         * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
765         lexical scoping as in subr.el's dolist and dotimes.
766         * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
767         Silence compiler warning.
768         * thingatpt.el (forward-whitespace): Trivial coding style fix.
769         * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
770         * international/ccl.el (ccl-compile): Trivial simplification.
771         * help-fns.el (help-do-arg-highlight): Silence compiler warning.
772         * emacs-lisp/testcover.el (testcover-end): Remove spurious
773         `printflag' argument.
774         * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
775         Purecopy the whole obsolescence data.
777 2011-06-01  Leo Liu  <sdl.web@gmail.com>
779         * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
780         improve doc-string as suggested by Marco Pessotto
781         <melmothx@gmail.com>.
782         (rcirc-print): Fix last change.
784 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
786         * minibuffer.el (complete-with-action): Return nil for the metadata and
787         boundaries of non-functional tables.
788         (completion-table-dynamic): Return nil for the metadata.
789         (completion-table-with-terminator): Add default case, using
790         complete-with-action.
791         (completion--metadata): New function.
792         (completion-all-sorted-completions, minibuffer-completion-help): Use it
793         to try and avoid pathological performance problems.
794         (completion--embedded-envvar-table): Return `category' metadata.
796 2011-05-31  Lars Magne Ingebrigtsen  <larsi@gnus.org>
798         * subr.el (process-alive-p): New tiny convenience function.
800 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
802         * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
803         content but also its previous major mode.
805 2011-05-31  Helmut Eller  <eller.helmut@gmail.com>
807         * debug.el (debug): Restore the previous content of the
808         *Backtrace* buffer when we exit with C-M-c.
810 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
812         * minibuffer.el: Add metadata method to completion tables.
813         (completion-category-overrides): New defcustom.
814         (completion-metadata, completion--field-metadata)
815         (completion-metadata-get, completion--styles)
816         (completion--cycle-threshold): New functions.
817         (completion-try-completion, completion-all-completions):
818         Add `metadata' argument to choose completion-styles.
819         (completion--do-completion): Use metadata to choose cycling.
820         (completion-all-sorted-completions): Use metadata for sorting.
821         Remove :completion-cycle-penalty which is not needed any more.
822         (completion--try-word-completion): Add `metadata' argument.
823         (minibuffer-completion-help): Check metadata for annotation function
824         and sorting.
825         (completion-file-name-table): Return `category' metadata.
826         (minibuffer-completing-file-name): Make obsolete.
827         * simple.el (minibuffer-completing-symbol): Make obsolete.
828         * icomplete.el (icomplete-completions): Pass new `metadata' param to
829         completion-try-completion.
831 2011-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
833         * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
835 2011-05-30  Leo Liu  <sdl.web@gmail.com>
837         * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
838         (rcirc-print): Decode all incoming messages (bug#8744).
839         (rcirc-decode-coding-system): Allow value nil for automatic coding
840         system detection.
842 2011-06-01  Glenn Morris  <rgm@gnu.org>
844         * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
846 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
848         * image.el (image-animate-max-time): Allow nil and t values.
849         Default to nil.
850         (create-animated-image): Doc fix.
851         (image-animate-start): Remove second arg; just use
852         image-animate-max-time.
853         (image-animate-timeout): Doc fix.  Args changed.
855         * image-mode.el (image-toggle-display-image): Ensure that the
856         image spec passed to the animate timer is the same object as in
857         the the buffer's display property (Bug#6981).
858         (image-transform-properties): Doc fix.
860         * image.el (image-animate-max-time): Default to nil.
862 2011-05-29  Martin Rudalics  <rudalics@gmx.at>
864         * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
865         entire buffer list (Bug#8184).
867 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
869         * image.el (imagemagick-types-inhibit)
870         (imagemagick-register-types): Doc fix.
872 2011-05-29  Deniz Dogan  <deniz@dogan.se>
874         * net/rcirc.el (rcirc): Use the user's stored encryption method by
875         default.
877 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
879         * select.el: Don't perform clipboard-manager saving in hooks;
880         leave the hooks empty.
882 2011-05-28  Leo Liu  <sdl.web@gmail.com>
884         * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
885         (occur-mode-map): Bind occur-edit-mode.  Use occur-menu-map.
886         (occur-edit-mode): New major mode (Bug#8463).
887         (occur-after-change-function): New function.
888         (occur-engine): Give Occur tags a read-only property.
890 2011-05-28  Kevin Ryde  <user42@zip.com.au>
892         * subr.el (def-edebug-spec): Doc fix (Bug#8430).
894 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
896         * bindings.el (help-echo): Make the initial non-indicator dash
897         empty on graphical terminals (Bug#7295).
899         * files.el (auto-mode-alist): Move config rule after the
900         in-stripping one (Bug#8547).
902         * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
904         * startup.el (normal-splash-screen): Remove gratuitous mode-line
905         setting (Bug#8740).
907 2011-05-28  Alp Aker  <aker@pitt.edu>  (tiny change)
909         * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
910         (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
911         (Bug#8539).
913 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
916         * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
918 2011-05-28  Dima Kogan  <dkogan@cds.caltech.edu>  (tiny change)
920         * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
921         (hs-hide-block-at-point, hs-find-block-beginning)
922         (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
923         (Bug#8279).
925 2011-05-28  Glenn Morris  <rgm@gnu.org>
927         * startup.el (fancy-about-screen): Use standard mode line.  (Bug#8740)
929 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
931         * help-fns.el (describe-function-1): If the function is a derived
932         major mode, print the parent mode.
934         * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
935         (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
937 2011-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
939         * minibuffer.el (completion--capf-wrapper): Check applicability before
940         retuning non-nil for non-exclusive completion data.
941         * progmodes/etags.el (tags-completion-at-point-function):
942         * info-look.el (info-lookup-completions-at-point): Mark as
943         non-exclusive.
944         (info-complete): Adjust accordingly.
946         * info-look.el: Convert to lexical-binding and completion-at-point.
947         (info-lookup-completions-at-point): New function.
948         (info-complete): Use it and completion-in-region.
950 2011-05-28  Drew Adams  <drew.adams@oracle.com>
952         * isearch.el: Let M-e start with point at the first mismatched char.
953         (isearch-fail-pos): New function.
954         (isearch-edit-string): Use it.
956 2011-05-28  Dmitry Kurochkin  <dmitry.kurochkin@gmail.com>  (tiny change)
958         * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
960 2009-11-23  Toby Cubitt  <toby-predictive@dr-qubit.org>
962         * emacs-lisp/avl-tree.el: New avl-tree-stack datatype.  Add new
963         traversal functions for avl-trees.
964         (avl-tree--stack): New struct.
965         (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
966         (avl-tree-enter): Add optional `updatefun' arg.
967         (avl-tree--do-enter): Add optional `updatefun' arg.
968         Change return value.
969         (avl-tree-delete): Add optional `test' and `nilflag' args.
970         (avl-tree--do-delete): Add `test' and `nilflag' args.
971         Change return value.
972         (avl-tree-member): Add optional `nilflag'
973         (avl-tree-member-p): New function.
974         (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
975         (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
976         (avl-tree-stack-empty-p): New functions.
978 2009-11-23  Toby Cubitt  <toby-predictive@dr-qubit.org>
980         * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
981         avl-tree--del-balance1 and make it work both ways.
982         (avl-tree--del-balance2): Remove.
983         (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
984         make it work both ways.
985         (avl-tree--enter-balance2): Remove.
986         (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
987         New macros.
988         (avl-tree--mapc, avl-tree-map): Add direction argument.
990 2011-05-27  David Michael  <fedora.dm0@gmail.com>  (tiny change)
992         * files.el (interpreter-mode-alist): Add rbash (bug#8745).
994 2011-05-27  Chong Yidong  <cyd@stupidchicken.com>
996         * select.el: Support clipboard managers with built-in function
997         x-clipboard-manager-save, via delete-frame-functions and
998         kill-emacs-hook.
999         (xselect-convert-to-targets): Add MULTIPLE target to list.
1000         (xselect-convert-to-save-targets): New function.
1002 2011-05-27  Kenichi Handa  <handa@m17n.org>
1004         * mail/sendmail.el (mail-encode-header): Avoid double encoding by
1005         let-binding rfc2047-encode-encoded-words to nil.
1007 2011-05-27  Glenn Morris  <rgm@gnu.org>
1009         * mail/emacsbug.el: Don't require url-util.
1011         * shell.el (shell-directory-tracker): Case matters.  (Bug#8735)
1013         * files.el (set-auto-mode):
1014         Also respect mode: entries at the end of the file.  (Bug#8586)
1016 2011-05-26  Glenn Morris  <rgm@gnu.org>
1018         * files.el (hack-local-variables-prop-line, hack-local-variables):
1019         Downcase mode names, as seems to be traditional.
1020         (hack-local-variables, hack-local-variables-apply): Doc fixes.
1022         * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
1023         (report-emacs-bug-hook): Try to validate the From address.  (Bug#8038)
1025 2011-05-25  Julien Danjou  <julien@danjou.info>
1027         * textmodes/rst.el (rst-define-level-faces): Do not define face
1028         symbol if it is already defined.
1030 2011-05-24  Vincent Belaïche  <vincentb1@users.sourceforge.net>
1032         * play/5x5.el (5x5-new-game, 5x5-randomize):
1033         Reset 5x5-solver-output to nil when a new grid is cast.
1034         (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
1035         these debugging traces, as defmacro breaks the compiled code.
1037 2011-05-24  Dmitry Kurochkin  <dmitry.kurochkin@gmail.com>  (tiny change)
1039         * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
1041 2011-05-24  Leo Liu  <sdl.web@gmail.com>
1043         * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
1044         (vc-bzr-sha1): Adapt.
1046         * sha1.el: Remove. Function `sha1' is now builtin.
1048         * bindings.el: Provide sha1 feature.
1050 2011-05-24  Kenichi Handa  <handa@m17n.org>
1052         * mail/sendmail.el: Require `rfc2047'.
1053         (mail-insert-from-field): Do not perform RFC2047 encoding.
1054         (mail-encode-header): New function.
1055         (sendmail-send-it): Set buffer-file-coding-system of the work
1056         buffer to the return value of select-message-coding-system.
1057         Call mail-encode-header.
1059         * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
1061 2011-05-24  Sean Neakums  <sneakums@zork.net>  (tiny change)
1063         * mail/supercite.el (sc-default-cite-frame):
1064         Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
1066 2011-05-24  Glenn Morris  <rgm@gnu.org>
1068         * progmodes/python.el (brm-menu): Declare.
1070         * emulation/viper.el (viper-set-hooks): Declare.
1072         * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
1073         (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
1074         (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
1075         (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
1076         (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
1077         (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
1079 2011-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
1081         Add an :exit-function for completion-at-point.
1083         * minibuffer.el (completion--done): New fun.
1084         (completion--do-completion): Use it.  New arg `expect-exact'.
1085         (minibuffer-complete, minibuffer-complete-word): Don't output message,
1086         since completion--do-completion does it for us now.
1087         (minibuffer-force-complete): Use completion--done and
1088         completion--replace.  Handle sole-completion case with more care.
1089         (minibuffer-complete-and-exit): Use new `expect-exact' arg.
1090         (completion-extra-properties): New var.
1091         (completion-annotate-function): Make obsolete.
1092         (minibuffer-completion-help): Adjust accordingly.
1093         Use completion-list-insert-choice-function.
1094         (completion-at-point, completion-help-at-point):
1095         Bind completion-extra-properties.
1096         (completion-pcm-word-delimiters): Add | (for uniquify, for example).
1097         * simple.el (completion-list-insert-choice-function): New var.
1098         (completion-setup-function): Preserve it.
1099         (choose-completion): Pay attention to it, shuffle the code a bit.
1100         (choose-completion-string): New arg `insert-function'.
1102         * textmodes/bibtex.el: Convert to lexical binding.
1103         (bibtex-mode-map): Use completion-at-point.
1104         (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
1105         (bibtex-completion-at-point-function): New fun, from bibtex-complete.
1106         (bibtex-complete): Define as obsolete alias.
1107         (bibtex-complete-internal): Remove.
1108         (bibtex-format-entry): Remove unused sub-group in regexp.
1109         * shell.el (shell--command-completion-data)
1110         (shell-environment-variable-completion):
1111         * pcomplete.el (pcomplete-completions-at-point):
1112         * comint.el (comint--complete-file-name-data): Use :exit-function
1113         instead of completion-table-with-terminator so it also works for
1114         choose-completion.
1116 2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
1118         * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
1120         * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
1121         (bug#8710).
1123         * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
1125 2011-05-23  Ken Manheimer  <ken.manheimer@gmail.com>
1127         * allout.el (allout-inhibit-auto-fill-on-headline): Create new
1128         customization variable and implement: If non-nil, auto-fill will
1129         be inhibited while on topic's header line.
1131 2011-05-23  Vincent Belaïche  <vincentb1@users.sourceforge.net>
1133         * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
1134         click on. II/ Make 5x5 multisession. III/ Ensure that random grids
1135         always have a solution in grid size = 5 cases.
1136         (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
1137         (5x5-solver-output, 5x5-log-buffer): New vars.
1138         (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
1139         Make these variables buffer local to achieve 5x5 multi-session-ness.
1140         (5x5): Set 5x5-grid-size only if SIZE is non-negative.
1141         (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
1142         (5x5-solve-suggest): New funs.
1143         (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
1144         randomize a grid so that we ensure that there is always a solution.
1145         (5x5-make-random-grid): Allow other movement than flipping.
1147 2011-05-23  Kevin Ryde  <user42@zip.com.au>
1149         * emacs-lisp/advice.el (ad-read-advised-function):
1150         Use `function-called-at-point' as the default default, if it has
1151         advice and passes PREDICATE.
1153 2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
1155         * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
1156         byte-compile-lambda if it's actually a lambda.
1158         * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
1159         Fix function quoting.  Use backquote better.
1161 2011-05-22  Yuanle Song  <sylecn@gmail.com>
1163         * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
1164         matching (Bug#8516).
1166 2011-01-22  Jari Aalto  <jari.aalto@cante.net>
1168         * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
1169         different face (Bug#8178).
1171 2011-05-22  Chong Yidong  <cyd@stupidchicken.com>
1173         * vc/diff-mode.el (diff-changed): Don't use terminal specs for
1174         defface (Bug#8144).
1176 2011-05-22  Stefan Monnier  <monnier@iro.umontreal.ca>
1178         * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
1179         funcall as well (bug#8712).  Warn when performing those conversions.
1180         * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
1182         * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
1184 2011-05-22  Glenn Morris  <rgm@gnu.org>
1186         * files.el (hack-local-variables-prop-line): Small simplifications.
1187         (hack-local-variables, hack-local-variables-prop-line):
1188         If MODE-ONLY, return the mode, rather than just `t'.
1190 2011-05-21  Stefan Monnier  <monnier@iro.umontreal.ca>
1192         * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
1194 2011-05-21  Glenn Morris  <rgm@gnu.org>
1196         * files.el (hack-local-variables-prop-line, hack-local-variables):
1197         If only interested in the mode, don't bother doing the other stuff.
1199         * image-mode.el (image-after-revert-hook):
1200         Redraw all frames on which the image is visible.  (Bug#8567)
1202         * dired-aux.el (dired-touch-initial): Just use current-time.  (Bug#6887)
1204         * wid-edit.el (widget-checklist-match-inline):
1205         Fix 2011-04-19 change.  (Bug#8649)
1207 2011-05-20  Stefan Monnier  <monnier@iro.umontreal.ca>
1209         * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
1210         Also allow singlespace after single-letter capitals followed by a dot.
1212         * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
1213         enabled.  Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
1215 2011-05-20  Nix  <nix@esperi.org.uk>
1217         * files.el (basic-save-buffer-2):
1218         Fix handling of break-hardlink-on-save with non-existent files.
1220 2011-05-19  Deniz Dogan  <deniz@dogan.se>
1222         * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
1223         (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
1225 2011-05-19  Glenn Morris  <rgm@gnu.org>
1227         * progmodes/f90.el (f90-type-def-re):
1228         Handle "type, bind(c)".  (Bug#8691)
1230         * emacs-lisp/autoload.el (batch-update-autoloads):
1231         Set autoload-excludes by parsing loadup.el rather than Makefiles.
1233 2011-05-18  Michael Albinus  <michael.albinus@gmx.de>
1235         * net/tramp.el (tramp-process-actions): Set "first-password-request"
1236         property for the correct connection in case of multihops.
1238 2011-05-18  Glenn Morris  <rgm@gnu.org>
1240         * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
1241         * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
1243         Rationalize calendar handling of day and month abbrev-arrays.
1244         * calendar/calendar.el (calendar-customized-p): New function.
1245         (calendar-abbrev-construct, calendar-make-alist): Change what it does.
1246         (calendar-day-name-array, calendar-month-name-array): Doc fix.
1247         Add :set function.
1248         (calendar-abbrev-length, calendar-day-abbrev-array)
1249         (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
1250         (calendar-day-abbrev-array, calendar-month-abbrev-array):
1251         Elements may no longer be nil.
1252         (calendar-day-name, calendar-month-name):
1253         Update for changed nature of abbrev arrays.
1254         * calendar/diary-lib.el (diary-name-pattern):
1255         Update for changed nature of abbrev arrays.
1256         (diary-mark-entries-1): Update calendar-make-alist calls.
1257         (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
1258         * calendar/cal-html.el (cal-html-day-abbrev-array):
1259         Simply inherit from calendar-day-abbrev-array.
1261 2011-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
1263         * progmodes/grep.el (grep-mode): Disable default
1264         compilation-directory-matcher setting (bug#8684).
1266 2011-05-17  Michael Albinus  <michael.albinus@gmx.de>
1268         * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
1269         instead of "head" and "tail".  There were problems with SunOS 5.9,
1270         and it performs better.
1272 2011-05-17  Glenn Morris  <rgm@gnu.org>
1274         * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
1276         * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
1277         Replace obsolete function.
1279         * shell.el (pcomplete-parse-arguments-function): Declare.
1281         * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
1282         (appt-display-diary, appt-display-interval, appt-prev-comp-time)
1283         (appt-check): Doc fixes.
1284         (appt-disp-window-function, appt-delete-window-function):
1285         Remove needless special case in custom :type.
1286         (appt-display-count): Default to 0, not nil.
1287         (appt-check): Reset appt-display-count to 0, not nil.
1289 2011-05-17  Juanma Barranquero  <lekktu@gmail.com>
1291         * progmodes/python.el (python-font-lock-keywords):
1292         Add the Python 3.X keyword "nonlocal" (bug#8639).
1294 2011-05-16  Stefan Monnier  <monnier@iro.umontreal.ca>
1296         * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
1298 2011-05-16  Kevin Ryde  <user42@zip.com.au>
1300         * info-look.el (makefile-automake-mode): New setups, looking in
1301         automake manual, then makefile-mode.
1302         (makefile-mode): Remove automake manual, have it just in
1303         makefile-automake-mode since there's various things different or
1304         not relevant to plain make.
1305         (makefile-mode): Remove "other-modes" non-existent automake-mode,
1306         believe a hypothetical automake-mode would go to makefile-mode,
1307         not the other way around.
1309 2011-05-15  Chong Yidong  <cyd@stupidchicken.com>
1311         * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
1312         hunk-end tags (Bug#8672).
1314         * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
1315         vc-annotate-show-diff-revision-at-line (Bug#8671).
1317 2011-05-14  Glenn Morris  <rgm@gnu.org>
1319         * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
1320         in the middle of an existing one with multiple authors.  (Bug#8645)
1321         (change-log-font-lock-keywords): Also handle multiple author lines
1322         with leading tabs.  (Bug#8644)
1324         * calendar/appt.el (appt-check): Rename some local variables.
1325         Some simplification/reordering.
1327         * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
1328         (feedmail-sendmail-f-doesnt-sell-me-out)
1329         (feedmail-queue-slug-suspect-regexp, feedmail-debug)
1330         (feedmail-debug-sit-for, feedmail-queue-express-hook)
1331         (feedmail-queue-runner-message-sender): Set :version.
1332         (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
1333         (bbdb-dwim-net-address, vm-mail): Declare.
1334         (feedmail-binmail-gnulinuxish-template):
1335         Rename from feedmail-binmail-linuxish-template.
1336         (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
1337         Use insert-buffer-substring.
1339 2011-05-14  Bill Carpenter  <bill@carpenter.org>
1341         * mail/feedmail.el (feedmail-patch-level): Increase.
1342         (feedmail-debug): New custom group.
1343         (feedmail-confirm-outgoing-timeout)
1344         (feedmail-sendmail-f-doesnt-sell-me-out)
1345         (feedmail-queue-slug-suspect-regexp, feedmail-debug)
1346         (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
1347         (feedmail-sender-line, feedmail-from-line)
1348         (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
1349         (feedmail-spray-this-address)
1350         (feedmail-spray-address-fiddle-plex-list)
1351         (feedmail-queue-use-send-time-for-date)
1352         (feedmail-queue-use-send-time-for-message-id)
1353         (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
1354         (feedmail-buffer-eating-function):
1355         Doc fixes.
1356         (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
1357         (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
1358         (feedmail-message-action-scroll-down): New functions.
1359         (feedmail-queue-directory, feedmail-queue-draft-directory):
1360         Use expand-file-name.
1361         (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
1362         Remove C-v help entry.
1363         (feedmail-queue-buffer-file-name): New variable.
1364         (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
1365         (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
1366         (feedmail-message-action-send-strong, feedmail-message-action-edit)
1367         (feedmail-message-action-draft, feedmail-message-action-draft-strong)
1368         (feedmail-message-action-queue, feedmail-message-action-queue-strong)
1369         (feedmail-message-action-toggle-spray)
1370         (feedmail-run-the-queue-no-prompts)
1371         (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
1372         (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
1373         (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
1374         (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
1375         (feedmail-envelope-deducer, feedmail-fiddle-from)
1376         (feedmail-fiddle-sender, feedmail-default-date-generator)
1377         (feedmail-fiddle-date, feedmail-fiddle-message-id)
1378         (feedmail-fiddle-spray-address)
1379         (feedmail-fiddle-list-of-spray-fiddle-plexes)
1380         (feedmail-fiddle-list-of-fiddle-plexes)
1381         (feedmail-fill-to-cc-function, feedmail-fill-this-one)
1382         (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
1383         (feedmail-queue-runner-message-sender, feedmail-binmail-template):
1384         Change default.  Doc fix.
1385         (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
1386         (feedmail-binmail-linuxish-template): New constant.
1387         (feedmail-buffer-to-sendmail): Doc fix.  Add debug call.
1388         Respect feedmail-sendmail-f-doesnt-sell-me-out.
1389         (feedmail-send-it): Add debug call.
1390         Use feedmail-queue-buffer-file-name, and
1391         feedmail-send-it-immediately-wrapper.
1392         (feedmail-message-action-send): Add debug call.
1393         Use feedmail-send-it-immediately-wrapper.
1394         (feedmail-queue-express-to-queue): Add debug call.
1395         Run feedmail-queue-express-hook.
1396         (feedmail-message-action-help): Add debug call.  Use feedmail-p-h-b-n.
1397         (feedmail-message-action-help-blat):
1398         Rename from feedmail-queue-send-edit-prompt-help-first.
1399         (feedmail-run-the-queue): Add debug call.  Set buffer-file-type.
1400         Check line-endings.  Handle errors better.
1401         (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
1402         Doc fix.  Add debug call.
1403         (feedmail-queue-send-edit-prompt): Doc fix.  Add debug call.
1404         Use feedmail-queue-send-edit-prompt-inner.
1405         (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
1406         (feedmail-queue-send-edit-prompt-inner): New function, extracted
1407         from feedmail-queue-send-edit-prompt.
1408         (feedmail-queue-send-edit-prompt-help)
1409         (feedmail-queue-send-edit-prompt-help-later): Remove functions.
1410         (feedmail-tidy-up-slug): Add debug call.
1411         Respect feedmail-queue-slug-suspect-regexp.
1412         (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
1413         (feedmail-dump-message-to-queue): Add debug call.
1414         Expand queue-directory.
1415         (feedmail-dump-message-to-queue): Change message slightly.
1416         Use feedmail-say-chatter.
1417         (feedmail-rfc822-date): Add debug call.  Bind system-time-locale.
1418         (feedmail-send-it-immediately-wrapper): New function.
1419         (feedmail-send-it-immediately): Add debug calls.  Use let not let*.
1420         Insert empty string rather than newline.  Handle full-frame case.
1421         Use catch/throw.  Use feedmail-say-chatter.
1422         (feedmail-fiddle-from): Try mail-host-address.
1423         (feedmail-default-message-id-generator): Doc fix.
1424         Bind system-time-locale.  Handle missing end.
1425         (feedmail-fiddle-x-mailer): Add debug call.
1426         Handle feedmail-x-mailer-line being nil.
1427         (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
1428         Add debug call.  Use buffer-substring-no-properties.
1429         (feedmail-say-debug, feedmail-say-chatter): New functions.
1430         (feedmail-find-eoh): Give an explicit error.
1432 2011-05-13  Ulf Jasper  <ulf.jasper@web.de>
1434         * net/newst-treeview.el (newsticker-treeview-face): Change default
1435         family from helvetica to sans.
1436         (newsticker-treeview-tool-bar-map): Move tool-bar icons to
1437         etc/images/newsticker.
1439         * net/newst-reader.el (newsticker-feed-face): Change default
1440         family from helvetica to sans.
1442         * net/newst-plainview.el (newsticker-new-item-face)
1443         (newsticker-old-item-face, newsticker-immortal-item-face)
1444         (newsticker-obsolete-item-face, newsticker-date-face)
1445         (newsticker-statistics-face): Change default family from
1446         helvetica to sans.
1447         (newsticker--plainview-tool-bar-map): Move tool-bar icons to
1448         etc/images/newsticker.
1450         * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
1451         (newsticker--process-auto-mark-filter-match): : Tell user about
1452         auto-marking.
1454 2011-05-13  Didier Verna  <didier@xemacs.org>
1456         Common Lisp indentation improvements on defmethod and lambda-lists.
1457         * cl-indent.el: Advertise the changes and remove obsolete TODO entries.
1458         (lisp-lambda-list-keyword-parameter-indentation)
1459         (lisp-lambda-list-keyword-parameter-alignment)
1460         (lisp-lambda-list-keyword-alignment): New customizable user options.
1461         (lisp-indent-defun-method): Improve docstring.
1462         (extended-loop-p): Fix comment.
1463         (lisp-indent-lambda-list-keywords-regexp): New variable.
1464         (lisp-indent-lambda-list): New function.
1465         (lisp-indent-259): Use it.
1466         (lisp-indent-defmethod): Support for more than one
1467         method qualifier and properly indent methods lambda-lists.
1468         (defgeneric): Provide a missing common-lisp-indent-function property.
1470 2011-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
1472         * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
1473         bounds for the empty string (bug#8667).
1475 2011-05-13  Glenn Morris  <rgm@gnu.org>
1477         * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
1479         * mail/sendmail.el (sendmail-program): Try executable-find first.
1480         (sendmail-send-it): `sendmail-program' cannot be unbound.
1482         * calendar/appt.el (appt-make-list): Simplify.
1483         (appt-time-msg-list): Doc fix.
1484         (appt-check): Change mode-line message at the time of the appointment.
1486 2011-05-12  Andreas Schwab  <schwab@linux-m68k.org>
1488         * progmodes/ld-script.el (ld-script-keywords)
1489         (ld-script-builtins): Update keywords list.
1491 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
1493         * progmodes/grep.el (grep-filter): Don't trip on partial lines.
1495         * shell.el (shell-completion-vars): New function.
1496         (shell-mode):
1497         * simple.el (read-shell-command): Use it.
1498         (blink-matching-open): No need for " [...]" in minibuffer-message.
1500 2011-05-12  Glenn Morris  <rgm@gnu.org>
1502         * calendar/appt.el (appt-now-displayed): Remove pointless variable.
1503         (appt-check): Simplify.
1505 2011-05-12  Eli Zaretskii  <eliz@gnu.org>
1507         * smerge-mode.el (smerge-resolve): Use null-device rather than a
1508         literal "/dev/null".
1510 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
1512         * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
1513         Fix typo.
1515 2011-05-12  Ralph Schleicher  <rs@ralph-schleicher.de>
1517         * progmodes/which-func.el (which-function):
1518         Use add-log-current-defun instead of add-log-current-defun-function,
1519         which might not be defined (Bug#8260).
1521 2011-05-12  Glenn Morris  <rgm@gnu.org>
1523         * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
1524         Let byte-compile-initial-macro-environment always take precedence.
1526 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
1528         * net/rcirc.el: Add support for SSL/TLS connections.
1529         (rcirc-server-alist): New field `encryption'.
1530         (rcirc): Check `encryption' settings.
1531         (rcirc-connect): New arg `encryption'.  Use open-network-stream.
1532         Merge make-local-variable into `set'.
1533         (rcirc--connection-open-p): New function.
1534         (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
1535         the process is not a network process (e.g. running gnutls-cli).
1536         (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
1537         Make rcirc-(en|de)code-coding-system local here.
1538         (rcirc-mode): Merge make-local-variable into `set'.
1539         (rcirc-parent-buffer): Make permanent buffer-local.
1540         (rcirc-multiline-minor-mode): Don't do it here.
1541         (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
1542         there's no server buffer.
1544 2011-05-11  Glenn Morris  <rgm@gnu.org>
1546         * newcomment.el (comment-kill): Prefix "unused" local.
1548         * term/w32console.el (get-screen-color): Declare.
1550         * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
1551         Handle symbol elements of byte-compile-initial-macro-environment.
1553 2011-05-10  Leo Liu  <sdl.web@gmail.com>
1555         * bookmark.el (bookmark-bmenu-mode-map):
1556         Bind bookmark-bmenu-search to `/'.
1558         * mail/footnote.el: Convert to utf-8 encoding.
1559         (footnote-unicode-string, footnote-unicode-regexp): New variable.
1560         (Footnote-unicode): New function.
1561         (footnote-style-alist): Add unicode style to the list.
1562         (footnote-style): Doc fix.
1564 2011-05-10  Jim Meyering  <meyering@redhat.com>
1566         Fix doubled-word typos.
1567         * international/quail.el (quail-insert-kbd-layout): and and -> and
1568         * kermit.el: and and -> and
1569         * net/ldap.el (ldap-search-internal): to to -> to
1570         * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
1571         * progmodes/js.el (js-mode): and and -> and
1572         * textmodes/artist.el (artist-move-to-xy): at at -> at
1573         (artist-draw-region-trim-line-endings): if if -> if
1574         And Safetyc -> Safety.
1575         * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
1577 2011-05-10  Glenn Morris  <rgm@gnu.org>
1578             Stefan Monnier  <monnier@iro.umontreal.ca>
1580         * files.el (hack-one-local-variable-eval-safep):
1581         Consider "eval: (foo-mode)" to be safe.  (Bug#8613)
1583 2011-05-10  Glenn Morris  <rgm@gnu.org>
1585         * calendar/diary-lib.el (diary-list-entries-hook)
1586         (diary-mark-entries-hook, diary-nongregorian-listing-hook)
1587         (diary-nongregorian-marking-hook, diary-list-entries)
1588         (diary-include-other-diary-files, diary-mark-entries)
1589         (diary-mark-included-diary-files): Doc fixes.
1591 2011-05-09  Juanma Barranquero  <lekktu@gmail.com>
1593         * misc.el: Require tabulated-list.el during compilation.
1595 2011-05-09  Chong Yidong  <cyd@stupidchicken.com>
1597         * progmodes/compile.el (compilation-start):
1598         Run compilation-filter-hook for the async case too.
1599         (compilation-filter-hook): Doc fix.
1601 2011-05-09  Deniz Dogan  <deniz@dogan.se>
1603         * wdired.el: Remove outdated installation comment.  Fix usage
1604         comment.
1606 2011-05-09  Juanma Barranquero  <lekktu@gmail.com>
1608         * misc.el: Implement new command `list-dynamic-libraries'.
1609         (list-dynamic-libraries--loaded-only-p): New variable.
1610         (list-dynamic-libraries--refresh): New function.
1611         (list-dynamic-libraries): New command.
1613 2011-05-09  Chong Yidong  <cyd@stupidchicken.com>
1615         * progmodes/compile.el (compilation-error-regexp-alist-alist):
1616         Fix the ant regexp to handle end-line and end-column info from jikes.
1617         Re-introduce maven regexp.  Give the ruby-Test::Unit regexp a
1618         higher priority to avoid clobbering by gnu.
1620 2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
1622         * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
1623         if the face has existing theme settings (Bug#8454).
1625 2011-05-08  Ralph Schleicher  <rs@ralph-schleicher.de>
1627         * progmodes/perl-mode.el (perl-imenu-generic-expression):
1628         Only match variables declared via `my' or `our' (Bug#8261).
1630         * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
1631         special file names `.' and `..' (Bug#8259).
1633 2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
1635         * progmodes/grep.el (grep-mode-font-lock-keywords):
1636         Remove buffer-changing entries.
1637         (grep-filter): New function.
1638         (grep-mode): Add it to compilation-filter-hook.
1640         * progmodes/compile.el (compilation-filter-hook)
1641         (compilation-filter-start): New defvars.
1642         (compilation-filter): Call compilation-filter-hook prior to
1643         updating the process mark.
1645 2011-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1647         * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
1649 2011-05-07  Eli Zaretskii  <eliz@gnu.org>
1651         * mail/sendmail.el (send-mail-function): On MS-Windows, default to
1652         mailclient-send-it even if window-system is nil.  (Bug#8595)
1654         * term/w32console.el (terminal-init-w32console):
1655         Call get-screen-color and use its output to set the frame
1656         background-mode.  (Bug#8597)
1658 2011-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
1660         Make bytecomp.el understand that defmethod defines funs (bug#8631).
1661         * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
1662         New functions.
1663         (defgeneric, eieio--defmethod): Use them.
1664         (eieio-defgeneric): Remove.
1665         (defmethod): Call defgeneric in a way visible to the byte-compiler.
1667 2011-05-07  Glenn Morris  <rgm@gnu.org>
1669         * calendar/timeclock.el (timeclock-log-data): Remove unused local.
1670         Use let rather than let*.
1671         (timeclock-find-discrep): Remove unused local.
1673         * calendar/diary-lib.el (diary-comment-start): Doc fix.
1675         * calendar/appt.el (appt-time-msg-list): Doc fix.
1677 2011-05-06  Noah Friedman  <friedman@splode.com>
1679         * apropos.el (apropos-print-doc): Only use
1680         emacs-lisp-docstring-fill-column when it is bound to an integer,
1681         per that variable's documentation.
1683 2011-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
1685         * lpr.el (print-region-1): Echo lpr-program's output, so error messages
1686         and warnings are not silently discarded (e.g. use -d instead of -P).
1688 2011-05-06  Glenn Morris  <rgm@gnu.org>
1690         * calendar/appt.el (appt-message-warning-time): Doc fix.
1691         (appt-warning-time-regexp): New option.
1692         (appt-make-list): Respect appt-message-warning-time.
1694         * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
1695         New options.
1696         (diary-add-to-list): Strip comments from the displayed string.
1697         (diary-mode): Set comment-start and comment-end.
1699         * vc/diff-mode.el (smerge-refine-subst): Declare.
1700         (diff-refine-hunk): Don't require smerge-mode when compiling.
1702 2011-05-06  Juanma Barranquero  <lekktu@gmail.com>
1704         * simple.el (list-processes): Return nil as the docstring says.
1706 2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
1708         * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
1709         to "".
1710         (ange-ftp-write-region, ange-ftp-insert-file-contents)
1711         (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
1712         determining of binary transfer.  (Bug#7383)
1714 2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
1716         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
1717         Fix port computation bug.  (Bug#8618)
1719 2011-05-05  Glenn Morris  <rgm@gnu.org>
1721         * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
1723         * simple.el (shell-dynamic-complete-functions)
1724         (comint-dynamic-complete-functions): Declare.
1726         * net/network-stream.el (gnutls-negotiate):
1727         * simple.el (tabulated-list-print): Fix declarations.
1729         * progmodes/gud.el (syntax-symbol, syntax-point):
1730         Remove unnecessary and incorrect declarations.
1732         * emacs-lisp/check-declare.el (check-declare-scan):
1733         Handle byte-compile-initial-macro-environment in bytecomp.el
1735 2011-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
1737         Fix earlier half-done eieio-defmethod change (bug#8338).
1738         * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
1739         Streamline and change calling convention.
1740         (defmethod): Adjust accordingly and simplify.
1741         (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
1742         new eieio--defmethod.
1743         (slot-boundp): Minor CSE simplification.
1745 2011-05-05  Milan Zamazal  <pdm@zamazal.org>
1747         * progmodes/glasses.el (glasses-separate-capital-groups): New option.
1748         (glasses-make-readable): Use glasses-separate-capital-groups.
1750 2011-05-05  Juanma Barranquero  <lekktu@gmail.com>
1752         * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
1753         (warning-series): Doc fix.
1754         (display-warning): Don't try to create the buffer if we just found it.
1756 2011-05-04  Chong Yidong  <cyd@stupidchicken.com>
1758         * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
1759         (autoload-find-generated-file): New function.
1760         (generate-file-autoloads): Bind generated-autoload-file to
1761         buffer-file-name.
1762         (update-file-autoloads, update-directory-autoloads):
1763         Use autoload-find-generated-file.  If called interactively, prompt for
1764         output file (Bug#7989).
1765         (batch-update-autoloads): Doc fix.
1767 2011-05-04  Juanma Barranquero  <lekktu@gmail.com>
1769         * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
1771 2011-05-04  Glenn Morris  <rgm@gnu.org>
1773         * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
1774         function, so it follows changes in calendar-date-style.
1775         (diary-fancy-date-matcher): New function.
1776         (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
1777         (diary-fancy-font-lock-fontify-region-function):
1778         Use diary-fancy-date-pattern as a function.
1780         * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
1781         non-numbers for `year' etc pseudo-variables.  (Bug#8583)
1783 2011-05-04  Teodor Zlatanov  <tzz@lifelogs.com>
1785         * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
1786         instead of positional arguments.  Allow :keylist and :crlfiles
1787         arguments.
1788         (open-gnutls-stream): Call it.
1790         * net/network-stream.el (network-stream-open-starttls): Adjust to
1791         call `gnutls-negotiate' with :process and :hostname arguments.
1793 2011-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
1795         * minibuffer.el (completion--message): New function.
1796         (completion--do-completion, minibuffer-complete)
1797         (minibuffer-force-complete, minibuffer-complete-word): Use it.
1798         (completion--do-completion): Don't ignore completion-auto-help when in
1799         icomplete-mode.
1801         * whitespace.el (whitespace-trailing-regexp): Don't rely on the
1802         internal encoding (e.g. tibetan zero is not whitespace).
1803         (global-whitespace-mode): Prefer save-current-buffer.
1804         (whitespace-trailing-regexp): Remove useless save-match-data.
1805         (whitespace-empty-at-bob-regexp): Minor simplification.
1807 2011-05-03  Chong Yidong  <cyd@stupidchicken.com>
1809         * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
1811 2011-05-03  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
1813         * textmodes/ispell.el (ispell-add-per-file-word-list):
1814         Use `concat' to create string for insertion.
1816 2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
1818         * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
1819         Avoid open-line which runs post-self-insert-hook.
1820         (bibtex-fill-entry): Remove unused `end' var.
1822 2011-05-03  Dirk Ullrich  <dirk.ullrich@googlemail.com>  (tiny change)
1824         * textmodes/ispell.el (ispell-add-per-file-word-list):
1825         Protect against `nil' value of `comment-start' (Bug#8579).
1827 2011-05-03  Leo Liu  <sdl.web@gmail.com>
1829         * isearch.el (isearch-yank-pop): New command.
1830         (isearch-mode-map): Bind it to `M-y'.
1831         (isearch-forward): Mention it.
1833 2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
1835         * simple.el (minibuffer-complete-shell-command): Remove.
1836         (minibuffer-local-shell-command-map): Use completion-at-point.
1837         (read-shell-command): Setup completion vars here instead.
1838         (read-expression-map): Bind TAB to symbol completion.
1840         * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
1841         error directly rather via storing it into `results'.
1843 2011-05-02  Leo Liu  <sdl.web@gmail.com>
1845         * vc/diff.el: Fix description.
1847 2011-05-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1849         * server.el (server-eval-at): New function.
1851 2011-05-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1853         * net/network-stream.el (open-network-stream): Take a :nowait
1854         parameter and pass it on to `make-network-process'.
1855         (network-stream-open-plain): Ditto.
1857 2011-04-30  Andreas Schwab  <schwab@linux-m68k.org>
1859         * faces.el (face-spec-set-match-display): Don't match toolkit
1860         options on terminal frames.
1862 2011-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
1864         * progmodes/pascal.el: Use lexical binding.
1865         (pascal-mode-map): Remove author preferences.
1867         * pcomplete.el (pcomplete-std-complete): Don't abuse
1868         completion-at-point.
1870 2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
1872         * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
1873         removing code that has been dead since 1991 or so.
1875         * startup.el (command-line): When warning about "_emacs", use a
1876         delayed warning to allow the user to filter it out.
1878 2011-04-28  Deniz Dogan  <deniz@dogan.se>
1880         * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
1881         user has not joined.
1883 2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1885         * pcomplete.el (pcomplete-completions-at-point): Return nil if there
1886         aren't any completions at point.
1888 2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
1890         * subr.el (display-delayed-warnings): New function.
1891         (delayed-warnings-hook): New variable.
1893 2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1895         * minibuffer.el (completion-at-point, completion-help-at-point):
1896         Don't presume that a given completion-at-point-function will always
1897         use the same calling convention.
1899         * pcomplete.el (pcomplete-completions-at-point):
1900         Obey pcomplete-ignore-case.  Don't call pcomplete-norm-func unless
1901         pcomplete-seen is non-nil.
1902         (pcomplete-comint-setup): Also recognize the new comint/shell
1903         completion functions.
1904         (pcomplete-do-complete): Don't call pcomplete-norm-func unless
1905         pcomplete-seen is non-nil.
1907 2011-04-27  Niels Giesen  <niels.giesen@gmail.com>
1909         * calendar/icalendar.el (diary-lib): Add require statement.
1910         (icalendar--create-uid): Read out a uid from a text-property on
1911         the first character in the entry.  This allows for code to add its
1912         own uid to the entry.
1913         (icalendar--convert-float-to-ical): Add export of
1914         `diary-float'-entries save for those with the optional DAY
1915         argument.
1917 2011-04-27  Daniel Colascione  <dan.colascione@gmail.com>
1919         * subr.el (shell-quote-argument): Use alternate escaping strategy
1920         when we spot a variable reference in a string.
1922 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
1924         * cus-start.el (all): Define customization for debug-on-event.
1926 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
1928         * subr.el (shell-quote-argument): Escape correctly under Windows.
1930 2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
1932         * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
1934 2011-04-25  Michael Albinus  <michael.albinus@gmx.de>
1936         * net/tramp.el (tramp-process-actions): Add POS argument.
1937         Delete region between POS and (pos).
1939         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
1940         Use `nil' position in `tramp-process-actions' call.
1941         (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
1943         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
1944         position in `tramp-process-actions' call.
1946         * net/trampver.el: Update release number.
1948 2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
1950         * custom.el (defcustom): Obey lexical-binding.
1952         Fix octave-inf completion problems reported by Alexander Klimov.
1953         * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
1954         Inherit from octave-mode-syntax-table.
1955         (inferior-octave-mode): Set info-lookup-mode.
1956         (inferior-octave-completion-at-point): New function.
1957         (inferior-octave-complete): Use it and completion-in-region.
1958         (inferior-octave-dynamic-complete-functions): Use it as well, and use
1959         comint-filename-completion.
1960         * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
1961         symbol elements which shouldn't be word elements.
1962         (octave-font-lock-keywords, octave-beginning-of-defun)
1963         (octave-function-header-regexp): Adjust regexps accordingly.
1964         (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
1966 2011-04-25  Juanma Barranquero  <lekktu@gmail.com>
1968         * net/gnutls.el (gnutls-errorp): Declare before first use.
1970 2011-04-24  Teodor Zlatanov  <tzz@lifelogs.com>
1972         * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
1973         verify-error, and verify-hostname-error parameters.  Check whether
1974         default trustfile exists before going to use it.  Add missing
1975         argument to gnutls-message-maybe call.  Return return value.
1976         Reported by Claudio Bley <claudio.bley@gmail.com>.
1977         (open-gnutls-stream): Add usage example.
1979         * net/network-stream.el (network-stream-open-starttls): Give host
1980         parameter to `gnutls-negotiate'.
1981         (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
1982         * subr.el (shell-quote-argument): Escape correctly under Windows.
1984 2011-04-24  Daniel Colascione  <dan.colascione@gmail.com>
1986         * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
1987         Use correct match group (bug#8438).
1989 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
1991         * emacs-lisp/package.el (package-built-in-p): Fix typo.
1992         (package-menu--generate): New arg specifying packages to show.
1993         (package-menu-refresh, package-menu-execute, list-packages):
1994         Callers changed.
1995         (package-show-package-list): New function, replacing deleted
1996         package--list-packages (renamed because it is non-internal).
1998         * finder.el (finder-list-matches): Use package-show-package-list
1999         instead of deleted package--list-packages.
2001         * vc/vc-annotate.el (vc-annotate-goto-line): New command.
2002         Based on a previous implementation by Juanma Barranquero (Bug#8366).
2003         (vc-annotate-mode-map): Bind it to RET.
2005 2011-04-24  Uday S Reddy  <u.s.reddy@cs.bham.ac.uk>  (tiny change)
2007         * progmodes/etags.el (next-file): Don't use set-buffer to change
2008         buffers (Bug#8478).
2010 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
2012         * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
2014         * apropos.el (apropos-label-face): Avoid variable-pitch face.
2015         (apropos-accumulator): Doc fix.
2016         (apropos-function, apropos-macro, apropos-command)
2017         (apropos-variable, apropos-face, apropos-group, apropos-widget)
2018         (apropos-plist): Add face property.
2019         (apropos-symbols-internal): Fix indentation.
2020         (apropos-print): Simplify help, and recognize apropos-multi-type.
2021         (apropos-print-doc): Use button-type-get to extract the button's
2022         face property.  Fill docstring (Bug#8352).
2024 2011-04-23  Juanma Barranquero  <lekktu@gmail.com>
2026         * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
2028         * play/mpuz.el (mpuz-silent): Doc fix.
2029         (mpuz-mode-map): Use mapc.
2030         (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
2031         (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
2032         Fix typos in docstrings.
2034         * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
2035         (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
2037         * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
2039 2011-04-23  Chong Yidong  <cyd@stupidchicken.com>
2041         * minibuffer.el (completion--do-completion): Avoid the "Next char
2042         not unique" prompt if icomplete-mode is enabled (Bug#5849).
2044         * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
2045         mouse-2 into unread-command-events, it is interpreted correctly.
2047         * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
2048         (image-toggle-display): Doc fix.
2050 2011-04-23  Stephen Berman  <stephen.berman@gmx.net>
2052         * textmodes/page.el (what-page): Use line-number-at-pos to
2053         calculate line number (Bug#6825).
2055 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
2057         * eshell/esh-mode.el (find-tag-interactive): Declare function.
2058         (eshell-find-tag): Remove `with-no-warnings', unneeded now.
2059         Pass argument NO-DEFAULT to `find-tag-interactive'.
2061 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
2063         Lexical-binding cleanup.
2065         * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
2066         (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
2067         * progmodes/ada-prj.el (ada-prj-initialize-values)
2068         (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
2069         (ada-prj-show-value):
2070         * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
2071         * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
2072         (antlr-invalidate-context-cache, antlr-options-menu-filter)
2073         (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
2074         * progmodes/bug-reference.el (bug-reference-push-button):
2075         * progmodes/fortran.el (fortran-line-length):
2076         * progmodes/glasses.el (glasses-change):
2077         * progmodes/octave-mod.el (octave-fill-paragraph):
2078         * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
2079         (python-pdbtrack-grub-for-buffer, python-sentinel):
2080         * progmodes/sql.el (sql-save-connection):
2081         * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
2082         * progmodes/xscheme.el (xscheme-enter-debugger-mode):
2083         Mark unused parameters.
2085         * progmodes/compile.el (compilation--flush-directory-cache)
2086         (compilation--flush-parse, compile-internal): Mark unused parameters.
2087         (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
2088         (compilation-next-error-function): Remove unused variable `timestamp'.
2090         * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
2091         (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
2093         * progmodes/dcl-mode.el (dcl-end-of-command):
2094         Remove unused variable `start'.
2095         (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
2096         (dcl-option-value-basic, dcl-option-value-offset)
2097         (dcl-option-value-margin-offset, dcl-option-value-comment-line):
2098         Mark unused parameters.
2099         (dcl-save-local-variable): Remove unused variable `val'.
2100         (mode): Declare.
2102         * progmodes/delphi.el (delphi-save-state, delphi-after-change):
2103         Mark unused parameters.
2104         (delphi-ignore-changes): Move before first use.
2105         (delphi-charset-token-at): Remove unused variable `start'.
2106         (delphi-else-start): Remove unused variable `if-count'.
2107         (delphi-comment-block-start, delphi-comment-block-end):
2108         Remove unused variable `kind'.
2109         (delphi-indent-line): Remove unused variable `new-point'.
2111         * progmodes/ebrowse.el (ebrowse-files-list)
2112         (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
2113         Mark unused parameters.  Don't quote `lambda'.
2114         (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
2115         Don't quote `lambda'.
2116         (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
2117         (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
2118         (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
2119         (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
2120         Use `ignore-errors'.
2121         (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
2122         (ebrowse-view/find-file-and-search-pattern)
2123         (ebrowse-view/find-member-declaration/definition):
2124         Rename parameter TAGS-FILE-NAME to TAGS-FILE.
2125         (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
2126         Rename parameter PREFIX-ARG to PREFIX.
2127         (ebrowse-tags-read-name): Remove unused variables `start' and
2128         `member-info'.
2129         (ebrowse-display-member-buffer): Rename variable `tags-file-name'
2130         to `tags-file'.
2132         * progmodes/etags.el (local-find-tag-hook): Declare.
2133         (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
2134         Mark unused parameters.
2136         * progmodes/executable.el (compilation-error-regexp-alist): Declare.
2137         (executable-interpret): Mark unused parameter.
2139         * progmodes/flymake.el (flymake-process-sentinel)
2140         (flymake-after-change-function)
2141         (flymake-create-temp-with-folder-structure)
2142         (flymake-get-include-dirs-dot): Mark unused parameters.
2143         (flymake-safe-delete-directory): Remove unused variable `err'.
2145         * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
2146         (speedbar-timer-fn, speedbar-line-text)
2147         (speedbar-change-expand-button-char, speedbar-delete-subblock)
2148         (speedbar-center-buffer-smartly): Declare functions.
2149         (gdb-find-watch-expression): Remove unused variable `array'.
2150         (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
2151         (gdb-starting): Mark unused parameters.
2152         (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
2153         (gdb-table-string): Remove unused variable `res'.
2154         (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
2155         (gdb-disassembly-handler-custom): Remove unused variable `pos'.
2156         (gdb-display-buffer): Remove unused variable `cur-size'.
2158         * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
2159         allow lexical-binding compilation.
2160         (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
2161         (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
2162         (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
2163         Mark unused parameters.
2164         (gud-gdb-marker-filter): Remove unused variable `match'.
2165         (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
2166         lambda expressions and funcall them, instead of using `fset'.
2168         * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
2169         HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
2171         * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
2172         variable `header-beg'; use `let'.
2174         * progmodes/icon.el (indent-icon-exp): Remove unused variables
2175         `restart', `last-sexp' and `at-do'.
2177         * progmodes/js.el (js--debug): Mark unused parameter.
2178         (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
2179         (js--splice-into-items): Remove unused variable `item'.
2180         (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
2182         * progmodes/make-mode.el (makefile-make-font-lock-keywords):
2183         Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
2184         (makefile-complete): Remove unused variable `try'.
2185         (makefile-fill-paragraph, makefile-match-function-end):
2186         Mark unused parameters.
2188         * progmodes/octave-inf.el (inferior-octave-complete):
2189         Remove unused variable `proc'.
2190         (inferior-octave-output-digest): Mark unused parameter.
2192         * progmodes/perl-mode.el (perl-calculate-indent):
2193         Remove unused variable `err'.
2195         * progmodes/prolog.el (prolog-mode-keybindings-inferior)
2196         (prolog-indent-line): Mark unused parameters.
2197         (prolog-indent-line): Remove unused variable `beg'.
2199         * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
2200         (reporter-dont-compact-list): Declare.
2202         * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
2203         Remove unused variable `char'.
2204         (sh-debug): Mark unused parameter.
2205         (sh-get-indent-info): Remove unused variable `start'.
2206         (sh-calculate-indent): Remove unused variable `var'.
2208         * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
2209         (simula-electric-keyword): Remove unused variable `null'.
2210         (simula-search-backward, simula-search-forward): Remove unused
2211         variables `begin' and `end'.
2213         * progmodes/vera-mode.el (vera-guess-basic-syntax):
2214         Remove unused variable `pos'.
2215         (vera-electric-tab, vera-comment-uncomment-region):
2216         Mark unused parameters.
2217         (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
2219 2011-04-22  Chong Yidong  <cyd@stupidchicken.com>
2221         * emacs-lisp/package.el (package--builtins, package-alist)
2222         (package-load-descriptor, package-built-in-p, package-activate)
2223         (define-package, package-installed-p)
2224         (package-compute-transaction, package-buffer-info)
2225         (package--push): Doc fix.  Distinguish more clearly between
2226         version strings and version lists.
2228 2011-04-21  Juanma Barranquero  <lekktu@gmail.com>
2230         Lexical-binding cleanup.
2232         * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
2233         (5x5-make-mutate-best):
2234         * play/fortune.el (fortune-in-buffer):
2235         * play/gomoku.el (gomoku-init-display):
2236         * play/solitaire.el (solitaire, solitaire-do-check):
2237         * play/tetris.el (tetris-default-update-speed-function):
2238         Mark unused parameters.
2240         * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
2241         (bubbles--shift): Remove unused variable `char-org'.
2242         (bubbles--set-faces): Remove unused variable `fg-col'.  Simplify.
2243         (bubbles--show-images): Remove unused variable `char'.
2245         * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
2246         (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
2247         (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
2248         (decipher-analyze-buffer): Use ?\s.
2249         (decipher-make-checkpoint): Remove unused variable `mapping'.
2251         * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
2253         * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
2254         Remove unused variable `result'; use `let'.
2256         * play/gametree.el (gametree-current-layout, gametree-apply-layout):
2257         Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
2258         (gametree-children-shown-p, gametree-compute-reduced-score):
2259         Use `ignore-errors'.
2261         * play/handwrite.el (ps-lpr-switches): Declare.
2262         (handwrite): Remove unused variables `pmin' and `lastp'.
2264         * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
2266         * play/landmark.el (landmark-init-display)
2267         (landmark-update-naught-weights): Mark unused parameters.
2268         (landmark-y): Remove unused variable `noise'.  Simplify.
2269         (landmark-human-plays): Remove unused variable `score'.
2271         * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
2272         (mpuz-try-proposal): Remove unused variable `game'.
2274         * play/zone.el (life-patterns): Declare.
2276 2011-04-20  Juanma Barranquero  <lekktu@gmail.com>
2278         * vc/vc.el (ediff-vc-internal): Declare function.
2280 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
2282         * shell.el: Use lexical-binding and std completion UI.
2283         (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
2284         (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
2285         comint-preoutput-filter-functions rather than on
2286         comint-output-filter-functions.
2287         (shell-command-completion, shell--command-completion-data)
2288         (shell-filename-completion, shell-environment-variable-completion)
2289         (shell-c-a-p-replace-by-expanded-directory): New functions.
2290         (shell-dynamic-complete-functions, shell-dynamic-complete-command)
2291         (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
2292         (shell-dynamic-complete-environment-variable): Use them.
2293         (shell-dynamic-complete-as-environment-variable)
2294         (shell-dynamic-complete-as-command): Remove.
2295         (shell-match-partial-variable): Match past point.
2296         * comint.el: Clean up use of completion-at-point-functions.
2297         (comint-completion-at-point): New function.
2298         (comint-mode): Use it completion-at-point-functions.
2299         (comint-dynamic-complete): Make it obsolete.
2300         (comint-replace-by-expanded-history-before-point): Add dry-run arg.
2301         (comint-c-a-p-replace-by-expanded-history): New function.
2302         (comint-dynamic-complete-functions)
2303         (comint-replace-by-expanded-history): Use it.
2304         * minibuffer.el (completion-table-with-terminator): Allow dynamic
2305         termination strings.  Try harder to avoid second try-completion.
2306         (completion-in-region-mode-map): Disable bindings that don't work yet.
2308         * comint.el: Use lexical-binding.  Require CL.
2309         (comint-dynamic-complete-functions): Use comint-filename-completion.
2310         (comint-completion-addsuffix): Tweak custom type.
2311         (comint-filename-completion, comint--common-suffix)
2312         (comint--common-quoted-suffix, comint--table-subvert)
2313         (comint--complete-file-name-data): New functions.
2314         (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
2315         (comint-dynamic-list-filename-completions): Use them.
2316         (comint-dynamic-simple-complete): Make obsolete.
2318         * minibuffer.el (completion-in-region-mode):
2319         Keep completion-in-region-mode--predicate global.
2320         (completion-in-region--postch):
2321         Assume completion-in-region-mode--predicate is not null.
2323         * progmodes/flymake.el (flymake-start-syntax-check-process):
2324         Obey `dir'.  Simplify.
2326         * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
2327         we're in VC after all.
2329 2011-04-20  Christoph Scholtes  <cschol2112@googlemail.com>
2331         * vc/vc.el (vc-diff-build-argument-list-internal)
2332         (vc-version-ediff, vc-ediff): New commands.
2333         (vc-version-diff): Use vc-diff-build-argument-list-internal.
2335 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
2337         * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
2338         add sanity check.
2340         * obsolete/erc-hecomplete.el: Make obsolete.
2341         * obsolete/: Standardize obsolescence info in the header.
2343 2011-04-20  Glenn Morris  <rgm@gnu.org>
2345         * calendar/solar.el (solar-horizontal-coordinates):
2346         Use the longitude argument rather than `calendar-longitude'.
2347         (solar-date-next-longitude): Remove unused locals.
2349 2011-04-20  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
2351         * whitespace.el: New version 13.2.1.
2353 2011-04-20  felix  <EmacsWiki>  (tiny change)
2355         * whitespace.el (global-whitespace-mode): keep highlight when
2356         switching between major modes on a file.
2358 2011-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
2360         * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
2361         (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
2362         multi-line comments as well.
2364 2011-04-19  Juanma Barranquero  <lekktu@gmail.com>
2366         Lexical-binding cleanup.
2368         * arc-mode.el (archive-mode-revert):
2369         * cmuscheme.el (scheme-interactively-start-process):
2370         * custom.el (custom-initialize-delay):
2371         * dnd.el (dnd-open-local-file, dnd-open-remote-url):
2372         * dos-w32.el (direct-print-region-helper, direct-print-region-function):
2373         * emacs-lock.el (emacs-lock-clear-sentinel):
2374         * ezimage.el (defezimage):
2375         * follow.el (follow-avoid-tail-recenter):
2376         * fringe.el (set-fringe-mode-1):
2377         * generic-x.el (bat-generic-mode-compile):
2378         * help-mode.el (help-info-variable, help-do-xref)
2379         (help-mode-revert-buffer):
2380         * help.el (view-emacs-todo):
2381         * iswitchb.el (iswitchb-completion-help):
2382         * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
2383         * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
2384         (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
2385         * locate.el (locate-update):
2386         * longlines.el (longlines-encode-region)
2387         (longlines-after-change-function):
2388         * outline.el (outline-isearch-open-invisible):
2389         * ps-def.el (declare-function, charset-dimension, char-width)
2390         (encode-char):
2391         * ps-mule.el (ps-mule-plot-string):
2392         * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
2393         (recentf-edit-list-select, recentf-edit-list-validate)
2394         (recentf-open-files-action):
2395         * rect.el (delete-whitespace-rectangle-line)
2396         (rectangle-number-line-callback):
2397         * register.el (window-configuration-to-register)
2398         (frame-configuration-to-register):
2399         * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
2400         * select.el (xselect-convert-to-string, xselect-convert-to-length)
2401         (xselect-convert-to-targets, xselect-convert-to-delete)
2402         (xselect-convert-to-filename, xselect-convert-to-charpos)
2403         (xselect-convert-to-lineno, xselect-convert-to-colno)
2404         (xselect-convert-to-os, xselect-convert-to-host)
2405         (xselect-convert-to-user, xselect-convert-to-class)
2406         (xselect-convert-to-name, xselect-convert-to-integer)
2407         (xselect-convert-to-atom, xselect-convert-to-identity):
2408         * subr.el (declare, ignore, process-kill-without-query)
2409         (text-clone-maintain):
2410         * terminal.el (te-get-char, te-tic-sentinel):
2411         * tool-bar.el (tool-bar-make-keymap):
2412         * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
2413         * type-break.el (type-break-mode, type-break-noninteractive-query):
2414         * view.el (View-back-to-mark):
2415         * wid-browse.el (widget-browse-action, widget-browse-widget)
2416         (widget-browse-widgets, widget-browse-sexp):
2417         * widget.el (define-widget-keywords):
2418         * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
2419         Mark unused parameters.
2421         * align.el (align-adjust-col-for-rule): Mark unused parameter.
2422         (align-areas): Remove unused variable `look'.
2423         (align-region): Remove unused variables `real-end' and `pos-list'.
2425         * apropos.el (apropos-score-doc): Remove unused variable `i'.
2427         * bindings.el (mode-line-modified, mode-line-remote):
2428         Mark unused parameters.
2429         (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
2431         * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
2432         (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
2434         * comint.el (comint-history-isearch-pop-state)
2435         (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
2436         (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
2437         (comint-substitute-in-file-name): Doc fix.
2439         * completion.el (cmpl-statistics-block): Mark unused parameter.
2440         (add-completions-from-tags-table, add-completions-from-lisp-buffer)
2441         (save-completions-to-file, load-completions-from-file):
2442         Remove unused local variable `e'.
2444         * composite.el (compose-chars): Remove unused variable `len'.
2445         (lgstring-insert-glyph): Remove unused variable `g'.
2446         (compose-glyph-string): Remove unused variables `ascent',
2447         `descent', `lbearing' and `rbearing'.
2448         (compose-glyph-string-relative): Remove unused variables
2449         `lbearing', `rbearing' and `wadjust'.
2450         (compose-gstring-for-graphic): Remove unused variables `header',
2451         `wadjust', `xoff' and `yoff'.  Use `let', not `let*'.
2452         (compose-gstring-for-terminal): Remove unused variables `header'
2453         and `nchars'.  Use `let', not `let*'.
2455         * cus-edit.el (Custom-set, Custom-save, custom-reset)
2456         (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
2457         (Custom-buffer-done, custom-buffer-create-internal)
2458         (custom-browse-visibility-action, custom-browse-group-tag-action)
2459         (custom-browse-variable-tag-action, custom-browse-face-tag-action)
2460         (widget-magic-mouse-down-action, custom-toggle-parent)
2461         (custom-add-parent-links, custom-toggle-hide-variable)
2462         (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
2463         (custom-toggle-hide-face, face, hook, custom-group-link-action)
2464         (custom-face-menu-create, custom-variable-menu-create, get)
2465         (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
2466         (custom-reset-standard-save-and-update): Remove unused variable `value'.
2467         (customize-apropos): Remove unused variable `tests'.
2468         (custom-group-value-create): Remove unused variable `hidden-p'.
2469         (sort-fold-case): Declare.
2471         * cus-theme.el (custom-reset-standard-faces-list)
2472         (custom-reset-standard-variables-list): Declare.
2473         (customize-create-theme, custom-theme-revert, custom-theme-write)
2474         (custom-theme-choose-mode, customize-themes, custom-theme-save):
2475         Mark unused parameters.
2477         * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
2479         * delim-col.el (delimit-columns-max): Move defvar before first use.
2481         * descr-text.el (describe-char-categories): Don't quote `lambda'.
2482         (describe-char): Don't quote `lambda'.  Mark unused parameter.
2484         * desktop.el (desktop-save-buffer-p): Mark unused parameter.
2485         (auto-insert): Declare.
2486         (desktop-restore-file-buffer): Rename desktop-* parameters;
2487         mark unused ones.
2488         (desktop-create-buffer): Rename desktop-* parameters and bind them.
2489         (desktop-buffer): Rename desktop-* parameters.
2491         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
2492         (dframe-reposition-frame-xemacs, dframe-help-echo)
2493         (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
2494         Mark unused parameters.
2496         * dired-aux.el (backup-extract-version-start, overwrite-query)
2497         (overwrite-backup-query, rename-regexp-query)
2498         (rename-non-directory-query): Declare.
2499         (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
2500         (dired-add-entry): Remove unused variable `orig-file-name'.
2501         (dired-copy-file-recursive): Remove unused variable `dirfailed'.
2502         Use parameter PRESERVE-TIME instead of accessing dynamic variable
2503         `dired-copy-preserve-time' directly.
2504         (dired-do-create-files-regexp): Remove unused variable `fn-count'.
2505         (dired-insert-subdir-newpos): Rename unused variable `pos'.
2507         * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
2508         (dired-virtual-revert, dired-make-relative-symlink):
2509         Mark unused parameters.
2510         (manual-program): Declare.
2511         (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
2512         (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
2513         wrapped in `with-no-warnings' to avoid replacing one warning by another.
2515         * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
2517         * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
2519         * echistory.el (electric-history-in-progress, Helper-return-blurb):
2520         Declare.
2522         * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
2524         * electric.el (Electric-command-loop): Rename parameter
2525         INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
2527         * expand.el (expand-in-literal): Remove unused variable `here'.
2529         * facemenu.el (facemenu-add-new-color):
2530         Remove unused variable `docstring'.
2532         * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
2533         (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
2534         (face-attr-construct): Mark unused parameter.  Doc fix.
2535         (read-color): Remove unused variable `hex-string'.
2537         * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
2538         (locate-dominating-file): Remove unused vars `prev-file' and `user'.
2539         (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
2540         (display-buffer-other-frame): Remove unused variable `old-window'.
2541         (kill-buffer-hook): Declare.
2542         (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
2543         Mark unused parameters.
2544         (after-find-file): Pass 1 to `auto-save-mode', not t.
2546         * files-x.el (auto-insert): Declare.
2547         (modify-file-local-variable-prop-line): Remove unused variable `val'.
2549         * find-lisp.el (find-lisp-find-dired-internal): Remove unused
2550         variable `buf'.  Mark unused parameter.
2551         (find-lisp-insert-directory): Mark unused parameter.
2553         * format.el (format-decode-run-method): Mark unused parameter; doc fix.
2554         (format-encode-region): Remove unused variables `cur-buf' and `result'.
2555         (format-common-tail): Remove, unused.
2556         (format-deannotate-region): Remove unused variable `loc'.
2557         (format-annotate-region): Remove unused variable `p'.
2558         (format-annotate-single-property-change): Remove unused variables
2559         `default' and `tail'.
2561         * forms.el (read-file-filter): Declare.
2562         (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
2564         * frame.el (frame-creation-function-alist): Mark unused parameter.
2565         (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
2567         * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
2568         Remove unused parameters.
2569         (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
2570         (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
2572         * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
2573         (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
2574         (hfy-prepare-tag-map): Mark unused parameters.
2575         (htmlfontify-buffer): Use `called-interactively-p'.
2577         * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
2578         (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
2579         (ibuffer-do-occur): Mark unused parameters.
2580         (ibuffer-forward-next-marked): Remove unused variable `curmark'.
2581         (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
2583         * ibuffer.el: Don't quote `lambda'.
2584         (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
2585         (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
2586         Mark unused parameters.
2588         * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
2589         (ido-completing-read): Mark unused parameters.
2590         (ido-copy-current-word): Mark unused parameters;
2591         remove unused variable `name'.
2592         (ido-sort-merged-list): Remove unused parameter `dirs'.
2594         * ielm.el (ielm-input-sender): Mark unused parameter.
2595         (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
2596         (ielm-output, ielm-wbuf, ielm-pmark): Declare.
2597         (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
2598         `ielm-string' as a dynamic variable accessible from the IELM prompt.
2599         Bind `ielm-string' to INPUT-STRING.  Remove unused variable `err'.
2601         * image-dired.el (image-dired-display-thumbs): Remove unused
2602         variables `curr-file' and `count'.
2603         (image-dired-remove-tag): Remove unused variable `start'.
2604         (image-dired-tag-files, image-dired-create-thumbs): Remove unused
2605         variable `curr-file'
2606         (image-dired-rotate-original): Remove unused variable `temp-file'.
2607         (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
2608         Remove unused variable `file'.
2609         (image-dired-gallery-generate): Remove unused variable `curr'.
2610         (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
2612         * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
2614         * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
2616         * informat.el (texinfo-command-start, texinfo-command-end): Declare.
2618         * isearch.el (minibuffer-history-symbol): Declare.
2619         (isearch-edit-string): Remove unused variable `err'.
2620         (isearch-message-prefix, isearch-message-suffix):
2621         Mark unused parameters.
2623         * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
2625         * macros.el (insert-kbd-macro): Remove unused variable `mods'.
2627         * makesum.el (double-column): Remove unused variable `cnt'.
2629         * misearch.el (multi-isearch-pop-state): Mark unused parameter.
2630         (ido-ignore-item-temp-list): Declare.
2632         * mouse-drag.el (mouse-drag-throw): Remove unused variables
2633         `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
2634         `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
2635         (mouse-drag-drag): Remove unused variables `mouse-delta' and
2636         `mouse-col-delta'.
2638         * mouse-sel.el (mouse-extend-internal):
2639         Remove unused variable `orig-window-frame'.
2641         * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
2642         (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
2643         Move declarations before first use.
2644         (pcomplete-opt): Mark unused parameters; doc fix.
2646         * proced.el (proced-revert): Mark unused parameter.
2647         (proced-send-signal): Remove unused variable `err'.
2649         * ps-print.el (ps-print-preprint-region, ps-print-preprint):
2650         Rename parameter PREFIX-ARG to ARG.
2651         (ps-basic-plot-string, ps-basic-plot-whitespace):
2652         Mark unused parameters.
2654         * replace.el (replace-count): Define.
2655         (occur-revert-function): Mark unused parameters.
2656         (ido-ignore-item-temp-list, isearch-error, isearch-forward)
2657         (isearch-case-fold-search, isearch-string): Declare.
2658         (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
2659         bind `case-fold-search'.  Remove unused variables `beg' and `end',
2660         and simplify.
2661         (replace-eval-replacement): Rename parameter REPLACE-COUNT to
2662         COUNT and bind `replace-count'.
2663         (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
2664         to COUNT.
2666         * savehist.el (print-readably, print-string-length): Declare.
2668         * shadowfile.el (shadow-expand-cluster-in-file-name):
2669         Remove unused variable `cluster'.
2670         (shadow-copy-file): Remove unused variable `i'.
2671         (shadow-noquery, shadow-clusters, shadow-site-cluster)
2672         (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
2673         (shadow-define-literal-group, shadow-define-regexp-group)
2674         (shadow-make-group, shadow-shadows-of): Clean up docstrings.
2676         * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
2677         (shell): Use `called-interactively-p'.
2678         (shell-directory-tracker): Remove unused variable `chdir-failure'.
2680         * simple.el (compilation-context-lines, comint-file-name-quote-list)
2681         (comint-file-name-chars, comint-delimiter-argument-list): Declare.
2682         (delete-backward-char): Remove unused variable `ocol'.
2683         (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
2684         (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
2685         (event-apply-hyper-modifier, event-apply-shift-modifier)
2686         (event-apply-control-modifier, event-apply-meta-modifier):
2687         Mark unused parameters.
2688         (undo-make-selective-list): Remove duplicate variable `undo-elt'.
2689         (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
2691         * speedbar.el (speedbar-ignored-directory-expressions)
2692         (speedbar-supported-extension-expressions, speedbar-directory-buttons)
2693         (speedbar-find-file, speedbar-dir-follow)
2694         (speedbar-directory-buttons-follow, speedbar-tag-find)
2695         (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
2696         (speedbar-buffers-line-directory, speedbar-buffer-click):
2697         Mark unused parameters.
2698         (speedbar-tag-file): Remove unused variable `mode'.
2699         (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
2701         * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
2703         * talk.el (talk): Remove unused variable `display'.
2705         * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
2706         (tar-write-region-annotate): Mark unused parameter.
2708         * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
2709         (minutes, seconds, time-zone, day, year, monthname, month, dayname):
2710         Declare them, wrapped in `with-no-warnings' to avoid replacing one
2711         warning by another.
2713         * time-stamp.el (time-stamp-string-preprocess):
2714         Remove unused variable `require-padding'.
2716         * tree-widget.el (widget-glyph-enable): Declare.
2717         (tree-widget-action): Mark unused parameter.
2719         * w32-fns.el (x-get-selection): Mark unused parameter.
2720         (autoload-make-program, generated-autoload-file): Declare.
2722         * wdired.el (wdired-revert): Mark unused parameters.
2723         (wdired-xcase-word): Remove unused variable `err'.
2725         * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
2726         (whitespace-help-scroll): Remove unused variable `data-help'.
2728         * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
2729         (widget-image-insert, widget-after-change, default)
2730         (widget-default-format-handler, widget-default-notify)
2731         (widget-default-prompt-value, widget-info-link-action)
2732         (widget-url-link-action, widget-function-link-action)
2733         (widget-variable-link-action, widget-file-link-action)
2734         (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
2735         (widget-field-prompt-internal, widget-field-action, widget-field-match)
2736         (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
2737         (widget-insert-button-action, widget-delete-button-action, visibility)
2738         (widget-documentation-link-action, widget-documentation-string-action)
2739         (widget-const-prompt-value, widget-regexp-match, symbol)
2740         (widget-coding-system-prompt-value)
2741         (widget-key-sequence-value-to-external, sexp)
2742         (widget-sexp-value-to-internal, character, vector, cons)
2743         (widget-choice-prompt-value, widget-boolean-prompt-value)
2744         (widget-color--choose-action): Mark unused parameters.
2745         (widget-item-match-inline, widget-choice-match-inline)
2746         (widget-checklist-match, widget-checklist-match-inline)
2747         (widget-group-match): Rename parameter VALUES to VALS.
2748         (widget-field-value-set): Remove unused variable `size'.
2749         (widget-color-action): Remove unused variables `value' and `start'.
2751         * windmove.el (windmove-wrap-loc-for-movement): Remove unused
2752         variable `dir'.  Doc fix.
2753         (windmove-find-other-window): Don't pass it.
2755         * window.el (count-windows): Mark unused parameter.
2756         (bw-adjust-window): Remove unused variable `err'.
2758         * woman.el (woman-file-name): Remove unused variable `default'.
2759         (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
2760         WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
2761         (global-font-lock-mode): Declare.
2762         (woman-decode-region): Mark unused parameter.
2763         (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
2765         * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
2766         (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
2767         (x-dnd-handle-moz-url): Remove unused variable `title'.
2768         (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
2770         * xml.el (xml-parse-tag, xml-parse-attlist):
2771         Remove unused variable `pos'.
2773 2011-04-19  Glenn Morris  <rgm@gnu.org>
2775         * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
2776         (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
2777         (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
2778         (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
2779         * calendar/cal-html.el (cal-html-insert-minical):
2780         * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
2781         (calendar-mark-date-pattern):
2782         Prefix "unused" locals.
2784         * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
2785         optional argument `style'.
2787         * calendar/appt.el (appt-make-list):
2788         * calendar/cal-china.el (calendar-chinese-date-string):
2789         * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
2790         (diary-hebrew-yahrzeit):
2791         * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
2792         * calendar/calendar.el (calendar-generate-window):
2793         * calendar/time-date.el (time-to-days):
2794         Remove unused local variables.
2796 2011-04-18  Chong Yidong  <cyd@stupidchicken.com>
2798         * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
2799         glyphless-char-display table.
2800         (tabulated-list-glyphless-char-display): New var.
2802 2011-04-18  Sam Steingold  <sds@gnu.org>
2804         * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
2805         to acknowledgments.
2807 2011-04-17  Glenn Morris  <rgm@gnu.org>
2809         * calendar/diary-lib.el (diary-sexp-entry):
2810         * calendar/holidays.el (holiday-sexp):
2811         Set debug-on-error rather than the removed stack-trace-on-error.
2813 2011-04-16  Glenn Morris  <rgm@gnu.org>
2815         * progmodes/f90.el: Use lexical-binding.
2816         (f90-get-correct-indent): Remove unnecessary local variable `cont'.
2818 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
2820         * mail/sendmail.el (mail-mode-map): Use completion-at-point.
2821         (mail-mode): Setup mailalias completion here instead.
2822         * mail/mailalias.el: Use lexical-binding.
2823         (pattern, mailalias-done): Declare dynamic.
2824         (mail-completion-at-point-function): New function, from mail-complete.
2825         (mail-complete): Use it.
2826         (mail-completion-expand): New function.
2827         (mail-get-names): Use it.
2828         (mail-directory, mail-directory-process, mail-directory-stream):
2829         Don't use `pattern' for lexically bound arg.
2831         * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
2833         * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
2834         (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
2835         (hfy-etags-cmd-alist): Don't eval-and-compile any more.
2837         * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
2838         (byte-save-window-excursion, byte-temp-output-buffer-setup)
2839         (byte-interactive-p): Define them again, for use when inlining
2840         old code.
2842 2011-04-15  Juanma Barranquero  <lekktu@gmail.com>
2844         * loadup.el: Use `string-to-number', not `string-to-int'.
2846 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
2848         * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
2849         gud-gdb-complete-command.
2850         (gud-gdb-completions): New function, from gud-gdb-complete-command.
2851         (gud-gdb-completion-at-point): New function.
2852         (gud-gdb-completions): Remove.
2854 2011-04-14  Michael Albinus  <michael.albinus@gmx.de>
2856         * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
2857         when the scripts fail.  Use `tramp-do-file-attributes-with-ls' then.
2858         (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
2859         whether `executable-find' is bound.
2861         * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
2863 2011-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
2865         * minibuffer.el (completion-in-region-mode-predicate)
2866         (completion-in-region-mode--predicate): New vars.
2867         (completion-in-region, completion-in-region--postch)
2868         (completion-in-region-mode): Use them.
2869         (completion--capf-wrapper): Also return the hook function.
2870         (completion-at-point, completion-help-at-point):
2871         Adjust and provide a predicate.
2873         Preserve arg names for advice of subr and lexical functions (bug#8457).
2874         * help-fns.el (help-function-arglist): Consolidate the subr and
2875         new-byte-code cases.  Add argument `preserve-names' to extract names
2876         from the docstring when needed.
2877         * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
2878         (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
2879         (ad-arglist): Use help-function-arglist's new arg.
2880         (ad-definition-type): Use cond.
2882 2011-04-13  Juanma Barranquero  <lekktu@gmail.com>
2884         * autorevert.el (auto-revert-handler):
2885         Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
2886         which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
2887         Don't quote lambda.
2889         * image-mode.el (image-transform-set-scale):
2890         Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
2892 2011-04-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2894         * net/network-stream.el (network-stream-open-starttls): Only do
2895         opportunistic STARTTLS upgrades if we have built-in gnutls support.
2896         Upgrades via gnutls-cli are too slow to be done opportunistically.
2898 2011-04-12  Juanma Barranquero  <lekktu@gmail.com>
2900         * dframe.el (dframe-current-frame): Remove spurious quote.
2902 2011-04-12  Glenn Morris  <rgm@gnu.org>
2904         * calendar/cal-tex.el (cal-tex-end-document):
2905         Try to automatically use latin1 input if needed.
2907         * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
2908         Don't try to cons a mark onto an empty element.
2910 2011-04-11  Leo Liu  <sdl.web@gmail.com>
2912         * ido.el (ido-buffer-internal): Allow method 'kill for virtual
2913         buffers.
2914         (ido-kill-buffer-at-head): Support killing virtual buffers.
2916 2011-04-10  Chong Yidong  <cyd@stupidchicken.com>
2918         * minibuffer.el (completion-show-inline-help): New var.
2919         (completion--do-completion, minibuffer-complete)
2920         (minibuffer-force-complete, minibuffer-complete-word):
2921         Inhibit minibuffer messages if completion-show-inline-help is nil.
2923         * icomplete.el (icomplete-mode): Bind completion-show-inline-help
2924         to avoid interference from inline help (Bug#5849).
2926 2011-04-10  Leo Liu  <sdl.web@gmail.com>
2928         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
2929         Fix typo.
2931 2011-04-09  Chong Yidong  <cyd@stupidchicken.com>
2933         * image-mode.el (image-toggle-display-image): Signal an error if
2934         not in Image mode.
2935         (image-transform-mode, image-transform-resize)
2936         (image-transform-set-rotation): Doc fix.
2937         (image-transform-set-resize): Delete.
2938         (image-transform-set-scale, image-transform-fit-to-height)
2939         (image-transform-fit-to-width): Handle image-toggle-display-image
2940         and image-transform-resize directly.
2942 2011-04-08  Sho Nakatani  <lay.sakura@gmail.com>
2944         * doc-view.el (doc-view-fit-width-to-window)
2945         (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
2946         New functions for fitting the shown image to the Emacs window size.
2947         (doc-view-mode-map): Add bindings for the new functions.
2949 2011-04-08  Juanma Barranquero  <lekktu@gmail.com>
2951         * vc-annotate.el (vc-annotate-show-log-revision-at-line):
2952         Fix typo in docstring.
2954 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
2956         * files.el (file-size-human-readable): Produce one digit after
2957         decimal, like "ls -lh" does.
2959         * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
2960         the file size representation.
2962         * simple.el (list-processes): If async subprocesses are not
2963         available, error out with a clear error message.
2965 2011-04-08  Chong Yidong  <cyd@stupidchicken.com>
2967         * help.el (help-form-show): New function, to be called from C.
2968         Put help-form output in a buffer named differently than *Help*.
2970 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
2972         * files.el (file-size-human-readable): New function.
2974         * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
2975         computing the representation inline.  Don't require `cl'.
2977 2011-04-08  Glenn Morris  <rgm@gnu.org>
2979         * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
2981         * net/browse-url.el (browse-url-firefox):
2982         Test system-type, not system-configuration.
2984         * vc/log-edit.el (log-edit-empty-buffer-p): New function.
2985         (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
2986         Use log-edit-empty-buffer-p.  (Bug#7598)
2988         * net/rlogin.el (rlogin-process-connection-type): Simplify.
2989         (rlogin-mode-map): Initialize in the defvar.
2990         (rlogin): Use ignore-errors.
2992         * replace.el (occur-mode-map): Some fixes for menu items.
2994 2011-04-07  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
2996         * play/morse.el (denato-region): Handle varying case.  (Bug#8386)
2998 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
3000         * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
3001         issuing unused warnings.
3003         * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
3004         macro directly.
3006         * simple.el: Lisp reimplement of list-processes.  Based on an
3007         earlier reimplementation by Leo Liu, but using tabulated-list.el.
3008         (process-menu-mode): New major mode.
3009         (list-processes--refresh, list-processes):
3010         (process-menu-visit-buffer): New functions.
3012         * files.el (save-buffers-kill-emacs): Don't assume any return
3013         value of list-processes, which is undocumented anyway.
3015 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
3017         * emacs-lisp/tabulated-list.el: New file.
3019         * emacs-lisp/package.el: Use Tabulated List mode.
3020         (package-menu-mode-map): Inherit from tabulated-list-mode-map.
3021         (package-menu-mode): Derive from tabulated-list-mode.  Set up the
3022         table format using Tabulated List mode variables.
3023         (package--push): New macro, replacing package-list-maybe-add.
3024         (package-menu--generate): Use package--push.  Renamed from
3025         package--generate-package-list.
3026         (package-menu-refresh, list-packages): Use it.
3027         (package-menu--print-info): Rename from package-print-package.
3028         Return insertion data instead of inserting it directly.
3029         (package-menu-describe-package, package-menu-execute):
3030         Use tabulated-list-get-id.
3031         (package-menu-mark-delete, package-menu-mark-install)
3032         (package-menu-mark-unmark, package-menu-backup-unmark)
3033         (package-menu-mark-obsolete-for-deletion):
3034         Use tabulated-list-put-tag.
3035         (package--list-packages, package-menu-revert)
3036         (package-menu-get-package, package-menu-get-version)
3037         (package-menu-sort-by-column): Functions deleted.
3038         (package-menu-package-list, package-menu-sort-key): Vars deleted.
3039         (package-menu--status-predicate, package-menu--version-predicate)
3040         (package-menu--name-predicate)
3041         (package-menu--description-predicate): Handle arguments in the
3042         Tabulated List format.
3043         (package-list-packages-no-fetch): Call list-packages.
3045 2011-04-06  Juanma Barranquero  <lekktu@gmail.com>
3047         * files.el (after-find-file-from-revert-buffer): Remove variable.
3048         (after-find-file): Don't bind it.
3049         (revert-buffer-in-progress-p): New variable.
3050         (revert-buffer): Bind it.
3051         Pass nil for `after-find-file-from-revert-buffer'.
3053         * saveplace.el (save-place-find-file-hook): Use new variable
3054         `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
3056 2011-04-06  Glenn Morris  <rgm@gnu.org>
3058         * Makefile.in (AUTOGEN_VCS): New variable.
3059         (autoloads): Use $AUTOGEN_VCS.
3061         * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
3062         * calendar/calendar.el (calendar-mode-map):
3063         Check for toolkit scroll bars.  (Bug#8305)
3065 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
3067         * minibuffer.el (completion-in-region--postch)
3068         (completion-in-region-mode): Remove unnecessary messages.
3070 2011-04-05  Juanma Barranquero  <lekktu@gmail.com>
3072         * font-lock.el (font-lock-refresh-defaults):
3073         Don't bind `hi-lock--inhibit-font-lock-hook', removed in
3074         2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
3076         * info.el (Info-directory-list, Info-read-node-name-2)
3077         (Info-split-parameter-string): Doc fixes.
3078         (Info-virtual-nodes): Reflow docstring.
3079         (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
3080         (Info-apropos-toc-nodes, info-finder, Info-get-token)
3081         (Info-find-emacs-command-nodes, Info-speedbar-key-map):
3082         Fix typos in docstrings.
3083         (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
3084         (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
3085         (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
3086         (Info-restore-desktop-buffer): Mark unused parameters.
3087         (Info-directory-find-file, Info-directory-find-node)
3088         (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
3089         (Info-virtual-index-find-node, Info-apropos-find-file)
3090         (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
3091         Mark unused parameters; fix typos in docstrings.
3092         (Info-virtual-index): Remove unused local variable `nodename'.
3094 2011-04-05  Deniz Dogan  <deniz@dogan.se>
3096         * net/rcirc.el: Update my e-mail address.
3097         (rcirc-mode-map): Remove M-o binding.
3099 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
3101         * startup.el (command-line): Save the cursor's theme-face
3102         directly, instead of using face-override-spec.
3104         * custom.el (load-theme): Minor optimization in assigning faces.
3106 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
3108         * help-fns.el (describe-variable): Complete all variables having
3109         documentation, including keywords.
3110         http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
3112 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
3114         Convert to lexical-binding.
3116         * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
3117         (bs--get-marked-string, bs--get-modified-string)
3118         (bs--get-readonly-string, bs--get-size-string, bs--get-name)
3119         (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
3120         (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
3122         * ehelp.el (electric-help-execute-extended)
3123         (electric-help-ctrl-x-prefix):
3124         * hexl.el (hexl-revert-buffer-function):
3125         * linum.el (linum-after-change, linum-after-scroll):
3126         * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
3128         * help-fns.el (help-describe-category-set): Remove unused ERR variable.
3130 2011-04-04  Daiki Ueno  <ueno@unixuser.org>
3132         * epa-dired.el:
3133         * epa-mail.el:
3134         * epa-hook.el:
3135         * epa-file.el:
3136         * epa.el:
3137         * epg.el: Use lexical binding.
3139 2011-04-03  Chong Yidong  <cyd@stupidchicken.com>
3141         * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
3143         * textmodes/flyspell.el (flyspell-word): Recognize default
3144         dictionary case for flyspell-mark-duplications-exceptions.
3145         Use regexp matching for languages.
3146         (flyspell-mark-duplications-exceptions): Add "that" and "had" for
3147         default dictionary (Bug#7926).
3149 2011-04-02  Chong Yidong  <cyd@stupidchicken.com>
3151         * emacs-lisp/package.el (package--with-work-buffer):
3152         Recognize https URLs.
3154         * net/network-stream.el: Move from gnus/proto-stream.el.
3155         Change prefix to network-stream throughout.
3156         (open-protocol-stream): Merge into open-network-stream, leaving
3157         open-protocol-stream as an alias.  Handle nil BUFFER args.
3159         * subr.el (open-network-stream): Move to net/network-stream.el.
3161 2011-04-02  Glenn Morris  <rgm@gnu.org>
3163         * find-dired.el (find-exec-terminator): New option.
3164         (find-ls-option): Test for -ls support.
3165         (find-ls-subdir-switches): Test for -b in find-ls-option.
3166         (find-dired, find-grep-dired): Doc fixes.
3167         (find-dired): Use find-exec-terminator.
3169         * find-dired.el (find-ls-option, find-ls-subdir-switches)
3170         (find-grep-options): Do not autoload these defcustoms, remove purecopy.
3171         (find-name-arg): Remove purecopy.
3173         * progmodes/grep.el (grep-find-use-xargs): Doc fix.
3174         (grep-compute-defaults): Check for `-exec COMMAND +' support.
3175         Set grep-find-use-xargs, grep-find-command, and grep-find-template
3176         accordingly.  Don't add the null-device if not needed.
3178         * files.el (save-some-buffers): Doc fix.
3180 2011-04-02  Eli Zaretskii  <eliz@gnu.org>
3182         * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
3184 2011-04-01  Juanma Barranquero  <lekktu@gmail.com>
3186         * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
3187         Use `dolist' rather than `mapcar'.
3189 2011-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>
3191         Add lexical binding.
3193         * subr.el (apply-partially): Use new closures rather than CL.
3194         (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
3195         (dolist, dotimes): Use slightly different expansion for lexical code.
3196         (functionp): Move to C.
3197         (letrec): New macro.
3198         (with-wrapper-hook): Use it and apply-partially instead of CL.
3199         (eval-after-load): Preserve lexical-binding.
3200         (save-window-excursion, with-output-to-temp-buffer): Turn them
3201         into macros.
3203         * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
3205         * help-fns.el (help-split-fundoc): Return nil if there's nothing else
3206         than the arglist.
3207         (help-add-fundoc-usage): Don't add `Not documented'.
3208         (help-function-arglist): Handle closures, subroutines, and new
3209         byte-code-functions.
3210         (help-make-usage): Remove leading underscores.
3211         (describe-function-1): Handle closures.
3212         (describe-variable): Use special-variable-p for completion.
3214         * files.el (lexical-binding): Declare safe.
3216         * emacs-lisp/pcase.el: Don't use destructuring-bind.
3217         (pcase--memoize): Rename from pcase-memoize.  Change weakness.
3218         (pcase): Add `let' pattern.
3219         Change memoization so it actually works.
3220         (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
3221         (pcase--u1) <guard, pred>: Fix possible shadowing problem.
3222         <let>: New case.
3224         * emacs-lisp/macroexp.el: Use lexical binding.
3225         (macroexpand-all-1): Check obsolete macros.  Expand compiler-macros.
3226         Don't convert ' to #' without checking that it's indeed quoting
3227         a lambda.
3229         * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
3230         Use eval-sexp-add-defvars.
3231         (eval-sexp-add-defvars): New fun.
3233         * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
3235         * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
3236         Don't autoload.
3237         (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
3238         than the internal `byte-compile-lambda'.
3239         (defmethod): Don't hide code under quotes.
3240         (eieio-defmethod): New `code' argument.
3242         * emacs-lisp/eieio-comp.el: Remove.
3244         * emacs-lisp/edebug.el (edebug-eval-defun)
3245         (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
3246         (edebug-toggle): Avoid `eval'.
3248         * emacs-lisp/disass.el (disassemble-internal): Handle new
3249         `closure' objects.
3250         (disassemble-1): Handle new byte codes.
3252         * emacs-lisp/cl.el (pushnew): Silence warning.
3254         * emacs-lisp/cl-macs.el (cl-byte-compile-block)
3255         (cl-byte-compile-throw): Remove.
3256         (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
3258         * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
3259         closures.
3261         * emacs-lisp/cconv.el: New file.
3263         * emacs-lisp/bytecomp.el: Use lexical binding instead of
3264         a "bytecomp-" prefix.  Macroexpand everything as a separate phase.
3265         (byte-compile-initial-macro-environment):
3266         Handle declare-function here.
3267         (byte-compile--lexical-environment): New var.
3268         (byte-stack-ref, byte-stack-set, byte-discardN)
3269         (byte-discardN-preserve-tos): New lap codes.
3270         (byte-interactive-p): Don't use any more.
3271         (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
3272         New macros.
3273         (byte-compile-lapcode): Use them and handle new lap codes.
3274         (byte-compile-obsolete): Remove.
3275         (byte-compile-arglist-signature): Handle new byte-code arg"lists".
3276         (byte-compile-arglist-warn): Check late def of inlinable funs.
3277         (byte-compile-cl-warn): Don't silence warnings for compiler-macros
3278         since they should have been expanded by now.
3279         (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
3280         (byte-compile-from-buffer): Remove unused second arg.
3281         (byte-compile-preprocess): New function.
3282         (byte-compile-toplevel-file-form): New function to distinguish
3283         file-form calls from outside from file-form calls from hunk-handlers.
3284         (byte-compile-file-form): Simplify.
3285         (byte-compile-file-form-defsubst): Remove.
3286         (byte-compile-file-form-defmumble): Simplify now that
3287         byte-compile-lambda always returns a byte-code-function.
3288         (byte-compile): Preprocess.
3289         (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
3290         Remove, not used any more.
3291         (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
3292         (byte-compile-make-args-desc): New funs.
3293         (byte-compile-lambda): Handle lexical functions.  Always return
3294         a byte-code-function.
3295         (byte-compile-reserved-constants): New var, to make up room for
3296         closed-over variables.
3297         (byte-compile-constants-vector): Obey it.
3298         (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
3299         (byte-compile-macroexpand-declare-function): New function.
3300         (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
3301         byte-code-functions.
3302         (byte-compile-form): Check obsolescence here.
3303         (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
3304         (byte-compile-variable-ref): Remove.
3305         (byte-compile-dynamic-variable-op): New fun.
3306         (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
3307         (byte-compile-variable-set): New funs.
3308         (byte-compile-discard): Add 2 args.
3309         (byte-compile-stack-ref, byte-compile-stack-set)
3310         (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
3311         (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
3312         macroexpand-all instead.
3313         (byte-compile-quote-form): Remove.
3314         (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
3315         (byte-compile-bind, byte-compile-unbind): New funs.
3316         (byte-compile-let): Handle let* and lexical binding.
3317         (byte-compile-let*): Remove.
3318         (byte-compile-catch, byte-compile-unwind-protect)
3319         (byte-compile-track-mouse, byte-compile-condition-case):
3320         Handle a new :fun-body form, used for lexical scoping.
3321         (byte-compile-save-window-excursion)
3322         (byte-compile-with-output-to-temp-buffer): Remove.
3323         (byte-compile-defun): Simplify.
3324         (byte-compile-stack-adjustment): New fun.
3325         (byte-compile-out): Use it.
3326         (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
3328         * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
3329         handler any more.
3331         * emacs-lisp/byte-opt.el: Use lexical binding.
3332         (byte-inline-lapcode): Remove (to bytecomp).
3333         (byte-compile-inline-expand): Pay attention to inlining to/from
3334         lexically bound code.
3335         (byte-compile-unfold-lambda): Don't handle byte-code-functions
3336         any more.
3337         (byte-optimize-form-code-walker): Don't handle save-window-excursion
3338         any more and don't call compiler-macros.
3339         (byte-compile-splice-in-already-compiled-code): Remove.
3340         (byte-code): Don't inline any more.
3341         (disassemble-offset): Receive `bytes' as argument rather than via
3342         dynamic scoping.
3343         (byte-compile-tag-number): Declare before first use.
3344         (byte-decompile-bytecode-1): Handle new byte-codes, don't change
3345         `return' even if make-spliceable.
3346         (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
3347         obsolete interactive-p.
3348         (byte-optimize-lapcode): Optimize new lap-codes.
3349         Don't trip up on new form of `byte-constant' lap code.
3351         * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
3353         * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
3355         * custom.el (custom-initialize-default, custom-declare-variable):
3356         Use `defvar'.
3358         * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
3359         New variables.
3360         (compile-onefile, .el.elc, compile-calc, recompile): Use them.
3361         (COMPILE_FIRST): Add macroexp and cconv.
3362         * makefile.w32-in: Mirror changes in Makefile.in.
3364         * vc/cvs-status.el:
3365         * vc/diff-mode.el:
3366         * vc/log-edit.el:
3367         * vc/log-view.el:
3368         * vc/smerge-mode.el:
3369         * textmodes/bibtex-style.el:
3370         * textmodes/css.el:
3371         * startup.el:
3372         * uniquify.el:
3373         * minibuffer.el:
3374         * newcomment.el:
3375         * reveal.el:
3376         * server.el:
3377         * mpc.el:
3378         * emacs-lisp/smie.el:
3379         * doc-view.el:
3380         * dired.el:
3381         * abbrev.el: Use lexical binding.
3383 2011-04-01  Eli Zaretskii  <eliz@gnu.org>
3385         * info.el (info-display-manual): New function.
3387 2011-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
3389         * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
3391 2011-03-31  Tassilo Horn  <tassilo@member.fsf.org>
3393         * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
3394         an entry for that server in rcirc-authinfo.  (Bug#8385)
3396 2011-03-31  Glenn Morris  <rgm@gnu.org>
3398         * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
3400         * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
3402 2011-03-30  Christoph Scholtes  <cschol2112@googlemail.com>
3404         * progmodes/python.el (python-default-interpreter)
3405         (python-python-command-args, python-jython-command-args)
3406         (python-which-shell, python-which-args, python-which-bufname)
3407         (python-file-queue, python-comint-output-filter-function)
3408         (python-toggle-shells, python-shell): Remove obsolete defcustoms,
3409         variables and functions.
3411 2011-03-30  Stefan Monnier  <monnier@iro.umontreal.ca>
3413         * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
3414         (completion-in-region-mode): New minor mode.
3415         (completion-in-region): Use it.
3416         (completion-in-region--data, completion-in-region-mode-map): New vars.
3417         (completion-in-region--postch): New function.
3418         (completion--capf-misbehave-funs, completion--capf-safe-funs):
3419         New vars.
3420         (completion--capf-wrapper): New function.
3421         (completion-at-point): Use it to track well-behavedness of
3422         hook functions.
3423         (completion-help-at-point): New command.
3425 2011-03-30  Jason Merrill  <jason@redhat.com>  (tiny change)
3427         * vc/add-log.el (add-change-log-entry): Don't use whitespace
3428         syntax class to search for whitespace on a single line
3429         (Message-ID: <4D938140.4030905@redhat.com>).
3431 2011-03-30  Leo Liu  <sdl.web@gmail.com>
3433         * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
3434         New commands.
3435         (edit-abbrevs-map): Bind them here.
3436         (write-abbrev-file): New optinal arg VERBOSE.  (Bug#5937)
3438 2011-03-29  Ken Manheimer  <ken.manheimer@gmail.com>
3440         * allout.el (allout-hide-by-annotation, allout-flag-region):
3441         Reduce possibility of overlay leakage by making them volatile.
3443         * allout-widgets.el (allout-widgets-tally): Define as nil so the
3444         hash is not shared between buffers.  Mode initialization is
3445         responsible for giving it a useful starting value.
3446         (allout-item-span): Reduce possibility of overlay leakage by
3447         making them volatile.
3448         (allout-widgets-count-buttons-in-region): Add diagnostic function
3449         for tracking down button overlay leaks.
3451 2011-03-29  Leo Liu  <sdl.web@gmail.com>
3453         * ido.el (ido-read-internal): Use the default history var
3454         minibuffer-history if no HISTORY is specified.
3456 2011-03-28  Brian T. Sniffen  <bsniffen@akamai.com>  (tiny change)
3458         * net/imap.el (imap-shell-open, imap-process-connection-type):
3459         Use imap-process-connection-type for 'shell' streams as well as
3460         Kerberos, SSL, other subprocesses.
3462 2011-03-28  Leo Liu  <sdl.web@gmail.com>
3464         * abbrev.el (abbrev-table-empty-p): New function.
3465         (prepare-abbrev-list-buffer): Place empty abbrev tables after
3466         nonempty ones.  (Bug#5937)
3468 2011-03-27  Jan Djärv  <jan.h.d@swipnet.se>
3470         * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
3472 2011-03-27  Leo Liu  <sdl.web@gmail.com>
3474         * ansi-color.el (ansi-color-names-vector): Allow cons cell value
3475         for foreground and background colors.
3476         (ansi-color-make-color-map): Adapt.
3478 2011-03-25  Leo Liu  <sdl.web@gmail.com>
3480         * midnight.el (midnight-time-float): Remove.  Note it calculates
3481         the microsecond component incorrectly and seconds-to-time does the
3482         same job.
3483         Remove redundant (require 'timer).
3485         * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
3486         (ido-completions): Remove unused arguments.  (Bug#8329)
3488 2011-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
3490         * minibuffer.el (completion--flush-all-sorted-completions):
3491         Remove itself from hook.
3492         (completion-at-point): Let the functions perform the completion
3493         immediately and return nil or t.
3494         * comint.el (comint-dynamic-complete-functions): Now identical to
3495         completion-at-point-functions.
3496         (comint-dynamic-list-input-ring): Remove unused var `index'.
3497         (comint--match-partial-filename, comint--unquote&expand-filename):
3498         New funs, split from comint-match-partial-filename.
3499         (comint-dynamic-complete): Use completion-at-point.
3500         (comint-dynamic-complete-filename): Use comint--match-partial-filename.
3502 2011-03-24  Drew Adams  <drew.adams@oracle.com>
3504         * thingatpt.el: Support `defun'.
3506 2011-03-23  Leo Liu  <sdl.web@gmail.com>
3508         * abbrevlist.el: Move to obsolete/abbrevlist.el.
3510         * help-mode.el (help-mode-finish): Tweak regexp.
3512 2011-03-23  Glenn Morris  <rgm@gnu.org>
3514         * eshell/esh-opt.el (eshell-eval-using-options):
3515         Do not bind unused local variable `eshell-option-stub'.
3517         * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
3519 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
3521         * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
3522         keymap variable in `with-no-warnings' to avoid a warning when the
3523         keymap has been already `defconst'ed.
3525 2011-03-22  Leo Liu  <sdl.web@gmail.com>
3527         * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
3528         encode all chars in abbrevs; otherwise use emacs-mule or
3529         utf-8-emacs.  (Bug#8308)
3531 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
3533         * simple.el (backward-delete-char-untabify):
3534         Avoid warning about using `delete-backward-char'.
3536         * image.el (image-type-file-name-regexps): Make it variable.
3537         `imagemagick-register-types' modifies it, and the user may want
3538         to add new extensions for known image types.
3539         (imagemagick-register-types): Throw error if not using ImageMagick.
3541 2011-03-22  Leo Liu  <sdl.web@gmail.com>
3543         * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
3544         located before rcirc-prompt-end-marker.
3545         (rcirc-complete): Error if point is not after rcirc prompt.
3546         Handle the case when table is nil.
3547         (rcirc-user-authenticated): Define to fix compiler warning.
3549 2011-03-22  Chong Yidong  <cyd@stupidchicken.com>
3551         * custom.el (custom--inhibit-theme-enable): Make it affect only
3552         custom-theme-set-variables and custom-theme-set-faces.
3553         (provide-theme): Ignore custom--inhibit-theme-enable.
3554         (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
3555         (custom-enabling-themes): Delete variable.
3556         (enable-theme): Accept only loaded themes as arguments.
3557         Ignore the special custom-enabled-themes variable.
3558         (custom-enabled-themes): Forbid themes from setting this.
3559         Eliminate use of custom-enabling-themes.
3560         (custom-push-theme): Quote "changed" custom var entry.
3562 2011-03-21  Leo Liu  <sdl.web@gmail.com>
3564         * ido.el (ido-read-internal): Add ido-selected to history instead
3565         of user input.
3567 2011-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
3569         * subr.el (deferred-action-list, deferred-action-function):
3570         Mark obsolete.
3572 2011-03-21  Leo Liu  <sdl.web@gmail.com>
3574         * vc/log-view.el: Remove (require 'wid-edit), not needed after the
3575         change on 2011-02-13 (bug#8309).
3577         * minibuffer.el (read-file-name-function): Change default value.
3578         (read-file-name--defaults): Rename from read-file-name-defaults.
3579         (read-file-name-default): Rename from read-file-name.
3580         (read-file-name): Call read-file-name-function.
3582 2011-03-21  Glenn Morris  <rgm@gnu.org>
3584         * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
3585         Doc fixes.
3587 2011-03-21  Chong Yidong  <cyd@stupidchicken.com>
3589         * cus-theme.el: Add missing provide statement.
3590         (customize-create-theme): Extract theme value correctly.
3591         (custom-theme-visit-theme): Autoload.
3592         (customize-create-theme): Prompt before inserting default faces.
3594 2011-03-20  Jay Belanger  <jay.p.belanger@gmail.com>
3596         * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
3597         units and musical notes.
3599 2011-03-20  Leo  <sdl.web@gmail.com>
3601         * ido.el (ido-read-internal): Use completing-read-default.
3602         (ido-completing-read): Fix compatibility with completing-read.
3604 2011-03-20  Christian Ohler  <ohler@gnu.org>
3606         * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
3607         (ert-delete-all-tests): Use `called-interactively-p' rather than
3608         `interactive-p'.
3609         (ert--make-xrefs-region): Respect END.
3611 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
3613         * dired-aux.el (dired-create-directory): Signal an error if the
3614         directory already exists (Bug#8246).
3616         * facemenu.el (list-colors-display): Call list-faces-display
3617         inside with-help-window.
3618         (list-colors-print): Use display property to align the final
3619         column, instead of checking window-width.
3621 2011-03-19  Eli Zaretskii  <eliz@gnu.org>
3623         * emerge.el (emerge-metachars): Separate value for ms-dos and
3624         windows-nt systems.
3625         (emerge-protect-metachars): Quote correctly for ms-dos and
3626         windows-nt systems.
3628 2011-03-19  Ralph Schleicher  <rs@ralph-schleicher.de>
3630         * info.el (info-initialize): Replace all uses of `:' with
3631         path-separator for compatibility with non-Unix systems.
3632         Cache quoting of path-separator.  (Bug#8258)
3634 2011-03-19  Juanma Barranquero  <lekktu@gmail.com>
3636         * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
3637         (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
3638         (mouse-avoidance-mode): Fix typos in docstrings.
3640 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
3642         * startup.el (package-subdirectory-regexp): Move from package.el.
3643         Omit \\` and \\', and let callers add them.
3645         * emacs-lisp/package.el (package-strip-version)
3646         (package-load-all-descriptors): Add \\` and \\' to
3647         package-subdirectory-regexp before using it.
3648         (package-untar-buffer): New arg DIR; ensure that file untars only
3649         into this expected directory.  Remove superfluous delete-region.
3650         (package-unpack): Caller changed.
3651         (package-tar-file-info): Use package-subdirectory-regexp.
3653 2011-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3655         * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
3656         diff-mode-shared-map (bug#8284).
3657         (diff-mode-shared-map): Re-introduce some bindings that were problematic.
3659 2011-03-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3661         * calendar/time-date.el (format-seconds): Use assoc instead of
3662         assoc-string, since assoc-string doesn't exist in XEmacs.
3664 2011-03-17  Juanma Barranquero  <lekktu@gmail.com>
3666         * custom.el (custom-known-themes): Reflow docstring.
3667         (custom-theme-load-path): Fix typo in docstring.
3668         (load-theme): Fix typo in error message.
3669         (custom-available-themes, custom-variable-theme-value):
3670         Use `let', not `let*'.
3672 2011-03-17  Jay Belanger  <jay.p.belanger@gmail.com>
3674         * calc/README: Mention inclusion of musical notes.
3676         * calc/calc-units.el (calc-lu-quant): Rename from
3677         `calc-logunits-quantity'.
3678         (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
3679         (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
3680         (calc-db): Rename from `calc-dblevel'.
3681         (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
3682         (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
3683         (calc-np): Rename from `calc-nplevel'.
3684         (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
3685         (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
3686         (calc-lu-plus): Rename from `calc-logunits-add'.
3687         (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
3688         (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
3689         (calc-lu-minus): Rename from `calc-logunits-sub'.
3690         (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
3691         (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
3692         (calc-lu-times): Rename from `calc-logunits-mul'.
3693         (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
3694         (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
3695         (calc-lu-divide): Rename from `calc-logunits-div'.
3696         (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
3697         (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
3699         * calc/calc-ext.el (calc-init-extensions): Update the names of the
3700         functions being autoloaded.
3702         * calc/calc.el (calc-lu-power-reference): Rename from
3703         `calc-logunits-power-reference'.
3704         (calc-lu-field-reference): Rename from
3705         `calc-logunits-field-reference'.
3707         * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
3709 2011-03-17  Stefan Monnier  <monnier@iro.umontreal.ca>
3711         * minibuffer.el (completion-all-sorted-completions):
3712         Use :completion-cycle-penalty text property if present.
3714 2011-03-16  Ken Manheimer  <ken.manheimer@gmail.com>
3716         * allout.el (allout-yank-processing): Adjust for new rebulleting
3717         regime so bullet being yanked is used without prompting the user
3718         for a choice.
3720 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
3722         * startup.el (command-line): Warn the user that _emacs is deprecated.
3724 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
3726         * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
3727         (delphi-verbose, delphi-comment-face, delphi-string-face)
3728         (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
3729         (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
3730         (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
3731         (delphi-new-comment-line, delphi-font-lock-defaults)
3732         (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
3733         Fix typos in docstrings.
3735 2011-03-15  Ken Manheimer  <ken.manheimer@gmail.com>
3737         * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
3738         Invert the roles of character and string values for INSTEAD, so a
3739         string is used for the more common case of a defaulting prompt.
3741 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
3743         * progmodes/ruby-mode.el (ruby-backward-sexp):
3744         * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
3745         * play/gamegrid.el (gamegrid-make-face):
3746         * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
3747         (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
3748         * notifications.el (notifications-notify):
3749         * net/xesam.el (xesam-search-engines):
3750         * net/quickurl.el (quickurl-list-insert):
3751         * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
3753 2011-03-15  Chong Yidong  <cyd@stupidchicken.com>
3755         * startup.el (command-line): Update package subdirectory regexp.
3757 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
3759         * allout.el (allout-abbreviate-flattened-numbering)
3760         (allout-mode-deactivate-hook): Fix up obsolescence "date".
3762         * subr.el (read-char-choice): Only show the cursor after the prompt,
3763         not after the answer.
3765 2011-03-15  Kevin Ryde  <user42@zip.com.au>
3767         * help-fns.el (variable-at-point): Skip leading quotes, if any
3768         (bug#8253).
3770 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
3772         * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
3773         warning message.
3775 2011-03-14  Michael Albinus  <michael.albinus@gmx.de>
3777         * shell.el (shell): When called interactively, offer to change the
3778         shell file name on remote hosts.
3780 2011-03-13  Teodor Zlatanov  <tzz@lifelogs.com>
3782         * net/ldap.el (ldap-search-internal): Add `auth-source-search'
3783         integration for LDAP parameters.  The host, base, user or binddn,
3784         and secret tokens can be specified in a netrc file, for instance.
3785         This is optional because an `auth-source' parameter must be
3786         specified in the search attributes.
3788 2011-03-13  Juanma Barranquero  <lekktu@gmail.com>
3790         * help.el (describe-mode): Link to the mode's definition (bug#8185).
3792 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3794         * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
3795         into declaration.  Remove redundant and harmful binding.
3797 2011-03-12  Eli Zaretskii  <eliz@gnu.org>
3799         * files.el (file-ownership-preserved-p): Pass `integer' as an
3800         explicit 2nd argument to `file-attributes'.  If the file's owner
3801         is the Administrators group on Windows, and the current user is
3802         Administrator, consider that a match.
3804         * server.el (server-ensure-safe-dir): Consider server directory
3805         safe on MS-Windows if its owner is the Administrators group while
3806         the current Emacs user is Administrator.  Use `=' to compare
3807         numerical UIDs, since they could be integers or floats.
3809 2011-03-12  Juanma Barranquero  <lekktu@gmail.com>
3811         * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
3813 2011-03-12  Michael Albinus  <michael.albinus@gmx.de>
3815         Sync with Tramp 2.2.1.
3817         * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
3819         * net/trampver.el: Update release number.
3821 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3823         * progmodes/compile.el (compilation--previous-directory): Fix up
3824         various nil/dead-marker mismatches (bug#8014).
3825         (compilation-directory-properties, compilation-error-properties):
3826         Don't call it at a position past the one we're about to change.
3828         * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
3829         Disable obsolescence warnings in the file that declares it.
3831 2011-03-11  Ken Manheimer  <ken.manheimer@gmail.com>
3833         * allout-widgets.el (allout-widgets-tally):
3834         Initialize allout-widgets-tally as a hash table rather than nil to
3835         prevent mode-line redisplay warnings.  Also, clarify the module
3836         description and fix a comment typo.
3838 2011-03-11  Juanma Barranquero  <lekktu@gmail.com>
3840         * help-fns.el (describe-variable): Don't complete keywords.
3841         Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
3843 2011-03-10  Chong Yidong  <cyd@stupidchicken.com>
3845         * emacs-lisp/package.el (package-version-join): Impose a standard
3846         string representation for pre/alpha/beta version lists.
3847         (package-unpack-single): Standardize the directory name by passing
3848         it through package-version-join.
3849         (package-strip-rcs-id): Accept any version string that does not
3850         signal an error in version-to-list.
3852 2011-03-10  Michael Albinus  <michael.albinus@gmx.de>
3854         * simple.el (delete-trailing-whitespace): Return nil for the
3855         benefit of `write-file-functions'.
3857 2011-03-10  Glenn Morris  <rgm@gnu.org>
3859         * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
3861         * vc/vc-git.el (vc-git-program): New option.
3862         (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
3863         (vc-git--call): Use it.
3865         * eshell/esh-util.el (eshell-condition-case): Doc fix.
3867         * cus-edit.el (Custom-newline): If no button at point, look
3868         for a subgroup button at start-of-line.  (Bug#2298)
3870         * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
3872 2011-03-10  Julien Danjou  <julien@danjou.info>
3874         * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
3875         `cursor-type' is nil.
3877 2011-03-09  Jay Belanger  <jay.p.belanger@gmail.com>
3879         * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
3881 2011-03-09  Ken Manheimer  <ken.manheimer@gmail.com>
3883         * allout.el Summary: Change so yank of distinctive-bullet items
3884         preserves the existing header prefix, rebulleting it if necessary,
3885         rather than replacing it.  This is necessary for proper operation
3886         of cooperative addons like allout-widgets.
3887         (allout-make-topic-prefix, allout-rebullet-heading): Change
3888         SOLICIT arg to INSTEAD, and interpret additionally a string value
3889         as alternate bullet to be used, instead of prompting the user for
3890         a bullet character.
3892 2011-03-09  Michael Albinus  <michael.albinus@gmx.de>
3894         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
3895         Do not use `tramp-file-name-port', because this returns also
3896         `tramp-default-port'.
3898 2011-03-09  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
3900         * net/rcirc.el (rcirc-handler-001): Remove useless
3901         with-rcirc-process-buffer.
3902         (rcirc-check-auth-status): Swap arguments to string-match.
3904 2011-03-09  Glenn Morris  <rgm@gnu.org>
3906         * shell.el (shell-mode):
3907         Set comint-input-ring-size from HISTSIZE.  (Bug#7889)
3909         * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
3910         Check for GDBHISTFILE, HISTSIZE, etc.  (Bug#7889)
3912 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
3914         * emacs-lisp/package.el (package-refresh-contents)
3915         (package-menu-execute): Use condition-case-no-debug.
3917 2011-03-08  Michael Albinus  <michael.albinus@gmx.de>
3919         * simple.el (shell-command-to-string): Use `process-file'.
3921         * emacs-lisp/package.el (package-tar-file-info): Handle also
3922         remote files.
3924         * emacs-lisp/package-x.el (package-upload-buffer-internal):
3925         Use `equal' for upload base check.
3927 2011-03-08  Arni Magnusson  <arnima@hafro.is>  (tiny change)
3929         * textmodes/texinfo.el (texinfo-environments):
3930         Add deftypecv, deftypeivar, deftypemethod, deftypeop, html.  (Bug#2783)
3932 2011-03-08  Glenn Morris  <rgm@gnu.org>
3934         * cus-start.el (cursor-in-non-selected-windows):
3935         Fix :set quoting oddness.  (Bug#8192)
3937         * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
3938         in some setf expressions.  (Bug#2159)
3940 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
3942         * custom.el (custom-available-themes): Return themes in
3943         alphabetical order.
3945 See ChangeLog.15 for earlier changes.
3947 ;; Local Variables:
3948 ;; coding: utf-8
3949 ;; End:
3951   Copyright (C) 2011  Free Software Foundation, Inc.
3953   This file is part of GNU Emacs.
3955   GNU Emacs is free software: you can redistribute it and/or modify
3956   it under the terms of the GNU General Public License as published by
3957   the Free Software Foundation, either version 3 of the License, or
3958   (at your option) any later version.
3960   GNU Emacs is distributed in the hope that it will be useful,
3961   but WITHOUT ANY WARRANTY; without even the implied warranty of
3962   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
3963   GNU General Public License for more details.
3965   You should have received a copy of the GNU General Public License
3966   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.