* lisp/pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el.
[emacs.git] / lisp / ChangeLog
bloba3c69ee76d53fba9beb47cb47a4ff68807e6eba4
1 2011-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
3         * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
4         (bug#8958).
6 2011-07-04  Chong Yidong  <cyd@stupidchicken.com>
8         * font-lock.el (font-lock-builtin-face): Change light background
9         color to dark slate blue (Bug#6693).
11 2011-07-04  Wang Diancheng  <dcwang@kingbase.com.cn>  (tiny change)
13         * progmodes/gdb-mi.el (gdb): Use completion-at-point.
15 2011-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
17         * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
18         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19         Add switch-to-buffer.
21 2011-07-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
23         * isearch.el (isearch-search-fun-function): Clarify further the
24         meaning of the function returned.
26 2011-07-04  Michael Albinus  <michael.albinus@gmx.de>
28         * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
30         * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
31         (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
32         Use it.
33         (tramp-remote-path): Add "/bin" and "/usr/bin".  On busyboxes,
34         `tramp-default-remote-path' does not exist.
35         (tramp-send-command-and-read): New optional argument NOERROR.
36         (tramp-open-connection-setup-interactive-shell)
37         (tramp-get-remote-path, tramp-get-remote-stat): Use it.
38         (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
39         (tramp-process-sentinel): Flush also process' connection property.
40         (tramp-sh-handle-start-file-process): Do not set process
41         sentinel.  It is done now ...
42         (tramp-maybe-open-connection): ... here.  (Bug#8929)
44 2011-07-04  MON KEY  <monkey@sandpframing.com>
46         * play/animate.el (animate-string): Doc fixes and allow changing
47         the buffer name (bug#5417).
49 2011-07-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
51         * play/animate.el (animation-buffer-name): Rename from *animate*.
53 2011-07-04  Paul Eggert  <eggert@cs.ucla.edu>
55         * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
56         This is simpler and helps future-proof the code.
57         (timer-until): Use time-subtract and float-time.
58         (timer--time-less-p): Use time-less-p.
60 2011-07-04  Juanma Barranquero  <lekktu@gmail.com>
62         * type-break.el (timep): Use the value of `float-time' to avoid a
63         byte-compiler warning.
65         * server.el (server-eval-and-print): Return any result, even nil.
67 2011-07-03  Paul Eggert  <eggert@cs.ucla.edu>
69         * type-break.el: Accept time formats that the builtins accept.
70         (timep, type-break-time-difference): Accept any format that
71         float-time accepts, rather than insisting on (HIGH LOW USECS) format.
72         This is simpler and helps future-proof the code.
73         (type-break-time-difference): Round rather than ignoring
74         subseconds components.
76 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
78         * info.el (Info-apropos-matches): Make non-interactive, since it
79         doesn't seem to do anything useful as a command (bug#8829).
81 2011-07-03  Chong Yidong  <cyd@stupidchicken.com>
83         * frame.el (frame-background-mode, frame-set-background-mode):
84         Move from faces.el.
85         (frame-default-terminal-background): New function.
87         * custom.el (custom-push-theme): Don't record faces in `changed'
88         theme; this doesn't work correctly for per-frame face settings.
89         (disable-theme): Use face-set-after-frame-default to reset faces.
90         (custom--frame-color-default): New function.
92 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
94         * dired.el (dired-flagging-regexp): Remove unused variable
95         (bug#8769).
97 2011-03-29  Kevin Ryde  <user42@zip.com.au>
99         * progmodes/compile.el (compilation-error-regexp-alist-alist):
100         `perl-Test2' extend to match possible "fail #N" rep count
101         (bug#8377).
103 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
105         * mail/feedmail.el (feedmail-buffer-to-smtpmail):
106         `smtpmail-via-smtp' now returns the error instead of nil.
108         * isearch.el (isearch-search-fun-function): Clarify the doc string
109         (bug#8101).
111 2011-07-03  Richard Kim  <emacs18@gmail.com>  (tiny change)
113         * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
114         unnecessary spaces (bug#8987).
116 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
118         * net/network-stream.el (open-network-stream): Use the
119         :end-of-capability command thoughout.
121 2011-07-03  Wolfgang Jenkner  <wjenkner@inode.at>  (tiny change)
123         * net/network-stream.el (open-network-stream): Add the
124         :end-of-capability command parameter, used by pop3.el.
126 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
128         * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
130         * fringe.el (fringe-query-style): Remove redundant text " (type ?
131         for list)" (bug#6475).
133         * files.el (file-expand-wildcards): Ignore non-readable
134         sub-directories while trying to find matches instead of signalling
135         an error (bug#6297).
137         * man.el (Man-reference-regexp): Allow matching possible
138         word-wrapped references (bug#6289).
140         * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
141         for consistency with the other vc buffers (bug#6197).
142         (vc-checkin): Ditto.
144         * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
146         * longlines.el (longlines-mode): Document what ARG does (bug#6150).
148 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
150         * custom.el (defcustom): Clarify that :set is only used in the
151         Customize user interface (bug#6089).
153         * progmodes/flymake.el (flymake-mode): If the buffer isn't
154         associated with a file, refuse to run instead of erroring out
155         (bug#6084).
157         * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
158         the doc string, since it appears that using `fill-column' always
159         controls the width (bug#7845).
161         * simple.el (shell-command-on-region): Say where the error output
162         went if `shell-command-default-error-buffer' is set (bug#6857).
164 2011-07-02  Ken Manheimer  <ken.manheimer@gmail.com>
166         * allout.el (allout-yank-processing): Adjust cursor position for
167         backwards-deleted space.
169         (allout-rebullet-heading): Register changes with
170         allout-exposure-changed-hook, so the modified topic is properly
171         decorated.
173 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
175         * minibuffer.el (completion-in-region): Document PREDICATE
176         (bug#7136).
178         * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
179         of keyword/argument pairs (bug#6904).
181         * replace.el (multi-occur):
182         Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
184 2011-07-02  Drew Adams  <drew.adams@oracle.com>
186         * dired.el (dired-mark-if): Make the message about whether it's
187         marking or unmarking clearer (bug#8523).
189 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
191         * disp-table.el (display-table-print-array): New function.
192         (describe-display-table): Use it to print the vectors more pretty
193         (Bug#8859).
195 2011-07-02  Martin Rudalics  <rudalics@gmx.at>
197         * window.el (window-state-get-1): Don't assign clone numbers.
198         Add clone-of item to list of window parameters.
199         (window-state-put-2): Don't process clone numbers.
200         (display-buffer-alist): Fix doc-string.
202 2011-07-02  Stefan Monnier  <monnier@iro.umontreal.ca>
204         * subr.el (remq): Don't allocate if it's not needed.
205         (keymap--menu-item-binding, keymap--menu-item-with-binding)
206         (keymap--merge-bindings): New functions.
207         (keymap-canonicalize): Use them to refine the canonicalization.
208         * minibuffer.el (minibuffer-local-completion-map)
209         (minibuffer-local-must-match-map): Move initialization from C.
210         (minibuffer-local-filename-completion-map): Move initialization from C;
211         don't inherit from anything here.
212         (minibuffer-local-filename-must-match-map): Make obsolete.
213         (completing-read-default): Use make-composed-keymap to combine
214         minibuffer-local-filename-completion-map with either
215         minibuffer-local-must-match-map or
216         minibuffer-local-filename-completion-map.
218 2011-07-01  Glenn Morris  <rgm@gnu.org>
220         * type-break.el (type-break-time-sum): Use dolist.
222         * textmodes/flyspell.el (flyspell-word-search-backward):
223         Replace CL function.
225 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
227         * mouse.el (mouse--strip-first-event): New function.
228         (function-key-map): Use it to map fringe clicks to normal clicks
229         by default.
231         * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
232         (vc-bzr-revision-completion-table): Add support for annotate and date.
234         * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
235         inherit from parent.
237 2011-07-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
239         * dired-aux.el (dired-diff): Doc fixup (bug#8816).
240         (dired-show-file-type): Doc fixup (bug#8818).
242         * dired.el (dired-mode): Fix up the doc string as suggested by
243         Drew Adams (bug#8817).
245         * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
246         cookie, since the manual says that it should be possible to add
247         this function to `find-file-hook' (bug#8709).
249 2011-07-01  Teodor Zlatanov  <tzz@lifelogs.com>
251         * progmodes/cfengine.el: Moved all cfengine3.el functionality
252         here.  Noted Ted Zlatanov as the maintainer.
253         (cfengine-common-settings, cfengine-common-syntax): New functions
254         to set up common things between `cfengine-mode' and
255         `cfengine3-mode'.
256         (cfengine3-mode): New mode.
257         (cfengine3-defuns cfengine3-defuns-regex
258         (cfengine3-class-selector-regex cfengine3-category-regex)
259         (cfengine3-vartypes cfengine3-font-lock-keywords)
260         (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
261         (cfengine3-indent-line): Add from cfengine3.el.
263 2011-07-01  Michael Albinus  <michael.albinus@gmx.de>
265         * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
267         * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
269 2011-07-01  Martin Rudalics  <rudalics@gmx.at>
271         * window.el (same-window-buffer-names, same-window-regexps)
272         (same-window-p, special-display-frame-alist)
273         (special-display-popup-frame, special-display-function)
274         (special-display-buffer-names, special-display-regexps)
275         (special-display-p, pop-up-frame-alist, pop-up-frame-function)
276         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
277         (split-window-preferred-function, split-height-threshold)
278         (split-width-threshold, even-window-heights)
279         (display-buffer-mark-dedicated, window-splittable-p)
280         (split-window-sensibly, window-safely-shrinkable-p):
281         Un-obsolete.
282         (display-buffer): Don't spread args with function specifier
283         because special-display-popup-frame won't like it.
285 2011-07-01  Paul Eggert  <eggert@cs.ucla.edu>
287         Time-stamp simplifications and fixes.
288         These improve accuracy slightly, and future-proof the code
289         against some potential changes to current-time format.
291         * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
292         by using time-since and float-time.
294         * vc/ediff-util.el (ediff-calc-command-time): Use time-since
295         and float-time.  Say "NNN.NNN seconds" rather than "NNN seconds
296         + NNN microseconds".
298         * type-break.el (type-break-time-sum): Rewrite using time-add.
300         * play/hanoi.el (hanoi-current-time-float): Remove.
301         All uses replaced by float-time.
303         * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
304         This yields a more-accurate answer.
305         (rng-time-to-float): Remove; no longer needed.
307         * emacs-lisp/timer.el (timer-relative-time): Use time-add.
309         * calendar/timeclock.el (timeclock-seconds-to-time):
310         Defalias to seconds-to-time, since they're the same thing.
312         * emacs-lisp/elp.el (elp-elapsed-time):
313         * emacs-lisp/benchmark.el (benchmark-elapse):
314         * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
316 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
318         * window.el (bury-buffer): Don't iconify the only frame.
319         (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
320         to pop-to-buffer.  Use pop-to-buffer-same-frame if you don't like that.
322 2011-07-01  Chong Yidong  <cyd@stupidchicken.com>
324         * eshell/em-smart.el (eshell-smart-display-navigate-list):
325         Add mouse-yank-primary.
327 2011-07-01  Teodor Zlatanov  <tzz@lifelogs.com>
329         * progmodes/cfengine3.el: New file to support CFEngine 3.x.
331 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
333         * emacs-lisp/find-func.el (find-library--load-name): New fun.
334         (find-library-name): Use it to find relative load names when provided
335         absolute file name (bug#8803).
337 2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
339         * textmodes/flyspell.el (flyspell-word): Consider words that
340         differ only in case as potential doublons (bug#5687).
342         * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
343         Remove two rather uninteresting debugging-like messages to make
344         debbugs.el more silent.
346         * comint.el (comint-password-prompt-regexp): Accept "Response" as
347         a password-like phrase.
349 2011-06-30  Mastake YAMATO  <yamato@redhat.com>
351         * progmodes/cc-guess.el: New file.
353         * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
355         * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
356         derived from `c-basic-common-init'.
358         * progmodes/cc-mode.el (top-level): Require cc-guess.
359         (c-basic-common-init): Use `cc-choose-style-for-mode'.
361 2011-06-30  Lawrence Mitchell  <wence@gmx.li>
363         * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
365 2011-06-30  Alan Mackenzie  <acm@muc.de>
367         * progmodes/cc-engine.el (c-guess-continued-construct):
368         Correct the handling of template-args-cont, particularly for when font
369         lock is disabled.  Name this case as "CASE G".
371 2011-06-30  Ken Manheimer  <ken.manheimer@gmail.com>
373         * allout.el (allout-yank-processing): Fix injection of extra space
374         between bullet and non-whitespace character in first topic when
375         pasting, ensuring that the actual spacing in the pasted topic
376         following the bullet char is preserved.  This extra space was
377         causing pasted encrypted topics to get a decrypted status even
378         when the content was actually still encrypted.  Now the decryption
379         status from before the paste is preserved.
381         (allout-flag-region): Set all allout overlays so they evaporate
382         when reduced to zero length (evanescent), to prevent overlay
383         leakage.
385 2011-06-30  Glenn Morris  <rgm@gnu.org>
387         * w32-fns.el (w32-charset-info-alist): Declare.
389         * find-dired.el (find-grep-options): Simplify.
391         * term/ns-win.el (ns-set-resource): Declare.
393         * ses.el (row, col): Declare dynamic variables honestly.
395         * textmodes/reftex-parse.el (index-tags): Declare.
397 2011-06-30  Chong Yidong  <cyd@stupidchicken.com>
399         * cus-edit.el (customize-push-and-save): New function.
401         * files.el (hack-local-variables-confirm): Use it.
403         * custom.el (load-theme): New arg NO-CONFIRM.
404         Use customize-push-and-save (Bug#8720).
405         (custom-enabled-themes): Doc fix.
407         * cus-theme.el (customize-create-theme)
408         (custom-theme-merge-theme): Callers to load-theme changed.
410 2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
412         * thingatpt.el (thing-at-point-short-url-regexp): Require that
413         short URLs have at least one dot in them (bug #7614).
415         * progmodes/grep.el (rgrep): Bind `process-connection-type' to
416         nil, because using a pty is apparently too slow (bug #895).
418 2011-06-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
420         * mail/sendmail.el (sendmail-query-once): New function.
421         (sendmail-query-once-function): New variable.
423 2011-06-29  Glenn Morris  <rgm@gnu.org>
425         * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
427         * ses.el (top-level): Require cl when compiling.
428         (ses-set-localvars): Fix error statement.
429         Call it at compile time to silence a storm of warnings.
431 2011-06-29  Martin Rudalics  <rudalics@gmx.at>
433         * window.el (normalize-live-buffer): Rename to
434         window-normalize-buffer.
435         (normalize-live-frame): Rename to window-normalize-frame.
436         (normalize-any-window): Rename to window-normalize-any-window.
437         (normalize-live-window): Rename to window-normalize-live-window.
438         (make-window-atom): Rename to window-make-atom.
439         (window-resize-reset): Rename to window--resize-reset.
440         (window-resize-reset-1): Rename to window--resize-reset-1.
441         (resize-mini-window): Rename to window--resize-mini-window.
442         (resize-subwindows-skip-p): Rename to
443         window--resize-subwindows-skip-p.
444         (resize-subwindows-normal): Rename to
445         window--resize-subwindows-normal.
446         (resize-subwindows): Rename to window--resize-subwindows.
447         (resize-other-windows): Rename to window--resize-siblings.
448         (resize-this-window): Rename to window--resize-this-window.
449         (resize-root-window): Rename to window--resize-root-window.
450         (resize-root-window-vertically): Rename to
451         window--resize-root-window-vertically.
452         (normalize-buffer-to-display): Rename to
453         window-normalize-buffer-to-display.
454         (normalize-buffer-to-switch-to): Rename to
455         window-normalize-buffer-to-switch-to.
456         Correspondingly update all callers of the functions listed
457         above.
458         (display-buffer-alist, display-buffer-normalize-arguments)
459         (display-buffer-normalize-options, display-buffer)
460         (display-buffer-alist-set): Use "function" instead of
461         "fun-with-args".
463 2011-06-28  Chong Yidong  <cyd@stupidchicken.com>
465         * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
466         addresses more clearly.  Add hyperlinks for bug-gnu-emacs and
467         debbugs.gnu.org.  Mention acknowledgment email.
469 2011-06-28  Lars Magne Ingebrigtsen  <larsi@gnus.org>
471         * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
472         buffer multibyteness, since it shouldn't matter.
474 2011-06-28  Martin Rudalics  <rudalics@gmx.at>
476         * window.el (display-buffer-in-side-window): Handle dedicated
477         windows as in display-buffer-reuse-window.
478         (display-buffer-normalize-alist): Use value of override
479         specifier.
480         (display-buffer-normalize-specifiers): Use value of
481         other-window-means-other-frame specifier.
482         (display-buffer-alist): Rewrite some texts in widgets.
483         (display-buffer): Spread arguments when calling function
484         specified by fun-with-args.
486 2011-06-28  Deniz Dogan  <deniz@dogan.se>
488         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
489         Unnest `let'.
491         * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
492         selectors (Bug#5732).
493         (css-proprietary-nmstart-re): Use `regexp-opt'.
495 2011-06-27  Jari Aalto  <jari.aalto@cante.net>
497         * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
498         (eshell-ls-date-format): New defcustom.
499         (eshell-ls-file): Use it.
501 2011-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
503         * help-fns.el (describe-variable): Fix message for terminal-local vars.
505 2011-06-27  Katsumi Yamaoka  <yamaoka@jpl.org>
507         * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
508         (ange-ftp-make-tmp-name): New arg.
509         (ange-ftp-file-local-copy): Use it.
511 2011-06-27  Jambunathan K  <kjambunathan@gmail.com>
513         * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
514         no-conversion (Bug#8870).
516 2011-06-27  Martin Rudalics  <rudalics@gmx.at>
518         * window.el (window-right, window-left, window-child)
519         (window-child-count, window-last-child)
520         (window-iso-combination-p, walk-window-tree-1)
521         (window-atom-check-1, window-tree-1, delete-window)
522         (window-state-get-1, display-buffer-even-window-sizes): Adapt to
523         new naming conventions - window-vchild, window-hchild,
524         window-next and window-prev are now called window-top-child,
525         window-left-child, window-next-sibling and window-prev-sibling
526         respectively.
527         (resize-window-reset): Rename to window-resize-reset.
528         (resize-window-reset-1): Rename to window-resize-reset-1.
529         (resize-window): Rename to window-resize.
530         (window-min-height, window-min-width)
531         (resize-mini-window, resize-this-window, resize-root-window)
532         (resize-root-window-vertically, adjust-window-trailing-edge)
533         (enlarge-window, shrink-window, maximize-window)
534         (minimize-window, delete-window, quit-restore-window)
535         (split-window, balance-windows, balance-windows-area-adjust)
536         (balance-windows-area, window-state-put-2)
537         (display-buffer-even-window-sizes, display-buffer-set-height)
538         (display-buffer-set-width, set-window-text-height)
539         (fit-window-to-buffer): Rename all "resize-window" prefixed
540         calls to use the "window-resize" prefix convention.
541         (display-buffer-alist): Fix symbol for label specifier.
542         (display-buffer-reuse-window): Set reuse-dedicated to cdr of
543         corresponding specifier.
544         Reported by Juanma Barranquero <lekktu@gmail.com>.
546 2011-06-27  Vincent Belaïche  <vincentb1@users.sourceforge.net>
548         * ses.el (ses-destroy-cell-variable-range): Fix heading comment
549         convention.
550         (ses-call-printer): Does not pass an empty string to formatter when the
551         cell is empty to keep from barking printer Calc math-format-value.
553 2011-06-27  Richard Stallman  <rms@gnu.org>
555         * battery.el (battery-mode-line-limit): New variable.
556         (battery-update): Handle it.
558         * mail/rmailmm.el (rmail-mime-process-multipart):
559         Handle truncated messages.
561 2011-06-27  Glenn Morris  <rgm@gnu.org>
563         * progmodes/flymake.el (flymake-err-line-patterns):
564         Allow for column numbers in the ant/javac pattern.  (Bug#8866)
566 2011-06-27  Vincent Belaïche  <vincentb1@users.sourceforge.net>
568         * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
569         (ses--clean-!, ses--clean-_): New functions.
570         (ses-range): Add configurability of readout order, and conversion
571         to Calc vector.
573         * ses.el (ses-repair-cell-reference-all): New function.
574         (ses-cell-symbol): Set macro as safe, so that it can be used in
575         formulas.
577         * ses.el: Update cycle detection algorithm.
578         (ses-localvars): Add ses--Dijkstra-attempt-nb and
579         ses--Dijkstra-weight-bound, and initial values thereof when applicable.
580         (ses-set-localvars): New function.
581         (ses-make-cell): Add property-list as a cell element.
582         (ses-cell-property-get-fun, ses-cell-property-get)
583         (ses-cell-property-delq-fun, ses-cell-property-set-fun)
584         (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
585         New functions.
586         (ses-cell-property-set, ses-cell-property-pop)
587         (ses-cell-property-get-handle): New macro.
588         (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
589         New aliases, used for code readability.
590         (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
591         cycle detection.
592         (ses-self-reference-early-detection): New defcustom.
593         (ses-formula-references): Robustify against self-refering cells.
594         (ses-mode): Use ses-set-localvars.
595         (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
596         before lauching the update processing.
597         (ses-initialize-Dijkstra-attempt): New function.
598         (ses-recalculate-cell): Update for cycle detection based on
599         Dijkstra algorithm.
601         * ses.el: Fix commenting and indenting convention.
603 2011-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
605         * bs.el (bs-cycle-next): Complete last change.
607 2011-06-27  Drew Adams  <drew.adams@oracle.com>
609         * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
611 2011-06-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
613         * net/network-stream.el (network-stream-open-starttls):
614         Don't re-get capabilities unless we've reestablished connection.
615         (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
617         * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
618         to binary to possibly avoid line encoding issues on Windows (among
619         other things).
621 2011-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
623         * net/network-stream.el (open-network-stream): Return an :error
624         saying what the problem was, if possible.
626         * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
627         server.
629         * net/network-stream.el (network-stream-open-starttls): If we
630         wanted to use STARTTLS, and the server offered it, but we weren't
631         able to because we had no STARTTLS support, then close the connection.
632         (open-network-stream): Return an :error element, if present.
634 2011-06-26  Chong Yidong  <cyd@stupidchicken.com>
636         * hl-line.el (hl-line-sticky-flag): Doc fix.
637         (global-hl-line-sticky-flag): New option (Bug#8323).
638         (global-hl-line-highlight): Obey it.
640         * vc/vc.el (vc-revert-show-diff): Default to t.
642 2011-06-26  Ken Manheimer  <ken.manheimer@gmail.com>
644         * allout-widgets.el (allout-widgets-post-command-business):
645         Stop decorating intermediate isearch matches.  They're not being
646         undecorated when an isearch is continued past, and isearch
647         automatically collapses them.  This leads to "widget leaks", where
648         decorated items accumulate in collapsed areas.  Lines with lots of
649         hidden widgets can slow down cursor travel, substantially.
650         Too much complicated machinery would be needed to ensure undecoration,
651         so we're doing without this nicety.
653         (allout-widgets-tally-string): Don't try to do a hash-table-count
654         of allout-widgets-tally when it's nil.  This eliminates spurious "Error
655         during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
656         *Messages* when allout-widgets-maintain-tally is t.
658 2011-06-26  Martin Rudalics  <rudalics@gmx.at>
660         * window.el (display-buffer-normalize-argument): Rename to
661         display-buffer-normalize-arguments.  Handle special meaning of
662         LABEL argument.  Respect special-display-function when popping up
663         a new frame.  Fix code searching for a window showing the buffer
664         on another frame.
665         (display-buffer-normalize-specifiers):
666         Call display-buffer-normalize-arguments.
667         (display-buffer-in-window): Don't undedicate the window if its
668         buffer remains the same.
669         Reported by Drew Adams <drew.adams@oracle.com>.
670         (display-buffer-alist): Add choice for same-window macro
671         specfier.
672         (display-buffer): Mention special meaning of LABEL argument in
673         doc-string.  Fix quoting.  Don't pop up a new frame even as
674         fallback.
676 2011-06-26  Juanma Barranquero  <lekktu@gmail.com>
678         * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
679         avoid deleting the current window in some cases (bug#8911).
681 2011-06-26  Andreas Schwab  <schwab@linux-m68k.org>
683         * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
684         (Bug#8934)
686 2011-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
688         * net/network-stream.el (network-stream-open-starttls):
689         Use built-in TLS support if `gnutls-available-p' is true.
690         (network-stream-open-tls): Ditto.
692 2011-06-26  Leo Liu  <sdl.web@gmail.com>
694         * register.el (registerv): New struct.
695         (registerv-make): New function.
696         (jump-to-register, describe-register-1, insert-register):
697         Support the jump-func, print-func and insert-func slot of a registerv
698         struct.  (Bug#8415)
700 2011-06-26  Chong Yidong  <cyd@stupidchicken.com>
702         * vc/vc.el (vc-revert-show-diff): New defcustom.
703         (vc-diff-internal): New arg specifying diff buffer.
704         (vc-revert): Obey vc-revert-show-diff.  If we show a diff, don't
705         reuse an existing *vc-diff* buffer (Bug#8927).
707         * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
709 2011-06-26  Glenn Morris  <rgm@gnu.org>
711         * progmodes/f90.el (f90-critical-indent): New option.
712         (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
713         (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
714         (f90-mode): Doc fix.
715         (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
716         (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
717         (f90-beginning-of-block, f90-next-block, f90-indent-region)
718         (f90-match-end): Handle block, critical.
720 2011-06-25  Glenn Morris  <rgm@gnu.org>
722         * calendar/diary-lib.el (diary-included-files): Doc fix.
723         (diary-include-files): New function, extracted from
724         diary-include-other-diary-files and diary-mark-included-diary-files.
725         (diary-include-other-diary-files, diary-mark-included-diary-files):
726         Just call diary-include-files.
727         (diary-mark-entries): Reset diary-included-files on first call.
729         * calendar/diary-lib.el (diary-mark-entries)
730         (diary-mark-included-diary-files):
731         Visit included diary-files in temp buffers.
733         * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
734         (f90-blocks-re, f90-program-block-re, f90-end-block-re)
735         (f90-start-block-re, f90-imenu-generic-expression)
736         (f90-looking-at-program-block-start, f90-no-block-limit):
737         Add support for submodules.
739         * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
740         (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
742 2011-06-25  Eli Zaretskii  <eliz@gnu.org>
744         * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
745         buffer-file-type before setting its value, to avoid disastrous
746         global effects on decoding files for DOS/Windows systems.  (Bug#8780)
748 2011-06-25  Juanma Barranquero  <lekktu@gmail.com>
750         * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
752         * ses.el (ses-unload-function):
753         * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
755         * proced.el (proced-unload-function):
756         * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
758 2011-06-25  Andreas Rottmann  <a.rottmann@gmx.at>
760         * server.el (server-create-window-system-frame): Add parameters arg.
761         (server-process-filter): Doc fix.  Handle frame-parameters.
763 2011-06-25  Juanma Barranquero  <lekktu@gmail.com>
765         Fix bug#8730, bug#8781.
767         * loadhist.el (unload--set-major-mode): New function.
768         (unload-feature): Use it.
770         * progmodes/python.el (python-after-info-look): Add autoload cookie.
771         (python-unload-function): New function.
773 2011-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
775         * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
777 2011-06-25  Giuseppe Scrivano  <gscrivano@gnu.org>
779         * net/browse-url.el (browse-url-firefox-program): Add icecat to
780         the candidates list.
782 2011-06-24  Juanma Barranquero  <lekktu@gmail.com>
784         * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
786 2011-06-23  Richard Stallman  <rms@gnu.org>
788         * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
789         (rmail-variables): Set next-error-move-function.
790         (rmail-what-message): Take argument POS.
791         (rmail-next-error-move): New function.
793 2011-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
795         * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
796         messages for adjacent non-terminals.
798 2011-06-23  Richard Stallman  <rms@gnu.org>
800         * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
801         (rmail-show-message-1): Preserve buffer modified flag.
802         (rmail-start-mail): Don't specify use of rmail-mail-return;
803         that's done by mail-bury now.
804         (rmail-mail-return): Handle arg NEWBUF.
806 2011-06-23  Michael Albinus  <michael.albinus@gmx.de>
808         * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
809         SIZE is a number.
811 2011-06-23  Martin Rudalics  <rudalics@gmx.at>
813         * window.el (get-lru-window, get-mru-window)
814         (get-largest-window): Never return a minibuffer window.
815         (display-buffer-pop-up-window): Fix a bug that could lead to
816         reusing the minibuffer window.
817         (display-buffer): Pass original specifier argument to
818         display-buffer-function instead of the normalized one.
819         Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
821 2011-06-22  Leo Liu  <sdl.web@gmail.com>
823         * minibuffer.el (completing-read-function)
824         (completing-read-default): Move from minibuf.c
826 2011-06-22  Richard Stallman  <rms@gnu.org>
828         * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
829         to Rmail even if not started by a special Rmail command.
831         * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
832         Copy the buffer currently showing just one message.
834 2011-06-22  Roland Winkler  <winkler@gnu.org>
836         * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
837         (bibtex-clean-entry): First delete the old key so that a
838         customized algorithm for generating the new key does not get
839         confused by the old key.
840         (bibtex-url): Obey regexp of first step.
841         (bibtex-search-entries): Do not use add-to-list with local
842         list-var.
844 2011-06-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
846         * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
847         stored a user name, then query for the password first, instead of
848         waiting for SMTP to give an error message and the trying again.
850 2011-06-22  Lawrence Mitchell  <wence@gmx.li>
852         * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
853         BUFFER in call-process.
855 2011-06-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
857         * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
858         QUIT twice.
859         (smtpmail-try-auth-methods): Require user name and password from
860         auth-source.
862 2011-06-22  Martin Rudalics  <rudalics@gmx.at>
864         * window.el (display-buffer-default-specifiers)
865         (display-buffer-alist): Remove entries for pop-up-frame-alist.
866         Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
867         (split-window): Normalize SIDE argument (Bug#8916).
869         * frame.el (pop-up-frame-alist, pop-up-frame-function)
870         (special-display-frame-alist, special-display-popup-frame):
871         Remove duplicate declarations.  These are now in window.el.
873 2011-06-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
875         * mail/smtpmail.el (smtpmail-via-smtp):
876         Set :use-starttls-if-possible so that we always use STARTTLS if the
877         server supports it.  SMTP servers that support STARTTLS commonly
878         require it.
880         * net/network-stream.el (network-stream-open-starttls): Support
881         upgrading to STARTTLS always, even if we don't have built-in support.
882         (open-network-stream): Add the :always-query-capabilies keyword.
884         * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
885         upgrades with `open-network-stream', and rely solely on
886         auth-source for all credentials.  Big changes throughout the file,
887         but in particular:
888         (smtpmail-auth-credentials): Remove.
889         (smtpmail-starttls-credentials): Remove.
890         (smtpmail-via-smtp): Check for servers saying they want AUTH after
891         MAIL FROM, too.
893         * net/network-stream.el (network-stream-open-starttls):
894         Provide support for client certificates both for external and built-in
895         STARTTLS.
896         (auth-source): Require.
897         (open-network-stream): Document the :client-certificate keyword.
898         (network-stream-certificate): Change cert-cert to cert and
899         cert-key to key.
901 2011-06-21  Michael Albinus  <michael.albinus@gmx.de>
903         * net/tramp-cache.el (top): Don't load the persistency file when
904         "emacs -Q" has been called.
906 2011-06-21  Tim Harper  <timcharper@gmail.com>
908         * term/ns-win.el (ns-initialize-window-system):
909         Set application-specific `ApplePressAndHoldEnabled' system
910         resource to NO as it is not yet supported by the NS port.
912 2011-06-21  Juanma Barranquero  <lekktu@gmail.com>
914         * misc.el (list-dynamic-libraries--refresh): Compute header here...
915         (list-dynamic-libraries): ...not here.
917 2011-06-21  Leo Liu  <sdl.web@gmail.com>
919         * subr.el (sha1): Implement sha1 using secure-hash.
921 2011-06-21  Martin Rudalics  <rudalics@gmx.at>
923         * window.el (display-buffer-alist): In default value do not
924         enforce searching a window on any but the selected frame.
925         Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
926         (display-buffer-select-window): Remove function.
927         (display-buffer-in-window): When a window on another frame gets
928         reused, do not select it any more but just raise its frame if
929         necessary (Bug#8851) and (Bug#8856).
930         (display-buffer-normalize-options): Handle pop-up-frames related
931         options more faithfully.
932         (pop-to-buffer): Don't rely on `display-buffer' selecting the
933         window if it is on another frame.
934         (display-buffer-alist, display-buffer-default-specifiers):
935         Don't make new frame unsplittable by default.
936         (display-buffer-normalize-argument): Fix doc-string typo and use
937         'same-frame-other-window instead of 'other-window when associating
938         with display-buffer-macro-specifiers.
940 2011-06-21  Vincent Belaïche  <vincent.b.1@hotmail.fr>
942         * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
943         New functions.
944         (5x5-mode-map, 5x5-mode-menu): Bind them.
945         (5x5-draw-grid): Tweak the solver's rendering.
947 2011-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
949         * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
950         `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
952 2011-06-21  Drew Adams  <drew.adams@oracle.com>
954         * menu-bar.el: Use function variable instead of switch-to-buffer.
955         (menu-bar-select-buffer-function): New variable.
956         (menu-bar-update-buffers): Use it (bug#8876).
958 2011-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
960         * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
961         variable's status.
963 2011-06-20  Jan Djärv  <jan.h.d@swipnet.se>
965         * x-dnd.el (x-dnd-version-from-flags)
966         (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
967         and long as number (Bug#8899).
968         (x-dnd-handle-xdnd): Call functions above (Bug#8899).
970 2011-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
972         * minibuffer.el (completion-metadata): Add `metadata' to the alist.
973         (completion-try-completion, completion-all-completions): Compute the
974         metadata argument if it's missing; make it optional (bug#8795).
976         * wid-edit.el: Use lex-bind and move towards completion-at-point.
977         (widget-complete): Use new :completion-function property.
978         (widget-completions-at-point): New function.
979         (default): Use :completion-function instead of :complete.
980         (widget-default-completions): Rename from widget-default-complete;
981         Rewrite.
982         (widget-string-complete, widget-file-complete, widget-color-complete):
983         Remove functions.
984         (file, symbol, function, variable, coding-system, color):
985         * international/mule-cmds.el (default-input-method, charset)
986         (language-info-custom-alist):
987         * cus-edit.el (face): Use new property :completions.
989         * progmodes/pascal.el (pascal-completions-at-point): New function.
990         (pascal-mode): Use it.
991         (pascal-mode-map): Use completion-at-point.
992         (pascal-toggle-completions): Make obsolete.
993         (pascal-complete-word, pascal-show-completions):
994         * progmodes/octave-mod.el (octave-complete-symbol):
995         Redefine as obsolete alias.
996         * progmodes/octave-inf.el (inferior-octave-completion-at-point):
997         Signal absence of completion info for old Octave,
998         (inferior-octave-complete): Redefine as obsolete alias.
999         * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
1000         (meta-completions-at-point): Rename from meta-complete-symbol and
1001         adapt it for use on completion-at-point-functions.
1002         (meta-common-mode): Use it.
1003         (meta-looking-at-backward, meta-match-buffer): Remove.
1004         (meta-complete-symbol): Redefine as obsolete alias.
1005         (meta-common-mode-map): Use completion-at-point.
1006         * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
1007         (makefile-mode-map): Use completion-at-point.
1008         (makefile-completions-at-point): Rename from makefile-complete and
1009         adapt it for use on completion-at-point-functions.
1010         (makefile-mode): Use it.
1011         (makefile-complete): Redefine as obsolete alias.
1013 2011-06-20  Deniz Dogan  <deniz@dogan.se>
1015         * net/rcirc.el: Delete trailing whitespaces once and for all.
1017 2011-06-20  Daniel Colascione  <dan.colascione@gmail.com>
1019         * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
1021 2011-06-19  Chong Yidong  <cyd@stupidchicken.com>
1023         * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
1025         * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
1027 2011-06-19  Martin Rudalics  <rudalics@gmx.at>
1029         * window.el (display-buffer-other-window-means-other-frame):
1030         Call display-buffer-normalize-alist.
1031         (display-buffer-normalize-specifiers-1): Rename to
1032         display-buffer-normalize-argument.  New argument other-frame.
1033         Rewrite.
1034         (display-buffer-normalize-specifiers-2): Rename to
1035         display-buffer-normalize-options.
1036         (display-buffer-normalize-alist-1): New function.
1037         (display-buffer-normalize-specifiers-3): Rename to
1038         display-buffer-normalize-alist.
1039         Call display-buffer-normalize-alist-1.
1040         (display-buffer-normalize-options-inhibit): New variable.
1041         (display-buffer-normalize-specifiers): Rewrite calling
1042         display-buffer-normalize-alist,
1043         display-buffer-normalize-argument, and
1044         display-buffer-normalize-options.  Don't call the latter if
1045         display-buffer-normalize-options-inhibit is non-nil.
1046         (frame-auto-delete): New option.
1047         (window-deletable-p): Use frame-auto-delete.
1048         (window-list-no-nils, window-state-ignored-parameters)
1049         (window-state-get-1, window-state-get, window-state-put-list)
1050         (window-state-put-1, window-state-put-2, window-state-put):
1051         New functions.
1052         (display-buffer-normalize-options): Move special-display-p group
1053         after pop-up-frame group (Bug#8851) and (Bug#8856).
1055 2011-06-18  Chong Yidong  <cyd@stupidchicken.com>
1057         * emacs-lisp/rx.el (rx-constituents): Add support for numbered
1058         groups (Bug#8776).
1059         (rx-submatch-n): New function.
1060         (rx): Document it.
1062         * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
1063         (Bug#8768).
1065         * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
1067         * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
1069         * cus-face.el (custom-declare-face): Call custom-theme-recalc face
1070         anytime existing face settings are present (Bug#8889).
1072         * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
1073         (delphi-mode): Use define-derived-mode to inherit from prog-mode.
1074         Remove unused argument.
1076 2011-06-18  Martin Rudalics  <rudalics@gmx.at>
1078         * window.el (display-buffer-default-specifiers):
1079         Remove pop-up-frame.  Add pop-up-window-min-height,
1080         pop-up-window-min-width, and another reuse-window specifier
1081         (Bug#8882).  Reported by Dan Nicolaescu <dann@gnu.org>.
1082         (display-buffer-normalize-specifiers-2):
1083         Handle split-height-threshold and split-width-threshold also when
1084         pop-up-windows is unset.  Add a reuse-window specifier for the
1085         case popping up a new window fails.
1086         (special-display-popup-frame): Remove double quoting.
1087         (display-buffer-normalize-specifiers-1): Fix thinko.
1089 2011-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
1091         * shell.el (shell-completion-vars): Set pcomplete-termination-string
1092         according to comint-completion-addsuffix.
1094         * pcomplete.el: Convert to lexical binding and fix bug#8819.
1095         (pcomplete-suffix-list): Mark as obsolete.
1096         (pcomplete-completions-at-point): Capture pcomplete-norm-func and
1097         pcomplete-seen in the closure.
1098         (pcomplete-comint-setup): Setup completion-at-point as well.
1099         (pcomplete--entries): New function.
1100         (pcomplete--env-regexp): New var.
1101         (pcomplete-entries): Rewrite to work with partial-completion and
1102         without relying on pcomplete-suffix-list.
1103         (pcomplete-pare-list): Remove, unused.
1105 2011-06-17  Martin Rudalics  <rudalics@gmx.at>
1107         * window.el (display-buffer-alist): Set pop-up-window-min-height
1108         and pop-up-window-min-width in default value.  Reported by
1109         Thierry Volpiatto <thierry.volpiatto@gmail.com>.  New specifier
1110         other-window-means-other-frame.
1111         (display-buffer-macro-specifiers): Comment out entry for
1112         other-window specifier.
1113         (display-buffer-other-window-means-other-frame): New function.
1114         (display-buffer-normalize-specifiers-1): New arguments
1115         buffer-name and label.  Treat other-window case specially.
1116         (display-buffer-normalize-specifiers-2): Treat other-window case
1117         specially.
1118         (display-buffer-normalize-specifiers-3): New function.
1119         (display-buffer-normalize-specifiers):
1120         Call display-buffer-normalize-specifiers-3.
1122 2011-06-17  Martin Rudalics  <rudalics@gmx.at>
1124         * window.el (same-window-p): Fix two typos introduced when
1125         adding with-no-warnings.
1126         (display-buffer-normalize-specifiers-1): Don't check
1127         pop-up-frames for 'unset initialization.
1128         (display-buffer-normalize-specifiers-2): Major rewrite using
1129         special-display-p and same-window-p (Bug#8851) and (Bug#8856).
1130         (pop-up-frames, display-buffer-reuse-frames)
1131         (display-buffer-mark-dedicated): Don't initialize to 'unset.
1132         Suggested by David Engster <deng@randomsample.de>.
1133         (even-window-heights): Initialize to 'unset.
1134         (display-buffer-alist-set): Handle new 'unset initializations.
1135         (display-buffer-macro-specifiers): Don't pop up a new frame in the
1136         other window case.
1138 2011-06-16  Martin Rudalics  <rudalics@gmx.at>
1140         * window.el (display-buffer-normalize-specifiers-1):
1141         Respect current value of pop-up-frames for most reasonable values of
1142         second argument of display-buffer (Bug#8865).
1143         (switch-to-buffer-same-frame, switch-to-buffer-other-window)
1144         (switch-to-buffer-other-window-same-frame)
1145         (switch-to-buffer-other-frame): Fix doc-strings.  Reported by Drew
1146         Adams (Bug#8875).
1147         (display-buffer): Don't check noninteractive when calling
1148         display-buffer-pop-up-frame.
1149         (display-buffer-pop-up-frame): Never pop up a frame in
1150         noninteractive mode (Bug#8857).
1151         (enlarge-window, shrink-window): Don't report an error when the
1152         window can't be resized as requested (Bug#8862).
1154 2011-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
1156         * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
1158         * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
1160         * abbrev.el (define-abbrev-table): Don't add a table multiple times.
1162 2011-06-15  Alan Mackenzie  <acm@muc.de>
1164         * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
1165         for declarators, disable knr checking to speed up for normal files.
1166         2: Refactor, replacing a sequence of nested if forms by a cond form.
1168 2011-06-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1170         * net/network-stream.el (open-network-stream): Add the keyword
1171         :always-query-capabilities for the case where you want to force a
1172         `plain' network connection, but the protocol still requires the
1173         capabilitiy command (i.e., SMTP and EHLO).
1175         * subr.el (process-live-p): Rename from `process-alive-p' for
1176         consistency with other `-live-p' functions.
1178 2011-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
1180         * window.el (same-window-buffer-names, same-window-regexps)
1181         (special-display-frame-alist, special-display-popup-frame)
1182         (special-display-function, special-display-buffer-names)
1183         (special-display-regexps, pop-up-frame-alist)
1184         (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
1185         (pop-up-windows, split-window-preferred-function)
1186         (split-height-threshold, split-width-threshold, even-window-heights)
1187         (display-buffer-mark-dedicated): Don't encourage the use of
1188         display-buffer-alist from Elisp code.
1190 2011-06-15  Dan Nicolaescu  <dann@ics.uci.edu>
1192         * progmodes/python.el (python-mode): Derive from prog-mode.
1193         * progmodes/ps-mode.el (ps-mode):
1194         * progmodes/mixal-mode.el (mixal-mode):
1195         * progmodes/cfengine.el (cfengine-mode):
1196         * progmodes/ld-script.el (ld-script-mode): Likewise.
1198 2011-06-15  Martin Rudalics  <rudalics@gmx.at>
1200         * window.el (display-buffer-alist): Trim default value to avoid
1201         popping up a new frame (Bug#8857) or reusing an arbitrary window
1202         on another frame.
1203         (display-buffer): Do not fall back on popping up a new frame in
1204         batch mode (Bug#8857).
1206 2011-06-14  Chong Yidong  <cyd@stupidchicken.com>
1208         * cus-theme.el (describe-theme-1): Use custom-theme-p.
1209         (custom-theme-summary): New function.
1210         (customize-themes): Use it.
1212 2011-06-13  Glenn Morris  <rgm@gnu.org>
1214         * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
1216 2011-06-13  Martin Rudalics  <rudalics@gmx.at>
1218         * help.el (help-window): Remove variable.
1219         (help-window-point-marker, temp-buffer-max-height)
1220         (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
1221         (help-print-return-message): Don't set help-window.
1222         (resize-temp-buffer-window): Rewrite cod eand doc-string.
1223         (help-window-setup-finish): Remove.
1224         (help-window-display-message, help-window-setup)
1225         (with-help-window): Major rewrite based on new
1226         display-buffer-window variable.
1228         * help-mode.el (help-mode-finish): Remove help-window related
1229         code.
1231         * view.el (view-exits-all-viewing-windows): Remove reference to
1232         view-return-to-alist in doc-string.
1233         (view-return-to-alist): Make obsolete.
1234         (view-buffer): Call pop-to-buffer-same-window and remove
1235         undo-window code.
1236         (view-buffer-other-window): Call pop-to-buffer-other-window and
1237         simplify code.  Ignore second argument.
1238         (view-buffer-other-frame): Call pop-to-buffer-other-frame and
1239         simplify code.  Ignore second argument.
1240         (view-return-to-alist-update): Make obsolete.
1241         (view-mode-enter): Rename second argument to QUIT-RESTORE.
1242         Rewrite using quit-restore window parameters.
1243         (view-mode-exit): Rename second argument to EXIT-ONLY.
1244         Rewrite using quit-restore-window.
1245         (View-exit, View-exit-and-edit, View-leave, View-quit)
1246         (View-quit-all, View-kill-and-leave): Call view-mode-exit with
1247         appropriate arguments.
1248         (view-end-message): Use quit-restore window parameter.
1250         * window.el (display-buffer-function): Rewrite doc-string.
1251         (display-buffer-window, display-buffer-alist): New variables.
1252         (display-buffer-split-specifiers)
1253         (display-buffer-side-specifiers)
1254         (display-buffer-macro-specifiers): New constants.
1255         (display-buffer-even-window-sizes, display-buffer-set-height)
1256         (display-buffer-set-width, display-buffer-select-window)
1257         (display-buffer-in-window, display-buffer-reuse-window)
1258         (display-buffer-split-window-1, display-buffer-split-window)
1259         (display-buffer-split-atom-window, display-buffer-pop-up-window)
1260         (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
1261         (display-buffer-in-side-window, normalize-buffer-to-display)
1262         (display-buffer-normalize-specifiers-1)
1263         (display-buffer-normalize-specifiers-2)
1264         (display-buffer-normalize-specifiers, display-buffer-frame):
1265         New functions.
1266         (display-buffer): Major rewrite.
1267         (display-buffer-other-window, display-buffer-other-frame)
1268         (pop-to-buffer, switch-to-buffer-other-window)
1269         (switch-to-buffer-other-frame): Rewrite.
1270         (display-buffer-same-window, display-buffer-same-frame)
1271         (display-buffer-same-frame-other-window)
1272         (pop-to-buffer-same-window, pop-to-buffer-same-frame)
1273         (pop-to-buffer-other-window)
1274         (pop-to-buffer-same-frame-other-window)
1275         (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
1276         (switch-to-buffer-other-window-same-frame): New functions.
1277         (same-window-p, special-display-p): Rewrite disabling warnings.
1278         Make obsolete.
1279         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
1280         (display-buffer-mark-dedicated): Initialize to symbol 'unset.
1281         Make obsolete
1282         (same-window-buffer-names, same-window-regexps)
1283         (special-display-frame-alist, special-display-popup-frame)
1284         (special-display-function, special-display-buffer-names)
1285         (special-display-regexps, pop-up-frame-alist)
1286         (pop-up-frame-function, split-window-preferred-function)
1287         (split-height-threshold, split-width-threshold)
1288         (even-window-heights): Make obsolete.
1290 2011-06-12  Glenn Morris  <rgm@gnu.org>
1292         * term/xterm.el (terminal-init-xterm): `version' may be nil.  (Bug#8838)
1293         Misc simplifications.
1295 2011-06-12  Martin Rudalics  <rudalics@gmx.at>
1297         * window.el (window-safely-shrinkable-p): Restore function which
1298         was inadvertently removed in change from 2011-06-11.  Declare as
1299         obsolete.
1301         * calendar/calendar.el (calendar-generate-window):
1302         Use window-iso-combined-p instead of combination of one-window-p and
1303         window-safely-shrinkable-p.
1305 2011-06-12  Glenn Morris  <rgm@gnu.org>
1307         * progmodes/fortran.el (fortran-mode-syntax-table):
1308         * progmodes/f90.el (f90-mode-syntax-table):
1309         Set % to punctuation.  (Bug#8820)
1310         (f90-find-tag-default): Remove, no longer needed.
1312 2011-06-12  Daniel Colascione  <dan.colascione@gmail.com>
1314         * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
1316 2011-06-11  Chong Yidong  <cyd@stupidchicken.com>
1318         * image.el (image-animated-p): Return animation delay in seconds.
1319         Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
1320         (image-animate-timeout): Remove DELAY argument.  Don't assume
1321         every subimage has the same delay; get it from image-animated-p.
1322         (image-animate): Caller changed.
1324 2011-06-11  Michael Albinus  <michael.albinus@gmx.de>
1326         * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
1327         to ignored backtrace functions.
1329 2011-06-11  Glenn Morris  <rgm@gnu.org>
1331         * calendar/appt.el (appt-disp-window-function): Doc fix.
1332         (appt-check): Handle overlapping appointments.  (Bug#8337)
1334 2011-06-11  Martin Rudalics  <rudalics@gmx.at>
1336         * window.el (window-tree-1, window-tree): New functions, moving
1337         the latter to window.el.
1338         (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
1339         (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
1340         (bw-refresh-edges): Remove.
1341         (balance-windows-1, balance-windows-2): New functions.
1342         (balance-windows): Rewrite in terms of window tree functions,
1343         balance-windows-1 and balance-windows-2.
1344         (bw-adjust-window): Remove.
1345         (balance-windows-area-adjust): New function with functionality of
1346         bw-adjust-window but using resize-window.
1347         (set-window-text-height): Rewrite doc-string.
1348         Use normalize-live-window and resize-window.
1349         (enlarge-window-horizontally, shrink-window-horizontally):
1350         Rename argument to DELTA.
1351         (window-buffer-height): New function.
1352         (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
1353         Rewrite using new window resize routines.
1354         (kill-buffer-and-window, mouse-autoselect-window-select):
1355         Use ignore-errors instead of condition-case.
1356         (quit-window): Call delete-frame instead of delete-windows-on
1357         for the only buffer on frame.
1359 2011-06-10  Martin Rudalics  <rudalics@gmx.at>
1361         * loadup.el (top-level): Load window before files for the sake
1362         of replace-buffer-in-windows.
1364         * files.el (read-buffer-to-switch)
1365         (switch-to-buffer-other-window)
1366         (switch-to-buffer-other-frame, display-buffer-other-frame):
1367         Move to window.el.
1369         * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
1370         (previous-buffer): Move to window.el.
1372         * bindings.el (unbury-buffer): Move to window.el.
1374         * window.el (delete-other-windows-vertically): Move after
1375         definition of delete-other-windows.
1376         (other-window, delete-windows-on, replace-buffer-in-windows):
1377         Move here from window.c.
1378         (record-window-buffer, unrecord-window-buffer)
1379         (set-window-buffer-start-and-point, switch-to-prev-buffer)
1380         (switch-to-next-buffer): New functions.
1381         (get-next-valid-buffer, last-buffer, next-buffer): Move here
1382         from simple.el.  Call switch-to-next-buffer.
1383         (previous-buffer): Move here from simple.el.
1384         Call switch-to-prev-buffer.
1385         (bury-buffer): Move here from buffer.c.  Switch to previous
1386         buffer when window cannot be deleted.
1387         (unbury-buffer): Move here from bindings.el.
1388         (ctl-x-map): Move binding for other-window from window.c to
1389         here.
1390         (read-buffer-to-switch, switch-to-buffer-other-window)
1391         (switch-to-buffer-other-frame): Move here from files.el.
1392         (normalize-buffer-to-switch-to): New functions.
1393         (switch-to-buffer): Move here from buffer.c.
1394         Use read-buffer-to-switch and normalize-buffer-to-switch-to.
1396 2011-06-10  Martin Rudalics  <rudalics@gmx.at>
1398         * window.el (window-min-height, window-min-width): Move here
1399         from window.c.  Add defcustoms and rewrite doc-strings.
1400         (resize-mini-window, resize-window): New functions.
1401         (adjust-window-trailing-edge, enlarge-window, shrink-window):
1402         Move here from window.c.
1403         (maximize-window, minimize-window): New functions.
1404         (delete-window, delete-other-windows, split-window): Move here
1405         from window.c.
1406         (window-split-min-size): New function.
1407         (split-window-keep-point): Mention split-window-above-each-other
1408         instead of split-window-vertically.
1409         (split-window-above-each-other, split-window-vertically):
1410         Rename split-window-vertically to split-window-above-each-other and
1411         provide defalias for old definition.
1412         (split-window-side-by-side, split-window-horizontally): Rename
1413         split-window-horizontally to split-window-side-by-side and provide
1414         defalias for the old definition.
1415         (ctl-x-map): Move bindings for delete-window,
1416         delete-other-windows and enlarge-window here from window.c.
1417         Replace bindings for split-window-vertically and
1418         split-window-horizontally by bindings for
1419         split-window-above-each-other and split-window-side-by-side.
1421         * cus-start.el (all): Remove entries for window-min-height and
1422         window-min-width.  Add entries for window-splits and
1423         window-nest.
1425 2011-06-09  Glenn Morris  <rgm@gnu.org>
1427         * calendar/appt.el (appt-mode-line): New function.
1428         (appt-check, appt-disp-window): Use it.
1430         * files.el (hack-one-local-variable-eval-safep):
1431         Allow minor-modes with explicit +/-1 arguments.
1433 2011-06-09  Teodor Zlatanov  <tzz@lifelogs.com>
1435         * term/xterm.el (xterm): Add defgroup.
1436         (xterm-extra-capabilities): Add defcustom to supply known xterm
1437         capabilities, skip querying them, or query them (default).
1438         (terminal-init-xterm): Use it.
1439         (terminal-init-xterm-modify-other-keys): New function to set up
1440         modifyOtherKeys support to simplify `terminal-init-xterm'.
1442 2011-06-09  Martin Rudalics  <rudalics@gmx.at>
1444         * window.el (resize-window-reset, resize-window-reset-1)
1445         (resize-subwindows-skip-p, resize-subwindows-normal)
1446         (resize-subwindows, resize-other-windows, resize-this-window)
1447         (resize-root-window, resize-root-window-vertically)
1448         (window-deletable-p, window-or-subwindow-p)
1449         (frame-root-window-p): New functions.
1451 2011-06-09  Glenn Morris  <rgm@gnu.org>
1453         * net/ange-ftp.el (ange-ftp-switches-ok): New function.
1454         (ange-ftp-get-files): Use it.
1456 2011-06-09  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
1458         * mail/sendmail.el (mail-recover-1, mail-recover):
1459         * files.el (recover-file, recover-session):
1460         Handle dired-listing-switches not being just a single short option.
1462 2011-06-09  Glenn Morris  <rgm@gnu.org>
1464         * calendar/appt.el (appt-display-message, appt-disp-window):
1465         Handle lists of appointments.
1467 2011-06-08  Martin Rudalics  <rudalics@gmx.at>
1469         * window.el (one-window-p): Move down in code.
1470         Rewrite doc-string.
1471         (window-current-scroll-bars): Rewrite doc-string.
1472         Normalize live window argument.
1473         (walk-windows, get-window-with-predicate, count-windows):
1474         Rewrite doc-string.  Use window-list-1.
1475         (window-in-direction-2, window-in-direction, get-mru-window):
1476         New functions.
1478 2011-06-08  Reuben Thomas  <rrt@sc3d.org>
1480         * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
1481         Doc fix (Bug#8713).
1483 2011-06-08  Chong Yidong  <cyd@stupidchicken.com>
1485         * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
1487 2011-06-08  Juanma Barranquero  <lekktu@gmail.com>
1489         * loadhist.el (unload-feature-special-hooks):
1490         Add `comint-output-filter-functions'.
1492 2011-06-08  Ivan Kanis  <gnu@kanis.fr>
1494         * calendar/appt.el (appt-check): Move some initializations into the let.
1496 2011-06-08  Martin Rudalics  <rudalics@gmx.at>
1498         * window.el (window-height): Defalias to window-total-height.
1499         (window-width): Defalias to window-body-width.
1501 2011-06-07  Chong Yidong  <cyd@stupidchicken.com>
1503         * image-mode.el (image-toggle-animation): New command.
1504         (image-mode-map): Bind it to RET.
1505         (image-mode): Update message.
1506         (image-toggle-display-image): Avoid a spurious cache flush.
1507         (image-transform-rotation): Doc fix.
1508         (image-transform-properties): Return quickly in the normal case.
1509         (image-animate-loop): Rename from image-animate-max-time.
1511         * image.el (image-animate-max-time): Move to image-mode.el.
1512         (create-animated-image): Remove unnecessary function.
1513         (image-animate): Rename from image-animate-start.  New arg.
1514         (image-animate-stop): Remove; just use image-animate-timer.
1515         (image-animate-timer): Use car-safe.
1516         (image-animate-timeout): Rename argument.
1518 2011-06-07  Martin Rudalics  <rudalics@gmx.at>
1520         * window.el (get-lru-window, get-largest-window): Move here from
1521         window.c.  Rename first argument to ALL-FRAMES.
1522         Rephrase doc-strings.
1523         (get-buffer-window-list): Rewrite using window-list-1.
1524         Rephrase doc-string.
1525         (window-safe-min-height, window-safe-min-width): New constants.
1526         (window-size-ignore, window-min-size, window-min-size-1)
1527         (window-sizable, window-sizable-p, window-size-fixed-1)
1528         (window-size-fixed-p, window-min-delta-1, window-min-delta)
1529         (window-max-delta-1, window-max-delta, window-resizable)
1530         (window-resizable-p, window-total-height, window-total-width)
1531         (window-body-width): New functions.
1532         (window-full-height-p, window-full-width-p): Rewrite using
1533         window-total-size.
1534         (window-body-height): Rewrite using window-body-size.
1536 2011-06-06  Martin Rudalics  <rudalics@gmx.at>
1538         * window.el (window-right, window-left, window-child)
1539         (window-child-count, window-last-child, window-any-p)
1540         (normalize-live-buffer, normalize-live-frame)
1541         (normalize-any-window, normalize-live-window)
1542         (window-iso-combination-p, window-iso-combined-p)
1543         (window-iso-combinations)
1544         (walk-window-tree-1, walk-window-tree, walk-window-subtree)
1545         (windows-with-parameter, window-with-parameter)
1546         (window-atom-root, make-window-atom, window-atom-check-1)
1547         (window-atom-check, window-side-check, window-check):
1548         New functions.
1549         (ignore-window-parameters, window-sides, window-sides-vertical)
1550         (window-sides-slots): New variables.
1551         (window-size-fixed): Move down in code.  Minor doc-string fix.
1553 2011-06-05  Andreas Schwab  <schwab@linux-m68k.org>
1555         * comint.el (comint-dynamic-complete-as-filename)
1556         (comint-dynamic-complete-filename): Correctly call
1557         completion-in-region.
1559 2011-06-05  Deniz Dogan  <deniz@dogan.se>
1561         * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
1562         in last change.
1564 2011-06-05  Deniz Dogan  <deniz@dogan.se>
1566         * net/rcirc.el (rcirc-prompt-for-encryption): New function.
1567         (rcirc): Use it to prompt for encryption.
1569 2011-06-05  Roland Winkler  <winkler@gnu.org>
1571         * textmodes/bibtex.el (bibtex-search-buffer): New variable.
1572         (bibtex-search-entries): New command bound to C-c C-a.
1573         (bibtex-display-entries): New function.
1575 2011-06-05  Roland Winkler  <winkler@gnu.org>
1577         * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
1578         (bibtex-insert-kill): After yanking insert newline if necessary.
1579         (bibtex-initialize): Call bibtex-string-files-init only once.
1580         (bibtex-mode): Do not call easy-menu-add.
1581         (bibtex-validate-globally): Use save-excursion in bibtex buffers.
1582         (bibtex-yank): Set arg properly if nil.
1584 2011-06-05  Roland Winkler  <winkler@gnu.org>
1586         * textmodes/bibtex.el (bibtex-search-entry-globally):
1587         New variable.
1588         (bibtex-search-entry): Use it.
1590 2011-06-05  Roland Winkler  <winkler@gnu.org>
1592         * textmodes/bibtex.el (bibtex-entry-format): New option
1593         sort-fields.
1594         (bibtex-format-entry, bibtex-reformat): Honor this option.
1595         (bibtex-parse-entry): Return fields in proper order.
1597 2011-06-05  Juanma Barranquero  <lekktu@gmail.com>
1599         * doc-view.el (doc-view-remove-if): Move computation of result out
1600         of `dolist' to silence misleading lexical-binding warning.
1602 2011-06-04  Chong Yidong  <cyd@stupidchicken.com>
1604         * emacs-lisp/timer.el (timer-activate): Remove unused arg.
1605         (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
1607 2011-06-04  Michael Albinus  <michael.albinus@gmx.de>
1609         * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
1610         "SunOS 5.10".
1612 2011-06-04  Michael Albinus  <michael.albinus@gmx.de>
1614         * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
1615         (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
1616         (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
1617         (tramp-parse-putty):
1618         * net/tramp-sh.el (tramp-completion-function-alist-rsh)
1619         (tramp-completion-function-alist-ssh)
1620         (tramp-completion-function-alist-telnet)
1621         (tramp-completion-function-alist-su)
1622         (tramp-completion-function-alist-putty): Set `tramp-autoload'
1623         cookie.
1625         * net/tramp-ftp.el:
1626         * net/tramp-sh.el:
1627         * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
1628         load "tramp.el" `tramp-set-completion-function'.
1630 2011-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
1632         * shell.el: Require and use pcomplete.
1633         (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
1634         (shell-completion-vars): Set pcomplete-default-completion-function.
1636 2011-06-04  Deniz Dogan  <deniz@dogan.se>
1638         * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
1639         `memq' (Bug#8799).
1641 2011-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
1643         * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
1645 2011-06-02  Juanma Barranquero  <lekktu@gmail.com>
1647         * bs.el (bs--mark-unmark, bs--nth-wrapper):
1648         * mpc.el (mpc-select-extend, mpc-songpointer-context):
1649         * vc/log-view.el (log-view-beginning-of-defun):
1650         * vc/smerge-mode.el (smerge-apply-resolution-patch)
1651         (smerge-refine-forward, smerge-refine-chopup-region):
1652         Silence warning for unused `dotimes' counter variables.
1654 2011-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
1656         * net/tramp.el (tramp-with-progress-reporter): Rename from
1657         with-progress-reporter.  Use `declare'.
1658         * net/tramp-smb.el:
1659         * net/tramp-sh.el:
1660         * net/tramp-gvfs.el: Update all uses.
1662 2011-06-02  Jay Belanger  <jay.p.belanger@gmail.com>
1664         * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
1665         buffer isn't killed before making it current.
1667 2011-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
1669         Silence various byte-compiler warnings.
1670         * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
1671         `access-type' and new obsolescence format.
1672         * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
1673         new format.
1674         (byte-compile-check-variable): New `access-type' argument.
1675         Only warn if the access-type is obsolete.
1676         (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
1677         (byte-compile-variable-set): Adjust callers.
1678         * help-fns.el (describe-variable): Adjust to new obsolescence format.
1679         * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
1680         setting it as obsolete.
1681         * simple.el (minibuffer-completing-symbol):
1682         * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
1683         access as obsolete.
1684         * minibuffer.el (minibuffer-completing-file-name): Don't make it
1685         obsolete yet.
1686         * international/quail.el (quail-mouse-choose-completion): Remove unused
1687         code referring to obsolete var.
1688         (quail-choose-completion-string): Remove.
1689         * server.el (server-clients-with, server-kill-buffer-query-function)
1690         (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
1691         * proced.el (proced-send-signal):
1692         * emacs-lisp/lisp.el (lisp-complete-symbol):
1693         Replace completion-annotate-function with completion-extra-properties.
1695 2011-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
1697         * simple.el (goto-line): Use read-number.
1698         (overriding-map-is-bound): Remove.
1699         (saved-overriding-map): Change default.
1700         (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
1701         Take the map as argument.
1702         (universal-argument, negative-argument, digit-argument): Use it.
1703         (restore-overriding-map): Adjust.
1704         (do-auto-fill): Use fill-forward-paragraph.
1705         (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
1707         * minibuffer.el (minibuffer-inactive-mode-map): New var.
1708         (minibuffer-inactive-mode): New major mode.
1709         * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
1710         the *Messages* buffer" hack.
1711         (mouse-popup-menubar): Don't burp if the event is a normal key.
1713         Miscellaneous tweaks.
1714         * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
1715         lexical scoping as in subr.el's dolist and dotimes.
1716         * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
1717         Silence compiler warning.
1718         * thingatpt.el (forward-whitespace): Trivial coding style fix.
1719         * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
1720         * international/ccl.el (ccl-compile): Trivial simplification.
1721         * help-fns.el (help-do-arg-highlight): Silence compiler warning.
1722         * emacs-lisp/testcover.el (testcover-end): Remove spurious
1723         `printflag' argument.
1724         * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
1725         Purecopy the whole obsolescence data.
1727 2011-06-01  Leo Liu  <sdl.web@gmail.com>
1729         * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
1730         improve doc-string as suggested by Marco Pessotto
1731         <melmothx@gmail.com>.
1732         (rcirc-print): Fix last change.
1734 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
1736         * minibuffer.el (complete-with-action): Return nil for the metadata and
1737         boundaries of non-functional tables.
1738         (completion-table-dynamic): Return nil for the metadata.
1739         (completion-table-with-terminator): Add default case, using
1740         complete-with-action.
1741         (completion--metadata): New function.
1742         (completion-all-sorted-completions, minibuffer-completion-help): Use it
1743         to try and avoid pathological performance problems.
1744         (completion--embedded-envvar-table): Return `category' metadata.
1746 2011-05-31  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1748         * subr.el (process-alive-p): New tiny convenience function.
1750 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
1752         * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
1753         content but also its previous major mode.
1755 2011-05-31  Helmut Eller  <eller.helmut@gmail.com>
1757         * debug.el (debug): Restore the previous content of the
1758         *Backtrace* buffer when we exit with C-M-c.
1760 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
1762         * minibuffer.el: Add metadata method to completion tables.
1763         (completion-category-overrides): New defcustom.
1764         (completion-metadata, completion--field-metadata)
1765         (completion-metadata-get, completion--styles)
1766         (completion--cycle-threshold): New functions.
1767         (completion-try-completion, completion-all-completions):
1768         Add `metadata' argument to choose completion-styles.
1769         (completion--do-completion): Use metadata to choose cycling.
1770         (completion-all-sorted-completions): Use metadata for sorting.
1771         Remove :completion-cycle-penalty which is not needed any more.
1772         (completion--try-word-completion): Add `metadata' argument.
1773         (minibuffer-completion-help): Check metadata for annotation function
1774         and sorting.
1775         (completion-file-name-table): Return `category' metadata.
1776         (minibuffer-completing-file-name): Make obsolete.
1777         * simple.el (minibuffer-completing-symbol): Make obsolete.
1778         * icomplete.el (icomplete-completions): Pass new `metadata' param to
1779         completion-try-completion.
1781 2011-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
1783         * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
1785 2011-05-30  Leo Liu  <sdl.web@gmail.com>
1787         * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
1788         (rcirc-print): Decode all incoming messages (bug#8744).
1789         (rcirc-decode-coding-system): Allow value nil for automatic coding
1790         system detection.
1792 2011-06-01  Glenn Morris  <rgm@gnu.org>
1794         * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
1796 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
1798         * image.el (image-animate-max-time): Allow nil and t values.
1799         Default to nil.
1800         (create-animated-image): Doc fix.
1801         (image-animate-start): Remove second arg; just use
1802         image-animate-max-time.
1803         (image-animate-timeout): Doc fix.  Args changed.
1805         * image-mode.el (image-toggle-display-image): Ensure that the
1806         image spec passed to the animate timer is the same object as in
1807         the the buffer's display property (Bug#6981).
1808         (image-transform-properties): Doc fix.
1810         * image.el (image-animate-max-time): Default to nil.
1812 2011-05-29  Martin Rudalics  <rudalics@gmx.at>
1814         * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
1815         entire buffer list (Bug#8184).
1817 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
1819         * image.el (imagemagick-types-inhibit)
1820         (imagemagick-register-types): Doc fix.
1822 2011-05-29  Deniz Dogan  <deniz@dogan.se>
1824         * net/rcirc.el (rcirc): Use the user's stored encryption method by
1825         default.
1827 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
1829         * select.el: Don't perform clipboard-manager saving in hooks;
1830         leave the hooks empty.
1832 2011-05-28  Leo Liu  <sdl.web@gmail.com>
1834         * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
1835         (occur-mode-map): Bind occur-edit-mode.  Use occur-menu-map.
1836         (occur-edit-mode): New major mode (Bug#8463).
1837         (occur-after-change-function): New function.
1838         (occur-engine): Give Occur tags a read-only property.
1840 2011-05-28  Kevin Ryde  <user42@zip.com.au>
1842         * subr.el (def-edebug-spec): Doc fix (Bug#8430).
1844 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
1846         * bindings.el (help-echo): Make the initial non-indicator dash
1847         empty on graphical terminals (Bug#7295).
1849         * files.el (auto-mode-alist): Move config rule after the
1850         in-stripping one (Bug#8547).
1852         * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
1854         * startup.el (normal-splash-screen): Remove gratuitous mode-line
1855         setting (Bug#8740).
1857 2011-05-28  Alp Aker  <aker@pitt.edu>  (tiny change)
1859         * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
1860         (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
1861         (Bug#8539).
1863 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
1865         * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
1867 2011-05-28  Dima Kogan  <dkogan@cds.caltech.edu>  (tiny change)
1869         * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
1870         (hs-hide-block-at-point, hs-find-block-beginning)
1871         (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
1872         (Bug#8279).
1874 2011-05-28  Glenn Morris  <rgm@gnu.org>
1876         * startup.el (fancy-about-screen): Use standard mode line.  (Bug#8740)
1878 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
1880         * help-fns.el (describe-function-1): If the function is a derived
1881         major mode, print the parent mode.
1883         * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
1884         (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
1886 2011-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1888         * minibuffer.el (completion--capf-wrapper): Check applicability before
1889         retuning non-nil for non-exclusive completion data.
1890         * progmodes/etags.el (tags-completion-at-point-function):
1891         * info-look.el (info-lookup-completions-at-point): Mark as
1892         non-exclusive.
1893         (info-complete): Adjust accordingly.
1895         * info-look.el: Convert to lexical-binding and completion-at-point.
1896         (info-lookup-completions-at-point): New function.
1897         (info-complete): Use it and completion-in-region.
1899 2011-05-28  Drew Adams  <drew.adams@oracle.com>
1901         * isearch.el: Let M-e start with point at the first mismatched char.
1902         (isearch-fail-pos): New function.
1903         (isearch-edit-string): Use it.
1905 2011-05-28  Dmitry Kurochkin  <dmitry.kurochkin@gmail.com>  (tiny change)
1907         * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
1909 2009-11-23  Toby Cubitt  <toby-predictive@dr-qubit.org>
1911         * emacs-lisp/avl-tree.el: New avl-tree-stack datatype.  Add new
1912         traversal functions for avl-trees.
1913         (avl-tree--stack): New struct.
1914         (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
1915         (avl-tree-enter): Add optional `updatefun' arg.
1916         (avl-tree--do-enter): Add optional `updatefun' arg.
1917         Change return value.
1918         (avl-tree-delete): Add optional `test' and `nilflag' args.
1919         (avl-tree--do-delete): Add `test' and `nilflag' args.
1920         Change return value.
1921         (avl-tree-member): Add optional `nilflag'
1922         (avl-tree-member-p): New function.
1923         (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
1924         (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
1925         (avl-tree-stack-empty-p): New functions.
1927 2009-11-23  Toby Cubitt  <toby-predictive@dr-qubit.org>
1929         * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
1930         avl-tree--del-balance1 and make it work both ways.
1931         (avl-tree--del-balance2): Remove.
1932         (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
1933         make it work both ways.
1934         (avl-tree--enter-balance2): Remove.
1935         (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
1936         New macros.
1937         (avl-tree--mapc, avl-tree-map): Add direction argument.
1939 2011-05-27  David Michael  <fedora.dm0@gmail.com>  (tiny change)
1941         * files.el (interpreter-mode-alist): Add rbash (bug#8745).
1943 2011-05-27  Chong Yidong  <cyd@stupidchicken.com>
1945         * select.el: Support clipboard managers with built-in function
1946         x-clipboard-manager-save, via delete-frame-functions and
1947         kill-emacs-hook.
1948         (xselect-convert-to-targets): Add MULTIPLE target to list.
1949         (xselect-convert-to-save-targets): New function.
1951 2011-05-27  Kenichi Handa  <handa@m17n.org>
1953         * mail/sendmail.el (mail-encode-header): Avoid double encoding by
1954         let-binding rfc2047-encode-encoded-words to nil.
1956 2011-05-27  Glenn Morris  <rgm@gnu.org>
1958         * mail/emacsbug.el: Don't require url-util.
1960         * shell.el (shell-directory-tracker): Case matters.  (Bug#8735)
1962         * files.el (set-auto-mode):
1963         Also respect mode: entries at the end of the file.  (Bug#8586)
1965 2011-05-26  Glenn Morris  <rgm@gnu.org>
1967         * files.el (hack-local-variables-prop-line, hack-local-variables):
1968         Downcase mode names, as seems to be traditional.
1969         (hack-local-variables, hack-local-variables-apply): Doc fixes.
1971         * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
1972         (report-emacs-bug-hook): Try to validate the From address.  (Bug#8038)
1974 2011-05-25  Julien Danjou  <julien@danjou.info>
1976         * textmodes/rst.el (rst-define-level-faces): Do not define face
1977         symbol if it is already defined.
1979 2011-05-24  Vincent Belaïche  <vincentb1@users.sourceforge.net>
1981         * play/5x5.el (5x5-new-game, 5x5-randomize):
1982         Reset 5x5-solver-output to nil when a new grid is cast.
1983         (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
1984         these debugging traces, as defmacro breaks the compiled code.
1986 2011-05-24  Dmitry Kurochkin  <dmitry.kurochkin@gmail.com>  (tiny change)
1988         * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
1990 2011-05-24  Leo Liu  <sdl.web@gmail.com>
1992         * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
1993         (vc-bzr-sha1): Adapt.
1995         * sha1.el: Remove.  Function `sha1' is now builtin.
1997         * bindings.el: Provide sha1 feature.
1999 2011-05-24  Kenichi Handa  <handa@m17n.org>
2001         * mail/sendmail.el: Require `rfc2047'.
2002         (mail-insert-from-field): Do not perform RFC2047 encoding.
2003         (mail-encode-header): New function.
2004         (sendmail-send-it): Set buffer-file-coding-system of the work
2005         buffer to the return value of select-message-coding-system.
2006         Call mail-encode-header.
2008         * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
2010 2011-05-24  Sean Neakums  <sneakums@zork.net>  (tiny change)
2012         * mail/supercite.el (sc-default-cite-frame):
2013         Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
2015 2011-05-24  Glenn Morris  <rgm@gnu.org>
2017         * progmodes/python.el (brm-menu): Declare.
2019         * emulation/viper.el (viper-set-hooks): Declare.
2021         * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
2022         (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
2023         (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
2024         (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
2025         (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
2026         (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
2028 2011-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
2030         Add an :exit-function for completion-at-point.
2032         * minibuffer.el (completion--done): New fun.
2033         (completion--do-completion): Use it.  New arg `expect-exact'.
2034         (minibuffer-complete, minibuffer-complete-word): Don't output message,
2035         since completion--do-completion does it for us now.
2036         (minibuffer-force-complete): Use completion--done and
2037         completion--replace.  Handle sole-completion case with more care.
2038         (minibuffer-complete-and-exit): Use new `expect-exact' arg.
2039         (completion-extra-properties): New var.
2040         (completion-annotate-function): Make obsolete.
2041         (minibuffer-completion-help): Adjust accordingly.
2042         Use completion-list-insert-choice-function.
2043         (completion-at-point, completion-help-at-point):
2044         Bind completion-extra-properties.
2045         (completion-pcm-word-delimiters): Add | (for uniquify, for example).
2046         * simple.el (completion-list-insert-choice-function): New var.
2047         (completion-setup-function): Preserve it.
2048         (choose-completion): Pay attention to it, shuffle the code a bit.
2049         (choose-completion-string): New arg `insert-function'.
2051         * textmodes/bibtex.el: Convert to lexical binding.
2052         (bibtex-mode-map): Use completion-at-point.
2053         (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
2054         (bibtex-completion-at-point-function): New fun, from bibtex-complete.
2055         (bibtex-complete): Define as obsolete alias.
2056         (bibtex-complete-internal): Remove.
2057         (bibtex-format-entry): Remove unused sub-group in regexp.
2058         * shell.el (shell--command-completion-data)
2059         (shell-environment-variable-completion):
2060         * pcomplete.el (pcomplete-completions-at-point):
2061         * comint.el (comint--complete-file-name-data): Use :exit-function
2062         instead of completion-table-with-terminator so it also works for
2063         choose-completion.
2065 2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
2067         * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
2069         * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
2070         (bug#8710).
2072         * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
2074 2011-05-23  Ken Manheimer  <ken.manheimer@gmail.com>
2076         * allout.el (allout-inhibit-auto-fill-on-headline): Create new
2077         customization variable and implement: If non-nil, auto-fill will
2078         be inhibited while on topic's header line.
2080 2011-05-23  Vincent Belaïche  <vincentb1@users.sourceforge.net>
2082         * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
2083         click on.  II/ Make 5x5 multisession.  III/ Ensure that random grids
2084         always have a solution in grid size = 5 cases.
2085         (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
2086         (5x5-solver-output, 5x5-log-buffer): New vars.
2087         (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
2088         Make these variables buffer local to achieve 5x5 multi-session-ness.
2089         (5x5): Set 5x5-grid-size only if SIZE is non-negative.
2090         (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
2091         (5x5-solve-suggest): New funs.
2092         (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
2093         randomize a grid so that we ensure that there is always a solution.
2094         (5x5-make-random-grid): Allow other movement than flipping.
2096 2011-05-23  Kevin Ryde  <user42@zip.com.au>
2098         * emacs-lisp/advice.el (ad-read-advised-function):
2099         Use `function-called-at-point' as the default default, if it has
2100         advice and passes PREDICATE.
2102 2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
2104         * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
2105         byte-compile-lambda if it's actually a lambda.
2107         * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
2108         Fix function quoting.  Use backquote better.
2110 2011-05-22  Yuanle Song  <sylecn@gmail.com>
2112         * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
2113         matching (Bug#8516).
2115 2011-01-22  Jari Aalto  <jari.aalto@cante.net>
2117         * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
2118         different face (Bug#8178).
2120 2011-05-22  Chong Yidong  <cyd@stupidchicken.com>
2122         * vc/diff-mode.el (diff-changed): Don't use terminal specs for
2123         defface (Bug#8144).
2125 2011-05-22  Stefan Monnier  <monnier@iro.umontreal.ca>
2127         * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
2128         funcall as well (bug#8712).  Warn when performing those conversions.
2129         * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
2131         * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
2133 2011-05-22  Glenn Morris  <rgm@gnu.org>
2135         * files.el (hack-local-variables-prop-line): Small simplifications.
2136         (hack-local-variables, hack-local-variables-prop-line):
2137         If MODE-ONLY, return the mode, rather than just `t'.
2139 2011-05-21  Stefan Monnier  <monnier@iro.umontreal.ca>
2141         * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
2143 2011-05-21  Glenn Morris  <rgm@gnu.org>
2145         * files.el (hack-local-variables-prop-line, hack-local-variables):
2146         If only interested in the mode, don't bother doing the other stuff.
2148         * image-mode.el (image-after-revert-hook):
2149         Redraw all frames on which the image is visible.  (Bug#8567)
2151         * dired-aux.el (dired-touch-initial): Just use current-time.  (Bug#6887)
2153         * wid-edit.el (widget-checklist-match-inline):
2154         Fix 2011-04-19 change.  (Bug#8649)
2156 2011-05-20  Stefan Monnier  <monnier@iro.umontreal.ca>
2158         * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
2159         Also allow singlespace after single-letter capitals followed by a dot.
2161         * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
2162         enabled.  Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
2164 2011-05-20  Nix  <nix@esperi.org.uk>
2166         * files.el (basic-save-buffer-2):
2167         Fix handling of break-hardlink-on-save with non-existent files.
2169 2011-05-19  Deniz Dogan  <deniz@dogan.se>
2171         * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
2172         (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
2174 2011-05-19  Glenn Morris  <rgm@gnu.org>
2176         * progmodes/f90.el (f90-type-def-re):
2177         Handle "type, bind(c)".  (Bug#8691)
2179         * emacs-lisp/autoload.el (batch-update-autoloads):
2180         Set autoload-excludes by parsing loadup.el rather than Makefiles.
2182 2011-05-18  Michael Albinus  <michael.albinus@gmx.de>
2184         * net/tramp.el (tramp-process-actions): Set "first-password-request"
2185         property for the correct connection in case of multihops.
2187 2011-05-18  Glenn Morris  <rgm@gnu.org>
2189         * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
2190         * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
2192         Rationalize calendar handling of day and month abbrev-arrays.
2193         * calendar/calendar.el (calendar-customized-p): New function.
2194         (calendar-abbrev-construct, calendar-make-alist): Change what it does.
2195         (calendar-day-name-array, calendar-month-name-array): Doc fix.
2196         Add :set function.
2197         (calendar-abbrev-length, calendar-day-abbrev-array)
2198         (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
2199         (calendar-day-abbrev-array, calendar-month-abbrev-array):
2200         Elements may no longer be nil.
2201         (calendar-day-name, calendar-month-name):
2202         Update for changed nature of abbrev arrays.
2203         * calendar/diary-lib.el (diary-name-pattern):
2204         Update for changed nature of abbrev arrays.
2205         (diary-mark-entries-1): Update calendar-make-alist calls.
2206         (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
2207         * calendar/cal-html.el (cal-html-day-abbrev-array):
2208         Simply inherit from calendar-day-abbrev-array.
2210 2011-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
2212         * progmodes/grep.el (grep-mode): Disable default
2213         compilation-directory-matcher setting (bug#8684).
2215 2011-05-17  Michael Albinus  <michael.albinus@gmx.de>
2217         * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
2218         instead of "head" and "tail".  There were problems with SunOS 5.9,
2219         and it performs better.
2221 2011-05-17  Glenn Morris  <rgm@gnu.org>
2223         * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
2225         * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
2226         Replace obsolete function.
2228         * shell.el (pcomplete-parse-arguments-function): Declare.
2230         * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
2231         (appt-display-diary, appt-display-interval, appt-prev-comp-time)
2232         (appt-check): Doc fixes.
2233         (appt-disp-window-function, appt-delete-window-function):
2234         Remove needless special case in custom :type.
2235         (appt-display-count): Default to 0, not nil.
2236         (appt-check): Reset appt-display-count to 0, not nil.
2238 2011-05-17  Juanma Barranquero  <lekktu@gmail.com>
2240         * progmodes/python.el (python-font-lock-keywords):
2241         Add the Python 3.X keyword "nonlocal" (bug#8639).
2243 2011-05-16  Stefan Monnier  <monnier@iro.umontreal.ca>
2245         * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
2247 2011-05-16  Kevin Ryde  <user42@zip.com.au>
2249         * info-look.el (makefile-automake-mode): New setups, looking in
2250         automake manual, then makefile-mode.
2251         (makefile-mode): Remove automake manual, have it just in
2252         makefile-automake-mode since there's various things different or
2253         not relevant to plain make.
2254         (makefile-mode): Remove "other-modes" non-existent automake-mode,
2255         believe a hypothetical automake-mode would go to makefile-mode,
2256         not the other way around.
2258 2011-05-15  Chong Yidong  <cyd@stupidchicken.com>
2260         * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
2261         hunk-end tags (Bug#8672).
2263         * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
2264         vc-annotate-show-diff-revision-at-line (Bug#8671).
2266 2011-05-14  Glenn Morris  <rgm@gnu.org>
2268         * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
2269         in the middle of an existing one with multiple authors.  (Bug#8645)
2270         (change-log-font-lock-keywords): Also handle multiple author lines
2271         with leading tabs.  (Bug#8644)
2273         * calendar/appt.el (appt-check): Rename some local variables.
2274         Some simplification/reordering.
2276         * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
2277         (feedmail-sendmail-f-doesnt-sell-me-out)
2278         (feedmail-queue-slug-suspect-regexp, feedmail-debug)
2279         (feedmail-debug-sit-for, feedmail-queue-express-hook)
2280         (feedmail-queue-runner-message-sender): Set :version.
2281         (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
2282         (bbdb-dwim-net-address, vm-mail): Declare.
2283         (feedmail-binmail-gnulinuxish-template):
2284         Rename from feedmail-binmail-linuxish-template.
2285         (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
2286         Use insert-buffer-substring.
2288 2011-05-14  Bill Carpenter  <bill@carpenter.org>
2290         * mail/feedmail.el (feedmail-patch-level): Increase.
2291         (feedmail-debug): New custom group.
2292         (feedmail-confirm-outgoing-timeout)
2293         (feedmail-sendmail-f-doesnt-sell-me-out)
2294         (feedmail-queue-slug-suspect-regexp, feedmail-debug)
2295         (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
2296         (feedmail-sender-line, feedmail-from-line)
2297         (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
2298         (feedmail-spray-this-address)
2299         (feedmail-spray-address-fiddle-plex-list)
2300         (feedmail-queue-use-send-time-for-date)
2301         (feedmail-queue-use-send-time-for-message-id)
2302         (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
2303         (feedmail-buffer-eating-function):
2304         Doc fixes.
2305         (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
2306         (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
2307         (feedmail-message-action-scroll-down): New functions.
2308         (feedmail-queue-directory, feedmail-queue-draft-directory):
2309         Use expand-file-name.
2310         (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
2311         Remove C-v help entry.
2312         (feedmail-queue-buffer-file-name): New variable.
2313         (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
2314         (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
2315         (feedmail-message-action-send-strong, feedmail-message-action-edit)
2316         (feedmail-message-action-draft, feedmail-message-action-draft-strong)
2317         (feedmail-message-action-queue, feedmail-message-action-queue-strong)
2318         (feedmail-message-action-toggle-spray)
2319         (feedmail-run-the-queue-no-prompts)
2320         (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
2321         (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
2322         (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
2323         (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
2324         (feedmail-envelope-deducer, feedmail-fiddle-from)
2325         (feedmail-fiddle-sender, feedmail-default-date-generator)
2326         (feedmail-fiddle-date, feedmail-fiddle-message-id)
2327         (feedmail-fiddle-spray-address)
2328         (feedmail-fiddle-list-of-spray-fiddle-plexes)
2329         (feedmail-fiddle-list-of-fiddle-plexes)
2330         (feedmail-fill-to-cc-function, feedmail-fill-this-one)
2331         (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
2332         (feedmail-queue-runner-message-sender, feedmail-binmail-template):
2333         Change default.  Doc fix.
2334         (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
2335         (feedmail-binmail-linuxish-template): New constant.
2336         (feedmail-buffer-to-sendmail): Doc fix.  Add debug call.
2337         Respect feedmail-sendmail-f-doesnt-sell-me-out.
2338         (feedmail-send-it): Add debug call.
2339         Use feedmail-queue-buffer-file-name, and
2340         feedmail-send-it-immediately-wrapper.
2341         (feedmail-message-action-send): Add debug call.
2342         Use feedmail-send-it-immediately-wrapper.
2343         (feedmail-queue-express-to-queue): Add debug call.
2344         Run feedmail-queue-express-hook.
2345         (feedmail-message-action-help): Add debug call.  Use feedmail-p-h-b-n.
2346         (feedmail-message-action-help-blat):
2347         Rename from feedmail-queue-send-edit-prompt-help-first.
2348         (feedmail-run-the-queue): Add debug call.  Set buffer-file-type.
2349         Check line-endings.  Handle errors better.
2350         (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
2351         Doc fix.  Add debug call.
2352         (feedmail-queue-send-edit-prompt): Doc fix.  Add debug call.
2353         Use feedmail-queue-send-edit-prompt-inner.
2354         (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
2355         (feedmail-queue-send-edit-prompt-inner): New function, extracted
2356         from feedmail-queue-send-edit-prompt.
2357         (feedmail-queue-send-edit-prompt-help)
2358         (feedmail-queue-send-edit-prompt-help-later): Remove functions.
2359         (feedmail-tidy-up-slug): Add debug call.
2360         Respect feedmail-queue-slug-suspect-regexp.
2361         (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
2362         (feedmail-dump-message-to-queue): Add debug call.
2363         Expand queue-directory.
2364         (feedmail-dump-message-to-queue): Change message slightly.
2365         Use feedmail-say-chatter.
2366         (feedmail-rfc822-date): Add debug call.  Bind system-time-locale.
2367         (feedmail-send-it-immediately-wrapper): New function.
2368         (feedmail-send-it-immediately): Add debug calls.  Use let not let*.
2369         Insert empty string rather than newline.  Handle full-frame case.
2370         Use catch/throw.  Use feedmail-say-chatter.
2371         (feedmail-fiddle-from): Try mail-host-address.
2372         (feedmail-default-message-id-generator): Doc fix.
2373         Bind system-time-locale.  Handle missing end.
2374         (feedmail-fiddle-x-mailer): Add debug call.
2375         Handle feedmail-x-mailer-line being nil.
2376         (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
2377         Add debug call.  Use buffer-substring-no-properties.
2378         (feedmail-say-debug, feedmail-say-chatter): New functions.
2379         (feedmail-find-eoh): Give an explicit error.
2381 2011-05-13  Ulf Jasper  <ulf.jasper@web.de>
2383         * net/newst-treeview.el (newsticker-treeview-face): Change default
2384         family from helvetica to sans.
2385         (newsticker-treeview-tool-bar-map): Move tool-bar icons to
2386         etc/images/newsticker.
2388         * net/newst-reader.el (newsticker-feed-face): Change default
2389         family from helvetica to sans.
2391         * net/newst-plainview.el (newsticker-new-item-face)
2392         (newsticker-old-item-face, newsticker-immortal-item-face)
2393         (newsticker-obsolete-item-face, newsticker-date-face)
2394         (newsticker-statistics-face): Change default family from
2395         helvetica to sans.
2396         (newsticker--plainview-tool-bar-map): Move tool-bar icons to
2397         etc/images/newsticker.
2399         * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
2400         (newsticker--process-auto-mark-filter-match): : Tell user about
2401         auto-marking.
2403 2011-05-13  Didier Verna  <didier@xemacs.org>
2405         Common Lisp indentation improvements on defmethod and lambda-lists.
2406         * cl-indent.el: Advertise the changes and remove obsolete TODO entries.
2407         (lisp-lambda-list-keyword-parameter-indentation)
2408         (lisp-lambda-list-keyword-parameter-alignment)
2409         (lisp-lambda-list-keyword-alignment): New customizable user options.
2410         (lisp-indent-defun-method): Improve docstring.
2411         (extended-loop-p): Fix comment.
2412         (lisp-indent-lambda-list-keywords-regexp): New variable.
2413         (lisp-indent-lambda-list): New function.
2414         (lisp-indent-259): Use it.
2415         (lisp-indent-defmethod): Support for more than one
2416         method qualifier and properly indent methods lambda-lists.
2417         (defgeneric): Provide a missing common-lisp-indent-function property.
2419 2011-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
2421         * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
2422         bounds for the empty string (bug#8667).
2424 2011-05-13  Glenn Morris  <rgm@gnu.org>
2426         * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
2428         * mail/sendmail.el (sendmail-program): Try executable-find first.
2429         (sendmail-send-it): `sendmail-program' cannot be unbound.
2431         * calendar/appt.el (appt-make-list): Simplify.
2432         (appt-time-msg-list): Doc fix.
2433         (appt-check): Change mode-line message at the time of the appointment.
2435 2011-05-12  Andreas Schwab  <schwab@linux-m68k.org>
2437         * progmodes/ld-script.el (ld-script-keywords)
2438         (ld-script-builtins): Update keywords list.
2440 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
2442         * progmodes/grep.el (grep-filter): Don't trip on partial lines.
2444         * shell.el (shell-completion-vars): New function.
2445         (shell-mode):
2446         * simple.el (read-shell-command): Use it.
2447         (blink-matching-open): No need for " [...]" in minibuffer-message.
2449 2011-05-12  Glenn Morris  <rgm@gnu.org>
2451         * calendar/appt.el (appt-now-displayed): Remove pointless variable.
2452         (appt-check): Simplify.
2454 2011-05-12  Eli Zaretskii  <eliz@gnu.org>
2456         * smerge-mode.el (smerge-resolve): Use null-device rather than a
2457         literal "/dev/null".
2459 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
2461         * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
2462         Fix typo.
2464 2011-05-12  Ralph Schleicher  <rs@ralph-schleicher.de>
2466         * progmodes/which-func.el (which-function):
2467         Use add-log-current-defun instead of add-log-current-defun-function,
2468         which might not be defined (Bug#8260).
2470 2011-05-12  Glenn Morris  <rgm@gnu.org>
2472         * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
2473         Let byte-compile-initial-macro-environment always take precedence.
2475 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
2477         * net/rcirc.el: Add support for SSL/TLS connections.
2478         (rcirc-server-alist): New field `encryption'.
2479         (rcirc): Check `encryption' settings.
2480         (rcirc-connect): New arg `encryption'.  Use open-network-stream.
2481         Merge make-local-variable into `set'.
2482         (rcirc--connection-open-p): New function.
2483         (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
2484         the process is not a network process (e.g. running gnutls-cli).
2485         (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
2486         Make rcirc-(en|de)code-coding-system local here.
2487         (rcirc-mode): Merge make-local-variable into `set'.
2488         (rcirc-parent-buffer): Make permanent buffer-local.
2489         (rcirc-multiline-minor-mode): Don't do it here.
2490         (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
2491         there's no server buffer.
2493 2011-05-11  Glenn Morris  <rgm@gnu.org>
2495         * newcomment.el (comment-kill): Prefix "unused" local.
2497         * term/w32console.el (get-screen-color): Declare.
2499         * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
2500         Handle symbol elements of byte-compile-initial-macro-environment.
2502 2011-05-10  Leo Liu  <sdl.web@gmail.com>
2504         * bookmark.el (bookmark-bmenu-mode-map):
2505         Bind bookmark-bmenu-search to `/'.
2507         * mail/footnote.el: Convert to utf-8 encoding.
2508         (footnote-unicode-string, footnote-unicode-regexp): New variable.
2509         (Footnote-unicode): New function.
2510         (footnote-style-alist): Add unicode style to the list.
2511         (footnote-style): Doc fix.
2513 2011-05-10  Jim Meyering  <meyering@redhat.com>
2515         Fix doubled-word typos.
2516         * international/quail.el (quail-insert-kbd-layout): and and -> and
2517         * kermit.el: and and -> and
2518         * net/ldap.el (ldap-search-internal): to to -> to
2519         * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
2520         * progmodes/js.el (js-mode): and and -> and
2521         * textmodes/artist.el (artist-move-to-xy): at at -> at
2522         (artist-draw-region-trim-line-endings): if if -> if
2523         And Safetyc -> Safety.
2524         * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
2526 2011-05-10  Glenn Morris  <rgm@gnu.org>
2527             Stefan Monnier  <monnier@iro.umontreal.ca>
2529         * files.el (hack-one-local-variable-eval-safep):
2530         Consider "eval: (foo-mode)" to be safe.  (Bug#8613)
2532 2011-05-10  Glenn Morris  <rgm@gnu.org>
2534         * calendar/diary-lib.el (diary-list-entries-hook)
2535         (diary-mark-entries-hook, diary-nongregorian-listing-hook)
2536         (diary-nongregorian-marking-hook, diary-list-entries)
2537         (diary-include-other-diary-files, diary-mark-entries)
2538         (diary-mark-included-diary-files): Doc fixes.
2540 2011-05-09  Juanma Barranquero  <lekktu@gmail.com>
2542         * misc.el: Require tabulated-list.el during compilation.
2544 2011-05-09  Chong Yidong  <cyd@stupidchicken.com>
2546         * progmodes/compile.el (compilation-start):
2547         Run compilation-filter-hook for the async case too.
2548         (compilation-filter-hook): Doc fix.
2550 2011-05-09  Deniz Dogan  <deniz@dogan.se>
2552         * wdired.el: Remove outdated installation comment.  Fix usage
2553         comment.
2555 2011-05-09  Juanma Barranquero  <lekktu@gmail.com>
2557         * misc.el: Implement new command `list-dynamic-libraries'.
2558         (list-dynamic-libraries--loaded-only-p): New variable.
2559         (list-dynamic-libraries--refresh): New function.
2560         (list-dynamic-libraries): New command.
2562 2011-05-09  Chong Yidong  <cyd@stupidchicken.com>
2564         * progmodes/compile.el (compilation-error-regexp-alist-alist):
2565         Fix the ant regexp to handle end-line and end-column info from jikes.
2566         Re-introduce maven regexp.  Give the ruby-Test::Unit regexp a
2567         higher priority to avoid clobbering by gnu.
2569 2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
2571         * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
2572         if the face has existing theme settings (Bug#8454).
2574 2011-05-08  Ralph Schleicher  <rs@ralph-schleicher.de>
2576         * progmodes/perl-mode.el (perl-imenu-generic-expression):
2577         Only match variables declared via `my' or `our' (Bug#8261).
2579         * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
2580         special file names `.' and `..' (Bug#8259).
2582 2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
2584         * progmodes/grep.el (grep-mode-font-lock-keywords):
2585         Remove buffer-changing entries.
2586         (grep-filter): New function.
2587         (grep-mode): Add it to compilation-filter-hook.
2589         * progmodes/compile.el (compilation-filter-hook)
2590         (compilation-filter-start): New defvars.
2591         (compilation-filter): Call compilation-filter-hook prior to
2592         updating the process mark.
2594 2011-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2596         * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
2598 2011-05-07  Eli Zaretskii  <eliz@gnu.org>
2600         * mail/sendmail.el (send-mail-function): On MS-Windows, default to
2601         mailclient-send-it even if window-system is nil.  (Bug#8595)
2603         * term/w32console.el (terminal-init-w32console):
2604         Call get-screen-color and use its output to set the frame
2605         background-mode.  (Bug#8597)
2607 2011-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
2609         Make bytecomp.el understand that defmethod defines funs (bug#8631).
2610         * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
2611         New functions.
2612         (defgeneric, eieio--defmethod): Use them.
2613         (eieio-defgeneric): Remove.
2614         (defmethod): Call defgeneric in a way visible to the byte-compiler.
2616 2011-05-07  Glenn Morris  <rgm@gnu.org>
2618         * calendar/timeclock.el (timeclock-log-data): Remove unused local.
2619         Use let rather than let*.
2620         (timeclock-find-discrep): Remove unused local.
2622         * calendar/diary-lib.el (diary-comment-start): Doc fix.
2624         * calendar/appt.el (appt-time-msg-list): Doc fix.
2626 2011-05-06  Noah Friedman  <friedman@splode.com>
2628         * apropos.el (apropos-print-doc): Only use
2629         emacs-lisp-docstring-fill-column when it is bound to an integer,
2630         per that variable's documentation.
2632 2011-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
2634         * lpr.el (print-region-1): Echo lpr-program's output, so error messages
2635         and warnings are not silently discarded (e.g. use -d instead of -P).
2637 2011-05-06  Glenn Morris  <rgm@gnu.org>
2639         * calendar/appt.el (appt-message-warning-time): Doc fix.
2640         (appt-warning-time-regexp): New option.
2641         (appt-make-list): Respect appt-message-warning-time.
2643         * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
2644         New options.
2645         (diary-add-to-list): Strip comments from the displayed string.
2646         (diary-mode): Set comment-start and comment-end.
2648         * vc/diff-mode.el (smerge-refine-subst): Declare.
2649         (diff-refine-hunk): Don't require smerge-mode when compiling.
2651 2011-05-06  Juanma Barranquero  <lekktu@gmail.com>
2653         * simple.el (list-processes): Return nil as the docstring says.
2655 2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
2657         * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
2658         to "".
2659         (ange-ftp-write-region, ange-ftp-insert-file-contents)
2660         (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
2661         determining of binary transfer.  (Bug#7383)
2663 2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
2665         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2666         Fix port computation bug.  (Bug#8618)
2668 2011-05-05  Glenn Morris  <rgm@gnu.org>
2670         * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
2672         * simple.el (shell-dynamic-complete-functions)
2673         (comint-dynamic-complete-functions): Declare.
2675         * net/network-stream.el (gnutls-negotiate):
2676         * simple.el (tabulated-list-print): Fix declarations.
2678         * progmodes/gud.el (syntax-symbol, syntax-point):
2679         Remove unnecessary and incorrect declarations.
2681         * emacs-lisp/check-declare.el (check-declare-scan):
2682         Handle byte-compile-initial-macro-environment in bytecomp.el
2684 2011-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
2686         Fix earlier half-done eieio-defmethod change (bug#8338).
2687         * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
2688         Streamline and change calling convention.
2689         (defmethod): Adjust accordingly and simplify.
2690         (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
2691         new eieio--defmethod.
2692         (slot-boundp): Minor CSE simplification.
2694 2011-05-05  Milan Zamazal  <pdm@zamazal.org>
2696         * progmodes/glasses.el (glasses-separate-capital-groups): New option.
2697         (glasses-make-readable): Use glasses-separate-capital-groups.
2699 2011-05-05  Juanma Barranquero  <lekktu@gmail.com>
2701         * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
2702         (warning-series): Doc fix.
2703         (display-warning): Don't try to create the buffer if we just found it.
2705 2011-05-04  Chong Yidong  <cyd@stupidchicken.com>
2707         * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
2708         (autoload-find-generated-file): New function.
2709         (generate-file-autoloads): Bind generated-autoload-file to
2710         buffer-file-name.
2711         (update-file-autoloads, update-directory-autoloads):
2712         Use autoload-find-generated-file.  If called interactively, prompt for
2713         output file (Bug#7989).
2714         (batch-update-autoloads): Doc fix.
2716 2011-05-04  Juanma Barranquero  <lekktu@gmail.com>
2718         * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
2720 2011-05-04  Glenn Morris  <rgm@gnu.org>
2722         * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
2723         function, so it follows changes in calendar-date-style.
2724         (diary-fancy-date-matcher): New function.
2725         (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
2726         (diary-fancy-font-lock-fontify-region-function):
2727         Use diary-fancy-date-pattern as a function.
2729         * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
2730         non-numbers for `year' etc pseudo-variables.  (Bug#8583)
2732 2011-05-04  Teodor Zlatanov  <tzz@lifelogs.com>
2734         * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
2735         instead of positional arguments.  Allow :keylist and :crlfiles
2736         arguments.
2737         (open-gnutls-stream): Call it.
2739         * net/network-stream.el (network-stream-open-starttls): Adjust to
2740         call `gnutls-negotiate' with :process and :hostname arguments.
2742 2011-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
2744         * minibuffer.el (completion--message): New function.
2745         (completion--do-completion, minibuffer-complete)
2746         (minibuffer-force-complete, minibuffer-complete-word): Use it.
2747         (completion--do-completion): Don't ignore completion-auto-help when in
2748         icomplete-mode.
2750         * whitespace.el (whitespace-trailing-regexp): Don't rely on the
2751         internal encoding (e.g. tibetan zero is not whitespace).
2752         (global-whitespace-mode): Prefer save-current-buffer.
2753         (whitespace-trailing-regexp): Remove useless save-match-data.
2754         (whitespace-empty-at-bob-regexp): Minor simplification.
2756 2011-05-03  Chong Yidong  <cyd@stupidchicken.com>
2758         * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
2760 2011-05-03  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
2762         * textmodes/ispell.el (ispell-add-per-file-word-list):
2763         Use `concat' to create string for insertion.
2765 2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
2767         * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
2768         Avoid open-line which runs post-self-insert-hook.
2769         (bibtex-fill-entry): Remove unused `end' var.
2771 2011-05-03  Dirk Ullrich  <dirk.ullrich@googlemail.com>  (tiny change)
2773         * textmodes/ispell.el (ispell-add-per-file-word-list):
2774         Protect against `nil' value of `comment-start' (Bug#8579).
2776 2011-05-03  Leo Liu  <sdl.web@gmail.com>
2778         * isearch.el (isearch-yank-pop): New command.
2779         (isearch-mode-map): Bind it to `M-y'.
2780         (isearch-forward): Mention it.
2782 2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
2784         * simple.el (minibuffer-complete-shell-command): Remove.
2785         (minibuffer-local-shell-command-map): Use completion-at-point.
2786         (read-shell-command): Setup completion vars here instead.
2787         (read-expression-map): Bind TAB to symbol completion.
2789         * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
2790         error directly rather via storing it into `results'.
2792 2011-05-02  Leo Liu  <sdl.web@gmail.com>
2794         * vc/diff.el: Fix description.
2796 2011-05-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2798         * server.el (server-eval-at): New function.
2800 2011-05-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2802         * net/network-stream.el (open-network-stream): Take a :nowait
2803         parameter and pass it on to `make-network-process'.
2804         (network-stream-open-plain): Ditto.
2806 2011-04-30  Andreas Schwab  <schwab@linux-m68k.org>
2808         * faces.el (face-spec-set-match-display): Don't match toolkit
2809         options on terminal frames.
2811 2011-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
2813         * progmodes/pascal.el: Use lexical binding.
2814         (pascal-mode-map): Remove author preferences.
2816         * pcomplete.el (pcomplete-std-complete): Don't abuse
2817         completion-at-point.
2819 2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
2821         * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
2822         removing code that has been dead since 1991 or so.
2824         * startup.el (command-line): When warning about "_emacs", use a
2825         delayed warning to allow the user to filter it out.
2827 2011-04-28  Deniz Dogan  <deniz@dogan.se>
2829         * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
2830         user has not joined.
2832 2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
2834         * pcomplete.el (pcomplete-completions-at-point): Return nil if there
2835         aren't any completions at point.
2837 2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
2839         * subr.el (display-delayed-warnings): New function.
2840         (delayed-warnings-hook): New variable.
2842 2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
2844         * minibuffer.el (completion-at-point, completion-help-at-point):
2845         Don't presume that a given completion-at-point-function will always
2846         use the same calling convention.
2848         * pcomplete.el (pcomplete-completions-at-point):
2849         Obey pcomplete-ignore-case.  Don't call pcomplete-norm-func unless
2850         pcomplete-seen is non-nil.
2851         (pcomplete-comint-setup): Also recognize the new comint/shell
2852         completion functions.
2853         (pcomplete-do-complete): Don't call pcomplete-norm-func unless
2854         pcomplete-seen is non-nil.
2856 2011-04-27  Niels Giesen  <niels.giesen@gmail.com>
2858         * calendar/icalendar.el (diary-lib): Add require statement.
2859         (icalendar--create-uid): Read out a uid from a text-property on
2860         the first character in the entry.  This allows for code to add its
2861         own uid to the entry.
2862         (icalendar--convert-float-to-ical): Add export of
2863         `diary-float'-entries save for those with the optional DAY
2864         argument.
2866 2011-04-27  Daniel Colascione  <dan.colascione@gmail.com>
2868         * subr.el (shell-quote-argument): Use alternate escaping strategy
2869         when we spot a variable reference in a string.
2871 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
2873         * cus-start.el (all): Define customization for debug-on-event.
2875 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
2877         * subr.el (shell-quote-argument): Escape correctly under Windows.
2879 2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
2881         * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
2883 2011-04-25  Michael Albinus  <michael.albinus@gmx.de>
2885         * net/tramp.el (tramp-process-actions): Add POS argument.
2886         Delete region between POS and (pos).
2888         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2889         Use `nil' position in `tramp-process-actions' call.
2890         (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
2892         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
2893         position in `tramp-process-actions' call.
2895         * net/trampver.el: Update release number.
2897 2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
2899         * custom.el (defcustom): Obey lexical-binding.
2901         Fix octave-inf completion problems reported by Alexander Klimov.
2902         * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
2903         Inherit from octave-mode-syntax-table.
2904         (inferior-octave-mode): Set info-lookup-mode.
2905         (inferior-octave-completion-at-point): New function.
2906         (inferior-octave-complete): Use it and completion-in-region.
2907         (inferior-octave-dynamic-complete-functions): Use it as well, and use
2908         comint-filename-completion.
2909         * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
2910         symbol elements which shouldn't be word elements.
2911         (octave-font-lock-keywords, octave-beginning-of-defun)
2912         (octave-function-header-regexp): Adjust regexps accordingly.
2913         (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
2915 2011-04-25  Juanma Barranquero  <lekktu@gmail.com>
2917         * net/gnutls.el (gnutls-errorp): Declare before first use.
2919 2011-04-24  Teodor Zlatanov  <tzz@lifelogs.com>
2921         * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
2922         verify-error, and verify-hostname-error parameters.  Check whether
2923         default trustfile exists before going to use it.  Add missing
2924         argument to gnutls-message-maybe call.  Return return value.
2925         Reported by Claudio Bley <claudio.bley@gmail.com>.
2926         (open-gnutls-stream): Add usage example.
2928         * net/network-stream.el (network-stream-open-starttls): Give host
2929         parameter to `gnutls-negotiate'.
2930         (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
2931         * subr.el (shell-quote-argument): Escape correctly under Windows.
2933 2011-04-24  Daniel Colascione  <dan.colascione@gmail.com>
2935         * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
2936         Use correct match group (bug#8438).
2938 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
2940         * emacs-lisp/package.el (package-built-in-p): Fix typo.
2941         (package-menu--generate): New arg specifying packages to show.
2942         (package-menu-refresh, package-menu-execute, list-packages):
2943         Callers changed.
2944         (package-show-package-list): New function, replacing deleted
2945         package--list-packages (renamed because it is non-internal).
2947         * finder.el (finder-list-matches): Use package-show-package-list
2948         instead of deleted package--list-packages.
2950         * vc/vc-annotate.el (vc-annotate-goto-line): New command.
2951         Based on a previous implementation by Juanma Barranquero (Bug#8366).
2952         (vc-annotate-mode-map): Bind it to RET.
2954 2011-04-24  Uday S Reddy  <u.s.reddy@cs.bham.ac.uk>  (tiny change)
2956         * progmodes/etags.el (next-file): Don't use set-buffer to change
2957         buffers (Bug#8478).
2959 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
2961         * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
2963         * apropos.el (apropos-label-face): Avoid variable-pitch face.
2964         (apropos-accumulator): Doc fix.
2965         (apropos-function, apropos-macro, apropos-command)
2966         (apropos-variable, apropos-face, apropos-group, apropos-widget)
2967         (apropos-plist): Add face property.
2968         (apropos-symbols-internal): Fix indentation.
2969         (apropos-print): Simplify help, and recognize apropos-multi-type.
2970         (apropos-print-doc): Use button-type-get to extract the button's
2971         face property.  Fill docstring (Bug#8352).
2973 2011-04-23  Juanma Barranquero  <lekktu@gmail.com>
2975         * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
2977         * play/mpuz.el (mpuz-silent): Doc fix.
2978         (mpuz-mode-map): Use mapc.
2979         (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
2980         (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
2981         Fix typos in docstrings.
2983         * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
2984         (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
2986         * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
2988 2011-04-23  Chong Yidong  <cyd@stupidchicken.com>
2990         * minibuffer.el (completion--do-completion): Avoid the "Next char
2991         not unique" prompt if icomplete-mode is enabled (Bug#5849).
2993         * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
2994         mouse-2 into unread-command-events, it is interpreted correctly.
2996         * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
2997         (image-toggle-display): Doc fix.
2999 2011-04-23  Stephen Berman  <stephen.berman@gmx.net>
3001         * textmodes/page.el (what-page): Use line-number-at-pos to
3002         calculate line number (Bug#6825).
3004 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
3006         * eshell/esh-mode.el (find-tag-interactive): Declare function.
3007         (eshell-find-tag): Remove `with-no-warnings', unneeded now.
3008         Pass argument NO-DEFAULT to `find-tag-interactive'.
3010 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
3012         Lexical-binding cleanup.
3014         * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
3015         (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
3016         * progmodes/ada-prj.el (ada-prj-initialize-values)
3017         (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
3018         (ada-prj-show-value):
3019         * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
3020         * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
3021         (antlr-invalidate-context-cache, antlr-options-menu-filter)
3022         (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
3023         * progmodes/bug-reference.el (bug-reference-push-button):
3024         * progmodes/fortran.el (fortran-line-length):
3025         * progmodes/glasses.el (glasses-change):
3026         * progmodes/octave-mod.el (octave-fill-paragraph):
3027         * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
3028         (python-pdbtrack-grub-for-buffer, python-sentinel):
3029         * progmodes/sql.el (sql-save-connection):
3030         * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
3031         * progmodes/xscheme.el (xscheme-enter-debugger-mode):
3032         Mark unused parameters.
3034         * progmodes/compile.el (compilation--flush-directory-cache)
3035         (compilation--flush-parse, compile-internal): Mark unused parameters.
3036         (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
3037         (compilation-next-error-function): Remove unused variable `timestamp'.
3039         * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
3040         (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
3042         * progmodes/dcl-mode.el (dcl-end-of-command):
3043         Remove unused variable `start'.
3044         (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
3045         (dcl-option-value-basic, dcl-option-value-offset)
3046         (dcl-option-value-margin-offset, dcl-option-value-comment-line):
3047         Mark unused parameters.
3048         (dcl-save-local-variable): Remove unused variable `val'.
3049         (mode): Declare.
3051         * progmodes/delphi.el (delphi-save-state, delphi-after-change):
3052         Mark unused parameters.
3053         (delphi-ignore-changes): Move before first use.
3054         (delphi-charset-token-at): Remove unused variable `start'.
3055         (delphi-else-start): Remove unused variable `if-count'.
3056         (delphi-comment-block-start, delphi-comment-block-end):
3057         Remove unused variable `kind'.
3058         (delphi-indent-line): Remove unused variable `new-point'.
3060         * progmodes/ebrowse.el (ebrowse-files-list)
3061         (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
3062         Mark unused parameters.  Don't quote `lambda'.
3063         (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
3064         Don't quote `lambda'.
3065         (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
3066         (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
3067         (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
3068         (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
3069         Use `ignore-errors'.
3070         (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
3071         (ebrowse-view/find-file-and-search-pattern)
3072         (ebrowse-view/find-member-declaration/definition):
3073         Rename parameter TAGS-FILE-NAME to TAGS-FILE.
3074         (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
3075         Rename parameter PREFIX-ARG to PREFIX.
3076         (ebrowse-tags-read-name): Remove unused variables `start' and
3077         `member-info'.
3078         (ebrowse-display-member-buffer): Rename variable `tags-file-name'
3079         to `tags-file'.
3081         * progmodes/etags.el (local-find-tag-hook): Declare.
3082         (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
3083         Mark unused parameters.
3085         * progmodes/executable.el (compilation-error-regexp-alist): Declare.
3086         (executable-interpret): Mark unused parameter.
3088         * progmodes/flymake.el (flymake-process-sentinel)
3089         (flymake-after-change-function)
3090         (flymake-create-temp-with-folder-structure)
3091         (flymake-get-include-dirs-dot): Mark unused parameters.
3092         (flymake-safe-delete-directory): Remove unused variable `err'.
3094         * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
3095         (speedbar-timer-fn, speedbar-line-text)
3096         (speedbar-change-expand-button-char, speedbar-delete-subblock)
3097         (speedbar-center-buffer-smartly): Declare functions.
3098         (gdb-find-watch-expression): Remove unused variable `array'.
3099         (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
3100         (gdb-starting): Mark unused parameters.
3101         (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
3102         (gdb-table-string): Remove unused variable `res'.
3103         (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
3104         (gdb-disassembly-handler-custom): Remove unused variable `pos'.
3105         (gdb-display-buffer): Remove unused variable `cur-size'.
3107         * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
3108         allow lexical-binding compilation.
3109         (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
3110         (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
3111         (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
3112         Mark unused parameters.
3113         (gud-gdb-marker-filter): Remove unused variable `match'.
3114         (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
3115         lambda expressions and funcall them, instead of using `fset'.
3117         * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
3118         HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
3120         * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
3121         variable `header-beg'; use `let'.
3123         * progmodes/icon.el (indent-icon-exp): Remove unused variables
3124         `restart', `last-sexp' and `at-do'.
3126         * progmodes/js.el (js--debug): Mark unused parameter.
3127         (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
3128         (js--splice-into-items): Remove unused variable `item'.
3129         (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
3131         * progmodes/make-mode.el (makefile-make-font-lock-keywords):
3132         Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
3133         (makefile-complete): Remove unused variable `try'.
3134         (makefile-fill-paragraph, makefile-match-function-end):
3135         Mark unused parameters.
3137         * progmodes/octave-inf.el (inferior-octave-complete):
3138         Remove unused variable `proc'.
3139         (inferior-octave-output-digest): Mark unused parameter.
3141         * progmodes/perl-mode.el (perl-calculate-indent):
3142         Remove unused variable `err'.
3144         * progmodes/prolog.el (prolog-mode-keybindings-inferior)
3145         (prolog-indent-line): Mark unused parameters.
3146         (prolog-indent-line): Remove unused variable `beg'.
3148         * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
3149         (reporter-dont-compact-list): Declare.
3151         * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
3152         Remove unused variable `char'.
3153         (sh-debug): Mark unused parameter.
3154         (sh-get-indent-info): Remove unused variable `start'.
3155         (sh-calculate-indent): Remove unused variable `var'.
3157         * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
3158         (simula-electric-keyword): Remove unused variable `null'.
3159         (simula-search-backward, simula-search-forward): Remove unused
3160         variables `begin' and `end'.
3162         * progmodes/vera-mode.el (vera-guess-basic-syntax):
3163         Remove unused variable `pos'.
3164         (vera-electric-tab, vera-comment-uncomment-region):
3165         Mark unused parameters.
3166         (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
3168 2011-04-22  Chong Yidong  <cyd@stupidchicken.com>
3170         * emacs-lisp/package.el (package--builtins, package-alist)
3171         (package-load-descriptor, package-built-in-p, package-activate)
3172         (define-package, package-installed-p)
3173         (package-compute-transaction, package-buffer-info)
3174         (package--push): Doc fix.  Distinguish more clearly between
3175         version strings and version lists.
3177 2011-04-21  Juanma Barranquero  <lekktu@gmail.com>
3179         Lexical-binding cleanup.
3181         * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
3182         (5x5-make-mutate-best):
3183         * play/fortune.el (fortune-in-buffer):
3184         * play/gomoku.el (gomoku-init-display):
3185         * play/solitaire.el (solitaire, solitaire-do-check):
3186         * play/tetris.el (tetris-default-update-speed-function):
3187         Mark unused parameters.
3189         * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
3190         (bubbles--shift): Remove unused variable `char-org'.
3191         (bubbles--set-faces): Remove unused variable `fg-col'.  Simplify.
3192         (bubbles--show-images): Remove unused variable `char'.
3194         * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
3195         (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
3196         (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
3197         (decipher-analyze-buffer): Use ?\s.
3198         (decipher-make-checkpoint): Remove unused variable `mapping'.
3200         * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
3202         * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
3203         Remove unused variable `result'; use `let'.
3205         * play/gametree.el (gametree-current-layout, gametree-apply-layout):
3206         Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
3207         (gametree-children-shown-p, gametree-compute-reduced-score):
3208         Use `ignore-errors'.
3210         * play/handwrite.el (ps-lpr-switches): Declare.
3211         (handwrite): Remove unused variables `pmin' and `lastp'.
3213         * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
3215         * play/landmark.el (landmark-init-display)
3216         (landmark-update-naught-weights): Mark unused parameters.
3217         (landmark-y): Remove unused variable `noise'.  Simplify.
3218         (landmark-human-plays): Remove unused variable `score'.
3220         * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
3221         (mpuz-try-proposal): Remove unused variable `game'.
3223         * play/zone.el (life-patterns): Declare.
3225 2011-04-20  Juanma Barranquero  <lekktu@gmail.com>
3227         * vc/vc.el (ediff-vc-internal): Declare function.
3229 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
3231         * shell.el: Use lexical-binding and std completion UI.
3232         (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
3233         (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
3234         comint-preoutput-filter-functions rather than on
3235         comint-output-filter-functions.
3236         (shell-command-completion, shell--command-completion-data)
3237         (shell-filename-completion, shell-environment-variable-completion)
3238         (shell-c-a-p-replace-by-expanded-directory): New functions.
3239         (shell-dynamic-complete-functions, shell-dynamic-complete-command)
3240         (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
3241         (shell-dynamic-complete-environment-variable): Use them.
3242         (shell-dynamic-complete-as-environment-variable)
3243         (shell-dynamic-complete-as-command): Remove.
3244         (shell-match-partial-variable): Match past point.
3245         * comint.el: Clean up use of completion-at-point-functions.
3246         (comint-completion-at-point): New function.
3247         (comint-mode): Use it completion-at-point-functions.
3248         (comint-dynamic-complete): Make it obsolete.
3249         (comint-replace-by-expanded-history-before-point): Add dry-run arg.
3250         (comint-c-a-p-replace-by-expanded-history): New function.
3251         (comint-dynamic-complete-functions)
3252         (comint-replace-by-expanded-history): Use it.
3253         * minibuffer.el (completion-table-with-terminator): Allow dynamic
3254         termination strings.  Try harder to avoid second try-completion.
3255         (completion-in-region-mode-map): Disable bindings that don't work yet.
3257         * comint.el: Use lexical-binding.  Require CL.
3258         (comint-dynamic-complete-functions): Use comint-filename-completion.
3259         (comint-completion-addsuffix): Tweak custom type.
3260         (comint-filename-completion, comint--common-suffix)
3261         (comint--common-quoted-suffix, comint--table-subvert)
3262         (comint--complete-file-name-data): New functions.
3263         (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
3264         (comint-dynamic-list-filename-completions): Use them.
3265         (comint-dynamic-simple-complete): Make obsolete.
3267         * minibuffer.el (completion-in-region-mode):
3268         Keep completion-in-region-mode--predicate global.
3269         (completion-in-region--postch):
3270         Assume completion-in-region-mode--predicate is not null.
3272         * progmodes/flymake.el (flymake-start-syntax-check-process):
3273         Obey `dir'.  Simplify.
3275         * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
3276         we're in VC after all.
3278 2011-04-20  Christoph Scholtes  <cschol2112@googlemail.com>
3280         * vc/vc.el (vc-diff-build-argument-list-internal)
3281         (vc-version-ediff, vc-ediff): New commands.
3282         (vc-version-diff): Use vc-diff-build-argument-list-internal.
3284 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
3286         * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
3287         add sanity check.
3289         * obsolete/erc-hecomplete.el: Make obsolete.
3290         * obsolete/: Standardize obsolescence info in the header.
3292 2011-04-20  Glenn Morris  <rgm@gnu.org>
3294         * calendar/solar.el (solar-horizontal-coordinates):
3295         Use the longitude argument rather than `calendar-longitude'.
3296         (solar-date-next-longitude): Remove unused locals.
3298 2011-04-20  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
3300         * whitespace.el: New version 13.2.1.
3302 2011-04-20  felix  <EmacsWiki>  (tiny change)
3304         * whitespace.el (global-whitespace-mode): Keep highlight when
3305         switching between major modes on a file.
3307 2011-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
3309         * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
3310         (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
3311         multi-line comments as well.
3313 2011-04-19  Juanma Barranquero  <lekktu@gmail.com>
3315         Lexical-binding cleanup.
3317         * arc-mode.el (archive-mode-revert):
3318         * cmuscheme.el (scheme-interactively-start-process):
3319         * custom.el (custom-initialize-delay):
3320         * dnd.el (dnd-open-local-file, dnd-open-remote-url):
3321         * dos-w32.el (direct-print-region-helper, direct-print-region-function):
3322         * emacs-lock.el (emacs-lock-clear-sentinel):
3323         * ezimage.el (defezimage):
3324         * follow.el (follow-avoid-tail-recenter):
3325         * fringe.el (set-fringe-mode-1):
3326         * generic-x.el (bat-generic-mode-compile):
3327         * help-mode.el (help-info-variable, help-do-xref)
3328         (help-mode-revert-buffer):
3329         * help.el (view-emacs-todo):
3330         * iswitchb.el (iswitchb-completion-help):
3331         * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
3332         * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
3333         (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
3334         * locate.el (locate-update):
3335         * longlines.el (longlines-encode-region)
3336         (longlines-after-change-function):
3337         * outline.el (outline-isearch-open-invisible):
3338         * ps-def.el (declare-function, charset-dimension, char-width)
3339         (encode-char):
3340         * ps-mule.el (ps-mule-plot-string):
3341         * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
3342         (recentf-edit-list-select, recentf-edit-list-validate)
3343         (recentf-open-files-action):
3344         * rect.el (delete-whitespace-rectangle-line)
3345         (rectangle-number-line-callback):
3346         * register.el (window-configuration-to-register)
3347         (frame-configuration-to-register):
3348         * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
3349         * select.el (xselect-convert-to-string, xselect-convert-to-length)
3350         (xselect-convert-to-targets, xselect-convert-to-delete)
3351         (xselect-convert-to-filename, xselect-convert-to-charpos)
3352         (xselect-convert-to-lineno, xselect-convert-to-colno)
3353         (xselect-convert-to-os, xselect-convert-to-host)
3354         (xselect-convert-to-user, xselect-convert-to-class)
3355         (xselect-convert-to-name, xselect-convert-to-integer)
3356         (xselect-convert-to-atom, xselect-convert-to-identity):
3357         * subr.el (declare, ignore, process-kill-without-query)
3358         (text-clone-maintain):
3359         * terminal.el (te-get-char, te-tic-sentinel):
3360         * tool-bar.el (tool-bar-make-keymap):
3361         * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
3362         * type-break.el (type-break-mode, type-break-noninteractive-query):
3363         * view.el (View-back-to-mark):
3364         * wid-browse.el (widget-browse-action, widget-browse-widget)
3365         (widget-browse-widgets, widget-browse-sexp):
3366         * widget.el (define-widget-keywords):
3367         * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
3368         Mark unused parameters.
3370         * align.el (align-adjust-col-for-rule): Mark unused parameter.
3371         (align-areas): Remove unused variable `look'.
3372         (align-region): Remove unused variables `real-end' and `pos-list'.
3374         * apropos.el (apropos-score-doc): Remove unused variable `i'.
3376         * bindings.el (mode-line-modified, mode-line-remote):
3377         Mark unused parameters.
3378         (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
3380         * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
3381         (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
3383         * comint.el (comint-history-isearch-pop-state)
3384         (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
3385         (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
3386         (comint-substitute-in-file-name): Doc fix.
3388         * completion.el (cmpl-statistics-block): Mark unused parameter.
3389         (add-completions-from-tags-table, add-completions-from-lisp-buffer)
3390         (save-completions-to-file, load-completions-from-file):
3391         Remove unused local variable `e'.
3393         * composite.el (compose-chars): Remove unused variable `len'.
3394         (lgstring-insert-glyph): Remove unused variable `g'.
3395         (compose-glyph-string): Remove unused variables `ascent',
3396         `descent', `lbearing' and `rbearing'.
3397         (compose-glyph-string-relative): Remove unused variables
3398         `lbearing', `rbearing' and `wadjust'.
3399         (compose-gstring-for-graphic): Remove unused variables `header',
3400         `wadjust', `xoff' and `yoff'.  Use `let', not `let*'.
3401         (compose-gstring-for-terminal): Remove unused variables `header'
3402         and `nchars'.  Use `let', not `let*'.
3404         * cus-edit.el (Custom-set, Custom-save, custom-reset)
3405         (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
3406         (Custom-buffer-done, custom-buffer-create-internal)
3407         (custom-browse-visibility-action, custom-browse-group-tag-action)
3408         (custom-browse-variable-tag-action, custom-browse-face-tag-action)
3409         (widget-magic-mouse-down-action, custom-toggle-parent)
3410         (custom-add-parent-links, custom-toggle-hide-variable)
3411         (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
3412         (custom-toggle-hide-face, face, hook, custom-group-link-action)
3413         (custom-face-menu-create, custom-variable-menu-create, get)
3414         (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
3415         (custom-reset-standard-save-and-update): Remove unused variable `value'.
3416         (customize-apropos): Remove unused variable `tests'.
3417         (custom-group-value-create): Remove unused variable `hidden-p'.
3418         (sort-fold-case): Declare.
3420         * cus-theme.el (custom-reset-standard-faces-list)
3421         (custom-reset-standard-variables-list): Declare.
3422         (customize-create-theme, custom-theme-revert, custom-theme-write)
3423         (custom-theme-choose-mode, customize-themes, custom-theme-save):
3424         Mark unused parameters.
3426         * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
3428         * delim-col.el (delimit-columns-max): Move defvar before first use.
3430         * descr-text.el (describe-char-categories): Don't quote `lambda'.
3431         (describe-char): Don't quote `lambda'.  Mark unused parameter.
3433         * desktop.el (desktop-save-buffer-p): Mark unused parameter.
3434         (auto-insert): Declare.
3435         (desktop-restore-file-buffer): Rename desktop-* parameters;
3436         mark unused ones.
3437         (desktop-create-buffer): Rename desktop-* parameters and bind them.
3438         (desktop-buffer): Rename desktop-* parameters.
3440         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
3441         (dframe-reposition-frame-xemacs, dframe-help-echo)
3442         (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
3443         Mark unused parameters.
3445         * dired-aux.el (backup-extract-version-start, overwrite-query)
3446         (overwrite-backup-query, rename-regexp-query)
3447         (rename-non-directory-query): Declare.
3448         (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
3449         (dired-add-entry): Remove unused variable `orig-file-name'.
3450         (dired-copy-file-recursive): Remove unused variable `dirfailed'.
3451         Use parameter PRESERVE-TIME instead of accessing dynamic variable
3452         `dired-copy-preserve-time' directly.
3453         (dired-do-create-files-regexp): Remove unused variable `fn-count'.
3454         (dired-insert-subdir-newpos): Rename unused variable `pos'.
3456         * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
3457         (dired-virtual-revert, dired-make-relative-symlink):
3458         Mark unused parameters.
3459         (manual-program): Declare.
3460         (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
3461         (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
3462         wrapped in `with-no-warnings' to avoid replacing one warning by another.
3464         * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
3466         * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
3468         * echistory.el (electric-history-in-progress, Helper-return-blurb):
3469         Declare.
3471         * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
3473         * electric.el (Electric-command-loop): Rename parameter
3474         INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
3476         * expand.el (expand-in-literal): Remove unused variable `here'.
3478         * facemenu.el (facemenu-add-new-color):
3479         Remove unused variable `docstring'.
3481         * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
3482         (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
3483         (face-attr-construct): Mark unused parameter.  Doc fix.
3484         (read-color): Remove unused variable `hex-string'.
3486         * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
3487         (locate-dominating-file): Remove unused vars `prev-file' and `user'.
3488         (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
3489         (display-buffer-other-frame): Remove unused variable `old-window'.
3490         (kill-buffer-hook): Declare.
3491         (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
3492         Mark unused parameters.
3493         (after-find-file): Pass 1 to `auto-save-mode', not t.
3495         * files-x.el (auto-insert): Declare.
3496         (modify-file-local-variable-prop-line): Remove unused variable `val'.
3498         * find-lisp.el (find-lisp-find-dired-internal): Remove unused
3499         variable `buf'.  Mark unused parameter.
3500         (find-lisp-insert-directory): Mark unused parameter.
3502         * format.el (format-decode-run-method): Mark unused parameter; doc fix.
3503         (format-encode-region): Remove unused variables `cur-buf' and `result'.
3504         (format-common-tail): Remove, unused.
3505         (format-deannotate-region): Remove unused variable `loc'.
3506         (format-annotate-region): Remove unused variable `p'.
3507         (format-annotate-single-property-change): Remove unused variables
3508         `default' and `tail'.
3510         * forms.el (read-file-filter): Declare.
3511         (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
3513         * frame.el (frame-creation-function-alist): Mark unused parameter.
3514         (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
3516         * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
3517         Remove unused parameters.
3518         (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
3519         (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
3521         * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
3522         (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
3523         (hfy-prepare-tag-map): Mark unused parameters.
3524         (htmlfontify-buffer): Use `called-interactively-p'.
3526         * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
3527         (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
3528         (ibuffer-do-occur): Mark unused parameters.
3529         (ibuffer-forward-next-marked): Remove unused variable `curmark'.
3530         (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
3532         * ibuffer.el: Don't quote `lambda'.
3533         (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
3534         (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
3535         Mark unused parameters.
3537         * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
3538         (ido-completing-read): Mark unused parameters.
3539         (ido-copy-current-word): Mark unused parameters;
3540         remove unused variable `name'.
3541         (ido-sort-merged-list): Remove unused parameter `dirs'.
3543         * ielm.el (ielm-input-sender): Mark unused parameter.
3544         (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
3545         (ielm-output, ielm-wbuf, ielm-pmark): Declare.
3546         (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
3547         `ielm-string' as a dynamic variable accessible from the IELM prompt.
3548         Bind `ielm-string' to INPUT-STRING.  Remove unused variable `err'.
3550         * image-dired.el (image-dired-display-thumbs): Remove unused
3551         variables `curr-file' and `count'.
3552         (image-dired-remove-tag): Remove unused variable `start'.
3553         (image-dired-tag-files, image-dired-create-thumbs): Remove unused
3554         variable `curr-file'
3555         (image-dired-rotate-original): Remove unused variable `temp-file'.
3556         (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
3557         Remove unused variable `file'.
3558         (image-dired-gallery-generate): Remove unused variable `curr'.
3559         (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
3561         * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
3563         * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
3565         * informat.el (texinfo-command-start, texinfo-command-end): Declare.
3567         * isearch.el (minibuffer-history-symbol): Declare.
3568         (isearch-edit-string): Remove unused variable `err'.
3569         (isearch-message-prefix, isearch-message-suffix):
3570         Mark unused parameters.
3572         * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
3574         * macros.el (insert-kbd-macro): Remove unused variable `mods'.
3576         * makesum.el (double-column): Remove unused variable `cnt'.
3578         * misearch.el (multi-isearch-pop-state): Mark unused parameter.
3579         (ido-ignore-item-temp-list): Declare.
3581         * mouse-drag.el (mouse-drag-throw): Remove unused variables
3582         `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
3583         `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
3584         (mouse-drag-drag): Remove unused variables `mouse-delta' and
3585         `mouse-col-delta'.
3587         * mouse-sel.el (mouse-extend-internal):
3588         Remove unused variable `orig-window-frame'.
3590         * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
3591         (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
3592         Move declarations before first use.
3593         (pcomplete-opt): Mark unused parameters; doc fix.
3595         * proced.el (proced-revert): Mark unused parameter.
3596         (proced-send-signal): Remove unused variable `err'.
3598         * ps-print.el (ps-print-preprint-region, ps-print-preprint):
3599         Rename parameter PREFIX-ARG to ARG.
3600         (ps-basic-plot-string, ps-basic-plot-whitespace):
3601         Mark unused parameters.
3603         * replace.el (replace-count): Define.
3604         (occur-revert-function): Mark unused parameters.
3605         (ido-ignore-item-temp-list, isearch-error, isearch-forward)
3606         (isearch-case-fold-search, isearch-string): Declare.
3607         (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
3608         bind `case-fold-search'.  Remove unused variables `beg' and `end',
3609         and simplify.
3610         (replace-eval-replacement): Rename parameter REPLACE-COUNT to
3611         COUNT and bind `replace-count'.
3612         (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
3613         to COUNT.
3615         * savehist.el (print-readably, print-string-length): Declare.
3617         * shadowfile.el (shadow-expand-cluster-in-file-name):
3618         Remove unused variable `cluster'.
3619         (shadow-copy-file): Remove unused variable `i'.
3620         (shadow-noquery, shadow-clusters, shadow-site-cluster)
3621         (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
3622         (shadow-define-literal-group, shadow-define-regexp-group)
3623         (shadow-make-group, shadow-shadows-of): Clean up docstrings.
3625         * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
3626         (shell): Use `called-interactively-p'.
3627         (shell-directory-tracker): Remove unused variable `chdir-failure'.
3629         * simple.el (compilation-context-lines, comint-file-name-quote-list)
3630         (comint-file-name-chars, comint-delimiter-argument-list): Declare.
3631         (delete-backward-char): Remove unused variable `ocol'.
3632         (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
3633         (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
3634         (event-apply-hyper-modifier, event-apply-shift-modifier)
3635         (event-apply-control-modifier, event-apply-meta-modifier):
3636         Mark unused parameters.
3637         (undo-make-selective-list): Remove duplicate variable `undo-elt'.
3638         (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
3640         * speedbar.el (speedbar-ignored-directory-expressions)
3641         (speedbar-supported-extension-expressions, speedbar-directory-buttons)
3642         (speedbar-find-file, speedbar-dir-follow)
3643         (speedbar-directory-buttons-follow, speedbar-tag-find)
3644         (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
3645         (speedbar-buffers-line-directory, speedbar-buffer-click):
3646         Mark unused parameters.
3647         (speedbar-tag-file): Remove unused variable `mode'.
3648         (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
3650         * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
3652         * talk.el (talk): Remove unused variable `display'.
3654         * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
3655         (tar-write-region-annotate): Mark unused parameter.
3657         * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
3658         (minutes, seconds, time-zone, day, year, monthname, month, dayname):
3659         Declare them, wrapped in `with-no-warnings' to avoid replacing one
3660         warning by another.
3662         * time-stamp.el (time-stamp-string-preprocess):
3663         Remove unused variable `require-padding'.
3665         * tree-widget.el (widget-glyph-enable): Declare.
3666         (tree-widget-action): Mark unused parameter.
3668         * w32-fns.el (x-get-selection): Mark unused parameter.
3669         (autoload-make-program, generated-autoload-file): Declare.
3671         * wdired.el (wdired-revert): Mark unused parameters.
3672         (wdired-xcase-word): Remove unused variable `err'.
3674         * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
3675         (whitespace-help-scroll): Remove unused variable `data-help'.
3677         * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
3678         (widget-image-insert, widget-after-change, default)
3679         (widget-default-format-handler, widget-default-notify)
3680         (widget-default-prompt-value, widget-info-link-action)
3681         (widget-url-link-action, widget-function-link-action)
3682         (widget-variable-link-action, widget-file-link-action)
3683         (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
3684         (widget-field-prompt-internal, widget-field-action, widget-field-match)
3685         (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
3686         (widget-insert-button-action, widget-delete-button-action, visibility)
3687         (widget-documentation-link-action, widget-documentation-string-action)
3688         (widget-const-prompt-value, widget-regexp-match, symbol)
3689         (widget-coding-system-prompt-value)
3690         (widget-key-sequence-value-to-external, sexp)
3691         (widget-sexp-value-to-internal, character, vector, cons)
3692         (widget-choice-prompt-value, widget-boolean-prompt-value)
3693         (widget-color--choose-action): Mark unused parameters.
3694         (widget-item-match-inline, widget-choice-match-inline)
3695         (widget-checklist-match, widget-checklist-match-inline)
3696         (widget-group-match): Rename parameter VALUES to VALS.
3697         (widget-field-value-set): Remove unused variable `size'.
3698         (widget-color-action): Remove unused variables `value' and `start'.
3700         * windmove.el (windmove-wrap-loc-for-movement): Remove unused
3701         variable `dir'.  Doc fix.
3702         (windmove-find-other-window): Don't pass it.
3704         * window.el (count-windows): Mark unused parameter.
3705         (bw-adjust-window): Remove unused variable `err'.
3707         * woman.el (woman-file-name): Remove unused variable `default'.
3708         (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
3709         WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
3710         (global-font-lock-mode): Declare.
3711         (woman-decode-region): Mark unused parameter.
3712         (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
3714         * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
3715         (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
3716         (x-dnd-handle-moz-url): Remove unused variable `title'.
3717         (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
3719         * xml.el (xml-parse-tag, xml-parse-attlist):
3720         Remove unused variable `pos'.
3722 2011-04-19  Glenn Morris  <rgm@gnu.org>
3724         * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
3725         (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
3726         (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
3727         (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
3728         * calendar/cal-html.el (cal-html-insert-minical):
3729         * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
3730         (calendar-mark-date-pattern):
3731         Prefix "unused" locals.
3733         * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
3734         optional argument `style'.
3736         * calendar/appt.el (appt-make-list):
3737         * calendar/cal-china.el (calendar-chinese-date-string):
3738         * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
3739         (diary-hebrew-yahrzeit):
3740         * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
3741         * calendar/calendar.el (calendar-generate-window):
3742         * calendar/time-date.el (time-to-days):
3743         Remove unused local variables.
3745 2011-04-18  Chong Yidong  <cyd@stupidchicken.com>
3747         * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
3748         glyphless-char-display table.
3749         (tabulated-list-glyphless-char-display): New var.
3751 2011-04-18  Sam Steingold  <sds@gnu.org>
3753         * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
3754         to acknowledgments.
3756 2011-04-17  Glenn Morris  <rgm@gnu.org>
3758         * calendar/diary-lib.el (diary-sexp-entry):
3759         * calendar/holidays.el (holiday-sexp):
3760         Set debug-on-error rather than the removed stack-trace-on-error.
3762 2011-04-16  Glenn Morris  <rgm@gnu.org>
3764         * progmodes/f90.el: Use lexical-binding.
3765         (f90-get-correct-indent): Remove unnecessary local variable `cont'.
3767 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
3769         * mail/sendmail.el (mail-mode-map): Use completion-at-point.
3770         (mail-mode): Setup mailalias completion here instead.
3771         * mail/mailalias.el: Use lexical-binding.
3772         (pattern, mailalias-done): Declare dynamic.
3773         (mail-completion-at-point-function): New function, from mail-complete.
3774         (mail-complete): Use it.
3775         (mail-completion-expand): New function.
3776         (mail-get-names): Use it.
3777         (mail-directory, mail-directory-process, mail-directory-stream):
3778         Don't use `pattern' for lexically bound arg.
3780         * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
3782         * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
3783         (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
3784         (hfy-etags-cmd-alist): Don't eval-and-compile any more.
3786         * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
3787         (byte-save-window-excursion, byte-temp-output-buffer-setup)
3788         (byte-interactive-p): Define them again, for use when inlining
3789         old code.
3791 2011-04-15  Juanma Barranquero  <lekktu@gmail.com>
3793         * loadup.el: Use `string-to-number', not `string-to-int'.
3795 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
3797         * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
3798         gud-gdb-complete-command.
3799         (gud-gdb-completions): New function, from gud-gdb-complete-command.
3800         (gud-gdb-completion-at-point): New function.
3801         (gud-gdb-completions): Remove.
3803 2011-04-14  Michael Albinus  <michael.albinus@gmx.de>
3805         * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
3806         when the scripts fail.  Use `tramp-do-file-attributes-with-ls' then.
3807         (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
3808         whether `executable-find' is bound.
3810         * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
3812 2011-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
3814         * minibuffer.el (completion-in-region-mode-predicate)
3815         (completion-in-region-mode--predicate): New vars.
3816         (completion-in-region, completion-in-region--postch)
3817         (completion-in-region-mode): Use them.
3818         (completion--capf-wrapper): Also return the hook function.
3819         (completion-at-point, completion-help-at-point):
3820         Adjust and provide a predicate.
3822         Preserve arg names for advice of subr and lexical functions (bug#8457).
3823         * help-fns.el (help-function-arglist): Consolidate the subr and
3824         new-byte-code cases.  Add argument `preserve-names' to extract names
3825         from the docstring when needed.
3826         * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
3827         (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
3828         (ad-arglist): Use help-function-arglist's new arg.
3829         (ad-definition-type): Use cond.
3831 2011-04-13  Juanma Barranquero  <lekktu@gmail.com>
3833         * autorevert.el (auto-revert-handler):
3834         Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
3835         which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
3836         Don't quote lambda.
3838         * image-mode.el (image-transform-set-scale):
3839         Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
3841 2011-04-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3843         * net/network-stream.el (network-stream-open-starttls): Only do
3844         opportunistic STARTTLS upgrades if we have built-in gnutls support.
3845         Upgrades via gnutls-cli are too slow to be done opportunistically.
3847 2011-04-12  Juanma Barranquero  <lekktu@gmail.com>
3849         * dframe.el (dframe-current-frame): Remove spurious quote.
3851 2011-04-12  Glenn Morris  <rgm@gnu.org>
3853         * calendar/cal-tex.el (cal-tex-end-document):
3854         Try to automatically use latin1 input if needed.
3856         * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
3857         Don't try to cons a mark onto an empty element.
3859 2011-04-11  Leo Liu  <sdl.web@gmail.com>
3861         * ido.el (ido-buffer-internal): Allow method 'kill for virtual
3862         buffers.
3863         (ido-kill-buffer-at-head): Support killing virtual buffers.
3865 2011-04-10  Chong Yidong  <cyd@stupidchicken.com>
3867         * minibuffer.el (completion-show-inline-help): New var.
3868         (completion--do-completion, minibuffer-complete)
3869         (minibuffer-force-complete, minibuffer-complete-word):
3870         Inhibit minibuffer messages if completion-show-inline-help is nil.
3872         * icomplete.el (icomplete-mode): Bind completion-show-inline-help
3873         to avoid interference from inline help (Bug#5849).
3875 2011-04-10  Leo Liu  <sdl.web@gmail.com>
3877         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
3878         Fix typo.
3880 2011-04-09  Chong Yidong  <cyd@stupidchicken.com>
3882         * image-mode.el (image-toggle-display-image): Signal an error if
3883         not in Image mode.
3884         (image-transform-mode, image-transform-resize)
3885         (image-transform-set-rotation): Doc fix.
3886         (image-transform-set-resize): Delete.
3887         (image-transform-set-scale, image-transform-fit-to-height)
3888         (image-transform-fit-to-width): Handle image-toggle-display-image
3889         and image-transform-resize directly.
3891 2011-04-08  Sho Nakatani  <lay.sakura@gmail.com>
3893         * doc-view.el (doc-view-fit-width-to-window)
3894         (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
3895         New functions for fitting the shown image to the Emacs window size.
3896         (doc-view-mode-map): Add bindings for the new functions.
3898 2011-04-08  Juanma Barranquero  <lekktu@gmail.com>
3900         * vc-annotate.el (vc-annotate-show-log-revision-at-line):
3901         Fix typo in docstring.
3903 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
3905         * files.el (file-size-human-readable): Produce one digit after
3906         decimal, like "ls -lh" does.
3908         * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
3909         the file size representation.
3911         * simple.el (list-processes): If async subprocesses are not
3912         available, error out with a clear error message.
3914 2011-04-08  Chong Yidong  <cyd@stupidchicken.com>
3916         * help.el (help-form-show): New function, to be called from C.
3917         Put help-form output in a buffer named differently than *Help*.
3919 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
3921         * files.el (file-size-human-readable): New function.
3923         * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
3924         computing the representation inline.  Don't require `cl'.
3926 2011-04-08  Glenn Morris  <rgm@gnu.org>
3928         * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
3930         * net/browse-url.el (browse-url-firefox):
3931         Test system-type, not system-configuration.
3933         * vc/log-edit.el (log-edit-empty-buffer-p): New function.
3934         (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
3935         Use log-edit-empty-buffer-p.  (Bug#7598)
3937         * net/rlogin.el (rlogin-process-connection-type): Simplify.
3938         (rlogin-mode-map): Initialize in the defvar.
3939         (rlogin): Use ignore-errors.
3941         * replace.el (occur-mode-map): Some fixes for menu items.
3943 2011-04-07  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
3945         * play/morse.el (denato-region): Handle varying case.  (Bug#8386)
3947 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
3949         * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
3950         issuing unused warnings.
3952         * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
3953         macro directly.
3955         * simple.el: Lisp reimplement of list-processes.  Based on an
3956         earlier reimplementation by Leo Liu, but using tabulated-list.el.
3957         (process-menu-mode): New major mode.
3958         (list-processes--refresh, list-processes):
3959         (process-menu-visit-buffer): New functions.
3961         * files.el (save-buffers-kill-emacs): Don't assume any return
3962         value of list-processes, which is undocumented anyway.
3964 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
3966         * emacs-lisp/tabulated-list.el: New file.
3968         * emacs-lisp/package.el: Use Tabulated List mode.
3969         (package-menu-mode-map): Inherit from tabulated-list-mode-map.
3970         (package-menu-mode): Derive from tabulated-list-mode.  Set up the
3971         table format using Tabulated List mode variables.
3972         (package--push): New macro, replacing package-list-maybe-add.
3973         (package-menu--generate): Use package--push.  Renamed from
3974         package--generate-package-list.
3975         (package-menu-refresh, list-packages): Use it.
3976         (package-menu--print-info): Rename from package-print-package.
3977         Return insertion data instead of inserting it directly.
3978         (package-menu-describe-package, package-menu-execute):
3979         Use tabulated-list-get-id.
3980         (package-menu-mark-delete, package-menu-mark-install)
3981         (package-menu-mark-unmark, package-menu-backup-unmark)
3982         (package-menu-mark-obsolete-for-deletion):
3983         Use tabulated-list-put-tag.
3984         (package--list-packages, package-menu-revert)
3985         (package-menu-get-package, package-menu-get-version)
3986         (package-menu-sort-by-column): Functions deleted.
3987         (package-menu-package-list, package-menu-sort-key): Vars deleted.
3988         (package-menu--status-predicate, package-menu--version-predicate)
3989         (package-menu--name-predicate)
3990         (package-menu--description-predicate): Handle arguments in the
3991         Tabulated List format.
3992         (package-list-packages-no-fetch): Call list-packages.
3994 2011-04-06  Juanma Barranquero  <lekktu@gmail.com>
3996         * files.el (after-find-file-from-revert-buffer): Remove variable.
3997         (after-find-file): Don't bind it.
3998         (revert-buffer-in-progress-p): New variable.
3999         (revert-buffer): Bind it.
4000         Pass nil for `after-find-file-from-revert-buffer'.
4002         * saveplace.el (save-place-find-file-hook): Use new variable
4003         `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
4005 2011-04-06  Glenn Morris  <rgm@gnu.org>
4007         * Makefile.in (AUTOGEN_VCS): New variable.
4008         (autoloads): Use $AUTOGEN_VCS.
4010         * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
4011         * calendar/calendar.el (calendar-mode-map):
4012         Check for toolkit scroll bars.  (Bug#8305)
4014 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
4016         * minibuffer.el (completion-in-region--postch)
4017         (completion-in-region-mode): Remove unnecessary messages.
4019 2011-04-05  Juanma Barranquero  <lekktu@gmail.com>
4021         * font-lock.el (font-lock-refresh-defaults):
4022         Don't bind `hi-lock--inhibit-font-lock-hook', removed in
4023         2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
4025         * info.el (Info-directory-list, Info-read-node-name-2)
4026         (Info-split-parameter-string): Doc fixes.
4027         (Info-virtual-nodes): Reflow docstring.
4028         (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
4029         (Info-apropos-toc-nodes, info-finder, Info-get-token)
4030         (Info-find-emacs-command-nodes, Info-speedbar-key-map):
4031         Fix typos in docstrings.
4032         (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
4033         (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
4034         (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
4035         (Info-restore-desktop-buffer): Mark unused parameters.
4036         (Info-directory-find-file, Info-directory-find-node)
4037         (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
4038         (Info-virtual-index-find-node, Info-apropos-find-file)
4039         (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
4040         Mark unused parameters; fix typos in docstrings.
4041         (Info-virtual-index): Remove unused local variable `nodename'.
4043 2011-04-05  Deniz Dogan  <deniz@dogan.se>
4045         * net/rcirc.el: Update my e-mail address.
4046         (rcirc-mode-map): Remove M-o binding.
4048 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
4050         * startup.el (command-line): Save the cursor's theme-face
4051         directly, instead of using face-override-spec.
4053         * custom.el (load-theme): Minor optimization in assigning faces.
4055 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
4057         * help-fns.el (describe-variable): Complete all variables having
4058         documentation, including keywords.
4059         http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
4061 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
4063         Convert to lexical-binding.
4065         * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
4066         (bs--get-marked-string, bs--get-modified-string)
4067         (bs--get-readonly-string, bs--get-size-string, bs--get-name)
4068         (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
4069         (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
4071         * ehelp.el (electric-help-execute-extended)
4072         (electric-help-ctrl-x-prefix):
4073         * hexl.el (hexl-revert-buffer-function):
4074         * linum.el (linum-after-change, linum-after-scroll):
4075         * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
4077         * help-fns.el (help-describe-category-set): Remove unused ERR variable.
4079 2011-04-04  Daiki Ueno  <ueno@unixuser.org>
4081         * epa-dired.el:
4082         * epa-mail.el:
4083         * epa-hook.el:
4084         * epa-file.el:
4085         * epa.el:
4086         * epg.el: Use lexical binding.
4088 2011-04-03  Chong Yidong  <cyd@stupidchicken.com>
4090         * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
4092         * textmodes/flyspell.el (flyspell-word): Recognize default
4093         dictionary case for flyspell-mark-duplications-exceptions.
4094         Use regexp matching for languages.
4095         (flyspell-mark-duplications-exceptions): Add "that" and "had" for
4096         default dictionary (Bug#7926).
4098 2011-04-02  Chong Yidong  <cyd@stupidchicken.com>
4100         * emacs-lisp/package.el (package--with-work-buffer):
4101         Recognize https URLs.
4103         * net/network-stream.el: Move from gnus/proto-stream.el.
4104         Change prefix to network-stream throughout.
4105         (open-protocol-stream): Merge into open-network-stream, leaving
4106         open-protocol-stream as an alias.  Handle nil BUFFER args.
4108         * subr.el (open-network-stream): Move to net/network-stream.el.
4110 2011-04-02  Glenn Morris  <rgm@gnu.org>
4112         * find-dired.el (find-exec-terminator): New option.
4113         (find-ls-option): Test for -ls support.
4114         (find-ls-subdir-switches): Test for -b in find-ls-option.
4115         (find-dired, find-grep-dired): Doc fixes.
4116         (find-dired): Use find-exec-terminator.
4118         * find-dired.el (find-ls-option, find-ls-subdir-switches)
4119         (find-grep-options): Do not autoload these defcustoms, remove purecopy.
4120         (find-name-arg): Remove purecopy.
4122         * progmodes/grep.el (grep-find-use-xargs): Doc fix.
4123         (grep-compute-defaults): Check for `-exec COMMAND +' support.
4124         Set grep-find-use-xargs, grep-find-command, and grep-find-template
4125         accordingly.  Don't add the null-device if not needed.
4127         * files.el (save-some-buffers): Doc fix.
4129 2011-04-02  Eli Zaretskii  <eliz@gnu.org>
4131         * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
4133 2011-04-01  Juanma Barranquero  <lekktu@gmail.com>
4135         * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
4136         Use `dolist' rather than `mapcar'.
4138 2011-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>
4140         Add lexical binding.
4142         * subr.el (apply-partially): Use new closures rather than CL.
4143         (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
4144         (dolist, dotimes): Use slightly different expansion for lexical code.
4145         (functionp): Move to C.
4146         (letrec): New macro.
4147         (with-wrapper-hook): Use it and apply-partially instead of CL.
4148         (eval-after-load): Preserve lexical-binding.
4149         (save-window-excursion, with-output-to-temp-buffer): Turn them
4150         into macros.
4152         * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
4154         * help-fns.el (help-split-fundoc): Return nil if there's nothing else
4155         than the arglist.
4156         (help-add-fundoc-usage): Don't add `Not documented'.
4157         (help-function-arglist): Handle closures, subroutines, and new
4158         byte-code-functions.
4159         (help-make-usage): Remove leading underscores.
4160         (describe-function-1): Handle closures.
4161         (describe-variable): Use special-variable-p for completion.
4163         * files.el (lexical-binding): Declare safe.
4165         * emacs-lisp/pcase.el: Don't use destructuring-bind.
4166         (pcase--memoize): Rename from pcase-memoize.  Change weakness.
4167         (pcase): Add `let' pattern.
4168         Change memoization so it actually works.
4169         (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
4170         (pcase--u1) <guard, pred>: Fix possible shadowing problem.
4171         <let>: New case.
4173         * emacs-lisp/macroexp.el: Use lexical binding.
4174         (macroexpand-all-1): Check obsolete macros.  Expand compiler-macros.
4175         Don't convert ' to #' without checking that it's indeed quoting
4176         a lambda.
4178         * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
4179         Use eval-sexp-add-defvars.
4180         (eval-sexp-add-defvars): New fun.
4182         * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
4184         * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
4185         Don't autoload.
4186         (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
4187         than the internal `byte-compile-lambda'.
4188         (defmethod): Don't hide code under quotes.
4189         (eieio-defmethod): New `code' argument.
4191         * emacs-lisp/eieio-comp.el: Remove.
4193         * emacs-lisp/edebug.el (edebug-eval-defun)
4194         (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
4195         (edebug-toggle): Avoid `eval'.
4197         * emacs-lisp/disass.el (disassemble-internal): Handle new
4198         `closure' objects.
4199         (disassemble-1): Handle new byte codes.
4201         * emacs-lisp/cl.el (pushnew): Silence warning.
4203         * emacs-lisp/cl-macs.el (cl-byte-compile-block)
4204         (cl-byte-compile-throw): Remove.
4205         (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
4207         * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
4208         closures.
4210         * emacs-lisp/cconv.el: New file.
4212         * emacs-lisp/bytecomp.el: Use lexical binding instead of
4213         a "bytecomp-" prefix.  Macroexpand everything as a separate phase.
4214         (byte-compile-initial-macro-environment):
4215         Handle declare-function here.
4216         (byte-compile--lexical-environment): New var.
4217         (byte-stack-ref, byte-stack-set, byte-discardN)
4218         (byte-discardN-preserve-tos): New lap codes.
4219         (byte-interactive-p): Don't use any more.
4220         (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
4221         New macros.
4222         (byte-compile-lapcode): Use them and handle new lap codes.
4223         (byte-compile-obsolete): Remove.
4224         (byte-compile-arglist-signature): Handle new byte-code arg"lists".
4225         (byte-compile-arglist-warn): Check late def of inlinable funs.
4226         (byte-compile-cl-warn): Don't silence warnings for compiler-macros
4227         since they should have been expanded by now.
4228         (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
4229         (byte-compile-from-buffer): Remove unused second arg.
4230         (byte-compile-preprocess): New function.
4231         (byte-compile-toplevel-file-form): New function to distinguish
4232         file-form calls from outside from file-form calls from hunk-handlers.
4233         (byte-compile-file-form): Simplify.
4234         (byte-compile-file-form-defsubst): Remove.
4235         (byte-compile-file-form-defmumble): Simplify now that
4236         byte-compile-lambda always returns a byte-code-function.
4237         (byte-compile): Preprocess.
4238         (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
4239         Remove, not used any more.
4240         (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
4241         (byte-compile-make-args-desc): New funs.
4242         (byte-compile-lambda): Handle lexical functions.  Always return
4243         a byte-code-function.
4244         (byte-compile-reserved-constants): New var, to make up room for
4245         closed-over variables.
4246         (byte-compile-constants-vector): Obey it.
4247         (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
4248         (byte-compile-macroexpand-declare-function): New function.
4249         (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
4250         byte-code-functions.
4251         (byte-compile-form): Check obsolescence here.
4252         (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
4253         (byte-compile-variable-ref): Remove.
4254         (byte-compile-dynamic-variable-op): New fun.
4255         (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
4256         (byte-compile-variable-set): New funs.
4257         (byte-compile-discard): Add 2 args.
4258         (byte-compile-stack-ref, byte-compile-stack-set)
4259         (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
4260         (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
4261         macroexpand-all instead.
4262         (byte-compile-quote-form): Remove.
4263         (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
4264         (byte-compile-bind, byte-compile-unbind): New funs.
4265         (byte-compile-let): Handle let* and lexical binding.
4266         (byte-compile-let*): Remove.
4267         (byte-compile-catch, byte-compile-unwind-protect)
4268         (byte-compile-track-mouse, byte-compile-condition-case):
4269         Handle a new :fun-body form, used for lexical scoping.
4270         (byte-compile-save-window-excursion)
4271         (byte-compile-with-output-to-temp-buffer): Remove.
4272         (byte-compile-defun): Simplify.
4273         (byte-compile-stack-adjustment): New fun.
4274         (byte-compile-out): Use it.
4275         (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
4277         * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
4278         handler any more.
4280         * emacs-lisp/byte-opt.el: Use lexical binding.
4281         (byte-inline-lapcode): Remove (to bytecomp).
4282         (byte-compile-inline-expand): Pay attention to inlining to/from
4283         lexically bound code.
4284         (byte-compile-unfold-lambda): Don't handle byte-code-functions
4285         any more.
4286         (byte-optimize-form-code-walker): Don't handle save-window-excursion
4287         any more and don't call compiler-macros.
4288         (byte-compile-splice-in-already-compiled-code): Remove.
4289         (byte-code): Don't inline any more.
4290         (disassemble-offset): Receive `bytes' as argument rather than via
4291         dynamic scoping.
4292         (byte-compile-tag-number): Declare before first use.
4293         (byte-decompile-bytecode-1): Handle new byte-codes, don't change
4294         `return' even if make-spliceable.
4295         (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
4296         obsolete interactive-p.
4297         (byte-optimize-lapcode): Optimize new lap-codes.
4298         Don't trip up on new form of `byte-constant' lap code.
4300         * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
4302         * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
4304         * custom.el (custom-initialize-default, custom-declare-variable):
4305         Use `defvar'.
4307         * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
4308         New variables.
4309         (compile-onefile, .el.elc, compile-calc, recompile): Use them.
4310         (COMPILE_FIRST): Add macroexp and cconv.
4311         * makefile.w32-in: Mirror changes in Makefile.in.
4313         * vc/cvs-status.el:
4314         * vc/diff-mode.el:
4315         * vc/log-edit.el:
4316         * vc/log-view.el:
4317         * vc/smerge-mode.el:
4318         * textmodes/bibtex-style.el:
4319         * textmodes/css.el:
4320         * startup.el:
4321         * uniquify.el:
4322         * minibuffer.el:
4323         * newcomment.el:
4324         * reveal.el:
4325         * server.el:
4326         * mpc.el:
4327         * emacs-lisp/smie.el:
4328         * doc-view.el:
4329         * dired.el:
4330         * abbrev.el: Use lexical binding.
4332 2011-04-01  Eli Zaretskii  <eliz@gnu.org>
4334         * info.el (info-display-manual): New function.
4336 2011-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
4338         * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
4340 2011-03-31  Tassilo Horn  <tassilo@member.fsf.org>
4342         * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
4343         an entry for that server in rcirc-authinfo.  (Bug#8385)
4345 2011-03-31  Glenn Morris  <rgm@gnu.org>
4347         * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
4349         * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
4351 2011-03-30  Christoph Scholtes  <cschol2112@googlemail.com>
4353         * progmodes/python.el (python-default-interpreter)
4354         (python-python-command-args, python-jython-command-args)
4355         (python-which-shell, python-which-args, python-which-bufname)
4356         (python-file-queue, python-comint-output-filter-function)
4357         (python-toggle-shells, python-shell): Remove obsolete defcustoms,
4358         variables and functions.
4360 2011-03-30  Stefan Monnier  <monnier@iro.umontreal.ca>
4362         * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
4363         (completion-in-region-mode): New minor mode.
4364         (completion-in-region): Use it.
4365         (completion-in-region--data, completion-in-region-mode-map): New vars.
4366         (completion-in-region--postch): New function.
4367         (completion--capf-misbehave-funs, completion--capf-safe-funs):
4368         New vars.
4369         (completion--capf-wrapper): New function.
4370         (completion-at-point): Use it to track well-behavedness of
4371         hook functions.
4372         (completion-help-at-point): New command.
4374 2011-03-30  Jason Merrill  <jason@redhat.com>  (tiny change)
4376         * vc/add-log.el (add-change-log-entry): Don't use whitespace
4377         syntax class to search for whitespace on a single line
4378         (Message-ID: <4D938140.4030905@redhat.com>).
4380 2011-03-30  Leo Liu  <sdl.web@gmail.com>
4382         * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
4383         New commands.
4384         (edit-abbrevs-map): Bind them here.
4385         (write-abbrev-file): New optinal arg VERBOSE.  (Bug#5937)
4387 2011-03-29  Ken Manheimer  <ken.manheimer@gmail.com>
4389         * allout.el (allout-hide-by-annotation, allout-flag-region):
4390         Reduce possibility of overlay leakage by making them volatile.
4392         * allout-widgets.el (allout-widgets-tally): Define as nil so the
4393         hash is not shared between buffers.  Mode initialization is
4394         responsible for giving it a useful starting value.
4395         (allout-item-span): Reduce possibility of overlay leakage by
4396         making them volatile.
4397         (allout-widgets-count-buttons-in-region): Add diagnostic function
4398         for tracking down button overlay leaks.
4400 2011-03-29  Leo Liu  <sdl.web@gmail.com>
4402         * ido.el (ido-read-internal): Use the default history var
4403         minibuffer-history if no HISTORY is specified.
4405 2011-03-28  Brian T. Sniffen  <bsniffen@akamai.com>  (tiny change)
4407         * net/imap.el (imap-shell-open, imap-process-connection-type):
4408         Use imap-process-connection-type for 'shell' streams as well as
4409         Kerberos, SSL, other subprocesses.
4411 2011-03-28  Leo Liu  <sdl.web@gmail.com>
4413         * abbrev.el (abbrev-table-empty-p): New function.
4414         (prepare-abbrev-list-buffer): Place empty abbrev tables after
4415         nonempty ones.  (Bug#5937)
4417 2011-03-27  Jan Djärv  <jan.h.d@swipnet.se>
4419         * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
4421 2011-03-27  Leo Liu  <sdl.web@gmail.com>
4423         * ansi-color.el (ansi-color-names-vector): Allow cons cell value
4424         for foreground and background colors.
4425         (ansi-color-make-color-map): Adapt.
4427 2011-03-25  Leo Liu  <sdl.web@gmail.com>
4429         * midnight.el (midnight-time-float): Remove.  Note it calculates
4430         the microsecond component incorrectly and seconds-to-time does the
4431         same job.
4432         Remove redundant (require 'timer).
4434         * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
4435         (ido-completions): Remove unused arguments.  (Bug#8329)
4437 2011-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
4439         * minibuffer.el (completion--flush-all-sorted-completions):
4440         Remove itself from hook.
4441         (completion-at-point): Let the functions perform the completion
4442         immediately and return nil or t.
4443         * comint.el (comint-dynamic-complete-functions): Now identical to
4444         completion-at-point-functions.
4445         (comint-dynamic-list-input-ring): Remove unused var `index'.
4446         (comint--match-partial-filename, comint--unquote&expand-filename):
4447         New funs, split from comint-match-partial-filename.
4448         (comint-dynamic-complete): Use completion-at-point.
4449         (comint-dynamic-complete-filename): Use comint--match-partial-filename.
4451 2011-03-24  Drew Adams  <drew.adams@oracle.com>
4453         * thingatpt.el: Support `defun'.
4455 2011-03-23  Leo Liu  <sdl.web@gmail.com>
4457         * abbrevlist.el: Move to obsolete/abbrevlist.el.
4459         * help-mode.el (help-mode-finish): Tweak regexp.
4461 2011-03-23  Glenn Morris  <rgm@gnu.org>
4463         * eshell/esh-opt.el (eshell-eval-using-options):
4464         Do not bind unused local variable `eshell-option-stub'.
4466         * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
4468 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
4470         * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
4471         keymap variable in `with-no-warnings' to avoid a warning when the
4472         keymap has been already `defconst'ed.
4474 2011-03-22  Leo Liu  <sdl.web@gmail.com>
4476         * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
4477         encode all chars in abbrevs; otherwise use emacs-mule or
4478         utf-8-emacs.  (Bug#8308)
4480 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
4482         * simple.el (backward-delete-char-untabify):
4483         Avoid warning about using `delete-backward-char'.
4485         * image.el (image-type-file-name-regexps): Make it variable.
4486         `imagemagick-register-types' modifies it, and the user may want
4487         to add new extensions for known image types.
4488         (imagemagick-register-types): Throw error if not using ImageMagick.
4490 2011-03-22  Leo Liu  <sdl.web@gmail.com>
4492         * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
4493         located before rcirc-prompt-end-marker.
4494         (rcirc-complete): Error if point is not after rcirc prompt.
4495         Handle the case when table is nil.
4496         (rcirc-user-authenticated): Define to fix compiler warning.
4498 2011-03-22  Chong Yidong  <cyd@stupidchicken.com>
4500         * custom.el (custom--inhibit-theme-enable): Make it affect only
4501         custom-theme-set-variables and custom-theme-set-faces.
4502         (provide-theme): Ignore custom--inhibit-theme-enable.
4503         (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
4504         (custom-enabling-themes): Delete variable.
4505         (enable-theme): Accept only loaded themes as arguments.
4506         Ignore the special custom-enabled-themes variable.
4507         (custom-enabled-themes): Forbid themes from setting this.
4508         Eliminate use of custom-enabling-themes.
4509         (custom-push-theme): Quote "changed" custom var entry.
4511 2011-03-21  Leo Liu  <sdl.web@gmail.com>
4513         * ido.el (ido-read-internal): Add ido-selected to history instead
4514         of user input.
4516 2011-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
4518         * subr.el (deferred-action-list, deferred-action-function):
4519         Mark obsolete.
4521 2011-03-21  Leo Liu  <sdl.web@gmail.com>
4523         * vc/log-view.el: Remove (require 'wid-edit), not needed after the
4524         change on 2011-02-13 (bug#8309).
4526         * minibuffer.el (read-file-name-function): Change default value.
4527         (read-file-name--defaults): Rename from read-file-name-defaults.
4528         (read-file-name-default): Rename from read-file-name.
4529         (read-file-name): Call read-file-name-function.
4531 2011-03-21  Glenn Morris  <rgm@gnu.org>
4533         * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
4534         Doc fixes.
4536 2011-03-21  Chong Yidong  <cyd@stupidchicken.com>
4538         * cus-theme.el: Add missing provide statement.
4539         (customize-create-theme): Extract theme value correctly.
4540         (custom-theme-visit-theme): Autoload.
4541         (customize-create-theme): Prompt before inserting default faces.
4543 2011-03-20  Jay Belanger  <jay.p.belanger@gmail.com>
4545         * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
4546         units and musical notes.
4548 2011-03-20  Leo  <sdl.web@gmail.com>
4550         * ido.el (ido-read-internal): Use completing-read-default.
4551         (ido-completing-read): Fix compatibility with completing-read.
4553 2011-03-20  Christian Ohler  <ohler@gnu.org>
4555         * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
4556         (ert-delete-all-tests): Use `called-interactively-p' rather than
4557         `interactive-p'.
4558         (ert--make-xrefs-region): Respect END.
4560 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
4562         * dired-aux.el (dired-create-directory): Signal an error if the
4563         directory already exists (Bug#8246).
4565         * facemenu.el (list-colors-display): Call list-faces-display
4566         inside with-help-window.
4567         (list-colors-print): Use display property to align the final
4568         column, instead of checking window-width.
4570 2011-03-19  Eli Zaretskii  <eliz@gnu.org>
4572         * emerge.el (emerge-metachars): Separate value for ms-dos and
4573         windows-nt systems.
4574         (emerge-protect-metachars): Quote correctly for ms-dos and
4575         windows-nt systems.
4577 2011-03-19  Ralph Schleicher  <rs@ralph-schleicher.de>
4579         * info.el (info-initialize): Replace all uses of `:' with
4580         path-separator for compatibility with non-Unix systems.
4581         Cache quoting of path-separator.  (Bug#8258)
4583 2011-03-19  Juanma Barranquero  <lekktu@gmail.com>
4585         * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
4586         (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
4587         (mouse-avoidance-mode): Fix typos in docstrings.
4589 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
4591         * startup.el (package-subdirectory-regexp): Move from package.el.
4592         Omit \\` and \\', and let callers add them.
4594         * emacs-lisp/package.el (package-strip-version)
4595         (package-load-all-descriptors): Add \\` and \\' to
4596         package-subdirectory-regexp before using it.
4597         (package-untar-buffer): New arg DIR; ensure that file untars only
4598         into this expected directory.  Remove superfluous delete-region.
4599         (package-unpack): Caller changed.
4600         (package-tar-file-info): Use package-subdirectory-regexp.
4602 2011-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
4604         * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
4605         diff-mode-shared-map (bug#8284).
4606         (diff-mode-shared-map): Re-introduce some bindings that were problematic.
4608 2011-03-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4610         * calendar/time-date.el (format-seconds): Use assoc instead of
4611         assoc-string, since assoc-string doesn't exist in XEmacs.
4613 2011-03-17  Juanma Barranquero  <lekktu@gmail.com>
4615         * custom.el (custom-known-themes): Reflow docstring.
4616         (custom-theme-load-path): Fix typo in docstring.
4617         (load-theme): Fix typo in error message.
4618         (custom-available-themes, custom-variable-theme-value):
4619         Use `let', not `let*'.
4621 2011-03-17  Jay Belanger  <jay.p.belanger@gmail.com>
4623         * calc/README: Mention inclusion of musical notes.
4625         * calc/calc-units.el (calc-lu-quant): Rename from
4626         `calc-logunits-quantity'.
4627         (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
4628         (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
4629         (calc-db): Rename from `calc-dblevel'.
4630         (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
4631         (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
4632         (calc-np): Rename from `calc-nplevel'.
4633         (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
4634         (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
4635         (calc-lu-plus): Rename from `calc-logunits-add'.
4636         (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
4637         (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
4638         (calc-lu-minus): Rename from `calc-logunits-sub'.
4639         (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
4640         (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
4641         (calc-lu-times): Rename from `calc-logunits-mul'.
4642         (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
4643         (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
4644         (calc-lu-divide): Rename from `calc-logunits-div'.
4645         (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
4646         (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
4648         * calc/calc-ext.el (calc-init-extensions): Update the names of the
4649         functions being autoloaded.
4651         * calc/calc.el (calc-lu-power-reference): Rename from
4652         `calc-logunits-power-reference'.
4653         (calc-lu-field-reference): Rename from
4654         `calc-logunits-field-reference'.
4656         * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
4658 2011-03-17  Stefan Monnier  <monnier@iro.umontreal.ca>
4660         * minibuffer.el (completion-all-sorted-completions):
4661         Use :completion-cycle-penalty text property if present.
4663 2011-03-16  Ken Manheimer  <ken.manheimer@gmail.com>
4665         * allout.el (allout-yank-processing): Adjust for new rebulleting
4666         regime so bullet being yanked is used without prompting the user
4667         for a choice.
4669 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
4671         * startup.el (command-line): Warn the user that _emacs is deprecated.
4673 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
4675         * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
4676         (delphi-verbose, delphi-comment-face, delphi-string-face)
4677         (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
4678         (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
4679         (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
4680         (delphi-new-comment-line, delphi-font-lock-defaults)
4681         (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
4682         Fix typos in docstrings.
4684 2011-03-15  Ken Manheimer  <ken.manheimer@gmail.com>
4686         * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
4687         Invert the roles of character and string values for INSTEAD, so a
4688         string is used for the more common case of a defaulting prompt.
4690 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
4692         * progmodes/ruby-mode.el (ruby-backward-sexp):
4693         * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
4694         * play/gamegrid.el (gamegrid-make-face):
4695         * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
4696         (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
4697         * notifications.el (notifications-notify):
4698         * net/xesam.el (xesam-search-engines):
4699         * net/quickurl.el (quickurl-list-insert):
4700         * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
4702 2011-03-15  Chong Yidong  <cyd@stupidchicken.com>
4704         * startup.el (command-line): Update package subdirectory regexp.
4706 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
4708         * allout.el (allout-abbreviate-flattened-numbering)
4709         (allout-mode-deactivate-hook): Fix up obsolescence "date".
4711         * subr.el (read-char-choice): Only show the cursor after the prompt,
4712         not after the answer.
4714 2011-03-15  Kevin Ryde  <user42@zip.com.au>
4716         * help-fns.el (variable-at-point): Skip leading quotes, if any
4717         (bug#8253).
4719 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
4721         * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
4722         warning message.
4724 2011-03-14  Michael Albinus  <michael.albinus@gmx.de>
4726         * shell.el (shell): When called interactively, offer to change the
4727         shell file name on remote hosts.
4729 2011-03-13  Teodor Zlatanov  <tzz@lifelogs.com>
4731         * net/ldap.el (ldap-search-internal): Add `auth-source-search'
4732         integration for LDAP parameters.  The host, base, user or binddn,
4733         and secret tokens can be specified in a netrc file, for instance.
4734         This is optional because an `auth-source' parameter must be
4735         specified in the search attributes.
4737 2011-03-13  Juanma Barranquero  <lekktu@gmail.com>
4739         * help.el (describe-mode): Link to the mode's definition (bug#8185).
4741 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
4743         * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
4744         into declaration.  Remove redundant and harmful binding.
4746 2011-03-12  Eli Zaretskii  <eliz@gnu.org>
4748         * files.el (file-ownership-preserved-p): Pass `integer' as an
4749         explicit 2nd argument to `file-attributes'.  If the file's owner
4750         is the Administrators group on Windows, and the current user is
4751         Administrator, consider that a match.
4753         * server.el (server-ensure-safe-dir): Consider server directory
4754         safe on MS-Windows if its owner is the Administrators group while
4755         the current Emacs user is Administrator.  Use `=' to compare
4756         numerical UIDs, since they could be integers or floats.
4758 2011-03-12  Juanma Barranquero  <lekktu@gmail.com>
4760         * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
4762 2011-03-12  Michael Albinus  <michael.albinus@gmx.de>
4764         Sync with Tramp 2.2.1.
4766         * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
4768         * net/trampver.el: Update release number.
4770 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
4772         * progmodes/compile.el (compilation--previous-directory): Fix up
4773         various nil/dead-marker mismatches (bug#8014).
4774         (compilation-directory-properties, compilation-error-properties):
4775         Don't call it at a position past the one we're about to change.
4777         * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
4778         Disable obsolescence warnings in the file that declares it.
4780 2011-03-11  Ken Manheimer  <ken.manheimer@gmail.com>
4782         * allout-widgets.el (allout-widgets-tally):
4783         Initialize allout-widgets-tally as a hash table rather than nil to
4784         prevent mode-line redisplay warnings.  Also, clarify the module
4785         description and fix a comment typo.
4787 2011-03-11  Juanma Barranquero  <lekktu@gmail.com>
4789         * help-fns.el (describe-variable): Don't complete keywords.
4790         Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
4792 2011-03-10  Chong Yidong  <cyd@stupidchicken.com>
4794         * emacs-lisp/package.el (package-version-join): Impose a standard
4795         string representation for pre/alpha/beta version lists.
4796         (package-unpack-single): Standardize the directory name by passing
4797         it through package-version-join.
4798         (package-strip-rcs-id): Accept any version string that does not
4799         signal an error in version-to-list.
4801 2011-03-10  Michael Albinus  <michael.albinus@gmx.de>
4803         * simple.el (delete-trailing-whitespace): Return nil for the
4804         benefit of `write-file-functions'.
4806 2011-03-10  Glenn Morris  <rgm@gnu.org>
4808         * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
4810         * vc/vc-git.el (vc-git-program): New option.
4811         (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
4812         (vc-git--call): Use it.
4814         * eshell/esh-util.el (eshell-condition-case): Doc fix.
4816         * cus-edit.el (Custom-newline): If no button at point, look
4817         for a subgroup button at start-of-line.  (Bug#2298)
4819         * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
4821 2011-03-10  Julien Danjou  <julien@danjou.info>
4823         * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
4824         `cursor-type' is nil.
4826 2011-03-09  Jay Belanger  <jay.p.belanger@gmail.com>
4828         * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
4830 2011-03-09  Ken Manheimer  <ken.manheimer@gmail.com>
4832         * allout.el Summary: Change so yank of distinctive-bullet items
4833         preserves the existing header prefix, rebulleting it if necessary,
4834         rather than replacing it.  This is necessary for proper operation
4835         of cooperative addons like allout-widgets.
4836         (allout-make-topic-prefix, allout-rebullet-heading): Change
4837         SOLICIT arg to INSTEAD, and interpret additionally a string value
4838         as alternate bullet to be used, instead of prompting the user for
4839         a bullet character.
4841 2011-03-09  Michael Albinus  <michael.albinus@gmx.de>
4843         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
4844         Do not use `tramp-file-name-port', because this returns also
4845         `tramp-default-port'.
4847 2011-03-09  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
4849         * net/rcirc.el (rcirc-handler-001): Remove useless
4850         with-rcirc-process-buffer.
4851         (rcirc-check-auth-status): Swap arguments to string-match.
4853 2011-03-09  Glenn Morris  <rgm@gnu.org>
4855         * shell.el (shell-mode):
4856         Set comint-input-ring-size from HISTSIZE.  (Bug#7889)
4858         * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
4859         Check for GDBHISTFILE, HISTSIZE, etc.  (Bug#7889)
4861 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
4863         * emacs-lisp/package.el (package-refresh-contents)
4864         (package-menu-execute): Use condition-case-no-debug.
4866 2011-03-08  Michael Albinus  <michael.albinus@gmx.de>
4868         * simple.el (shell-command-to-string): Use `process-file'.
4870         * emacs-lisp/package.el (package-tar-file-info): Handle also
4871         remote files.
4873         * emacs-lisp/package-x.el (package-upload-buffer-internal):
4874         Use `equal' for upload base check.
4876 2011-03-08  Arni Magnusson  <arnima@hafro.is>  (tiny change)
4878         * textmodes/texinfo.el (texinfo-environments):
4879         Add deftypecv, deftypeivar, deftypemethod, deftypeop, html.  (Bug#2783)
4881 2011-03-08  Glenn Morris  <rgm@gnu.org>
4883         * cus-start.el (cursor-in-non-selected-windows):
4884         Fix :set quoting oddness.  (Bug#8192)
4886         * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
4887         in some setf expressions.  (Bug#2159)
4889 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
4891         * custom.el (custom-available-themes): Return themes in
4892         alphabetical order.
4894 See ChangeLog.15 for earlier changes.
4896 ;; Local Variables:
4897 ;; coding: utf-8
4898 ;; End:
4900   Copyright (C) 2011  Free Software Foundation, Inc.
4902   This file is part of GNU Emacs.
4904   GNU Emacs is free software: you can redistribute it and/or modify
4905   it under the terms of the GNU General Public License as published by
4906   the Free Software Foundation, either version 3 of the License, or
4907   (at your option) any later version.
4909   GNU Emacs is distributed in the hope that it will be useful,
4910   but WITHOUT ANY WARRANTY; without even the implied warranty of
4911   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
4912   GNU General Public License for more details.
4914   You should have received a copy of the GNU General Public License
4915   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.