* lisp/mail/emacsbug.el (report-emacs-bug): Move the intangible text to
[emacs.git] / lisp / ChangeLog
blobd6d7b18955eb0e8319cb03232b54637207634b66
1 2012-12-11  Stefan Monnier  <monnier@iro.umontreal.ca>
3         * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
4         a display text-property.
5         (report-emacs-bug-hook): Don't bother deleting it any more.
7         * hilit-chg.el (highlight-save-buffer-state): Delete.
8         Use with-silent-modifications instead.
9         (hilit-chg-set-face-on-change): Only fixup the text that's modified.
11         * button.el: Handle buttons in display text-properties.
12         (button--area-button-p, button--area-button-string):
13         Use (STRING . STRING-POS) representation instead of just STRING.
15 2012-12-11  Eli Zaretskii  <eliz@gnu.org>
17         * makefile.w32-in (compile4-SH): Fix a typo that caused term
18         subdirectory be skipped.
20 2012-12-11  Glenn Morris  <rgm@gnu.org>
22         * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
24         * progmodes/f90.el (f90-line-continued, f90-indent-region):
25         Treat preprocessor lines embedded in continuations like comments.
26         (f90-indent-line): Special-case preprocessor lines.  (Bug#13138)
28 2012-12-11  Jay Belanger  <jay.p.belanger@gmail.com>
30         * calc/calc.el (calc-standard-date-formats):  Add more date
31         formats.
32         * calc/calc-forms.el (math-parse-iso-date): New function.
33         (math-parse-date): Use `math-parse-iso-date' when appropriate.
34         (math-parse-iso-date-validate): Add extra error checking.
35         (calc-date-notation): Add ability to access new date formats.
37 2012-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
39         * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
40         font-lock as well as when there's no text-property.
42 2012-12-10  Jambunathan K  <kjambunathan@gmail.com>
44         * hi-lock.el: Refine the choice of default face.
45         (hi-lock-keyword->face): New function.  Use it wherever we used
46         cadadadr instead.
47         (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
48         (hi-lock--last-face): Remove var.
49         (hi-lock--unused-faces): New var to replace it.
50         (hi-lock-read-face-name): Use/maintain it.
51         (hi-lock-unface-buffer): Maintain it.  Fix error for the C-u case.
52         (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
53         if it has another face.
55 2012-12-10  Eli Zaretskii  <eliz@gnu.org>
57         * subr.el (w32notify-handle-event): New function.
58         (inotify-handle-event): Doc fix.
60 2012-12-10  RĂ¼diger Sonderfeld  <ruediger@c-plusplus.de>
62         * subr.el (inotify-event-p, inotify-handle-event): New functions.
64 2012-12-10  Dani Moncayo <dmoncayo@gmail.com>
66         * simple.el (just-one-space): Doc fix.
68 2012-12-10  Eli Zaretskii  <eliz@gnu.org>
70         * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
72 2012-12-10  Le Wang  <l26wang@gmail.com>
74         * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
75         narrowed buffer (bug#12361).
77 2012-12-10  Juanma Barranquero  <lekktu@gmail.com>
79         * vc/vc-hooks.el (vc-state): Doc fix.
81 2012-12-10  Glenn Morris  <rgm@gnu.org>
83         * mail/rmail.el (rmail-maybe-display-summary):
84         Preserve buffer, in case select-window changes it.  (Bug#13066)
86 2012-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
88         * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
89         cl-load-hook where they belong.
91 2012-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
93         * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
95 2012-12-09  Eli Zaretskii  <eliz@gnu.org>
97         Parallelize byte compilation on MS-Windows.
98         * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
99         (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
100         (WINS_BASIC): Define as concatenation of the above.
101         (compile): Subdivide into 4 separate and independent jobs that can
102         be run in parallel.
103         (compile0-CMD, compile0-SH): New targets for compiling
104         COMPILE_FIRST files, which are prerequisites for the rest of the
105         byte-compilation.
106         (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
107         New targets for parallel compilation with cmd.exe.
108         (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
109         compiling under a Unixy shell.
111 2012-12-09  Chong Yidong  <cyd@gnu.org>
113         * simple.el (set-mark-default-inactive): Delete this
114         accidentally-introduced option.
115         (set-mark-command, exchange-point-and-mark): Remove calls.
117 2012-12-09  Glenn Morris  <rgm@gnu.org>
119         * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
120         Respect a defcustom's :set function, if appropriate.  (Bug#109)
121         (eval-defun): Doc fix.
123 2012-12-08  Juri Linkov  <juri@jurta.org>
125         * info.el (Info-copy-current-node-name, Info-breadcrumbs)
126         (Info-fontify-node, Info-bookmark-make-record): Remove the
127         file extension from Info-current-file (Bug#13016).
129 2012-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
131         * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
132         point, still provide some default.
133         (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
134         names, since we don't use it right now.  Actually return the list.
135         (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
137 2012-12-07  Chong Yidong  <cyd@gnu.org>
139         * novice.el (disabled-command-function): Remove a spurious help
140         xref (Bug#13043).  Suggested by Kelly Dean.
142         * subr.el (text-clone-maintain): Fix clone overlay deletion when a
143         syntax is specified (Bug#13025).
145         * info.el (Info-set-mode-line): Remove the file extension from
146         Info-current-file if there is one (Bug#13016).
148 2012-12-07  Glenn Morris  <rgm@gnu.org>
150         * mail/rmail.el (rmail-mime-decoded): New permanent local.
151         (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
152         * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
153         and rmail-mime-decoded.  (Bug#9841)
155         * mail/unrmail.el (unrmail-mbox-format): New option.  (Bug#6574)
156         (batch-unrmail, unrmail): Doc fixes.
157         (unrmail): Respect unrmail-mbox-format.
158         * mail/rmail.el (rmail-mbox-format): New option.
159         (rmail-show-message-1): Respect rmail-mbox-format.
161 2012-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
163         * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
165 2012-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
167         Further cleanup of the "cl-" namespace.  Fit CL in 80 columns.
168         * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
169         (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
170         (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
171         (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
172         (cl-progv): Don't rely on dynamic scoping to find the body.
173         * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
174         (cl--proclaims-deferred): Rename from the "cl-" prefix.
175         (cl-declaim): Use backquotes.
176         * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
177         Use "cl--" prefix for the object's tag.
179         * ses.el: Use advice-add/remove.
180         (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
181         (copy-region-as-kill, yank): Use advice-add.
182         (ses-unload-function): Use advice-remove.
184 2012-12-06  Jonas Bernoulli  <jonas@bernoul.li>
186         * button.el: Make them work in header-lines (bug#12817).
187         (button-map): Add bindings for header-line and mode-line use.
188         (button-get, button-put, button-label): `button' may now be a string.
189         (button-activate): Don't make it a defsubst.
190         (button--area-button-p, button--area-button-string): New functions.
191         (make-text-button): Fix the return value when `beg' was a string.
192         (push-button): Handle the mode-line case.
194 2012-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
196         * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
197         (sql-signum): Remove.  Use `cl-signum' instead.
198         (sql-read-passwd): Remove; use read-passwd instread.
199         (sql-get-login-ext): Use read-string.
200         (sql-get-login): Use dolist and pcase.
201         (sql--completion-table): Rename from sql-try-completion.
202         Use complete-with-action.
203         (sql-mode): Don't change abbrev-all-caps globally.
204         (sql-connect): Don't rely on dynamic scoping for `new-name'.
205         (sql-postgres-completion-object): Initialize vars in their `let'.
206         (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
207         (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
208         (sql-comint-interbase): Use a single append, without setq.
209         (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
211         * hi-lock.el: Rework the default face and the serialize regexp code.
212         (hi-lock--auto-select-face-defaults): Remove.
213         (hi-lock-string-serialize-serial): Remove.
214         (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
215         make weak.
216         (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
217         equal string.
218         (hi-lock-set-pattern): Adjust accordingly.
219         (hi-lock--regexps-at-point): Simplify accordingly.
220         (hi-lock--auto-select-face-defaults): Remove.
221         (hi-lock--last-face): New var to replace it.
222         (hi-lock-read-face-name): Rewrite (bug#11095).
223         (hi-lock-unface-buffer): Arrange for the face to be the next default.
225 2012-12-06  Michael Albinus  <michael.albinus@gmx.de>
227         * net/tramp.el (tramp-replace-environment-variables):
228         Hide compiler warning.
229         (tramp-file-name-for-operation): Remove `executable-find',
230         `start-process', `call-process' and `call-process-region'.
232         * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
234         * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
235         compatibility.
237         * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
239 2012-12-06  Chong Yidong  <cyd@gnu.org>
241         * ffap.el (ffap-replace-file-component): Fix typo.
243 2012-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
245         * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
246         fix open-paren-like token test (bug#12785).
248 2012-12-06  Glenn Morris  <rgm@gnu.org>
250         * mail/rmailsum.el (rmail-new-summary): Tweak for
251         rmail-maybe-display-summary changing buffer.  (Bug#13066)
253 2012-12-06  Juri Linkov  <juri@jurta.org>
255         * info.el (Info-fontify-node): Don't hide the last newline.
256         (Bug#12272)
258 2012-12-06  Katsumi Yamaoka  <yamaoka@jpl.org>
260         * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
261         so as to enable message-read-from-minibuffer to expand mail aliases.
263 2012-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
265         * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
266         the `intangible' property.
267         Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
269 2012-12-05  Deniz Dogan  <deniz@dogan.se>
271         * net/rcirc.el (rcirc-urls): Update documentation.
272         (rcirc-condition-filter): New function.
273         (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
274         and exclude consecutive duplicate URLs (Bug#6082).
276 2012-12-05  Michael Albinus  <michael.albinus@gmx.de>
278         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
279         Check return code of copy command.
281         * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
282         Use group `tramp'.  Add version.
284 2012-12-05  Chong Yidong  <cyd@gnu.org>
286         * ffap.el (ffap-url-regexp): Don't require matching at front of
287         string (Bug#4952).
288         (ffap-url-p): If only a substring matches, return that.
289         (ffap-url-at-point): Use the return value of ffap-url-p.
290         (ffap-read-file-or-url, ffap-read-file-or-url-internal)
291         (find-file-at-point, dired-at-point, dired-at-point-prompter)
292         (ffap-guess-file-name-at-point): Likewise.
293         (ffap-replace-file-component): Fix typo.
295         * info.el (info-display-manual): Add existing Info buffers, whose
296         files may not be in Info-directory-list, to the completion.
297         (info--manual-names): New helper function.
299 2012-12-05  Glenn Morris  <rgm@gnu.org>
301         * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
302         New functions, for detecting and resolving conflicts.  (Bug#10709)
304 2012-12-04  Jambunathan K  <kjambunathan@gmail.com>
306         * hi-lock.el (hi-lock-auto-select-face): New user variable.
307         (hi-lock-auto-select-face-defaults): New buffer local variable.
308         (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
309         (hi-lock-unface-buffer): Prompt user with useful defaults.
310         With prefix arg, unhighlight all hi-lock patterns in buffer.
312 2012-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
314         * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
316 2012-12-04  Michael Albinus  <michael.albinus@gmx.de>
318         * Makefile.in (TRAMP_SRC):
319         * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
321 2012-12-04  Juergen Hoetzel  <juergen@archlinux.org>
323         * net/tramp-adb.el: New package.
325 2012-12-04  Chong Yidong  <cyd@gnu.org>
327         * terminal.el: Move to obsolete/.
329         * longlines.el: Move to obsolete/.
331         * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
332         Remove code referring to longlines mode.
334 2012-12-03  Juri Linkov  <juri@jurta.org>
336         * sort.el (delete-duplicate-lines): New command.  (Bug#13032)
338 2012-12-03  AgustĂ­n MartĂ­n Domingo  <agustin.martin@hispalinux.es>
340         * textmodes/ispell.el (ispell-init-process)
341         (ispell-start-process, ispell-internal-change-dictionary):
342         Make sure personal dictionary name is expanded after initial
343         `default-directory' value. Use expanded strings for
344         keep/restart checks and for value (Bug#13019).
346 2012-12-03  Jay Belanger  <jay.p.belanger@gmail.com>
348         * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
350 2012-12-03  Leo Liu  <sdl.web@gmail.com>
352         * files.el (dir-locals-read-from-file): Check file non-empty
353         before reading.  (Bug#13038)
355 2012-12-03  Glenn Morris  <rgm@gnu.org>
357         * jka-cmpr-hook.el (jka-compr-get-compression-info):
358         Remove any version extension before checking filename.  (Bug#13006)
359         (jka-compr-compression-info-list): Belated :version bump.
361 2012-12-03  Chong Yidong  <cyd@gnu.org>
363         * simple.el (transient-mark-mode): Doc fix (Bug#11523).
365         * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
366         (buffer-menu): Doc fix (Bug#12294).
368 2012-12-03  Roland Winkler  <winkler@gnu.org>
370         * calendar/diary-lib.el (diary-header-line-format): Use keybinding
371         of diary-show-all-entries in the diary buffer (Bug#12994).
373 2012-12-03  Michael Albinus  <michael.albinus@gmx.de>
375         * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
376         "<STDIN>".  This is binary safe.
378 2012-12-03  Jay Belanger  <jay.p.belanger@gmail.com>
380         * calc/calc-forms.el (math-absolute-from-iso-dt)
381         (math-date-to-iso-dt, math-parse-iso-date-validate)
382         (math-iso-dt-to-date): New functions.
383         (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
384         (math-fd-isoweekday): New variables.
385         (calc-date-notation, math-parse-standard-date, math-format-date)
386         (math-format-date-part): Add support for more formatting codes.
388 2012-12-02  Dmitry Gutov  <dgutov@yandex.ru>
390         * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
391         current buffer's file name when called interactively (Bug#12488).
393 2012-12-02  Juri Linkov  <juri@jurta.org>
395         * info.el (info-display-manual): Don't clobber an existing Info
396         buffer (Bug#10770).  Add completion (Bug#10771).
398 2012-12-01  Yuya Nishihara  <yuya@tcha.org>  (tiny change)
400         * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
401         before using it for comparison (Bug#5297).
403 2012-12-01  Jari Aalto  <jari.aalto@cante.net>
405         * textmodes/css-mode.el (css-current-defun-name): New function.
406         (css-mode): Use it.
408         * textmodes/sgml-mode.el (html-current-defun-name): New function.
409         (html-mode): Use it.
411 2012-12-01  Chong Yidong  <cyd@gnu.org>
413         Modularize add-log-current-defun (Bug#2224).
414         Suggested by Jari Aalto.
416         * vc/add-log.el (add-log-current-defun-function): Doc fix.
417         (add-log-current-defun): Move mode-specific code to other files.
418         (add-log-lisp-like-modes, add-log-c-like-modes)
419         (add-log-tex-like-modes): Variables deleted.
421         * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
422         (lisp-mode-variables): Use it.
424         * progmodes/cc-mode.el (c-common-init):
425         * progmodes/cperl-mode.el (cperl-mode): Set a value for
426         add-log-current-defun-function.
428         * progmodes/m4-mode.el (m4-current-defun-name): New function.
429         (m4-mode): Use it.
431         * progmodes/perl-mode.el (perl-current-defun-name): New.
432         (perl-mode): Use it.
434         * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
435         Use lisp-current-defun-name.
437         * textmodes/tex-mode.el (tex-current-defun-name): New.
438         (tex-common-initialization): Use it.
440         * textmodes/texinfo.el (texinfo-current-defun-name): New.
441         (texinfo-mode): Use it.
443 2012-12-01  Chong Yidong  <cyd@gnu.org>
445         * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
446         * progmodes/autoconf.el (autoconf-mode):
447         * progmodes/js.el (js-mode):
448         * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
449         (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
450         * progmodes/perl-mode.el (perl-mode):
451         * progmodes/sh-script.el (sh-mode, sh-set-shell):
452         * textmodes/css-mode.el (css-mode):
453         * textmodes/sgml-mode.el (html-mode, sgml-mode)
454         (sgml-tags-invisible, sgml-guess-indent):
455         * textmodes/tex-mode.el (tex-common-initialization)
456         (latex-complete-bibtex-keys, tex-shell, tex-main-file)
457         (doctex-mode, plain-tex-mode, latex-mode):
458         * textmodes/texinfo.el (texinfo-mode): Use setq-local.
460 2012-12-01  Kirk Kelsey  <kirk.kelsey@0x4b.net>
462         * vc/vc-hg.el (vc-hg-next-revision):
463         Ensure use of default "tip" output format.  (Bug#6968)
465 2012-12-01  Kim F. Storm  <storm@cua.dk>
467         * startup.el (fancy-startup-tail): Add a clickable link
468         (Bug#2176).
470 2012-12-01  Chong Yidong  <cyd@gnu.org>
472         * startup.el (fancy-startup-tail): Improve the message about
473         auto-save files (Bug#2176).
475         * files.el (recover-session): Improve the descriptive message, and
476         use substitute-command-keys.
478 2012-12-01  Glenn Morris  <rgm@gnu.org>
480         * ido.el (ido-file-internal):
481         Handle other-window, other-frame for dired.  (Bug#13036)
483 2012-11-30  Glenn Morris  <rgm@gnu.org>
485         * icomplete.el (icomplete-separator): Fix :version.
487 2012-11-30  Chong Yidong  <cyd@gnu.org>
489         * shell.el (shell): For C-u M-x shell, use an inactive shell
490         buffer as the default (Bug#1975).
491         (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
492         (shell-mode): Use them to reapply ansi colorization if Shell mode
493         is re-enabled.
495 2012-11-30  Yuriy Vostrikov  <delamonpansie@gmail.com>  (tiny change)
497         * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
499 2012-11-30  Samuel Bronson  <naesten@gmail.com>
501         * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
502         flag to xargs, for compatibility with BSD xargs (Bug#11703).
504 2012-11-30  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
506         * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
507         by move-to-column (Bug#3234).
509 2012-11-30  Chong Yidong  <cyd@gnu.org>
511         * longlines.el (longlines-wrap-line, longlines-encode-region):
512         Preserve text properties (Bug#1425).
514 2012-11-30  OKAZAKI Tetsurou  <okazaki.tetsurou@gmail.com>  (tiny change)
516         * vc/vc.el (vc-register): Allow registering a file which is
517         already registered with a different backend (Bug#10589).
519 2012-11-29  Jambunathan K  <kjambunathan@gmail.com>
520             Stefan Monnier  <monnier@iro.umontreal.ca>
522         * icomplete.el: Change separator; add ido-style commands.
523         (icomplete-show-key-bindings): Remove custom var.
524         (icomplete-get-keys): Remove function.
525         (icomplete-forward-completions, icomplete-backward-completions):
526         New commands.
527         (icomplete-minibuffer-map): New var.
528         (icomplete-minibuffer-setup): Use it.
529         (icomplete-exhibit): Don't delay if the list of completions is known.
530         (icomplete-separator): New custom.
531         (icomplete-completions): Use it.
532         * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
533         (minibuffer-force-complete-and-exit): New command.
534         (minibuffer--complete-and-exit): New function extracted from
535         minibuffer-complete-and-exit.
536         (minibuffer-complete-and-exit): Use it.
538         * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
539         error message when the file doesn't exist (bug#12974).
541 2012-11-29  Kelly Dean  <kellydeanch@yahoo.com>  (tiny change)
543         * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
545 2012-11-29  Glenn Morris  <rgm@gnu.org>
547         * files.el (hack-dir-local-variables): Warn if try to set
548         coding via dir-locals, since it doesn't work.  (Bug#7169)
550         Add desktop support for restoring vc-dir buffers.  (Bug#10606)
551         * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
552         Set buffer-local value of desktop-save-buffer.
553         (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
554         New functions.
555         (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
556         * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
558         * files.el (inhibit-local-variables-ignore-case): New.  (Bug#10610)
559         (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
560         Doc fix.
561         (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
562         Doc fixes.
564 2012-11-28  Jay Belanger  <jay.p.belanger@gmail.com>
566         * calc/calc-forms.el (calc-date-notation): Fix regexp
567         used to find time codes.  Fix symbol for seconds.
569 2012-11-27  Glenn Morris  <rgm@gnu.org>
571         * emacs-lisp/derived.el (derived-mode-make-docstring):
572         Don't mention "abbrev" or "syntax" if nil.  (Bug#11277)
574 2012-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
576         * textmodes/table.el (table-insert): Don't use `symbol-name' on
577         lexically scoped variables (bug#13005).
579 2012-11-27  Glenn Morris  <rgm@gnu.org>
581         * vc/vc-hooks.el (vc-mistrust-permissions):
582         Default to t, to avoid data-loss.  (Bug#11490)
584 2012-11-27  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
586         * progmodes/python.el (python-indent-guess-indent-offset):
587         If indentation is guessed make python-indent-offset buffer-local.
589         Fix Imenu regression.
590         * progmodes/python.el (python-nav-beginning-of-defun):
591         Fix forward movement when statement(s) separates point from defun.
592         (python-imenu-prev-index-position): New function.
594 2012-11-27  Eli Zaretskii  <eliz@gnu.org>
596         * subr.el (buffer-file-type): Declare with defvar-local.  Doc fix.
598         * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
599         Don't set buffer-file-type.  Return nil.  (Bug#12989)
601 2012-11-27  Glenn Morris  <rgm@gnu.org>
603         * hippie-exp.el (hippie-expand-try-functions-list):
604         Re-autoload it.  (Bug#12982)
606 2012-11-27  Eli Zaretskii  <eliz@gnu.org>
608         * descr-text.el (describe-char-padded-string):
609         Call internal-char-font only on GUI frames.  (Bug#11964)
611 2012-11-27  Andreas Schwab  <schwab@linux-m68k.org>
613         * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
614         and obsoletion message.
616 2012-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
618         * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
619         the constructs to keep outside of the `cl-block' (bug#12977).
621 2012-11-27  Chong Yidong  <cyd@gnu.org>
623         * mouse.el (mouse-drag-line): Even if the line is not draggable,
624         keep reading until we get the up-event anyway, in order to process
625         the up-event for mouse-1-click-follows-link (Bug#12971).
627 2012-11-26  Stefan Monnier  <monnier@iro.umontreal.ca>
629         * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
630         base function is not yet defined (bug#12965).
631         (ad-activate-advised-definition): Use ad-compile-function.
632         (ad-activate): Use cond.
634 2012-11-25  Leo Liu  <sdl.web@gmail.com>
636         * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
637         (Bug#12979)
639 2012-11-24  Vincent BelaĂ¯che  <vincentb1@users.sourceforge.net>
641         * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
642         reftex-section-info-function in order to be compatible with
643         Texinfo integration.
645         * textmodes/reftex.el (reftex-section-pre-regexp)
646         (reftex-section-post-regexp, reftex-section-info-function):
647         New variable.
648         (reftex-compile-variables): Use variables reftex-section-pre-regexp,
649         reftex-section-post-regexp, and reftex-section-info-function in order
650         to be compatible with Texinfo integration.
652         * textmodes/reftex-toc.el (reftex-toc-promote-action):
653         use reftex-section-pre-regexp variable in order to be compatible with
654         Texinfo integration.
656 2012-11-25  Chong Yidong  <cyd@gnu.org>
658         * faces.el: Make face-spec-set more analogous to setq.
659         (face-spec-set): Change the third arg to specify whether this
660         function is being called via defface, customize, or a third party.
661         Set the appropriate symbol properties.  Clear the override spec if
662         setting via Custom.  Initialize face if necessary.  (Bug#4988)
663         (face-spec-recalc): Allow theme faces to completely replace the
664         defface spec, in the same way as custom faces (Bug#8454).
666         * cus-face.el (custom-declare-face): Move face initialization to
667         face-spec-set.
668         (custom-theme-set-faces): Don't initialize the face name here, as
669         that is now done in face-spec-set.
671         * cus-edit.el (custom-face-set, custom-face-mark-to-save)
672         (custom-face-reset-saved, custom-face-mark-to-reset-standard):
673         Simplify by using the new arg to face-spec-set.
675         * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
676         reset face-override-spec too, and use custom-declare-face.
678 2012-11-24  Jan Djärv  <jan.h.d@swipnet.se>
680         * term/ns-win.el (ns-initialize-window-system): Move creation of
681         fontsets here (Bug#11964).
683 2012-11-24  Vincent BelaĂ¯che  <vincentb1@users.sourceforge.net>
685         * ses.el (ses-rename-cell): Correct bug on mode-line update after
686         cell renaming.
688 2012-11-24  Chong Yidong  <cyd@gnu.org>
690         * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
691         obsolete.
693         * custom.el (custom-theme-set-variables): Use a topological sort
694         for ordering by custom dependencies (Bug#12952).
695         (custom--sort-vars, custom--sort-vars-1): New functions.
697 2012-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
699         * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
700         lexical-binding (bug#12938).
702 2012-11-24  Wolfgang Jenkner  <wjenkner@inode.at>
704         * image-mode.el (image-transform-check-size): Use assertions only
705         for images of type imagemagick.
707         Otherwise no error, image-transform-fit-to-{width,height} is
708         silently ignored, as before.  Doc fix.
710 2012-11-24  Chong Yidong  <cyd@gnu.org>
712         * faces.el (color-defined-p): Doc fix (Bug#12853).
714 2012-11-24  Juri Linkov  <juri@jurta.org>
716         * dired.el (dired-mark): Add optional arg `interactive'.
717         Check for `use-region-p' if `interactive' is non-nil.
718         (dired-unmark, dired-flag-file-deletion): Add optional arg
719         `interactive'.  Call `dired-mark' with the arg `interactive'.
720         (Bug#10624)
722         * wdired.el: Revert 2012-10-17 change partly and replace it with
723         Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
724         (wdired-finish-edit): Add marks for new file names to
725         `wdired-old-marks'.  Restore marks using `dired-mark-remembered'
726         after `revert-buffer'.
727         (wdired-do-renames): Remove calls to `dired-remove-file',
728         `dired-add-file', `dired-add-entry'.  (Bug#11795)
730 2012-11-24  Alan Mackenzie  <acm@muc.de>
732         * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
734         Fix bugs in the state cache.  Enhance a debugging mechanism.
735         * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
736         "brace at column zero" strategy for C++.
737         (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
738         (c-parse-state-point): New variable.
739         (c-record-parse-state-state): Record old parse state with
740         `copy-tree'.  Record previous value of point.
741         (c-debug-parse-state-double-cons): New debugging function.
742         (c-debug-parse-state): Call the above new function.
743         (c-toggle-parse-state-debug): Output a confirmatory message.
745         * progmodes/cc-mode.el (c-before-change, c-after-change):
746         Call c-invalidate-state-cache from `c-before-change' instead of
747         `c-after-change'.
749 2012-11-23  Chong Yidong  <cyd@gnu.org>
751         * find-cmd.el (find-constituents): Add executable, ipath,
752         readable, samefile, writable, daystart, regextype (Bug#12856).
754 2012-11-23  Stefan Monnier  <monnier@iro.umontreal.ca>
756         * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
758 2012-11-22  Paul Eggert  <eggert@cs.ucla.edu>
760         * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
761         definition.  This fixes a bootstrap failure.
762         (calc-gregorian-switch): In menu, put dates before regions.
763         This is easier to follow, lines up better in the menu, and lets us
764         coalesce regions that switch at the same time.  Give country
765         names, not "Vatican", as that's better for non-expert users.
766         Use names that are stable between the date of switch and now, e.g.,
767         Bohemia and Moravia (which existed then and now) and not
768         Czechoslovakia (which didn't exist then and doesn't exist now).
769         What is now the U.S. mostly did not switch at the same time as
770         Britain, so omit the U.S.  Correct spelling of "Britain".
771         Catholic Switzerland was too much of a mess, so omit it.
773 2012-11-22  Jay Belanger  <jay.p.belanger@gmail.com>
775         * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
776         after the variable is changed.
778 2012-11-21  Daniel Colascione  <dancol@dancol.org>
780         * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
781         in SQL declarations for font-lock.
782         (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
784 2012-11-21  Glenn Morris  <rgm@gnu.org>
786         * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
787         (face-italic-p): Add optional argument "inherit".
789         * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
790         Remove -p suffix from names, for consistency with other set-face-*.
791         (set-face-inverse-video): Fix interactive spec.
792         * play/gamegrid.el (gamegrid-make-mono-tty-face):
793         * textmodes/table.el (table--update-cell-face):
794         Use set-face-inverse-video rather than now obsolete alias.
796 2012-11-21  Eli Zaretskii  <eliz@gnu.org>
798         * simple.el (line-move): Don't call line-move-partial if
799         scroll-conservatively is in effect.  (Bug#12927)
801 2012-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
803         * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
804         Fallback on completion-at-point rather than
805         pcomplete-expand-and-complete, and only if pcomplete actually failed.
806         (eshell-cmpl-initialize): Setup completion-at-point.
808         * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
810         * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
812 2012-11-21  Michael Albinus  <michael.albinus@gmx.de>
814         * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
815         are remote, check out-of-band property for both.
817 2012-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
819         * window.el (switch-to-buffer): Re-add the warning that was lost in the
820         code rewrite.
822 2012-11-21  Paul Eggert  <eggert@cs.ucla.edu>
824         More minor time fixes.
825         * calendar/time-date.el: Commentary fix.
826         * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
827         too much other code depends on (0 0) time stamps.
828         * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
829         Add a couple of FIXME comments.
831         Minor cleanup for times as lists of four integers.
832         * files.el (dir-locals-directory-cache):
833         * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
834         Doc fixes.
835         * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
836         * ps-bdf.el (bdf-file-newer-than-time):
837         Process four-integers time stamps, not two.  Doc fixes.
839 2012-11-20  Stefan Monnier  <monnier@iro.umontreal.ca>
841         * uniquify.el (uniquify-managed): Use defvar-local.
842         (rename-buffer, create-file-buffer): Advise with advice-add.
843         (uniquify-unload-function): Unadvise accordingly.
845         * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
846         (trace-buffer): Don't purecopy.
847         (trace-entry-message, trace-exit-message): Add `context' arg.
848         (trace--timer): New var.
849         (trace-make-advice): Adjust for use in nadvice.
850         Add `context' argument.  Delay `display-buffer' via a timer.
851         (trace-function-internal): Use advice-add.
852         (trace--read-args): New function.
853         (trace-function-foreground, trace-function-background): Use it.
854         (trace-function): Rename to trace-function-foreground and redefine as
855         an alias to that new name.
856         (untrace-function, untrace-all): Adjust to the use of nadvice.
858         * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
860         * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
862         * subr.el (called-interactively-p-functions): New var.
863         (internal--called-interactively-p--get-frame): New macro.
864         (called-interactively-p, interactive-p): Rewrite in Lisp.
865         * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
866         (called-interactively-p-functions): Use it.
867         * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
868         (called-interactively-p-functions): Use it.
869         * allout.el (allout-called-interactively-p): Don't assume
870         called-interactively-p is a subr.
872 2012-11-20  Glenn Morris  <rgm@gnu.org>
874         * profiler.el (profiler-report-mode-map): Add a menu.
875         No need to bind `q' because we derive from special-mode.
876         (profiler-report-find-entry): Handle calls from the menu-bar.
878 2012-11-19  Stefan Monnier  <monnier@iro.umontreal.ca>
880         * emacs-lisp/byte-run.el (defun-declarations-alist):
881         Allow a compiler-macro to be a lambda expression.
883         * progmodes/python.el: Use cl-lib.  Move var declarations outside of
884         eval-when-compile.
885         (python-syntax-context): Add compiler-macro.
886         (python-font-lock-keywords): Simplify with De Morgan.
888         * vc/diff-mode.el (diff-hunk): Don't make useless timers.
890         * files.el (load-file): Require match in minibuffer selection, as was
891         the case in Emacs-20 before we changed the spec to allow .elc files
892         (bug#12935).
894         * json.el: Don't require cl since we don't use it.
895         * color.el: Don't require cl.
896         (color-complement): `caddr' -> `nth 2'.
898         * calendar/time-date.el (time-to-seconds): De-obsolete.
900 2012-11-19  Jay Belanger  <jay.p.belanger@gmail.com>
902         * calc/calc-forms.el (math-leap-year-p):  Fix formula for negative
903         year numbers.
904         (math-date-to-julian-dt): Adjust the initial approximation for the
905         year to deal with the new definition of the DATE.
907 2012-11-19  Daniel Colascione  <dancol@dancol.org>
909         * term/w32-win.el (cygwin-convert-path-from-windows):
910         Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
912 2012-11-18  Chong Yidong  <cyd@gnu.org>
914         * filecache.el (file-cache--read-list): New function.
915         (file-cache-add-directory-list, file-cache-add-file-list)
916         (file-cache-delete-file-list, file-cache-delete-directory-list):
917         Use it to read a list of files or directories (Bug#12846).
918         (file-cache-add-file, file-cache-add-directory)
919         (file-cache-delete-file-list, file-cache-delete-file-regexp)
920         (file-cache-delete-directory): Print an message.
922 2012-11-18  Jay Belanger  <jay.p.belanger@gmail.com>
924         * calc/calc-forms.el (math-date-to-dt): Use integer date when
925         calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
927 2012-11-18  Glenn Morris  <rgm@gnu.org>
929         * image.el (insert-image, insert-sliced-image): Doc fix.
931 2012-11-18  Chong Yidong  <cyd@gnu.org>
933         * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
934         (Bug#12810).
936 2012-11-18  OKAZAKI Tetsurou  <okazaki.tetsurou@gmail.com>  (tiny change)
938         * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
939         response when the target file is in a subdirectory (Bug#12757).
941 2012-11-18  Chong Yidong  <cyd@gnu.org>
943         * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
945 2012-11-18  Glenn Morris  <rgm@gnu.org>
947         * emacs-lisp/cl-lib.el (face-underline-p):
948         Use set-face-underline rather than the alias set-face-underline-p.
950         * window.el (with-temp-buffer-window): Doc fix.
951         * subr.el (with-output-to-temp-buffer):
952         Add doc xref to with-temp-buffer-window.
954 2012-11-18  Juanma Barranquero  <lekktu@gmail.com>
956         * woman.el (woman-non-underline-faces): Use `set-face-underline'.
957         * calc/calc.el (math-format-date-cache): Declare.
959 2012-11-17  Paul Eggert  <eggert@cs.ucla.edu>
961         Calc by default uses the Gregorian calendar for all dates (Bug#12633).
962         It also uses January 1, 1 AD as its day number 1.
963         * calc/calc-forms.el (math-julian-date-beginning)
964         (math-julian-date-beginning-int): Implement this.
966 2012-11-17  Juanma Barranquero  <lekktu@gmail.com>
968         * descr-text.el (quail-find-key):
969         * dired.el (desktop-file-name):
970         * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
971         * generic-x.el (comint-mode, comint-exec):
972         * image-dired.el (widget-forward):
973         * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
974         (speedbar-change-expand-button-char)
975         (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
976         (speedbar-make-specialized-keymap, speedbar-make-tag-line):
977         * printing.el (easy-menu-add-item, easy-menu-remove-item)
978         (widget-field-action, widget-value-set):
979         * speedbar.el (imenu--make-index-alist):
980         * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
981         (ring-length, ring-insert):
982         * vcursor.el (compare-windows-skip-whitespace):
983         * woman.el (dired-get-filename):
984         Declare functions.
986         * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
988 2012-11-17  Jay Belanger  <jay.p.belanger@gmail.com>
990         * calc/calc.el (calc-gregorian-switch): New variable.
992         * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
993         (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
994         (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
995         (math-leap-year-p): Add option to distinguish between Julian
996         and Gregorian calendars.
997         (math-day-number): Use `math-day-in-year' to do the computations.
998         (math-absolute-from-dt): Rename from `math-absolute-from-date'.
999         Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
1000         to do the computations.
1001         (math-date-to-dt): Use `math-date-to-julian-dt' and
1002         `math-date-to-gregorian-dt' to do the computations.
1003         (calcFunc-weekday, math-format-date-part): Use the new version of
1004         the DATE to determine the weekday.
1005         (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
1006         when necessary.
1008 2012-11-17  Eli Zaretskii  <eliz@gnu.org>
1010         * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
1011         Cygwin; otherwise use 'file:'.  (Bug#12914)
1012         (cygwin-convert-path-from-windows): Declare, to avoid
1013         byte-compiler warnings.
1015 2012-11-17  Andreas Politz  <politza@fh-trier.de>
1017         * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
1018         (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
1019         prefix and negative numeric prefix args (Bug#12795).
1021 2012-11-17  Stephen Berman  <stephen.berman@gmx.net>
1023         * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
1024         Don't signal an error with a score that is too low to add to the
1025         list of top scores. (Bug#12779)
1027 2012-11-17  Chong Yidong  <cyd@gnu.org>
1029         * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
1031         * filecache.el (file-cache-add-file): Handle relative file name in
1032         the argument (Bug#12694).
1034 2012-11-16  JĂ¼rgen Hötzel  <juergen@archlinux.org>  (tiny change)
1036         * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
1038 2012-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
1040         * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
1042         * emacs-lisp/cl-lib.el: Set more meaningful version number.
1044 2012-11-16  Martin Rudalics  <rudalics@gmx.at>
1046         * window.el (enlarge-window, shrink-window): Don't mention return
1047         value in doc-string (Bug#12896).
1048         (window--display-buffer): Don't resize frames - it won't work
1049         with all window managers and defeat pop-up-frame-alist.
1050         (display-buffer-alist): In doc-string explain that CONDITION can
1051         be a function and which arguments are passed to it (Bug#12854).
1052         (display-buffer-assq-regexp): New argument ACTION.  Handle lambda
1053         expressions (Bug#12854).
1054         (display-buffer): Pass ACTION argument to
1055         display-buffer-assq-regexp.
1057 2012-11-16  Glenn Morris  <rgm@gnu.org>
1059         * window.el (fit-frame-to-buffer-bottom-margin)
1060         (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
1062         * faces.el (face-underline-p): Use face-attribute-specified-or.
1064 2012-11-16  Juanma Barranquero  <lekktu@gmail.com>
1066         * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
1068 2012-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
1070         * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
1072 2012-11-16  Glenn Morris  <rgm@gnu.org>
1074         * eshell/em-cmpl.el (eshell-pcomplete): New command.  (Bug#12838)
1075         (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
1077         * faces.el (face-underline-p): Doc fix.  Handle :underline being
1078         things other than `t' (a string, a list).
1079         (face-inverse-video-p): Doc fix.
1080         (set-face-underline): Rename it back from set-face-underline-p.
1081         Doc fix.  Allow interactive input of values other than t.
1082         (read-face-attribute): Apply formatting to :underline,
1083         since like :box and :stipple it can take list values.
1085         * term.el (ansi-term): Don't let C-x escape-char binding
1086         clobber the more standard C-c binding.  (Bug#12842)
1088         * subr.el (set-temporary-overlay-map): Doc fix.
1090 2012-11-16  Martin Rudalics  <rudalics@gmx.at>
1092         * window.el (record-window-buffer)
1093         (display-buffer-record-window): When copying the markers to
1094         window-point preserve window-point-insertion-type. (Bug#12588)
1096 2012-11-16  Glenn Morris  <rgm@gnu.org>
1098         * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
1099         * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
1100         Use new names for hooks rather than obsolete aliases.
1102 2012-11-15  Daniel Colascione  <dancol@dancol.org>
1104         * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
1105         prefix instead of "file:" so that when FILE-NAME begins with "//",
1106         as it does when the target file is on a network share, url-handler
1107         isn't confused.
1109 2012-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>
1111         * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
1112         a preactivated advice from an old advice.el; they're not compatible!
1114 2012-11-15  Katsumi Yamaoka  <yamaoka@jpl.org>
1116         * emacs-lisp/nadvice.el (advice--make-interactive-form):
1117         Fix string-spec case.
1119         * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
1121 2012-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>
1123         * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
1124         (advice--buffer-local-function-sample): New var.
1125         (advice--set-buffer-local, advice--buffer-local): New functions.
1126         (add-function, remove-function): Use them.
1128 2012-11-15  Drew Adams  <drew.adams@oracle.com>
1130         * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
1132 2012-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>
1134         * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
1135         potential binding of print-gensym to t, and prettify (back)quotes in
1136         case they appear in args's default values (bug#12884).
1138 2012-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
1140         * emacs-lisp/nadvice.el: Add around advice for interactive specs.
1141         (advice-eval-interactive-spec): New function.
1142         (advice--make-interactive-form): Support around advice (bug#12844).
1144 2012-11-14  Dmitry Gutov  <dgutov@yandex.ru>
1146         * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
1147         more strict.  Add docstring.
1148         (ruby-expression-expansion-re): Extract from
1149         `ruby-match-expression-expansion'.
1150         (ruby-syntax-propertize-function): After everything else, search
1151         for expansions in string literals, mark their insides as
1152         whitespace syntax and save match data for font-lock.
1153         (ruby-font-lock-keywords): Use the 2nd group from expression
1154         expansion matches.
1155         (ruby-match-expression-expansion): Use the match data saved to the
1156         text property in ruby-syntax-propertize-function.
1158 2012-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
1160         * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
1161         (bug#12879).
1163 2012-11-13  Dmitry Gutov  <dgutov@yandex.ru>
1165         * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
1166         start/end keyword a bit harder.  Works with different values of N.
1167         Add more comments.
1168         (ruby-end-of-block): Update accordingly.
1170 2012-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
1172         * woman.el (woman-file-name): Don't mess with unread-command-events
1173         (bug#12861).
1175         * emacs-lisp/advice.el: Layer on top of nadvice.el.
1176         Remove out of date self-require hack.
1177         (ad-do-advised-functions): Use simple `dolist'.
1178         (ad-advice-name, ad-advice-protected, ad-advice-enabled)
1179         (ad-advice-definition): Redefine as functions.
1180         (ad-advice-classes): Move before first use.
1181         (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
1182         (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
1183         (ad--defalias-fset): Remove functions.
1184         (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
1185         (ad-get-orig-definition): Rewrite.
1186         (ad-make-advised-definition-docstring): Change base docstring.
1187         (ad-real-orig-definition): Rewrite.
1188         (ad-map-arglists): Change name of called function.
1189         (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
1190         (ad-make-advised-definition): Simplify.
1191         (ad-assemble-advised-definition): Tweak for new calling context.
1192         (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
1193         (ad--defalias-fset): Rename from ad-handle-definition.  Make it set the
1194         function and call ad-activate if needed.
1195         (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
1196         (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
1197         (ad-compile-function): Compile ad-Advice-*.
1198         (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
1199         (ad-start-advice, ad-stop-advice): Remove.
1201 2012-11-13  Dmitry Gutov  <dgutov@yandex.ru>
1203         * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
1204         period before class method names, not after.  Remove handling of
1205         one impossible case.  Add comments.
1207 2012-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
1209         * emacs-lisp/advice.el: Remove support for freezing.
1210         (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
1211         (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
1212         Remove support for `freeze'.
1214         * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
1215         override the default.
1216         * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
1217         cl--dotimes/dolist.
1218         * subr.el (dolist, dotimes, declare): Redefine them normally, even when
1219         `cl' is loaded.
1221         * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
1222         from add-advice.
1223         (advice--strip-macro): New function.
1224         (advice--defalias-fset): Use them to handle macros.
1225         (advice-add): Use them.
1226         (advice-member-p): Correctly handle macros.
1228 2012-11-13  Dmitry Gutov  <dgutov@yandex.ru>
1230         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1231         Never font-lock the beginning of singleton class as heredoc.
1233 2012-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
1235         * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
1237 2012-11-13  Wolfgang Jenkner  <wjenkner@inode.at>
1239         * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
1240         39 and 49 (bug#12792).  Also, treat unimplemented parameters as 0,
1241         thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
1243 2012-11-13  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
1245         Fix end-of-defun misbehavior.
1246         * progmodes/python.el (python-nav-beginning-of-defun): Rename from
1247         python-beginning-of-defun-function.  Handle nested defuns
1248         correctly.
1249         (python-nav-end-of-defun): Rename from
1250         python-end-of-defun-function.  Ensure forward movement.
1251         (python-info-current-defun): Reimplement to work as intended
1252         with new fixed python-nav-{end,beginning}-of-defun.  Stop scanning
1253         parent defuns as soon as possible.
1255 2012-11-13  Glenn Morris  <rgm@gnu.org>
1257         * progmodes/flymake.el (flymake-error-bitmap)
1258         (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
1259         (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
1261 2012-11-13  Dmitry Gutov  <dgutov@yandex.ru>
1263         * progmodes/ruby-mode.el (ruby-move-to-block): When moving
1264         backward, always stop at indentation.  Reverts the change from
1265         2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
1267 2012-11-13  Glenn Morris  <rgm@gnu.org>
1269         * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
1270         Add ibuffer-filter-by-derived-mode.
1272         * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
1273         the same name shadowing each other.
1275         * window.el (with-temp-buffer-window): Doc tweak.
1277         * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
1279         * help.el (temp-buffer-max-height):
1280         * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
1281         * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
1283 2012-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
1285         * emacs-lisp/nadvice.el: New package.
1286         * subr.el (special-form-p): New function.
1287         * emacs-lisp/elp.el: Use lexical-binding and advice-add.
1288         (elp-all-instrumented-list): Remove var.
1289         (elp-not-profilable): Remove elp-wrapper.
1290         (elp-profilable-p): Use autoloadp and special-form-p.
1291         (elp--advice-name): New const.
1292         (elp-instrument-function): Use advice-add.
1293         (elp--instrumented-p): New predicate.
1294         (elp-restore-function): Use advice-remove.
1295         (elp-restore-all, elp-reset-all): Use mapatoms.
1296         (elp-set-master): Use elp--instrumented-p.
1297         (elp--make-wrapper): Rename from elp-wrapper, return a function
1298         suitable for advice-add.  Use cl-inf.
1299         (elp-results): Use mapatoms+elp--instrumented-p.
1300         * emacs-lisp/debug.el: Use lexical-binding and advice-add.
1301         (debug-function-list): Remove var.
1302         (debug): Rename arg, and then let-bind it explicitly inside.
1303         (debugger-setup-buffer): Rename arg.
1304         (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
1305         (debugger-frame-number): Adjust to new debug-on-entry setup.
1306         (debug--implement-debug-on-entry): Rename from
1307         implement-debug-on-entry, add argument.
1308         (debugger-special-form-p): Remove, use special-form-p instead.
1309         (debug-on-entry): Use advice-add.
1310         (debug--function-list): New function.
1311         (cancel-debug-on-entry): Use it, along with advice-remove.
1312         (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
1313         (debugger-list-functions): Use debug--function-list instead of
1314         debug-function-list.
1315         * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
1316         (ad-special-form-p): Remove, use special-form-p instead.
1317         (ad-set-advice-info): Use add-function and remove-function.
1318         (ad--defalias-fset): Adjust accordingly.
1320 2012-11-10  Glenn Morris  <rgm@gnu.org>
1322         * mail/emacsbug.el (report-emacs-bug-tracker-url)
1323         (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
1324         (report-emacs-bug-create-existing-bugs-buffer)
1325         (report-emacs-bug-parse-query-results)
1326         (report-emacs-bug-query-existing-bugs): Remove.  (Bug#7449)
1328         * term.el (term-default-fg-color, term-default-bg-color):
1329         Make obsolete, rather than just saying "deprecated" in the doc.
1331         * term.el (term): Rename from `term-face'.
1332         (term-current-face, ansi-term-color-vector)
1333         (term-default-fg-color, term-default-bg-color, term-ansi-reset):
1334         Update all users.
1336 2012-11-10  Jan Djärv  <jan.h.d@swipnet.se>
1338         * server.el (server-create-window-system-frame): Handle Nextstep
1339         specially (Bug#12780).
1341 2012-11-10  Glenn Morris  <rgm@gnu.org>
1343         * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
1344         Unautoload, and make obsolete.  (Bug#7449)
1346 2012-11-10  Chong Yidong  <cyd@gnu.org>
1348         * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
1349         rename from diff-remove-trailing-whitespace (Bug#12831).
1351 2012-11-10  Stefan Monnier  <monnier@iro.umontreal.ca>
1353         * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
1354         miscompilation of trace.el.
1356 2012-11-10  Glenn Morris  <rgm@gnu.org>
1358         * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
1360 2012-11-10  Stefan Monnier  <monnier@iro.umontreal.ca>
1362         * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
1363         (bug#12812).
1365 2012-11-10  Chong Yidong  <cyd@gnu.org>
1367         * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
1368         a defcustom with an appropriate :set function.
1369         (minibuffer-default--in-prompt-regexps): New function.
1371 2012-11-10  Glenn Morris  <rgm@gnu.org>
1373         * emacs-lisp/cl.el (define-setf-expander, defsetf)
1374         (define-modify-macro): Doc fixes.
1376         * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
1377         (gv-define-simple-setter): Update doc of `fix-return'.
1379 2012-11-10  Stefan Monnier  <monnier@iro.umontreal.ca>
1381         * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
1382         twice when `fix-return' is set (bug#12813).
1384         * emacs-lisp/cl.el (defsetf): Pass the third arg to
1385         gv-define-simple-setter (bug#12812).
1387         * woman.el (woman-decode-region): Disable adaptive-fill when rendering
1388         (bug#12756).
1390 2012-11-10  Glenn Morris  <rgm@gnu.org>
1392         * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
1394         * emacs-lisp/cl-extra.el (cl-prettyexpand):
1395         * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
1396         * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
1397         (cl-the, cl-compiler-macroexpand): Add basic doc strings.
1399         * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
1401 2012-11-10  Leo Liu  <sdl.web@gmail.com>
1403         * ido.el (ido-set-matches-1): Improve flex matching performance by
1404         removing backtracking in the regexp (suggested by Stefan).  (Bug#12796)
1406 2012-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
1408         * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
1409         (ad--defalias-fset): New function.
1410         (ad-safe-fset): Remove.
1411         (ad-make-freeze-definition): Use cl-letf*.
1413 2012-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
1415         * subr.el (dolist): Don't bind VAR in RESULT.
1417         * emacs-lisp/advice.el: Miscellaneous cleanup.  Use lexical-binding.
1418         (fset, documentation): Don't save real def since we don't advise.
1419         (ad-do-advised-functions): Remove problematic `result-form'.
1420         (ad-safe-fset): `ad-real-fset' => `fset'.
1421         (ad-read-advised-function): Don't assume that ad-do-advised-functions
1422         uses CL's dolist internally.
1423         (ad-arglist): Remove unused arg `name'.
1424         (ad-docstring, ad-make-advised-docstring):
1425         `ad-real-documentation' => `documentation'.
1426         (warning-suppress-types): Declare.
1427         (ad-set-arguments): Simple CSE.
1428         (ad-recover-normality): Sanity check.
1430         * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
1431         (funcall '(lambda ..) ..) into ((lambda ..) ..).
1433 2012-11-09  Vincent BelaĂ¯che  <vincentb1@users.sourceforge.net>
1435         * ses.el: symbol to coordinate mapping is made by symbol property
1436         `ses-cell'.  This means that the same mapping is done for all SES
1437         sheets.  That is good enough for cells with standard A1 names, but
1438         not for named cell.  So a hash map is added for the latter.
1439         (defconst ses-localvars): Add local variable ses--named-cell-hashmap
1440         (ses-sym-rowcol): Use hashmap for named cell.
1441         (ses-is-cell-sym-p): New defun.
1442         (ses-decode-cell-symbol): New defun.
1443         (ses-create-cell-variable): Add cell to hashmap when name is not
1444         A1-like.
1445         (ses-rename-cell): Check that cell new name is not already in
1446         spreadsheet with the use of ses-is-cell-sym-p
1447         (ses-rename-cell): Use hash map for named cells, but accept also
1448         renaming back to A1-like.
1450 2012-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
1452         * emacs-lisp/advice.el: Use new dynamic docstrings.
1453         (ad-make-advised-definition-docstring, ad-advised-definition-p):
1454         Use dynamic-docstring-function instead of ad-advice-info.
1455         (ad--make-advised-docstring): New function extracted from
1456         ad-make-advised-docstring.
1457         (ad-make-advised-docstring): Use it.
1458         * progmodes/sql.el (sql--make-help-docstring): New function, extracted
1459         from sql-help.
1460         (sql-help): Use it with dynamic-docstring-function.
1462         * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
1464 2012-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1466         * files.el (hack-one-local-variable--obsolete): New function.
1467         (hack-one-local-variable): Use it for obsolete settings.
1469         * subr.el (locate-user-emacs-file): If both old and new name exist, use
1470         the new name.
1472         * progmodes/js.el (js--filling-paragraph): New var.
1473         (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
1474         (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
1475         less sneaky.
1477 2012-11-08  Julien Danjou  <julien@danjou.info>
1479         * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
1480         `auto-mode-alist' (Bug#12835).
1482 2012-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1484         * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
1485         (perl--prettify-symbols-alist): New const.
1486         (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
1487         New functions.
1488         (perl-font-lock-keywords-2): Use them.
1489         (perl-electric-noindent-p): New function.
1490         (perl-mode): Use it to set up electric-indent-mode.
1491         (perl-electric-terminator, perl-indent-command): Mark obsolete.
1492         (perl-mode-map): Remove bindings for them.
1493         (perl-imenu-generic-expression, perl-outline-level):
1494         Match functions&packages in column>0.
1496         * env.el (env--substitute-vars-regexp): New const.
1497         (substitute-env-vars): Use it.  Add `only-defined' arg.
1498         * net/tramp.el (tramp-replace-environment-variables): Use it.
1500         * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
1501         Byte-compile *before* eval in eval-and-compile.
1502         (byte-compile-log-warning): Remove redundant inhibit-read-only.
1503         (byte-compile-file-form-autoload): Don't hide actual definition.
1504         (byte-compile-maybe-guarded): Accept `functionp' as well.
1506         * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
1508 2012-11-07  Michael Albinus  <michael.albinus@gmx.de>
1510         * notifications.el (notifications-get-server-information-method):
1511         New defconst.
1512         (notifications-get-capabilities): Fix docstring.
1513         (notifications-get-server-information): New defun.
1515 2012-11-06  AgustĂ­n MartĂ­n Domingo  <agustin.martin@hispalinux.es>
1517         * textmodes/ispell.el (ispell-region): Standard re-indent for better
1518         readability.
1520         * textmodes/ispell.el: Experimental support for support debugging.
1521         (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
1522         buffer for ispell.
1523         (ispell-print-if-debug): New function to print stuff to
1524         `ispell-debug-buffer' if debugging is enabled.
1525         (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
1526         show some debugging info.
1527         (ispell-buffer-with-debug): New function that creates a debugging
1528         buffer and calls `ispell-buffer' with debugging enabled.
1530         * textmodes/ispell.el (ispell-region): Do not prefix sent string by
1531         comment in autoconf mode. (Bug#12768)
1533 2012-11-06  Dmitry Antipov  <dmantipov@yandex.ru>
1535         * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
1536         frame-first-window, frame-root-window, frame-selected-window,
1537         minibuffer-selected-window, minibuffer-window,
1538         window-absolute-pixel-edges, window-at, window-body-height,
1539         window-body-width, window-display-table, window-combination-limit,
1540         window-frame, window-fringes, window-inside-absolute-pixel-edges,
1541         window-inside-edges, window-inside-pixel-edges, window-left-child,
1542         window-left-column, window-margins, window-next-buffers,
1543         window-next-sibling, window-new-normal, window-new-total,
1544         window-normal-size, window-parameter, window-parameters, window-parent,
1545         window-pixel-edges, window-point, window-prev-buffers,
1546         window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
1547         window-start, window-text-height, window-top-child, window-top-line,
1548         window-total-height, window-total-width and window-use-time to the list
1549         of functions without side-effects.
1550         (toplevel): Add window-valid-p to the list of error-free functions
1551         without side-effects.
1553 2012-11-05  AgustĂ­n MartĂ­n Domingo  <agustin.martin@hispalinux.es>
1555         * textmodes/ispell.el (ispell-program-name):
1556         Update spellchecker parameters when customized.
1558 2012-11-04  Glenn Morris  <rgm@gnu.org>
1560         * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn.  (Bug#7850)
1562 2012-11-04  Chong Yidong  <cyd@gnu.org>
1564         * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
1565         same-window-* variables.
1567 2012-11-04  Juri Linkov  <juri@jurta.org>
1569         * isearch.el (isearch-help-for-help, isearch-describe-bindings)
1570         (isearch-describe-key, isearch-describe-mode): Use a display
1571         action instead of binding same-window-* variables (Bug#10040).
1573 2012-11-03  Glenn Morris  <rgm@gnu.org>
1575         * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
1576         Rename handler properties back from cl-- to cl-.  (Bug#12788)
1578         * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
1580 2012-11-03  Eli Zaretskii  <eliz@gnu.org>
1582         * term/pc-win.el: Don't load term/internal from here.
1584         * loadup.el: Load term/internal from here.
1586 2012-11-03  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
1588         * progmodes/python.el (inferior-python-mode): Fix hang in
1589         jit-lock (Bug#12645).
1591 2012-11-03  Martin Rudalics  <rudalics@gmx.at>
1593         * window.el (switch-to-visible-buffer)
1594         (switch-to-buffer-preserve-window-point): Fix doc-strings.
1596 2012-11-03  Glenn Morris  <rgm@gnu.org>
1598         * emacs-lisp/cl-lib.el (cl--random-time):
1599         Rename from cl-random-time.  (Bug#12773)
1600         (cl--gensym-counter, cl--random-state): Update callers.
1601         * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
1603 2012-11-03  Chong Yidong  <cyd@gnu.org>
1605         * cus-start.el: Make cursor-type customizable (Bug#11633).
1607 2012-11-02  Glenn Morris  <rgm@gnu.org>
1609         * filecache.el: No need to load find-lisp when compiling.
1610         (find-lisp-find-files): Autoload it.
1611         (file-cache-add-directory-recursively): Don't require find-lisp.
1613         * image.el (image-type-from-file-name): Trivial simplification.
1615         * emacs-lisp/bytecomp.el (byte-compile-eval):
1616         Decouple "noruntime" and "cl-functions" warnings.
1618 2012-11-01  Stephen Berman  <stephen.berman@gmx.net>
1620         * play/gomoku.el (gomoku-display-statistics): Update mode line
1621         only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
1623 2012-10-31  Martin Rudalics  <rudalics@gmx.at>
1625         * window.el (quit-restore-window): If the window has been
1626         created on an existing frame and ended up as the sole window on
1627         that frame, do not delete it (Bug#12764).
1629 2012-10-31  Stefan Monnier  <monnier@iro.umontreal.ca>
1631         * progmodes/sh-script.el (sh--inside-noncommand-expression):
1632         Rename from sh--inside-arithmetic-expression, handle more cases
1633         (bug#11263).
1635         * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
1636         (sh-font-lock-open-heredoc): Use it (bug#12770).
1638 2012-10-30  Glenn Morris  <rgm@gnu.org>
1640         * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie.  Doc fix.
1642         * emacs-lisp/cl.el (letf): Doc fix.  (Bug#12760)
1644 2012-10-29  Chong Yidong  <cyd@gnu.org>
1646         * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
1647         function key is stored in a keyboard macro (Bug#4894).
1649         * thingatpt.el (number-at-point): Apply a thing-at-point property.
1651 2012-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
1653         * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
1654         header comments".
1655         (diff-unified->context, diff-context->unified)
1656         (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
1658         * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
1660         * files.el (find-alternate-file): Only ask one question (bug#12487).
1662 2012-10-29  Chong Yidong  <cyd@gnu.org>
1664         * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
1665         Suggested by Dan Nicolaescu (Bug#6326).
1667         * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
1669         * startup.el (fancy-about-screen): Don't message (Bug#12680).
1671         * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
1673         * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
1675         * face-remap.el (face-remap-add-relative): Handle the case where a
1676         face-remapping-alist entry is a cons cell (Bug#12762).
1678 2012-10-29  Kevin Ryde  <user42@zip.com.au>
1680         * woman.el (woman-parse-numeric-value): Handle picas correctly
1681         (Bug#12639).
1683 2012-10-29  Glenn Morris  <rgm@gnu.org>
1685         * emacs-lisp/cl.el (defsetf): Doc fix.
1687 2012-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
1689         * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
1690         syntax to the matching opener, if any (bug#12547).
1691         (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
1692         matching open as a "case-(".
1693         (sh-smie-rc-grammar): Add a corresponding rule for it.
1695 2012-10-28  Daniel Hackney  <dan@haxney.org>
1697         * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
1698         "PKGNAME-autoloads.el" in case we created it.
1700 2012-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1702         * minibuffer.el (completion--sifn-requote): Rewrite to handle things
1703         like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
1704         (completion--twq-all): Disable too-strict assertions.
1706         * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
1708 2012-10-27  Eli Zaretskii  <eliz@gnu.org>
1710         * profiler.el (profiler-report-make-entry-part): Fix help-echo
1711         text to match the real keybindings.
1713 2012-10-27  Juri Linkov  <juri@jurta.org>
1715         * wdired.el (wdired-keep-marker-rename): New defcustom.
1716         (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
1717         (Bug#11795)
1719         * dired.el (dired-keep-marker-rename): Add reference to
1720         `wdired-keep-marker-rename' in the docstring.
1721         Add default character value ?R to display initially in
1722         Customization UI instead of ?@.
1724 2012-10-27  Martin Rudalics  <rudalics@gmx.at>
1726         * window.el (display-buffer): In doc-string describe
1727         window-height and window-width alist entries.
1729         * time.el (display-time-world): Restore fit-window-to-buffer
1730         behavior.
1732 2012-10-27  Chong Yidong  <cyd@gnu.org>
1734         * subr.el (insert-buffer-substring-as-yank): Doc fix.
1736 2012-10-26  Jambunathan K  <kjambunathan@gmail.com>
1738         * minibuffer.el (completion-category-overrides): New completion
1739         category `bookmark' (bug#11131).
1741 2012-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
1743         * emacs-lisp/advice.el (ad-assemble-advised-definition):
1744         Silence bogus compiler warnings for ad-do-it.
1746         * bookmark.el (bookmark-completing-read): Set the completion category
1747         to `bookmark' (bug#11131).
1749 2012-10-26  Bastien  <bzg@altern.org>
1750             Stefan Monnier  <monnier@iro.umontreal.ca>
1752         * face-remap.el: Use lexical-binding.
1753         (text-scale-adjust): Improve docstring.  Use itself for the temporary
1754         overlay-map bindings, so as to repeat the "Use..." message each time.
1756 2012-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
1758         * emacs-lisp/macroexp.el (macroexp--expand-all):
1759         Obey byte-compile-warning-enabled-p (bug#12486).
1761         * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
1762         (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
1764 2012-10-26  Martin Rudalics  <rudalics@gmx.at>
1766         * mouse.el (mouse-drag-line): Move last form into preceding when
1767         clause (Bug#12731).
1769         * help.el (resize-temp-buffer-window): Fix doc-string.
1771 2012-10-25  David Engster  <deng@randomsample.de>
1773         * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
1774         Remove.  This feature is already integrated in imenu.
1776         * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
1777         always loaded.  Require `speedbar' unconditionally.
1779 2012-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
1781         * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
1783         * minibuffer.el (minibuffer-force-complete): Fix thinko.
1785         * net/ldap.el (ldap-search-internal): The official ldif format starts
1786         with a "version: 1" header (bug#12724).
1788         * emacs-lisp/package.el (package-installed-p): Warn if not ready
1789         (bug#12721).
1791 2012-10-25  Glenn Morris  <rgm@gnu.org>
1793         * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
1795 2012-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
1797         * minibuffer.el (minibuffer-force-complete): Use one more marker
1798         for the temporary-overlay-map command (bug#12619).
1800 2012-10-24  Chong Yidong  <cyd@gnu.org>
1802         * time.el (display-time-world-mode): Derive from special-mode.
1803         (display-time-world): Use display-buffer (Bug#12708).
1804         (display-time-world-mode-map): Variable deleted.
1805         (display-time-world-display): Wrap the final delete-char inside
1806         inhibit-read-only.
1808 2012-10-24  Chong Yidong  <cyd@gnu.org>
1810         * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
1811         Doc fix.
1813         * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
1815 2012-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
1817         * minibuffer.el (completion--all-sorted-completions-location): New var.
1818         (completion--cache-all-sorted-completions)
1819         (completion--flush-all-sorted-completions): Use it.
1820         (completion-in-region, completion-in-region--postch)
1821         (completion-at-point, completion-help-at-point): Use markers in
1822         completion-in-region--data (bug#12619).
1824 2012-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
1826         * progmodes/compile.el (compilation-start): Try to handle common
1827         quoting of `cd' argument (bug#12640).
1829         * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
1830         (bug#12671).
1832 2012-10-23  Glenn Morris  <rgm@gnu.org>
1834         * progmodes/gud.el (gud-menu-map):
1835         Check gdb-active-process is bound.  (Bug#12358)
1837 2012-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
1839         * repeat.el (repeat): Set real-this-command (bug#12232).
1841         * htmlfontify.el (hfy-post-html-hook):
1842         * filesets.el (filesets-cache-fill-content-hook):
1843         * arc-mode.el (archive-extract-hook):
1844         * progmodes/cc-mode.el (c-prepare-bug-report-hook):
1845         * net/rcirc.el (rcirc-sentinel-functions)
1846         (rcirc-receive-message-functions, rcirc-activity-functions)
1847         (rcirc-print-functions):
1848         * net/dbus.el (dbus-event-error-functions):
1849         * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
1850         * emacs-lisp/checkdoc.el (checkdoc-style-functions)
1851         (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
1852         * term/sun.el (sun-raw-prefix-hooks):
1853         * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
1855 2012-10-23  Michael Albinus  <michael.albinus@gmx.de>
1857         * net/tramp-smb.el (tramp-smb-maybe-open-connection):
1858         Set `tramp-chunksize' to 1.  This improves the performance.
1859         (tramp-smb-wait-for-output): Add timeout to
1860         `tramp-accept-process-output' calls.
1862 2012-10-23  Chong Yidong  <cyd@gnu.org>
1864         * faces.el (font-list-limit): Define as an obsolete variable.
1866         * startup.el (command-line):
1867         * cus-start.el: Don't refer to font-list-limit.
1869         * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
1871 2012-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
1873         * subr.el (internal-temp-output-buffer-show): Rename from
1874         temp-output-buffer-show, since previously compiled files expect this name.
1876 2012-10-23  Glenn Morris  <rgm@gnu.org>
1878         * image.el (image-type-from-file-name): If multiple types match,
1879         return the first one that is supported.  (Bug#9045)
1881 2012-10-22  Glenn Morris  <rgm@gnu.org>
1883         * image.el (imagemagick-enabled-types): Doc fix.
1885 2012-10-22  Takafumi Arakaki  <aka.tkf@gmail.com>  (tiny change)
1887         * progmodes/which-func.el (which-func-current): The hash-table may have
1888         an explicit nil (bug#12338).
1890 2012-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
1892         * electric.el (electric-pair-delete-selection-self-insert-function):
1893         Rename to electric-pair-will-use-region, return a boolean.
1894         (electric-pair-mode): Adjust accordingly.  Don't require delsel.
1896         * delsel.el (delete-selection-helper): Use a function instead of a hook.
1897         (delete-selection-pre-hook): Use use-region-p.
1898         (delete-selection-self-insert-function): Remove.
1899         (self-insert-command): Obey self-insert-uses-region-functions.
1900         (self-insert-iso): Revert to previous setting, since we don't actually
1901         know what that command does.
1902         (delete-selection-self-insert-hooks): Remove.
1904 2012-10-22  Simon Law  <sfllaw@sfllaw.ca>  (tiny change)
1906         * delsel.el (delete-selection-helper): New function, extracted from
1907         delete-selection-pre-hook.
1908         (delete-selection-pre-hook): Use it.
1909         (delete-selection-self-insert-function): New function.
1910         (delete-selection-self-insert-hooks): New hook.
1911         (self-insert-command, self-insert-iso): Use it.
1912         * electric.el (electric-pair-syntax): New function, extracted from
1913         electric-pair-post-self-insert-function.
1914         (electric-pair-post-self-insert-function): Use it.
1915         (electric-pair-delete-selection-self-insert-function): New function.
1916         (electric-pair-mode): Require delsel and setup
1917         delete-selection-self-insert-hooks (bug#11520).
1919 2012-10-20  Chong Yidong  <cyd@gnu.org>
1921         * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
1922         no changes to show (Bug#12586).
1924         * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
1925         list explicitly (Bug#12571).
1927 2012-10-20  Arne Jørgensen  <arne@arnested.dk>
1929         * progmodes/flymake.el (flymake-create-temp-inplace):
1930         Use file-truename.
1932 2012-10-20  Eli Zaretskii  <eliz@gnu.org>
1934         * loadup.el: Update comment about uncompiled Lisp files.  (Bug#12395)
1936 2012-10-20  Jay Belanger  <jay.p.belanger@gmail.com>
1938         * calc/calc-units.el (math-extract-units): Properly extract powers
1939         of units.
1941 2012-10-20  Daniel Colascione  <dancol@dancol.org>
1943         * frame.el (make-frame): Set x-display-name as we used to in order
1944         to unbreak creating an X11 frame from an Emacs daemon started
1945         without a display.
1947 2012-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
1949         * minibuffer.el (minibuffer-force-complete): Make the next completion use
1950         the same completion-field (bug#12221).
1952 2012-10-19  Martin Rudalics  <rudalics@gmx.at>
1954         * emacs-lisp/debug.el (debug): Record height of debugger window
1955         also when debugger will be back (Bug#8789).
1957 2012-10-18  Chong Yidong  <cyd@gnu.org>
1959         * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
1960         Convert to defcustom.
1961         (gdb-get-source-file): Don't bind pop-up-windows.
1963         * progmodes/gud.el (gud-display-line): Don't specially re-use
1964         other frames for the gdb-mi case (Bug#12648).
1966 2012-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
1968         * emacs-lisp/advice.el: Clean up commentary a bit.
1969         (ad-do-advised-functions, ad-with-originals): Use `declare'.
1970         (byte-code-function-p): Never redefine.
1972         * emacs-lisp/gv.el (cond): Same fix as before for `if'.
1974 2012-10-18  Glenn Morris  <rgm@gnu.org>
1976         * dired.el (dired-sort-toggle): Some ls implementations only allow
1977         a single option string.  (Bug#12666)
1979         * minibuffer.el (completion-cycle-threshold): Doc fix.
1981 2012-10-17  Kenichi Handa  <handa@gnu.org>
1983         * international/mule.el (set-keyboard-coding-system):
1984         Recover input meta mode when the new coding system doesn not use 8-bit.
1985         Supply TERMINAL arg to set-input-meta-mode.
1987 2012-10-17  Michael Heerdegen <michael_heerdegen@web.de>
1989         * wdired.el (wdired-old-marks): New variable.
1990         (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
1991         (wdired-do-renames): Move point with renamed file and don't lose
1992         mark status (Bug#11795).
1994 2012-10-16  Juri Linkov  <juri@jurta.org>
1996         * replace.el (query-replace-help): Mention multi-buffer replacement
1997         keys in the Help message.  (Bug#12655)
1999 2012-10-15  Chong Yidong  <cyd@gnu.org>
2001         * emacs-lisp/byte-run.el (defsubst): Doc fix.
2003 2012-10-14  Eli Zaretskii  <eliz@gnu.org>
2005         * window.el (display-buffer): Doc fix.
2007         * progmodes/compile.el (compilation-error-regexp-alist-alist):
2008         Adjust the msft regexp to the output of Studio 2010, and move msft
2009         before edg-1.  See the discussion on emacs-devel,
2010         http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
2011         for the details.
2013 2012-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
2015         * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
2016         (oset): Move uses of object-class-fast macro after its definition.
2018         * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
2020 2012-10-13  Chong Yidong  <cyd@gnu.org>
2022         * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
2023         enabled, re-enable it (Bug#11963).
2025 2012-10-13  Martin Rudalics  <rudalics@gmx.at>
2027         * emacs-lisp/debug.el (debug): When debugger-will-be-back is
2028         non-nil, restore window configuration (Bug#12623).
2030 2012-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
2032         * help-fns.el (describe-variable, describe-function-1):
2033         * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
2035         * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
2037 2012-10-12  Glenn Morris  <rgm@gnu.org>
2039         * mail/rmailsum.el (rmail-header-summary):
2040         Fix 2010-11-26 test for multiline Subject: field.  (Bug#12625)
2042 2012-10-12  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
2044         * progmodes/python.el (python-mode-map):
2045         Replace subtitute-key-definition with proper command remapping.
2046         (python-nav--up-list): Fix behavior for blocks on the same level.
2048 2012-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
2050         * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
2052         * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
2053         changes to the format of load-history.
2055         * international/mule-cmds.el (read-char-by-name): Move let-binding of
2056         completion-ignore-case in case that var is buffer-local (bug#12615).
2058 2012-10-11  Kenichi Handa  <handa@gnu.org>
2060         * international/eucjp-ms.el: Re-generated.
2062 2012-10-10  Kenichi Handa  <handa@gnu.org>
2064         * select.el (xselect--encode-string): If a coding is specified for
2065         selection, and that is compatible with COMPOUND_TEXT, use it.
2067 2012-10-10  Martin Rudalics  <rudalics@gmx.at>
2069         * window.el (switch-to-buffer-preserve-window-point): New option.
2070         (switch-to-buffer):
2071         Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
2073 2012-10-09  Stefan Monnier  <monnier@iro.umontreal.ca>
2075         * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
2076         Don't document nil as a useful value (bug#12583).
2078 2012-10-09  Michael Albinus  <michael.albinus@gmx.de>
2080         * net/tramp.el (tramp-debug-message):
2081         Remove "tramp-with-progress-reporter" from regexp of ignored functions.
2082         (with-tramp-progress-reporter): Rename from
2083         `tramp-with-progress-reporter'.
2084         (with-tramp-file-property, with-tramp-connection-property):
2085         Move from tramp-cache.el, rename from `with-file-property' and
2086         `with-connection-property', respectively.
2088         * net/tramp-cache.el: Remove `with-file-property' and
2089         `with-connection-property'.
2091         * net/tramp.el:
2092         * net/tramp-gvfs.el:
2093         * net/tramp-sh.el:
2094         * net/tramp-smb.el: Adapt callees.
2096         * net/trampver.el: Update release number.
2098 2012-10-09  Glenn Morris  <rgm@gnu.org>
2100         * w32-fns.el (set-message-beep):
2101         * term/w32-win.el (set-message-beep): Update declarations.
2103 2012-10-09  Stefan Monnier  <monnier@iro.umontreal.ca>
2105         * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
2106         (mode-line-widen, mode-line-input-method-map)
2107         (mode-line-coding-system-map, mode-line-remote)
2108         (mode-line-unbury-buffer, mode-line-bury-buffer)
2109         (mode-line-next-buffer, mode-line-previous-buffer):
2110         Replace save-selected-window+select-window => with-selected-window.
2112         * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
2113         * progmodes/cc-vars.el (bq-process): Remove, unused.
2115         * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
2117 2012-10-09  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
2119         Implemented `backward-up-list'-like navigation.
2120         * progmodes/python.el (python-nav-up-list)
2121         (python-nav-backward-up-list): New functions.
2122         (python-mode-map): Define substitute key for backward-up-list to
2123         python-nav-backward-up-list.
2125 2012-10-08  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
2127         * progmodes/python.el (python-fill-paragraph): Rename from
2128         python-fill-paragraph-function.  Fixed fill-paragraph for
2129         decorators (Bug#12605).
2131 2012-10-08  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
2133         * progmodes/python.el (python-shell-output-filter): Handle extra
2134         carriage return in OSX (Bug#12409).
2136 2012-10-08  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
2138         Fix shell handling of unbalanced quotes and parens in output.
2139         * progmodes/python.el (python-rx-constituents): Add string-delimiter.
2140         (python-syntax-propertize-function): Use it.
2141         (python-shell-output-syntax-table): New var.
2142         (inferior-python-mode): Prevent unbalanced parens/quotes from
2143         previous output mess with current input context.
2145 2012-10-08  Juanma Barranquero  <lekktu@gmail.com>
2147         * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
2148         Make obsolete aliases of js-mode and js-mode-hook (from js.el).
2150 2012-10-08  Michael Albinus  <michael.albinus@gmx.de>
2152         * ffap.el (ffap-replace-file-component): Support Tramp file name
2153         syntax, not only ange-ftp's one.
2155 2012-10-08  Glenn Morris  <rgm@gnu.org>
2157         * cus-start.el (message-log-max): Set :version.
2159         * calendar/calendar.el (calendar-intermonth-header): Doc fix.
2161 2012-10-08  Martin Rudalics  <rudalics@gmx.at>
2163         * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
2164         the minibuffer window (Bug#10851).
2166 2012-10-08  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
2168         Enhancements on forward-sexp movement.
2169         * progmodes/python.el (python-nav-beginning-of-statement)
2170         (python-nav-end-of-statement): Return point-marker.
2171         (python-nav-forward-sexp): lisp-like forward-sexp behavior.
2172         (python-info-current-symbol)
2173         (python-info-statement-starts-block-p): Rename from
2174         python-info-beginning-of-block-p.
2175         (python-info-statement-ends-block-p): Rename from
2176         python-info-end-of-block-p.
2177         (python-info-beginning-of-statement-p)
2178         (python-info-end-of-statement-p)
2179         (python-info-beginning-of-block-p, python-info-end-of-block-p):
2180         New functions.
2182 2012-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2184         * comint.el (comint-preinput-scroll-to-bottom): Preserve the
2185         frame-selected-windows.
2187 2012-10-08  Daniel Colascione  <dancol@dancol.org>
2189         * battery.el (battery-status-function): Check for
2190         w32-battery-status itself, not system-time windows-nt.
2192         * frame.el: Require cl-lib.
2193         (display-format-alist): New variable mapping frame types to
2194         functions that initialize them.
2195         (window-system-for-display): New function: interprets
2196         display-format-alist.
2197         (make-frame-on-display): Remove existing display-selection logic
2198         and just forward to make-frame, which will now DTRT.
2199         (make-frame): Restructure to use window-system-for-display to
2200         figure out how to create a frame on a given display.
2201         (display-mouse-p): Look for frame-type w32, not a particular
2202         system-type.
2204         * loadup.el: Load w32 lisp code when we have the w32 feature.
2206         * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
2207         system-type windows-nt.
2209         * server.el (server-create-window-system-frame): Look for window
2210         type.
2211         (server-proces-filter): Only force a window system when windows-nt
2212         _and_ w32.  Explain why.
2214         * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
2215         of window systems we configure for the mode.
2217         * startup.el (command-line): Mark window system is initialized
2218         after we've done it.
2220         * common-win.el (x-select-text): Look for w32, not windows-nt.
2222         * ns-win.el: Require cl-lib.  Add ourselves to
2223         display-format-alist.
2224         (ns-initialize-window-system): Assert we're not initialized twice.
2226         * w32-win.el: Enable lexical binding; require cl-lib; add
2227         ourselves to display-format-alist.
2228         (w32-handle-dropped-file): Convert incoming dropped files from
2229         Windows paths to Cygwin ones before passing them on to the rest of
2230         Emacs.
2231         (w32-drag-n-drop): New paramter new-frame.  Simplify logic.
2232         (w32-initialize-window-system): Assert we're not initialized twice.
2234         * x-win.el: Require cl-lib; add ourselves to display-format-alist.
2235         (x-initialize-window-system): Assert we're not initialized twice.
2237         * w32-common-fns.el: New File.
2238         (w32-version, w32-using-nt, w32-get-clipboard-data)
2239         (w32-set-clipboard-data, x-set-selection, x-get-selection)
2240         (w32-charset-info-alist, x-last-selected, text)
2241         (x-get-selection-value, x-selection-value): Move here.
2243         * w32-fns.el: Require w32-common-fns.
2244         (w32-version, w32-using-nt, w32-get-clipboard-data)
2245         (w32-set-clipboard-data, x-set-selection, x-get-selection)
2246         (w32-charset-info-alist, x-last-selected, text)
2247         (x-get-selection-value, x-selection-value): Move to
2248         w32-common-fns.
2250         * w32-vars.el:
2251         (w32-allow-system-shell, w32-system-shells): Define only in
2252         non-cygwin case.
2254 2012-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
2256         * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
2257         (read-passwd): Remove a few more potential sources of leaks.
2259 2012-10-07  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
2261         * progmodes/python.el (inferior-python-mode)
2262         (python-shell-make-comint): Fix initialization of local
2263         variables copied from parent buffer.
2265 2012-10-07  Jan Djärv  <jan.h.d@swipnet.se>
2267         * term/ns-win.el (ns-read-file-name): Update declaration to match
2268         nsfns.m.
2269         (ns-respond-to-change-font): Change fontsize separatly so we are sure
2270         it is set when font is acted upon.
2272 2012-10-07  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
2274         Enhancements to indentation.
2275         * progmodes/python.el (python-indent-context): Give priority to
2276         inside-string context.  Make comments indentation markers.
2277         (python-indent-region): Do not mess with strings, unless it's the
2278         enclosing set of quotes.
2280 2012-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
2282         * window.el (internal--before-save-selected-window)
2283         (internal--after-save-selected-window): New functions extracted from
2284         save-selected-window.  Make sure we return the `alist' we construct.
2285         (save-selected-window): Use them.
2287         * textmodes/tex-mode.el (tex-recenter-output-buffer):
2288         Use with-selected-window.
2290         * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
2291         forms that define macros (bug#12593).
2293 2012-10-07  Kenichi Handa  <handa@gnu.org>
2295         * international/mule-conf.el (compound-text-with-extensions):
2296         Add :mime-charset property as x-ctext.
2298 2012-10-07  Stefan Merten  <smerten@oekonux.de>
2300         * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
2301         (rst-indent-literal-normal, rst-indent-literal-minimized)
2302         (rst-indent-comment): Correct :version tag.
2303         (rst-official-cvs-rev): Correct version string.
2305 2012-10-07  Glenn Morris  <rgm@gnu.org>
2307         * mail/rmailmm.el (rmail-mime-process-multipart):
2308         Do not confuse a multipart message with an epilogue
2309         with a "truncated" one; fixes 2011-06-27 change.  (Bug#10101)
2311 2012-10-07  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
2313         Fix shell output retrieval and comint-prompt-regexp init.
2314         * progmodes/python.el (inferior-python-mode):
2315         (python-shell-make-comint): Fix initialization of
2316         comint-prompt-regexp from copied file local variables.
2317         (python-shell-fetched-lines): Remove var.
2318         (python-shell-output-filter-in-progress): Rename from
2319         python-shell-fetch-lines-in-progress.
2320         (python-shell-output-filter-buffer): Rename from
2321         python-shell-fetch-lines-string.
2322         (python-shell-fetch-lines-filter): Delete function.
2323         (python-shell-output-filter): New function.
2324         (python-shell-send-string-no-output): Use them.
2326 2012-10-07  Glenn Morris  <rgm@gnu.org>
2328         * hi-lock.el (hi-lock-process-phrase):
2329         Try to make it less fragile.  (Bug#7161)
2331         * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
2333 2012-10-06  Glenn Morris  <rgm@gnu.org>
2335         * ehelp.el (electric-help-mode): Use help-mode rather than
2336         non-existent mode `help'.
2337         (electric-help-map): Use button-buffer-map.  (Bug#10917)
2339         * textmodes/reftex-vars.el (reftex-create-bibtex-header)
2340         (reftex-create-bibtex-footer): Fix custom types.
2342         * progmodes/sh-script.el (sh-indent-after-continuation):
2343         Add explicit :group.
2345         * textmodes/rst.el (rst-preferred-decorations)
2346         (rst-shift-basic-offset): Clarify obsolescence versions.
2348         * profiler.el (profiler): Add missing group :version tag.
2349         * avoid.el (mouse-avoidance-banish-position):
2350         * proced.el (proced-renice-command):
2351         * calc/calc.el (calc-ensure-consistent-units):
2352         * calendar/icalendar.el (icalendar-import-format-uid):
2353         * net/tramp.el (tramp-save-ad-hoc-proxies):
2354         * progmodes/bug-reference.el (bug-reference-bug-regexp):
2355         * progmodes/flymake.el (flymake-error-bitmap)
2356         (flymake-warning-bitmap, flymake-fringe-indicator-position):
2357         * progmodes/sh-script.el (sh-indent-after-continuation):
2358         * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
2359         (verilog-before-save-font-hook, verilog-after-save-font-hook):
2360         * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
2361         (vhdl-array-index-record-field-in-sensitivity-list)
2362         (vhdl-indent-comment-like-next-code-line):
2363         * textmodes/reftex-vars.el (reftex-ref-style-alist)
2364         (reftex-ref-macro-prompt, reftex-ref-style-default-list)
2365         (reftex-cite-key-separator, reftex-create-bibtex-header)
2366         (reftex-create-bibtex-footer):
2367         * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
2368         (rst-indent-literal-normal, rst-indent-literal-minimized)
2369         (rst-indent-comment): Add missing custom :version tags.
2371         * calendar/timeclock.el (timeclock-modeline-display):
2372         Add missing obsolete alias for renamed user option.
2374         * strokes.el (strokes-modeline-string):
2375         * emulation/crisp.el (crisp-mode-modeline-string):
2376         * eshell/esh-mode.el (eshell-status-in-modeline):
2377         Aliases to defcustoms must come before the defcustom.
2379         * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
2380         (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
2381         (cal-tex-cursor-week-monday): Doc fixes.
2382         (cal-tex-cursor-week2-summary): Doc fix.
2383         Rename from cal-tex-cursor-week-at-a-glance.
2385         * calendar/cal-menu.el (cal-menu-context-mouse-menu):
2386         Tweak week descriptions.  Add cal-tex-cursor-week2-summary.
2388         * calendar/calendar.el (calendar-mode-map):
2389         Add cal-tex-cursor-week2-summary.
2391 2012-10-06  Stefan Monnier  <monnier@iro.umontreal.ca>
2393         * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
2395         * subr.el (read-passwd-map): New var.
2396         (read-passwd): Use `read-string' again.
2397         * minibuffer.el (delete-minibuffer-contents): Make it interactive.
2399 2012-10-06  Jambunathan K  <kjambunathan@gmail.com>
2401         * register.el (append-to-register, prepend-to-register):
2402         Deactivate mark, as does `copy-to-register' (bug#12389).
2404 2012-10-06  Chong Yidong  <cyd@gnu.org>
2406         * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
2408 2012-10-06  Ikumi Keita  <ikumi@ikumi.que.jp>  (tiny change)
2410         * international/characters.el: Fix simple mistake ((car chars) ->
2411         elt), delete duplicated code.
2413 2012-10-06  Glenn Morris  <rgm@gnu.org>
2415         * subr.el (read-passwd): Allow C-u to erase entry.  (Bug#12570)
2417 2012-10-06  Julian Scheid  <julians37@gmail.com>  (tiny change)
2419         * color.el (color-hsl-to-rgb): Fix incorrect results for
2420         small and large hue values.  (Bug#12559)
2422 2012-10-05  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
2424         Enhancements to docstring formatting when filling paragraphs.
2425         * progmodes/python.el (python-fill-docstring-style): Rename from
2426         python-fill-string-style.  Added new style.
2427         (python-fill-string): Use new style.  Better checks for
2428         docstrings.
2430 2012-10-05  Glenn Morris  <rgm@gnu.org>
2432         * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
2434         * color.el (color-name-to-rgb, color-rgb-to-hex)
2435         (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
2436         (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
2437         (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
2438         (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
2440         * emacs-lisp/timer.el (with-timeout): Add missing progn.  (Bug#12577)
2442 2012-10-05  Juanma Barranquero  <lekktu@gmail.com>
2444         * ido.el (ido-directory-too-big-p): Pass dir through file-truename
2445         to get the correct size across symlinks.
2447         * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
2449 2012-10-04  Juri Linkov  <juri@jurta.org>
2451         * replace.el (query-replace-interactive): Declare obsolete.
2452         (query-replace-read-from): Add the last incremental search string
2453         to the list of default values accessible via M-n.
2454         (map-query-replace-regexp): Use `read-regexp'.
2455         (query-replace, query-replace-regexp, query-replace-regexp-eval)
2456         (map-query-replace-regexp, replace-string, replace-regexp):
2457         Fix docstrings to replace mentions of `query-replace-interactive'
2458         with alternatives.  (Bug#12526)
2460 2012-10-04  Juri Linkov  <juri@jurta.org>
2462         * dired.el (dired-shrink-to-fit): Declare obsolete.  (Bug#1806)
2463         (dired-pop-to-buffer): Declare obsolete.
2464         (dired-mark-pop-up): Doc fix.
2466 2012-10-04  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
2468         Allow user to set docstring style for fill-paragraph.
2469         * progmodes/python.el
2470         (python-fill-comment-function, python-fill-string-function)
2471         (python-fill-decorator-function, python-fill-paren-function):
2472         Remove :safe for defcustoms.
2473         (python-fill-string-style): New defcustom
2474         (python-fill-paragraph-function): Enhance context detection.
2475         (python-fill-string): Honor python-fill-string-style settings.
2477 2012-10-04  Martin Rudalics  <rudalics@gmx.at>
2479         * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
2480         after setting its buffer (Bug#10805).
2482 2012-10-03  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
2484         Fix cornercase for string syntax.
2485         * progmodes/python.el (python-syntax-propertize-function):
2486         Simplify and enhance the regexp for unescaped quotes.  Now it also
2487         matches quotes in weird situations like the single quote in
2488         "something\"'".
2489         (python-syntax-stringify): Simplify num-quotes detecting code.
2491 2012-10-03  Glenn Morris  <rgm@gnu.org>
2493         * help-macro.el (three-step-help):
2494         Revert 2012-09-29 change.  (Bug#12567)
2496 2012-10-03  Martin Rudalics  <rudalics@gmx.at>
2498         * menu-bar.el (kill-this-buffer): Don't do anything when
2499         `menu-frame' is not alive or visible (Bug#8184).
2501         * emacs-lisp/debug.el (debug): When quitting the debugger window
2502         restore current buffer (Bug#12502).
2504 2012-10-02  Chong Yidong  <cyd@gnu.org>
2506         * progmodes/hideif.el (hif-lookup, hif-defined):
2507         Handle semantic-c-takeover-hideif.
2509 2012-10-02  Paul Eggert  <eggert@cs.ucla.edu>
2511         Change sampling interval units from ms to ns.
2512         * profiler.el (profiler-sampling-interval): Change units
2513         from ms to ns, multiplying the default by 1000000 so that
2514         it remains 1 ms.
2515         (profiler-report-cpu-line-format): Give enough room for
2516         the maximum counters on 64-bit hosts.
2517         (profiler-report-render-calltree-1): Call them "CPU samples",
2518         not "Time (ms)", since they are not milliseconds now (and
2519         never really were).
2521 2012-10-02  Sergio Durigan Junior  <sergiodj@riseup.net>  (tiny change)
2523         * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
2524         Fix querying BBDB for entries without a last name (Bug#11580).
2526 2012-10-02  Chong Yidong  <cyd@gnu.org>
2528         * emacs-lisp/eieio.el: Restore Version header.
2530 2012-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
2532         * vc/diff-mode.el (diff--auto-refine-data): New var.
2533         (diff-hunk): Use it to delay refinement.
2534         (diff-mode): Remove overlays when we turn off font-lock.
2536         * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
2537         (table-initialize-table-fixed-width-mode)
2538         (table-set-table-fixed-width-mode): Remove functions.
2539         (table-command-list): Move initialization into declaration.
2540         (table--tweak-menu-for-xemacs): Move defun outside mapcar.
2541         (table-with-cache-buffer): Use `declare'.
2542         (table-span-cell): Simplify via CSE.
2543         (table-fixed-width-mode): Use define-minor-mode.
2544         (table-call-interactively, table-funcall, table-apply): Remove.
2545         (table-function): New function, to replace them.
2547         * bookmark.el (bookmark-search-pattern): Remove var.
2548         (bookmark-read-search-input): Remove function.
2549         (bookmark-bmenu-search): Reimplement using a minibuffer.
2551         * faces.el (modeline): Remove obsolete face name.
2553         * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
2554         and give a non-nil default value.
2555         (add-change-log-entry): Simplify accordingly.
2557 2012-10-01  Dmitry Gutov  <dgutov@yandex.ru>
2559         * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
2560         (vc-git-log-edit-toggle-amend): New function.
2561         (vc-git-log-edit-toggle-signoff): New function.
2562         (vc-git-log-edit-mode): New major mode.
2563         (vc-git-log-edit-mode-map): Keymap for it.
2564         (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
2566         * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
2567         header names.
2568         (log-edit-toggle-header): New function.
2569         (log-edit-extract-headers): Accept function values in HEADERS alist.
2571 2012-10-01  David Engster  <deng@randomsample.de>
2573         * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
2574         from symbol property and change message to be more consistent with
2575         Emacs proper.
2576         (eieio-describe-generic): Add filename for each implementation.
2577         Fix indices for generic and normal methods.
2578         (eieio-method-def, eieio-class-def): New buttons.
2579         (eieio-help-find-method-definition)
2580         (eieio-help-find-class-definition): New functions.
2581         (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
2582         class, constructor and method definitions.
2584         * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
2585         information in symbol property.
2586         (scoped-class): Remove.
2587         (eieio-slot-name-index, call-next-method): Check if it is bound.
2589 2012-10-01  Leo P. White  <lpw25@cam.ac.uk>
2591         * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
2592         (eieio-custom-mode): New major mode.
2593         (eieio-customize-object): Use it.
2595 2012-10-01  Eric Ludlam  <zappo@gnu.org>
2597         * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
2598         specifying the expected class, and whether subclassing is allowed.
2599         (eieio-persistent-convert-list-to-object):
2600         (eieio-persistent-validate/fix-slot-value)
2601         (eieio-persistent-slot-type-is-class-p): New functions.
2602         (eieio-named::slot-missing): Doc fix.
2604         * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
2605         Stop using unused publd variable.
2607         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
2608         (eieio-speedbar-description, eieio-speedbar-derive-line-path)
2609         (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
2610         (eieio-speedbar-handle-click): Do not specify a class for the
2611         method.  Fixes method invocation order problems with EDE.
2613 2012-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
2615         * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
2616         (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
2618 2012-10-01  Karl Fogel  <kfogel@red-bean.com>
2620         * bookmark.el (bookmark-version-control): Give tags in the
2621         :type choices (Bug#12309), and improve doc string.
2622         (bookmark-write-file): Bind `print-circle' to `t' to allow
2623         circular custom bookmark types.  (Bug#12503)
2625 2012-10-01  Paul Eggert  <eggert@cs.ucla.edu>
2627         Revert the FOLLOW-SYMLINKS change for file-attributes.
2628         * files.el (remote-file-name-inhibit-cache, after-find-file):
2629         * time.el (display-time-file-nonempty-p): Undo last change.
2631         * profiler.el (profiler-sampling-interval): Change default back to 1.
2632         See Stefan Monnier in
2633         <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
2635 2012-10-01  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
2637         Shell output catching a la gud-gdb.
2638         * progmodes/python.el (python-shell-fetch-lines-in-progress)
2639         (python-shell-fetch-lines-string, python-shell-fetched-lines):
2640         New Vars.
2641         (python-shell-fetch-lines-filter): New function.
2642         (python-shell-send-string-no-output): Use them.
2644 2012-09-30  Tomohiro Matsuyama  <tomo@cx4a.org>
2646         * profiler.el (profiler-sampling-interval): Rename from
2647         profiler-sample-interval.
2648         (profiler-sampling-interval): Default to 10.
2649         (profiler-find-profile): New command (was profiler-find-log).
2650         (profiler-find-profile-other-window): New command.
2651         (profiler-find-profile-other-frame): New command.
2652         (profiler-profile): Introduce API-level data structure.
2654 2012-09-30  Paul Eggert  <eggert@cs.ucla.edu>
2656         file-attributes has a new optional arg FOLLOW-SYMLINKS.
2657         * files.el (remote-file-name-inhibit-cache):
2658         * time.el (display-time-file-nonempty-p): Use it.
2659         * files.el (after-find-file): Don't chase links before calling
2660         file-exists-p, as file-exists-p already does the right thing.
2662 2012-09-30  Ralf Angeli  <angeli@caeruleus.net>
2664         Merge from standalone RefTeX repository.
2666         The following ChangeLog entries are shortened versions of the
2667         original ones with file paths adapted.  A not so strongly edited
2668         version of the original ChangeLog can be found in the commit log.
2670         * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
2671         (reftex-arg-cite): Use `reftex-cite-key-separator'.
2672         Correctly handle new value type returned by `reftex-citation'.
2674         * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
2675         that entries with whitespace at various places are found.
2676         Doc fix. Include entries that are cross-referenced from cited entries.
2677         Include @String definitions in the resulting bib file.  Add header
2678         and footer defined in `reftex-create-bibtex-header' and
2679         `reftex-create-bibtex-footer'.
2680         (reftex-do-citation): Make it possible again to insert
2681         non-existent entries.  Save match data when asking for optional
2682         arguments. Return all keys, not just the first one.
2683         (reftex-all-used-citation-keys): Fix regexp to correctly extract
2684         all citations in the same line.
2685         (reftex-parse-bibtex-entry): Accept additional optional argument
2686         `raw' and keep quotes or braces if it is non-nil.  Match fields
2687         containing hyphens besides word constituents.
2688         (reftex-get-string-refs): New function.
2689         (reftex-extract-bib-entries): Check if BibTeX file changed on disk
2690         and ask if it should be reread in case it did.
2691         (reftex-pop-to-bibtex-entry)
2692         (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
2693         entries with spaces or tabs in front of arguments.
2694         (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
2695         (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
2696         Match entries containing numbers and symbol constituents.
2697         (reftex-do-citation, reftex-figure-out-cite-format):
2698         Use `reftex-cite-key-separator'.
2700         * textmodes/reftex-dcr.el: Move provide statement to end of file.
2701         (reftex-mouse-view-crossref): Explain why point is set.
2703         * textmodes/reftex-global.el: Whitespace changes.
2705         * textmodes/reftex-index.el: Move provide statement to end of
2706         file.
2707         (reftex-index-selection-or-word): Use `reftex-region-active-p'.
2708         (reftex-index-visit-phrases-buffer): Set marker when visiting
2709         buffer.  This allows for returning from the phrases file to the
2710         file one was just editing instead of the file where the last
2711         phrases was added from.
2712         (reftex-index-phrases-syntax-table): New variable.  Give ?\"
2713         punctuation syntax as it usually is not used as string quote in
2714         TeX-related modes and may occur unmatched.  The change also
2715         prevents fontification of quoted content.
2716         (reftex-index-phrases-mode): Use it.
2718         * textmodes/reftex-parse.el (reftex-parse-from-file):
2719         Move backward one char if a `\' was matched after a section macro.
2720         (reftex-parse-from-file): Use beginning of match instead of end as
2721         bound.
2723         * textmodes/reftex-ref.el: Adapt creation of
2724         `reftex-<package>-<macro>' functions to new structure of
2725         `reftex-ref-style-alist'.
2726         (reftex-reference): Use `reftex-ref-style-list' function.
2727         Adapt to new structure of `reftex-ref-style-alist'.  Prompt for a
2728         reference macro if `reftex-ref-macro-prompt' is non-nil.
2729         (reftex-reference): Pass refstyle to `reftex-format-special'.
2730         Determine reference macro by looking at
2731         `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
2732         Use only one special format function.
2733         (reftex-varioref-vref, reftex-fancyref-fref)
2734         (reftex-fancyref-Fref): Remove definitions.  The functions are now
2735         generated from `reftex-ref-style-alist'.
2736         (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
2737         Remove.
2738         (reftex-format-special): New function.
2740         * textmodes/reftex-sel.el
2741         (reftex-select-cycle-ref-style-internal): Adapt to new structure
2742         of `reftex-ref-style-alist'. Remove code for testing macro type.
2743         (reftex-select-toggle-varioref)
2744         (reftex-select-toggle-fancyref): Remove.
2745         (reftex-select-cycle-ref-style-internal)
2746         (reftex-select-cycle-ref-style-forward)
2747         (reftex-select-cycle-ref-style-backward): New functions.
2748         (reftex-select-label-map): Use `v' and `V' for general cycling
2749         through reference styles.  Add `p' for switching between number
2750         and page reference types.
2752         * textmodes/reftex-toc.el (reftex-re-enlarge):
2753         Call `enlarge-window' only if there is something to do because in Emacs
2754         the horizontal version throws an error even if the parameter is 0.
2756         * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
2757         (reftex-plug-into-AUCTeX): Doc fix.
2758         (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
2759         string.  Adapt to new name.
2760         (reftex-ref-style-alist): Change structure so that it is not
2761         possible to use multiple different package names within a style.
2762         Remove the symbols for symbols for macro type distinction.
2763         Add characters for macro selection.
2764         (reftex-ref-macro-prompt, reftex-create-bibtex-header)
2765         (reftex-create-bibtex-footer): New variables.
2766         (reftex-format-ref-function): Mention third argument of special
2767         format function.
2768         (reftex-ref-style-alist, reftex-ref-style-default-list):
2769         New variables.
2770         (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
2771         to new implementation.  Mark as obsolete.  Add compatibility code
2772         for honoring the variable values in case they are set.
2773         (reftex-cite-format-builtin, reftex-bibliography-commands):
2774         Add support for ConTeXt.
2775         (reftex-format-ref-function, reftex-format-cite-function):
2776         Fix custom type.
2777         (reftex-cite-key-separator): New variable.
2779         * textmodes/reftex.el (reftex-syntax-table-for-bib)
2780         (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
2781         `reftex-syntax-table' because parens have to retain their paren
2782         syntax in order for parsing of BibTeX entries like @book(...) to
2783         work.
2784         (reftex-in-comment): Do not error out if `comment-start-skip' is
2785         not set.  Deal correctly with escaped comment characters.
2786         (reftex-tie-multifile-symbols): Add doc string.
2787         Initialize `reftex-ref-style-list'.
2788         (reftex-untie-multifile-symbols): Add doc string.
2789         (reftex-add-index-macros): Doc fix.
2790         (reftex-ref-style-activate, reftex-ref-style-toggle)
2791         (reftex-ref-style-list): New functions.
2792         (reftex-mode-menu): Use them.  Adapt to new structure of
2793         `reftex-ref-style-alist'.
2794         (reftex-select-with-char): Kill the RefTeX Select buffer when
2795         done.
2796         (reftex-remove-if): New function.
2797         (reftex-erase-all-selection-and-index-buffers)
2798         (reftex-mode-menu): Reference styles are now computed from
2799         `reftex-ref-style-alist'.  Fix typo.
2800         (reftex-report-bug): New function.
2801         (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
2802         algorithms with O(n log n).  Introduce optional argument SORT (not
2803         yet used).
2805 2012-09-30  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
2807         Enhancements for triple-quote string syntax.
2808         * progmodes/python.el (python-syntax-propertize-function):
2809         Match both quote cases in one regexp.
2810         (python-syntax-stringify): Handle matches properly.
2812 2012-09-30  Juri Linkov  <juri@jurta.org>
2814         * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
2815         to nil around the call to `insert' to prevent
2816         directory time modification by lock_file.  (Bug#2295)
2817         * tar-mode.el (tar-summarize-buffer): Idem.
2819 2012-09-30  Juri Linkov  <juri@jurta.org>
2821         * facemenu.el (list-colors-sort): Add option "Luminance".
2822         (list-colors-sort-key): Implement it.
2824         * vc/diff-mode.el (diff-refine-removed):
2825         * vc/ediff-init.el (ediff-fine-diff-A):
2826         * vc/smerge-mode.el (smerge-refined-removed):
2827         Change background color "#ffaaaa" to "#ffbbbb".  (Bug#10181)
2829 2012-09-30  Jan Djärv  <jan.h.d@swipnet.se>
2831         * term/ns-win.el (x-file-dialog): New function.
2833 2012-09-30  Juanma Barranquero  <lekktu@gmail.com>
2835         * ido.el (ido-max-directory-size): Default to nil; the current
2836         default is small for POSIX systems, and impractical on Windows 7
2837         now that lstat returns directory sizes for NTFS.
2839 2012-09-30  Martin Rudalics  <rudalics@gmx.at>
2841         In buffer display functions handle window-height/window-width
2842         alist entries.  Suggested by Juri Linkov as fix for Bug#1806.
2843         * window.el (window--display-buffer): New argument ALIST.
2844         Obey window-height and window-width alist entries.
2845         (window--try-to-split-window): New argument ALIST.
2846         Bind window-combination-limit to t when the window's size shall be
2847         changed and window-combination-limit equals `window-size'.
2848         (display-buffer-in-atom-window)
2849         (display-buffer-in-major-side-window)
2850         (display-buffer-in-side-window, display-buffer-same-window)
2851         (display-buffer-reuse-window, display-buffer-pop-up-frame)
2852         (display-buffer-pop-up-window, display-buffer-below-selected)
2853         (display-buffer-at-bottom, display-buffer-in-previous-window)
2854         (display-buffer-use-some-window): Adjust all callers of
2855         window--display-buffer and window--try-to-split-window.
2856         (fit-frame-to-buffer): New option.
2857         (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
2858         is non-nil.
2859         (display-buffer-in-major-side-window): Evaluate window-height /
2860         window-width alist entries.
2862         * help.el (temp-buffer-resize-frames)
2863         (temp-buffer-resize-regexps): Remove options.
2864         (temp-buffer-resize-mode): Adjust doc-string.
2865         (resize-temp-buffer-window): Don't consult
2866         temp-buffer-resize-regexps.  Use fit-frame-to-buffer instead of
2867         temp-buffer-resize-frames.
2869         * dired.el (dired-mark-pop-up):
2870         Call display-buffer-below-selected with a fit-window-to-buffer alist
2871         entry.
2873 2012-09-30  Chong Yidong  <cyd@gnu.org>
2875         * server.el (server-host): Document the security implications.
2876         (server-auth-key): Doc fix.
2878         * startup.el (initial-buffer-choice): Doc fix.
2880         * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
2882         * simple.el (delete-trailing-whitespace): Avoid an unnecessary
2883         restriction change.
2885         * bindings.el (goto-map): Bind M-g TAB to move-to-column.
2887         * help-fns.el (help-fns--obsolete): Fix last change.
2889 2012-09-30  Stefan Monnier  <monnier@iro.umontreal.ca>
2891         * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
2892         (minor-mode-map-alist): Remove redundant code.
2894         * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
2895         visited in a buffer.
2896         (cvs-insert-visited-file): New function.
2897         (find-file-hook): Use it.
2899         * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
2901         * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
2902         chose face.
2903         (log-edit-empty-buffer-p): Don't require a space after a header.
2905         * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
2907         * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
2909         * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
2910         a proper minor-mode.
2912         * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
2914 2012-09-29  Glenn Morris  <rgm@gnu.org>
2916         * winner.el (winner-mode): Remove variable (let define-minor-mode
2917         handle it).
2918         (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
2919         Doc fixes.
2920         (winner-mode-leave-hook): Rename to winner-mode-off-hook.
2921         (winner-mode): Use define-minor-mode.
2923         * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
2924         the full definition in loaddefs, rather than duplicating it.
2926         * help-macro.el (three-step-help): No need to autoload defcustom.
2928         * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
2929         (inferior-lisp-program, inferior-lisp-load-command)
2930         (inferior-lisp-prompt, inferior-lisp-mode-hook):
2931         No need to autoload defcustoms.
2933         * hippie-exp.el (hippie-expand-try-functions-list)
2934         (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
2935         (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
2936         (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
2937         (hippie-expand-only-buffers): No need to autoload defcustoms.
2938         * progmodes/vhdl-mode.el (vhdl-line-expand):
2939         Explicitly load hippie-exp, so it does not get autoloaded
2940         while hippie-expand-try-functions-list is let-bound.
2942 2012-09-28  Glenn Morris  <rgm@gnu.org>
2944         * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
2946         * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
2947         Only "cl.el" counts as cl these days.
2949 2012-09-28  Juri Linkov  <juri@jurta.org>
2951         Display archive errors in the echo area instead of inserting
2952         to the file buffer.
2954         * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
2955         to STDERR-TEST that can be a regexp matching a successful output.
2956         Create a temporary file and redirect stderr to it.  Search for
2957         STDERR-TEST in the stderr output and display it in the echo area
2958         if no match is found.
2959         (archive-extract-by-file): New function like
2960         `archive-extract-by-stdout' but extracting archives to files
2961         and looking for successful matches in stdout.  Function body is
2962         mostly copied from `archive-rar-extract'.
2963         (archive-rar-extract): Use `archive-extract-by-file'.
2964         (archive-7z-extract): Use `archive-extract-by-stdout'.  (Bug#10347)
2966 2012-09-28  Leo Liu  <sdl.web@gmail.com>
2968         * pcomplete.el (pcomplete-show-completions):
2969         Use minibuffer-message to make pcomplete usable in minibuffer.
2971         * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
2973 2012-09-28  Stefan Monnier  <monnier@iro.umontreal.ca>
2975         * type-break.el: Use lexical-binding.
2976         (type-break-mode): Use define-minor-mode.
2978         * emacs-lisp/pcase.el (pcase--mark-used): New.
2979         (pcase--u1): Use it (bug#12512).
2981         * custom.el (load-theme): Set buffer-file-name so the load is recorded
2982         in load-history with the right file name.
2984 2012-09-28  Tassilo Horn  <tsdh@gnu.org>
2986         * doc-view.el (doc-view-current-cache-doc-pdf): New function.
2987         (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
2988         (doc-view-get-bounding-box): Make bounding box slicing work for
2989         ODF and DVI documents.
2991 2012-09-28  Glenn Morris  <rgm@gnu.org>
2993         * type-break.el (type-break-mode, type-break-interval)
2994         (type-break-good-rest-interval, type-break-keystroke-threshold):
2995         No need to autoload.
2996         (type-break-good-rest-interval, type-break-keystroke-threshold):
2997         Add :set-after.
2999 2012-09-28  Chong Yidong  <cyd@gnu.org>
3001         * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
3002         Add :version tag.
3004 2012-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
3006         * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
3008 2012-09-27  Glenn Morris  <rgm@gnu.org>
3010         * faces.el (x-display-name): Declare (for without-x builds).
3012         * linum.el (linum-format): Don't autoload it.  Improve :type.
3014         * progmodes/tcl.el: Don't require outline when compiling.
3015         (outline-regexp, outline-level): Declare.
3016         * textmodes/sgml-mode.el: Don't require outline when compiling.
3017         (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
3019         * term.el (term-ansi-reset):
3020         Try setting term-ansi-face-already-done to nil.  (Bug#11785)
3022         * vc/vc.el (vc-next-action): Only gripe about committing read-only
3023         files for RCS and SCCS.  (Bug#9781)
3025 2012-09-27  Chong Yidong  <cyd@gnu.org>
3027         * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
3028         change; value should be t.
3030 2012-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
3032         * image-mode.el: Use lexical-binding.
3033         (image-mode-winprops): Use t to stand for the window of
3034         a buffer that's not displayed.
3035         * doc-view.el (doc-view-new-window-function): Handle the new
3036         t in winprops.
3037         (doc-view-enlarge): Make it a real nop if the size is not changed.
3038         (doc-view-display): Handle the case where the buffer is not (yet?)
3039         displayed in any window.
3040         (doc-view-saved-settings): New var.
3041         (doc-view-mode): Use it.
3042         (doc-view-fallback-mode): Set it.
3044         * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
3045         Set lexical-binding.
3046         (minibuffer-eldef-shorten-default): New var.
3047         (minibuffer-default-in-prompt-regexps): Use it for new default.
3048         (minibuf-eldef-setup-minibuffer): Add replacement functionality.
3050 2012-09-26  Juanma Barranquero  <lekktu@gmail.com>
3052         * international/uni-bidi.el:
3053         * international/uni-category.el:
3054         * international/uni-name.el:
3055         * international/uni-numeric.el: Regenerate.
3057 2012-09-26  Tomohiro Matsuyama  <tomo@cx4a.org>
3058             Stefan Monnier  <monnier@iro.umontreal.ca>
3060         * profiler.el: New file.
3062 2012-09-26  Stefan Monnier  <monnier@iro.umontreal.ca>
3064         * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
3065         (testcover-reinstrument): Simplify with CSE.
3067 2012-09-26  Juanma Barranquero  <lekktu@gmail.com>
3069         * window.el (temp-buffer-window-setup): Fix typo in docstring.
3071 2012-09-25  Wilson Snyder  <wsnyder@wsnyder.org>
3073         * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
3074         (verilog-auto-input, verilog-auto-insert-lisp)
3075         (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
3076         (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
3077         (verilog-auto-unused, verilog-auto-wire)
3078         (verilog-forward-or-insert-line): Fix AUTOs with no trailing
3079         newline.  Reported by Andrew Jones.
3080         (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
3081         Reported by Brad Dobbie.
3082         (verilog-batch-delete-trailing-whitespace):
3083         Create verilog-batch-delete-trailing-whitespace.
3084         Reported by Brad Dobbie.
3085         (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
3086         parameters from another module.  Reported by Dan Katz.
3087         (verilog-auto, verilog-auto-assign-modport)
3088         (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
3089         AUTOINOUTMODPORT for UVM interface module shell generation.
3090         Reported by Brad Dobbie.
3091         (verilog-auto-inst-interfaced-ports): Make default nil, as more
3092         standard behavior.
3093         (verilog-auto): Fix AUTO parameters with parenthesis arguments.
3094         Reported by Matt Martin.
3096 2012-09-25  Martin Rudalics  <rudalics@gmx.at>
3098         * window.el (window--resize-child-windows): When resizing child
3099         windows proportionally, process them in reverse order to
3100         preserve the "when splitting a window the new one gets the odd
3101         line" behavior.
3102         (window--resize-root-window-vertically): When resizing the
3103         minibuffer window try to affect only windows at the bottom of the
3104         frame.  (Bug#12419)
3106 2012-09-25  Chong Yidong  <cyd@gnu.org>
3108         * subr.el (declare): Doc fix.
3110         * help-fns.el (help-fns--obsolete): Handle macros properly.
3112 2012-09-25  Chong Yidong  <cyd@gnu.org>
3114         * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
3115         this function obsolete.
3117         * calendar/cal-x.el (calendar-two-frame-setup)
3118         (calendar-only-one-frame-setup, calendar-one-frame-setup):
3119         * calendar/calendar.el (american-calendar, european-calendar)
3120         (calendar-for-loop):
3121         * comint.el (comint-dynamic-simple-complete)
3122         (comint-dynamic-complete-as-filename, comint-unquote-filename):
3123         * desktop.el (desktop-load-default):
3124         * dired-x.el (dired-omit-here-always)
3125         (dired-hack-local-variables, dired-default-directory):
3126         * emacs-lisp/derived.el (derived-mode-class):
3127         * emacs-lisp/timer.el (timer-set-time-with-usecs):
3128         * emacs-lock.el (toggle-emacs-lock):
3129         * epa.el (epa-display-verify-result):
3130         * epg.el (epg-sign-keys, epg-start-sign-keys)
3131         (epg-passphrase-callback-function):
3132         * eshell/esh-util.el (eshell-for):
3133         * eshell/eshell.el (eshell-remove-from-window-buffer-names)
3134         (eshell-add-to-window-buffer-names):
3135         * files.el (locate-file-completion):
3136         * imenu.el (imenu-example--create-c-index)
3137         (imenu-example--create-lisp-index)
3138         (imenu-example--lisp-extract-index-name)
3139         (imenu-example--name-and-position):
3140         * international/mule-cmds.el (princ-list):
3141         * international/mule-diag.el (decode-codepage-char):
3142         * international/mule-util.el (detect-coding-with-priority):
3143         * iswitchb.el (iswitchb-read-buffer):
3144         * mail/mailalias.el (mail-complete):
3145         * mail/sendmail.el (mail-sent-via):
3146         * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
3147         (mouse-major-mode-menu):
3148         * password-cache.el (password-read-and-add):
3149         * pcomplete.el (pcomplete-parse-comint-arguments):
3150         * progmodes/sh-script.el (sh-maybe-here-document):
3151         * replace.el (query-replace-regexp-eval):
3152         * savehist.el (savehist-load):
3153         * simple.el (choose-completion-delete-max-match):
3154         * term.el (term-dynamic-simple-complete):
3155         * vc/ediff-init.el (ediff-check-version):
3156         * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
3157         * vc/vc.el (vc-diff-switches-list):
3158         * view.el (view-return-to-alist-update): Likewise.
3160         * subr.el (eval-next-after-load, makehash, insert-string)
3161         (assoc-ignore-representation, assoc-ignore-case): Use declare to
3162         mark obsolete.
3163         (mode-line-inverse-video): Variable deleted.
3165         * international/mule-util.el (string-to-sequence): Remove.
3167         * calendar/calendar.el (calendar-version):
3168         * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
3169         (icalendar-convert-diary-to-ical):
3170         * cus-edit.el (custom-mode):
3171         * ansi-color.el (ansi-color-unfontify-region):
3172         * international/latin1-disp.el (latin1-char-displayable-p):
3173         * progmodes/cwarn.el (turn-on-cwarn-mode):
3174         * progmodes/which-func.el (which-func-update-1):
3175         Use define-obsolete-function-alias.
3177         * net/newst-backend.el (newsticker-cache-filename):
3178         * net/newst-treeview.el (newsticker-groups-filename):
3179         Fix incorrect obsolescence declaration.
3181         * allout.el (allout-passphrase-hint-string): Likewise.
3182         (allout-init): Use a declare form to mark obsolete.
3184         * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
3185         this applies to functions.
3187         * iswitchb.el (iswitchb-read-buffer): Move code of
3188         iswitchb-define-mode-map here, and delete that obsolete function.
3190         * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
3191         font-lock-reference-face.
3193 2012-09-25  Glenn Morris  <rgm@gnu.org>
3195         * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
3196         Doc fixes.
3198         * eshell/em-term.el (eshell-term-name):
3199         Default to term-term-name.  (Bug#12485)
3201 2012-09-24  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
3203         * progmodes/python.el (python-shell-send-buffer): Better handling
3204         of "if __name__ == '__main__':" conditionals when sending the buffer.
3206 2012-09-24  Glenn Morris  <rgm@gnu.org>
3208         * eshell/esh-cmd.el (eshell-find-alias-function):
3209         Tighten up file-name regexp.  (Bug#12499)
3211 2012-09-24  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
3213         Enhancements for triple-quote string syntax.
3214         * progmodes/python.el (python-quote-syntax): Remove.
3215         (python-syntax-propertize-function): New value.
3216         (python-syntax-count-quotes, python-syntax-stringify):
3217         New functions.
3219 2012-09-24  Chong Yidong  <cyd@gnu.org>
3221         * mail/supercite.el (sc-version): Remove obsolete function.
3222         (sc-describe): Don't mark as obsolete, since it is bound.
3223         (sc-submit-bug-report): Remove.
3225         * vc/log-edit.el (cvs-changelog-full-paragraphs)
3226         (cvs-commit-buffer-require-final-newline): Remove.
3227         (log-edit-require-final-newline)
3228         (log-edit-changelog-full-paragraphs): Default to t.
3230         * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
3231         * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
3232         * vc/vc.el (vc-checkout-carefully): Likewise.
3234         * vc/emerge.el (emerge-mode): Make it an obsolete alias.
3235         (emerge-version): Remove.
3237         * progmodes/compile.el (compile-internal): Remove.
3238         (compilation-parse-errors-function): Fix typo.
3240         * international/mule.el (set-char-table-default): Remove.
3241         (set-coding-priority, make-coding-system, generic-char-p)
3242         (charset-list, charset-bytes, charset-id): Use declare to mark
3243         functions as obsolete.
3245         * vc/pcvs-defs.el (cvs-buffer-name-alist)
3246         (cvs-invert-ignore-marks): Remove references to obsolete vars.
3247         * vc/vc-hooks.el (vc-default-registered): Don't use
3248         vc-master-templates.
3250         * font-lock.el (font-lock-reference-face):
3251         Use define-obsolete-variable-alias.
3253         * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
3254         * calendar/calendar.el (calendar-font-lock-keywords):
3255         * calendar/diary-lib.el (diary-font-lock-keywords)
3256         (diary-fancy-font-lock-keywords):
3257         * textmodes/reftex-sel.el (reftex-insert-docstruct):
3258         * textmodes/reftex-index.el (reftex-insert-index):
3259         * textmodes/reftex-cite.el (reftex-format-bib-entry):
3260         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3261         * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
3262         * progmodes/prolog.el (prolog-font-lock-keywords):
3263         * progmodes/idlwave.el (idlwave-idl-keywords):
3264         * progmodes/ada-mode.el (ada-font-lock-keywords):
3265         * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
3267 2012-09-24  Glenn Morris  <rgm@gnu.org>
3269         * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
3271 2012-09-23  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
3273         * progmodes/python.el (python-indent-line): More consistent cursor
3274         movement behavior.
3276 2012-09-23  Stefan Merten  <smerten@oekonux.de>
3278         * textmodes/rst.el: Fix compiler warning.
3280 2012-09-23  Roland Winkler  <winkler@gnu.org>
3282         * textmodes/bibtex.el (bibtex-autokey-transcriptions):
3283         Transcribe also LaTeX hyphenation.
3284         (bibtex-reformat): Bug fix. Do not quote twice the elements of
3285         bibtex-reformat-previous-options.
3287 2012-09-23  Roland Winkler  <winkler@gnu.org>
3289         * proced.el (proced-renice-command): New variable.
3290         (proced-marked-processes): New function.
3291         (proced-with-processes-buffer): New macro.
3292         (proced-send-signal): Use them.
3293         (proced-renice): New command bound to r.
3295 2012-09-23  Roland Winkler  <winkler@gnu.org>
3297         * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
3298         ibuffer-saved-filter-groups has one element, shortcut the call of
3299         completing-read.  (Bug#12331)
3301 2012-09-23  Chong Yidong  <cyd@gnu.org>
3303         * bindings.el (mode-line-toggle-read-only):
3304         * bs.el (bs-toggle-readonly):
3305         * buff-menu.el (Buffer-menu-toggle-read-only):
3306         * dired.el (dired-toggle-read-only):
3307         * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
3309 2012-09-23  Chong Yidong  <cyd@gnu.org>
3311         * image.el (image-type-available-p): Adapt to init-image-library
3312         argument changes.
3314 2012-09-22  Juri Linkov  <juri@jurta.org>
3316         * dired.el (dired-mode-map): Add [remap read-only-mode] for
3317         `dired-toggle-read-only'.  (Bug#12462)
3319 2012-09-22  Martin Rudalics  <rudalics@gmx.at>
3321         * subr.el (temp-output-buffer-show): New function.
3322         (with-output-to-temp-buffer): Call temp-output-buffer-show
3323         instead of internal-temp-output-buffer-show.
3325 2012-09-22  Chong Yidong  <cyd@gnu.org>
3327         * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
3328         (Bug#12462).
3330         * repeat.el (repeat): Doc fix (Bug#12348).
3332         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
3333         (Bug#10909).
3335         * simple.el (shell-command-on-region): Doc fix.
3336         (read-only-mode): Doc fix.
3338 2012-09-22  Eli Zaretskii  <eliz@gnu.org>
3340         * emacs-lisp/timer.el (run-with-idle-timer)
3341         (timer-activate-when-idle): Warn against reinvoking an idle timer
3342         from within its own timer action.  (Bug#12447)
3344 2012-09-22  Martin Rudalics  <rudalics@gmx.at>
3346         * cus-start.el (window-combination-limit): Add new optional
3347         values.
3348         * window.el (temp-buffer-window-show)
3349         (window--try-to-split-window): Handle new values of
3350         window-combination-limit (Bug#1806).
3351         (split-window): Test window-combination-limit for t instead of
3352         non-nil.
3353         (display-buffer-at-bottom): New buffer display action function.
3354         * help.el (temp-buffer-resize-regexps): New option.
3355         (temp-buffer-resize-mode): Rewrite doc-string.
3356         (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
3357         Don't resize reused window.  Suggested by Glenn Morris.
3359 2012-09-22  Stefan Merten  <smerten@oekonux.de>
3361         * textmodes/rst.el: Revamp section title faces.
3362         (rst-official-version)
3363         (rst-package-emacs-version-alist): Sync with official version
3364         V1.4.0.
3365         (rst-faces-defaults, rst-set-level-default)
3366         (rst-level-face-max, rst-level-face-base-color)
3367         (rst-level-face-base-light, rst-level-face-format-light)
3368         (rst-level-face-step-light, rst-define-level-faces): Obsolete.
3369         (rst-adornment-faces-alist): Match new setup.
3370         (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
3371         (rst-level-5, rst-level-6): New faces.
3373 2012-09-22  Chong Yidong  <cyd@gnu.org>
3375         * simple.el (undo): Handle indirect buffers (Bug#8207).
3377 2012-09-21  Leo Liu  <sdl.web@gmail.com>
3379         IDO: Disable match re-ordering for buffer switching.
3380         * ido.el (ido-buffer-disable-smart-matches): New variable.
3381         (ido-set-matches-1): Use it.  (Bug#2042)
3383 2012-09-21  Jose Marino  <marinoj@nso.edu>  (tiny change)
3385         * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
3386         Fix 2011-05-17 change.  (Bug#12418)
3388 2012-09-21  Leo Liu  <sdl.web@gmail.com>
3390         * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
3392 2012-09-21  Glenn Morris  <rgm@gnu.org>
3394         * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
3395         Be more robust about locating simple.el.
3397 2012-09-21  Glenn Morris  <rgm@gnu.org>
3399         * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
3401 2012-09-21  Joel Bion  <jpbion@westvi.com>  (tiny change)
3403         * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz.  (Bug#12382)
3405 2012-09-20  Juri Linkov  <juri@jurta.org>
3407         * replace.el (query-replace-read-from): Use `read-regexp' instead
3408         of `read-from-minibuffer' when `regexp-flag' is non-nil.
3409         (occur-read-primary-args): Use `read-regexp' instead of
3410         `read-string'.
3411         (multi-occur-in-matching-buffers): Use `read-regexp' instead of
3412         `read-from-minibuffer'.
3413         * isearch.el (isearch-occur): Use `read-regexp' instead of
3414         `read-string'.
3415         * dired.el (dired-read-regexp): Use `read-regexp' instead of
3416         `read-from-minibuffer'.
3417         * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
3418         of `read-string'.  (Bug#7567)
3420         * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
3421         and allow accepting a list of strings prepended to a list of
3422         standard default values.  Doc fix.  (Bug#12321)
3424         * replace.el (read-regexp): Add HISTORY arg.  (Bug#7567)
3426         * replace.el (read-regexp): Don't add ": " when PROMPT already
3427         ends with a colon and space.  (Bug#12321)
3429 2012-09-20  Tassilo Horn  <tsdh@gnu.org>
3431         * doc-view.el (doc-view-display): Better fix for the cl-assertion
3432         error.
3434 2012-09-20  Stefan Merten  <smerten@oekonux.de>
3436         * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
3437         Fixes feature request bug#11711.
3438         (rst-mode): Create `imenu-create-index-function'.
3439         (rst-get-stripped-line): Delete after refactoring.
3440         (rst-section-tree, rst-section-tree-rec)
3441         (rst-section-tree-point): Refactor and document properly.
3442         (rst-imenu-find-adornments-for-position)
3443         (rst-imenu-convert-cell, rst-imenu-create-index):
3444         New function.
3446 2012-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
3448         * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
3449         (macroexp--expand-all): Use it.
3450         (macroexp--funcall-and-return): Remove by folding it into its sole
3451         caller (macroexp--warn-and-return).
3452         * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
3453         Use macroexp--obsolete-warning.
3455         * calc/calc.el: Fix last change by removing the whole chunk, since it
3456         was only needed back when Calc was not bundled.
3458 2012-09-20  Martin Rudalics  <rudalics@gmx.at>
3460         * emacs-lisp/debug.el (debug): Restore assignment to
3461         debugger-old-buffer removed on 2012-09-08.
3463 2012-09-20  Juri Linkov  <juri@jurta.org>
3465         * dired-aux.el (dired-diff): Remove (require 'diff) since
3466         `diff-latest-backup-file' is now autoloaded.
3468 2012-09-20  Chong Yidong  <cyd@gnu.org>
3470         * vc/diff.el (diff-latest-backup-file): Autoload.
3472 2012-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
3474         * calc/calc.el: Remove redundant autoload shape check.
3475         (sel-mode): Don't defvar.
3476         (calc-get-stack-element): Add `sel-mode' arg instead.
3477         (calc-top, calc-top-list): Pass it this additional argument.
3478         * calc/calc-store.el (calc-store-map):
3479         * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
3480         (calc-map-equation, calc-outer-product, calc-inner-product):
3481         * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
3483         * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
3485 2012-09-19  Juri Linkov  <juri@jurta.org>
3487         * dired-aux.el (dired-diff): Add (require 'diff) because
3488         `diff-latest-backup-file' is not autoloaded.
3489         (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
3490         of `dired-get-filename' to t to not report error when there is
3491         no default file on the current line.
3493 2012-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
3495         * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
3496         macroexp--eval-if-compile.
3497         (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
3498         (macroexp--expand-all): Use them (bug#12371).
3500         * doc-view.el (doc-view-guess-paper-size)
3501         (doc-view-scale-bounding-box): Fix unbound `caddr'.
3503 2012-09-19  Tassilo Horn  <tsdh@gnu.org>
3505         New feature: set optimal slice from BoundingBox information.
3506         * doc-view.el (doc-view-mode-map): Add keybinding.
3507         (doc-view-menu): Add menu entry.
3508         (doc-view-set-slice): Adapt docstring.
3509         (doc-view-get-bounding-box, doc-view-guess-paper-size)
3510         (doc-view-scale-bounding-box)
3511         (doc-view-set-slice-from-bounding-box): New functions.
3512         (doc-view-paper-sizes): New defvar.
3514 2012-09-19  Glenn Morris  <rgm@gnu.org>
3516         * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
3517         (byte-compile-log-warning): Autoload.  (Bug#12371)
3519         * calendar/calendar.el (calendar-american-month-header)
3520         (calendar-european-month-header, calendar-iso-month-header)
3521         (calendar-month-header): New options.
3522         (calendar-set-date-style): Set calendar-month-header.  Redraw calendar.
3523         (calendar-generate-month): Use calendar-month-header.  (Bug#9510)
3525 2012-09-19  Jan Djärv  <jan.h.d@swipnet.se>
3527         * startup.el (command-line-ns-option-alist): Add -g and --geometry.
3529 2012-09-18  Juri Linkov  <juri@jurta.org>
3531         * dired-aux.el (dired-diff): Restore original functionality of
3532         getting the default value, but keep new feature of using the
3533         latest existing backup file (`diff-latest-backup-file').
3535 2012-09-18  Juri Linkov  <juri@jurta.org>
3537         * dired.el (dired-mark): If the region is active in Transient Mark
3538         mode, mark all files in the active region.  Doc fix.
3539         (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
3540         Doc fix.  (Bug#10624)
3542 2012-09-18  Juri Linkov  <juri@jurta.org>
3544         * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
3545         attributes for M-n are pulled from the file at point.
3546         (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
3547         Suggested by Drew Adams.  (Bug#10624)
3549 2012-09-18  Dmitry Gutov  <dgutov@yandex.ru>
3551         * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
3552         whitespace after "end".
3553         (ruby-do-end-to-brace): Collapse block to one line if it fits
3554         within fill-column.
3556 2012-09-18  Martin Rudalics  <rudalics@gmx.at>
3558         * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
3559         value.
3560         (debug): Don't remove debugger window when debugger is expected
3561         to be back.
3563 2012-09-18  Chong Yidong  <cyd@gnu.org>
3565         * custom.el (defface): Doc fix.
3567         * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
3569 2012-09-18  Martin Blais  <blais@furius.ca>  (tiny change)
3571         * progmodes/compile.el (compilation-start): Use compilation-always-kill
3572         to initialize query-on-exit; then test that instead (bug#12288).
3574 2012-09-17  Stefan Merten  <smerten@oekonux.de>
3576         * textmodes/rst.el: Add support for `testcover'.
3577         (rst-defcustom-testcover, rst-testcover-add-compose)
3578         (rst-testcover-add-1value): New functions.
3579         (rst-portable-mark-active-p): Replace by `use-region-p'.
3580         (rst-update-section, rst-classify-adornment)
3581         (rst-find-title-line): Mark `1value' forms.
3582         (rst-classify-adornment): Remove superfluous form.
3583         (rst-update-section, rst-get-adornments-around)
3584         (rst-adornment-complete-p, rst-get-next-adornment)
3585         (rst-adjust, rst-promote-region)
3586         (rst-display-adornments-hierarchy, rst-straighten-adornments)
3587         (rst-find-pfx-in-region, rst-section-tree-rec)
3588         (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
3589         (rst-toc-node, rst-toc, rst-forward-section)
3590         (rst-iterate-leftmost-paragraphs)
3591         (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
3592         (rst-bullet-list-region)
3593         (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
3594         (rst-compile-find-conf, rst-compile)
3595         (rst-repeat-last-character): Fix style.
3597 2012-09-17  Chong Yidong  <cyd@gnu.org>
3599         * comint.el (comint--complete-file-name-data): Don't add a space
3600         if the status is `sole'; that adds a gratuitous space in the
3601         completion-cycling case (Bug#12092).
3603         * pcomplete.el (pcomplete-completions-at-point): Likewise.
3605 2012-09-17  Richard Stallman  <rms@gnu.org>
3607         * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
3608         only in the mime-shown mode, not in raw mode.
3609         (rmail-mime): Toggle off mime by displaying the message without
3610         mime processing.  (Bug#12305)
3612         * mail/rmail.el (rmail-retry-failure):
3613         Turn off mime processing first.  (Bug#12037)
3615         * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
3617 2012-09-17  Chong Yidong  <cyd@gnu.org>
3619         * shell.el (shell-file-name-chars, shell-file-name-quote-list)
3620         (shell-dynamic-complete-functions): Convert to defcustom.
3621         (shell-prompt-pattern, shell-completion-fignore): Doc fix.
3623         * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
3624         * comint.el (comint-prompt-read-only):
3625         * custom.el (defcustom):
3626         * hi-lock.el (hi-lock-mode):
3627         * ibuffer.el (ibuffer-formats):
3628         * ielm.el (ielm-prompt-read-only):
3629         * novice.el (disable-command):
3630         * saveplace.el (toggle-save-place):
3631         * speedbar.el (speedbar-supported-extension-expressions):
3632         * startup.el (auto-save-list-file-prefix, init-file-user)
3633         (after-init-hook, inhibit-startup-echo-area-message):
3634         * strokes.el (strokes-help):
3635         * time-stamp.el (time-stamp):
3636         * calendar/calendar.el (calendar, diary-file):
3637         * calendar/diary-lib.el (diary-mail-entries, diary)
3638         (diary-list-entries-hook):
3639         * calendar/holidays.el (holidays, calendar-holidays):
3640         * calendar/lunar.el (lunar-phases):
3641         * calendar/solar.el (sunrise-sunset):
3642         * emulation/edt.el (edt-load-keys):
3643         * emulation/viper.el (viper-mode):
3644         * eshell/em-alias.el (eshell-command-aliases-list):
3645         * eshell/esh-util.el (eshell-convert-numeric-arguments):
3646         * international/ogonek.el (ogonek-information):
3647         * net/tramp-cmds.el (tramp-bug):
3648         * net/quickurl.el (quickurl-reread-hook-postfix):
3649         * play/decipher.el (decipher-font-lock-keywords):
3650         * progmodes/cc-styles.el (c-set-style):
3651         * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
3652         * progmodes/inf-lisp.el (inferior-lisp-prompt):
3653         * progmodes/octave-mod.el (octave-mode):
3654         * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
3655         * progmodes/verilog-mode.el (verilog-read-defines):
3656         * textmodes/two-column.el (2C-mode): Likewise.
3658 2012-09-16  Katsumi Yamaoka  <yamaoka@jpl.org>
3660         * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
3661         that holds many addresses.
3663 2012-09-16  Chong Yidong  <cyd@gnu.org>
3665         * align.el (align-areas): Call the indication function with
3666         positions instead of markers for arguments (Bug#12343).
3668         * files.el (parse-colon-path): Use split-string (Bug#12351).
3670         * window.el (special-display-popup-frame): Doc fix (Bug#8853).
3671         (display-buffer-function): Mark as obsolete.
3673         * progmodes/compile.el (compilation-parse-errors): Accept list
3674         values similar to font-lock-keywords (Bug#12136).
3675         Suggested by Oleksandr Manzyuk.
3676         (compilation-error-regexp-alist): Doc fix.
3678 2012-09-15  Glenn Morris  <rgm@gnu.org>
3680         * version.el (emacs-bzr-version-bzr): New function.
3681         (emacs-bzr-get-version): Add optional EXTERNAL argument.
3683         * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
3684         checkouts, check the parent dirstate matches the branch.
3685         Add "--tree" to "bzr revno" arguments.  Don't try to shorten the
3686         empty string.
3688         * version.el (emacs-bzr-version): Doc fix.
3689         (emacs-bzr-version-dirstate): New function.
3690         (emacs-bzr-get-version): For lightweight checkouts, if the parent
3691         is local try and check that it matches the branch.  If not, just
3692         use dirstate information.  (Bug#12441)
3694 2012-09-14  Juri Linkov  <juri@jurta.org>
3696         * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
3697         (Bug#12399)
3699 2012-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
3701         * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
3703         * emacs-lisp/edebug.el: Miscellaneous cleanup.
3704         Remove obsolete byte-compiler hack that tried to silence some warnings.
3705         (edebug-submit-bug-report): Remove.
3706         (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
3707         Remove aliases, use the un-prefixed name instead.
3708         (edebug-pop-to-buffer): Consider other frames.
3709         (edebug-original-read):: Make it more obvious that it's always defined.
3710         (edebug--make-form-data-entry, edebug--form-data-name)
3711         (edebug--form-data-begin, edebug--form-data-end): Rename from the
3712         single-dashed name, and implement with cl-defstruct.
3713         (edebug-set-form-data-entry): Use the standard accessors.
3714         (edebug-make-top-form-data-entry): Use push.
3715         (edebug-no-match): Drop useless `funcall'.
3716         (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
3717         to functions.
3718         (defsubst, dont-compile, eval-when-compile, eval-and-compile)
3719         (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
3720         (with-syntax-table, push, pop, 1value, noreturn, defadvice)
3721         (easy-menu-define, with-custom-print): Remove redundant specs.
3722         (edebug-outside-overriding-local-map)
3723         (edebug-outside-overriding-terminal-local-map): Remove, unused.
3724         (edebug--display): Bind unread-command-events directly to nil rather
3725         than binding it to unread-command-events and later setting it to nil.
3726         (edebug--display): Kill edebug-eval-buffer here...
3727         (edebug--recursive-edit): ...rather than here.
3728         Bind standard-output and standard-input.
3729         (edebug-eval): Check cl-macroexpand-all is fboundp.
3730         (edebug-temp-display-freq-count): Fix last change.
3732         * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
3733         * subr.el (noreturn, 1value): Add `debug' spec.
3734         * emacs-lisp/advice.el: Require cl-lib.
3735         (ad-copy-tree): Remove, use copy-tree instead.
3736         (ad-dolist): Remove use dolist or cl-dolist instead.
3737         (ad-do-return): Remove, use cl-return instead.
3738         (defadvice): Add `debug' spec.
3740 2012-09-13  Juri Linkov  <juri@jurta.org>
3742         * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
3743         (Bug#12399)
3745 2012-09-13  Glenn Morris  <rgm@gnu.org>
3747         * calc/calc.el (math-compose-expr):
3748         * calc/calc-ext.el (math-compose-expr):
3749         * progmodes/cc-defs.el (cl-macroexpand-all):
3750         * progmodes/cc-langs.el (delete-duplicates, mapcan)
3751         (cl-macroexpand-all): Update declarations.
3753         * vc/vc.el: No need to require ediff.
3754         (ediff-load-version-control): Declare.
3755         (ediff-vc-internal): Fix declaration.
3756         (vc-version-ediff): Require ediff.
3758 2012-09-13  Paul Eggert  <eggert@cs.ucla.edu>
3760         Use a more backwards-compatible timer format (Bug#12430).
3761         * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
3762         being right after USECS, as that better supports old code that
3763         inadvisedly looked directly at the timer vector.
3765 2012-09-13  Kenichi Handa  <handa@gnu.org>
3767         * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
3768         ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
3769         `coding-priority' property of these language environment.
3771 2012-09-13  Paul Eggert  <eggert@cs.ucla.edu>
3773         Fix glitches caused by addition of psec to timers (Bug#12430).
3774         * image.el (image-animate-timer):
3775         * time.el (display-time-world-timer):
3776         Use timer--function and timer--args rather than raw access to
3777         timer vector.
3779 2012-09-13  Glenn Morris  <rgm@gnu.org>
3781         * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
3782         If not compiling a file, try using load-file-name.
3784 2012-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
3786         * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
3787         Fix last change.
3788         (edebug-update-eval-list): Use `push'.
3790         * emacs-lisp/edebug.el: Use lexical-binding.
3791         Remove the "edebug-" prefix from non-dynamically-scoped variables.
3792         Mark unused args with underscore.
3793         (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
3794         (edebug-form-data): Use defvar-local.
3795         (edebug-make-before-and-after-form, edebug-make-after-form):
3796         Use backquote.
3797         (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
3798         Not dynamically scoped any more.
3799         (edebug--enter-trace): Add arguments `function' and `args'.
3800         Rename from edebug-enter-trace.
3801         (edebug-enter): Call it accordingly.  Bind edebug-function explicitly.
3802         (edebug--update-coverage): Add `after-index' and `value' args.
3803         Rename from edebug-update-coverage.
3804         (edebug-slow-after): Call it accordingly.
3805         (edebug--recursive-edit): Add arg `arg-mode'.  Rename from
3806         edebug-recursive-edit.
3807         (edebug--display): Call it accordingly.  Add args `value',
3808         `offset-index', and `arg-mode'.  Rename from edebug-display.
3809         (edebug-debugger, edebug): Call it accordingly.
3810         (edebug-eval-display-list): Use dolist.
3812 2012-09-12  Juri Linkov  <juri@jurta.org>
3814         * info.el (Info-search): Don't check for isearch-mode and
3815         isearch-regexp before let-binding search-spaces-regexp to
3816         Info-search-whitespace-regexp.
3817         (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
3818         search-whitespace-regexp if isearch-lax-whitespace or
3819         isearch-regexp-lax-whitespace is non-nil.
3820         (Info-mode): Don't set local variable search-whitespace-regexp.
3821         http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
3823 2012-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3825         * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
3826         (debugger-env-macro): Remove support for unread-command-char.
3828         * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
3829         the temporary map re-appearing on emulation-mode-map-alists.
3831         * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
3832         since 22.1.
3834         * ehelp.el (with-electric-help): Accept functions in
3835         electric-help-form-to-execute.
3836         (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
3837         And replace unread-command-char -> unread-command-events.
3839 2012-09-12  Michael Albinus  <michael.albinus@gmx.de>
3841         Sync with Tramp 2.2.6.
3843         * net/tramp.el (tramp-accept-process-output): Don't use
3844         JUST-THIS-ONE in the XEmacs case.
3846         * net/trampver.el: Update release number.
3848 2012-09-12  Martin Rudalics  <rudalics@gmx.at>
3850         * emacs-lisp/debug.el (debugger-previous-window-height):
3851         New variable.
3852         (debug): When debugger-jumping-flag is non-nil try to restore
3853         height of debugger window.  (Bug#8789)
3855 2012-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3857         * emacs-lisp/edebug.el (edebug-enter): Don't mess with
3858         overriding-local-map and pre/post-command-hook here.
3859         (edebug-recursive-edit): Do it here instead (bug#12345).
3860         (edebug-outside-unread-command-char): Remove all uses of
3861         unread-command-char.
3863         * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
3864         inhibit-debugger is bound instead.
3866 2012-09-11  Bastien Guerry  <bzg@gnu.org>
3868         * subr.el (set-temporary-overlay-map): Add a docstring.
3869         (Bug#12346)
3871 2012-09-11  Bastien Guerry  <bzg@gnu.org>
3873         * minibuffer.el (completion-table-subvert): Fix docstring.
3874         (Bug#12347)
3876 2012-09-11  Bastien Guerry  <bzg@gnu.org>
3878         * help-fns.el (describe-variable): Fix typo.  (Bug#12346)
3880 2012-09-10  Michael R. Mauger  <mmaug@yahoo.com>
3882         * progmodes/sql.el: Version 3.1
3883         (sql-db2-escape-newlines): New variable.
3884         (sql-escape-newlines-filter): Use it.
3886 2012-09-10  Juanma Barranquero  <lekktu@gmail.com>
3888         * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
3890 2012-09-10  Dan Nicolaescu  <dann@gnu.org>
3892         * vc/diff-mode.el (diff-mode-menu):
3893         Bind diff-remove-trailing-whitespace.
3895 2012-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
3897         * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
3898         (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
3899         (emacs-lisp-byte-code-mode): New functions.
3900         (eval-sexp-add-defvars): Don't skip defvars in column >0.
3901         (eval-defun-2): Remove bogus interactive spec.
3902         (lisp-indent-line): Remove redundant whole-exp code, now done in
3903         indent-according-to-mode.
3904         (save-match-data): Remove redundant indent data.
3906         * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
3907         Use `declare'.
3909 2012-09-09  Juri Linkov  <juri@jurta.org>
3911         * replace.el (replace-regexp-lax-whitespace): New defcustom.
3912         (replace-lax-whitespace, query-replace-regexp)
3913         (query-replace-regexp-eval, replace-regexp): Doc fix.
3914         (perform-replace, replace-highlight): Let-bind
3915         isearch-lax-whitespace to replace-lax-whitespace and
3916         isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
3918         * isearch.el (isearch-query-replace): Let-bind
3919         replace-lax-whitespace to isearch-lax-whitespace and
3920         replace-regexp-lax-whitespace to
3921         isearch-regexp-lax-whitespace.  (Bug#10885)
3923 2012-09-09  Stefan Monnier  <monnier@iro.umontreal.ca>
3925         * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
3927 2012-09-09  Alan Mackenzie  <acm@muc.de>
3929         * progmodes/cc-engine.el (c-state-cache-init):
3930         Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
3931         (c-record-parse-state-state):
3932         Record c-state-semi-nonlit-pos-cache\(-limit\)?.
3934 2012-09-09  Andreas Schwab  <schwab@linux-m68k.org>
3936         * register.el (register-separator): Rename from
3937         separator-register.  All uses changed.  Doc fix.
3938         (register): Fix version.
3940 2012-09-09  Chong Yidong  <cyd@gnu.org>
3942         * replace.el (query-replace-map): Bind four new symbols for
3943         requesting window scrolling.
3945         * subr.el (y-or-n-p): Handle the window-scrolling bindings in
3946         query-replace-map (Bug#8948).
3948         * custom.el (custom-theme-load-confirm): Use y-or-n-p.
3950         * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
3951         since they are now in query-replace-map.
3953         * window.el (scroll-other-window-down): Make the arg optional.
3955 2012-09-09  Chong Yidong  <cyd@gnu.org>
3957         * files.el (hack-local-variables-confirm): Use quit-window to kill
3958         the *Local Variables* buffer.
3960 2012-09-08  Dmitry Gutov  <dgutov@yandex.ru>
3962         * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
3963         not just expect to be at its beginning.  Adjust callees.
3964         Succeed when do-end block has no space before the pipe character.
3965         (ruby-brace-to-do-end): When the original block is one-liner,
3966         convert to multiline.  Reindent the result.
3968 2012-09-08  Jambunathan K  <kjambunathan@gmail.com>
3970         * register.el (register): New group.
3971         (separator-register): New user option.
3972         (increment-register): Route it to `append-to-register', if
3973         register contains text.  Implication is that `C-x r +' can now be
3974         used for appending to a text register (bug#12217).
3975         (append-to-register, prepend-to-register): Add separator based on
3976         `separator-register'.
3978 2012-09-08  Alan Mackenzie  <acm@muc.de>
3980         AWK Mode: make auto-newline work when there's "==" in the pattern.
3981         * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
3982         correctly.
3983         * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
3984         Test more rigorously for "=" token.
3986 2012-09-08  Dmitry Gutov  <dgutov@yandex.ru>
3988         * progmodes/ruby-mode.el (ruby-match-expression-expansion):
3989         Only fail when reached LIMIT.
3991 2012-09-08  Chong Yidong  <cyd@gnu.org>
3993         * dired.el (dired-mode-map): Don't bind M-=.
3995         * dired-aux.el (dired-diff): Use backup file as default.
3997 2012-09-08  Drew Adams  <drew.adams@oracle.com>
3999         * subr.el (add-to-history): Fix delete usage (Bug#12314).
4001 2012-09-08  Chong Yidong  <cyd@gnu.org>
4003         * subr.el (syntax-after, syntax-class): Doc fix.
4005 2012-09-08  Martin Rudalics  <rudalics@gmx.at>
4007         * window.el (display-buffer-in-previous-window): New buffer
4008         display action function.
4010         * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
4011         (debugger-previous-window): New variable.
4012         (debug): Rewrite using display-buffer-in-previous-window,
4013         quit-restore-window and debugger-bury-or-kill.  (Bug#8789)
4015 2012-09-07  Stefan Monnier  <monnier@iro.umontreal.ca>
4017         * emacs-lisp/byte-run.el (defun): Tweak message.  Simplify code.
4019 2012-09-07  Matt McClure  <mlm@aya.yale.edu>  (tiny change)
4021         * progmodes/python.el (python-shell-send-string):
4022         When default-directory is remote, create temp file on remote
4023         filesystem.
4024         (python-shell-send-file): When file is remote, pass local view of
4025         file paths to remote Python interpreter.  (Bug#12340)
4027 2012-09-07  Chong Yidong  <cyd@gnu.org>
4029         * window.el (switch-to-buffer): Doc fix (Bug#12181).
4031         * files.el (after-find-file): Don't fail on a read-only buffer if
4032         require-final-newline is `visit' or `visit-save' (Bug#11156).
4034         * subr.el (read-char-choice): Allow quitting via ESC ESC.
4036         * userlock.el (ask-user-about-supersession-threat):
4037         Use read-char-choice (Bug#12093).
4039 2012-09-07  Chong Yidong  <cyd@gnu.org>
4041         * subr.el (buffer-narrowed-p): New function.
4043         * ses.el (ses-widen):
4044         * simple.el (count-words--buffer-message):
4045         * net/browse-url.el (browse-url-of-buffer): Use it.
4047         * simple.el (count-words-region): Don't signal an error if there
4048         is a non-nil prefix arg and the mark is not set.
4050         * help.el (describe-key-briefly): Allow the message to be seen
4051         when invoked from the minibuffer (Bug#7014).
4053 2012-09-07  Dmitry Gutov  <dgutov@yandex.ru>
4055         * progmodes/ruby-mode.el (ruby-end-of-defun)
4056         (ruby-beginning-of-defun): Simplify, allow indentation before
4057         block beginning and end keywords.
4058         (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
4059         (ruby-end-of-defun): Expect that the point is at the beginning of
4060         the defun.
4062 2012-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
4064         * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
4065         (bug#12367).
4066         (cl--make-usage-args): Strip _ from argument names.
4068 2012-09-06  RĂ¼diger Sonderfeld  <ruediger@c-plusplus.de>
4070         * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
4071         obsolete alias speedbar-key-map.
4072         (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
4073         (vhdl-index-menu-init): Don't use obsolete variable
4074         font-lock-maximum-size.
4076 2012-09-06  Chong Yidong  <cyd@gnu.org>
4078         * frame.el (window-system-version): Mark as obsolete.
4080         * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
4081         of obsolete variable speedbar-key-map.
4083 2012-09-06  Juri Linkov  <juri@jurta.org>
4085         * replace.el (replace-lax-whitespace): New defcustom.
4086         (query-replace, query-replace-regexp, query-replace-regexp-eval)
4087         (replace-string, replace-regexp): Mention it in docstrings.
4088         (perform-replace, replace-highlight): Let-bind
4089         isearch-lax-whitespace and isearch-regexp-lax-whitespace according
4090         to the values of replace-lax-whitespace and regexp-flag.
4091         Don't let-bind search-whitespace-regexp.  (Bug#10885)
4093         * isearch.el (isearch-query-replace): Let-bind
4094         replace-lax-whitespace instead of let-binding
4095         replace-search-function and replace-re-search-function.
4096         (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
4097         and isearch-regexp-lax-whitespace to lazy-highlight variables.
4098         (isearch-toggle-symbol): Set isearch-regexp to nil
4099         in isearch-word mode (like in isearch-toggle-word).
4101 2012-09-06  Juri Linkov  <juri@jurta.org>
4103         * replace.el (replace-search-function)
4104         (replace-re-search-function): Set default values to nil.
4105         (perform-replace): Let-bind isearch-related variables based on
4106         replace-related values, call `isearch-search-fun' and let-bind
4107         the result to `search-function'.  Remove code that sets
4108         `search-function' and `search-string' separately for
4109         `delimited-flag'.
4110         (replace-highlight): Add new argument `delimited-flag' and
4111         rename other arguments to the names used in `perform-replace'.
4112         Let-bind `isearch-word' to the argument `delimited-flag'.
4113         (Bug#10885, bug#10887)
4115 2012-09-07  Dmitry Gutov  <dgutov@yandex.ru>
4117         * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
4118         ruby-beginning-of-indent, simplify, allow all keywords to have
4119         indentation before them.
4120         (ruby-beginning-of-indent): Adjust for above.  Search until the
4121         found point is not inside a string or comment.
4122         (ruby-font-lock-keywords): Allow symbols to start with "@"
4123         character, give them higher priority than variables.
4124         (ruby-syntax-propertize-function)
4125         (ruby-font-lock-syntactic-keywords): Remove the "not comments"
4126         matchers.  Expression expansions are not comments when inside a
4127         string, and there comment syntax status is irrelevant.
4128         (ruby-match-expression-expansion): New function.  Check that
4129         expression expansion is inside a string, and it's not escaped.
4130         (ruby-font-lock-keywords): Use it.
4132 2012-09-05  Martin Rudalics  <rudalics@gmx.at>
4134         * help.el (temp-buffer-max-height): New default value.
4135         (temp-buffer-resize-frames): New option.
4136         (resize-temp-buffer-window): Optionally resize frame.
4138         * window.el (fit-frame-to-buffer-bottom-margin): New option.
4139         (fit-frame-to-buffer): New function.
4141 2012-09-05  Glenn Morris  <rgm@gnu.org>
4143         * emulation/cua-rect.el (cua--init-rectangles):
4144         * textmodes/picture.el (picture-mode-map):
4145         * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
4146         like forward-char and backward-char.  (Bug#12317)
4148 2012-09-05  Leo Liu  <sdl.web@gmail.com>
4150         * progmodes/flymake.el (flymake-warning-re): New variable.
4151         (flymake-parse-line): Use it.
4153 2012-09-05  Glenn Morris  <rgm@gnu.org>
4155         * calendar/holidays.el (holiday-christian-holidays):
4156         Rename an entry.  (Bug#12289)
4158 2012-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
4160         * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
4161         (bug#12222).
4163 2012-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
4165         * loadup.el: Load macroexp.  Remove hack.
4166         * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
4167         (macroexp--expand-all): Use it to get better warnings.
4168         (macroexp--backtrace, macroexp--trim-backtrace-frame)
4169         (internal-macroexpand-for-load): New functions.
4170         (macroexp--pending-eager-loads): New var.
4171         (emacs-startup-hook): New hack to replace one in loadup.el.
4172         * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
4173         (cl--compiler-macro-cXXr): Move to top, before they can be used.
4174         (cl-psetf): Simplify.
4175         (cl-defstruct): Add indent rule.
4177 2012-09-04  Lars Ingebrigtsen  <larsi@gnus.org>
4179         * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
4180         over `user-mail-address' for the SMTP MAIL FROM envelope.
4181         (smtpmail-via-smtp): Ditto.
4183 2012-09-04  Dmitry Gutov  <dgutov@yandex.ru>
4185         * progmodes/ruby-mode.el: Clean up keybindings.
4186         (ruby-mode-map): Don't bind ruby-electric-brace,
4187         ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
4188         backward-kill-word, reindent-then-newline-and-indent.
4189         (ruby-mark-defun): Remove.
4190         (ruby-electric-brace): Remove.  Obsoleted by electric-indent-chars.
4191         (ruby-mode): Set local beginning-of-defun-function and
4192         end-of-defun-function values.
4194 2012-09-03  Martin Rudalics  <rudalics@gmx.at>
4196         * window.el (temp-buffer-window-setup-hook)
4197         (temp-buffer-window-show-hook): New hooks.
4198         (temp-buffer-window-setup, temp-buffer-window-show)
4199         (with-temp-buffer-window): New functions.
4200         (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
4201         (special-display-popup-frame): Make sure the window used shows BUFFER.
4203         * help.el (temp-buffer-resize-mode): Fix doc-string.
4204         (resize-temp-buffer-window): New optional argument WINDOW.
4206         * files.el (recover-file, save-buffers-kill-emacs):
4207         * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
4209 2012-09-02  Michael Albinus  <michael.albinus@gmx.de>
4211         * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
4212         remote definition of `default-directory', ensure we can connect.
4214 2012-09-02  Juri Linkov  <juri@jurta.org>
4216         Toggle whitespace matching mode with M-s SPC.
4217         http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
4219         * isearch.el (search-whitespace-regexp): Doc fix.
4220         Remove cons cell customization.
4221         (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
4222         (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
4223         New variables.
4224         (isearch-forward, isearch-forward-regexp): Doc fix.
4225         (isearch-toggle-lax-whitespace): New command.
4226         (search-forward-lax-whitespace, search-backward-lax-whitespace)
4227         (re-search-forward-lax-whitespace)
4228         (re-search-backward-lax-whitespace): New functions.
4229         (isearch-whitespace-regexp): Remove function.
4230         (isearch-query-replace): Let-bind replace-search-function and
4231         replace-re-search-function.
4232         (isearch-occur): Let-bind search-spaces-regexp according to the
4233         value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
4234         (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
4235         condition for C-q SPC.
4236         (isearch-search-fun-default): Use new functions mentioned above.
4237         (isearch-search-forward, isearch-search-backward): Remove functions.
4238         (isearch-search): Don't let-bind search-spaces-regexp.
4239         (isearch-lazy-highlight-space-regexp): Remove variable.
4240         (isearch-lazy-highlight-lax-whitespace)
4241         (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
4242         (isearch-lazy-highlight-new-loop): Use them.
4243         (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
4245 2012-09-02  Chong Yidong  <cyd@gnu.org>
4247         * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
4249 2012-09-02  Glenn Morris  <rgm@gnu.org>
4251         * simple.el (undo): Tweak message in undo-only case.  (Bug#12283)
4253 2012-09-01  Glenn Morris  <rgm@gnu.org>
4255         * term.el: Tidy up menu definitions.
4256         (term-mode-map): Use easymenu for In/Out, Complete menus.
4257         (term-pager-break-map): Initialize in the defvar.
4258         (term-terminal-menu, term-signals-menu): Define with easymenu.
4259         (term-terminal-menu): Also show it in line-mode.  (Bug#11957)
4260         (term-pager-menu): New, extracted from term-process-pager.
4261         (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
4262         (term-update-mode-line): Propertize line/char and page items.
4263         (term-process-pager): Move keymap initialization elsewhere.
4265 2012-09-01  Martin Rudalics  <rudalics@gmx.at>
4267         * window.el (switch-to-prev-buffer): Handle additional values of
4268         BURY-OR-KILL argument.  Don't switch in minibuffer window.
4269         (switch-to-next-buffer): Don't switch in minibuffer window.
4270         (quit-restore-window): New function based on quit-window.
4271         Handle additional values of former KILL argument.
4272         (quit-window): Call quit-restore-window with appropriate
4273         interpretation of KILL argument.
4274         (display-buffer-below-selected): New buffer display action
4275         function.
4277 2012-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>
4279         * minibuffer.el (completion-at-point-functions): Complete docstring
4280         (bug#12254).
4282 2012-09-01  Paul Eggert  <eggert@cs.ucla.edu>
4284         Better seed support for (random).
4285         * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
4286         * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
4287         * play/mpuz.el, play/tetris.el, play/zone.el:
4288         * calc/calc-comb.el (math-init-random-base):
4289         * play/blackbox.el (bb-init-board):
4290         * play/life.el (life):
4291         * server.el (server-use-tcp):
4292         * type-break.el (type-break):
4293         Remove unnecessary call to (random t).
4294         * net/sasl.el (sasl-unique-id-function):
4295         Change (random t) to (random), now that the latter is more random.
4296         * play/life.el (life-initialized): Remove no-longer-needed var.
4298 2012-08-31  Alp Aker  <alp.tekin.aker@gmail.com>
4300         * window.el (switch-to-prev-buffer, switch-to-next-buffer):
4301         Consider frame's buffer predicate when choosing the buffer.
4302         (Bug#12081)
4304 2012-08-30  Richard Stallman  <rms@gnu.org>
4306         * simple.el (special-mode-map): Delete binding for `z'.
4308 2012-08-30  Andreas Schwab  <schwab@linux-m68k.org>
4310         * progmodes/compile.el (compilation-always-kill): Doc fix.
4312 2012-08-30  Chong Yidong  <cyd@gnu.org>
4314         * window.el (display-buffer-reuse-frames): Make the obsolescence
4315         message more informative.
4317 2012-08-30  Glenn Morris  <rgm@gnu.org>
4319         * paren.el (show-paren-delay):
4320         Add a :set function.  Doc fix.  (Bug#12297)
4322 2012-08-29  Martin Blais  <blais@furius.ca>  (tiny change)
4324         * progmodes/compile.el (compilation-always-kill): New var.
4325         (compilation-start): Use it.
4327 2012-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
4329         * simple.el (read-only-mode): Move from files.el for bootstrapping.
4330         * files.el (read-only-mode): Move to simple.el.
4332         * files.el (read-only-mode): New minor mode.
4333         (toggle-read-only): Use it and mark obsolete.
4334         (find-file--read-only):
4335         * vc/vc.el (vc-next-action, vc-checkout):
4336         * vc/vc-cvs.el (vc-cvs-checkout):
4337         * obsolete/vc-mcvs.el (vc-mcvs-update):
4338         * ffap.el (ffap--toggle-read-only): Update callers.
4340 2012-08-29  Michael Albinus  <michael.albinus@gmx.de>
4342         * eshell/esh-ext.el (eshell-external-command): Do not examine
4343         remote shell scripts.
4344         See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
4346         * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
4347         "/usr/local/sbin".
4349 2012-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
4351         * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
4353 2012-08-28  Leo Liu  <sdl.web@gmail.com>
4355         * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
4356         completion-at-point.  (Bug#12220)
4358         * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
4360         * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
4362 2012-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
4364         * files.el (safe-local-eval-forms): Fix before-save-hook entry to
4365         be buffer-local; add delete-trailing-whitespace (bug#12259).
4367 2012-08-28  Jeremy Moore  <jmoore@ieee.org>  (tiny change)
4369         * progmodes/hideif.el (hif-compress-define-list):
4370         Fix typo.  (Bug#11951)
4372 2012-08-28  Dan Nicolaescu  <dann@gnu.org>
4374         * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
4375         buffer local setting.
4377         * net/rcirc.el (rcirc-split-message): Fix for buffer-local
4378         rcirc-encode-coding-system.
4380 2012-08-28  Leo Liu  <sdl.web@gmail.com>
4382         * net/rcirc.el (rcirc-split-message): New function.
4383         (rcirc-send-message): Use it.  (Bug#12051)
4385 2012-08-28  Juri Linkov  <juri@jurta.org>
4387         * info.el (Info-fontify-node): Hide empty lines at the end of
4388         the node.  (Bug#12272)
4390 2012-08-27  Drew Adams  <drew.adams@oracle.com>
4392         * dired.el (dired-pop-to-buffer): Make window start at beginning
4393         of buffer (Bug#12281).
4395 2012-08-26  Chong Yidong  <cyd@gnu.org>
4397         * window.el (special-display-regexps, special-display-frame-alist)
4398         (special-display-buffer-names, special-display-function)
4399         (display-buffer-reuse-frames): Mark as obsolete.
4401         * progmodes/compile.el: Don't use display-buffer-reuse-frames.
4403         * help.el (help-print-return-message): Don't treat
4404         display-buffer-reuse-frames specially.
4406 2012-08-26  Chong Yidong  <cyd@gnu.org>
4408         * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
4409         New variable, replacing gdb-frame-parameters.
4410         (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
4411         (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
4412         (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
4413         (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
4414         (def-gdb-frame-for-buffer): Macro deleted.  It is easier to define
4415         the functions directly with gdb-display-buffer-other-frame-action.
4416         (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
4417         (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
4418         (gdb-display-stack-buffer, gdb-display-locals-buffer)
4419         (gdb-display-registers-buffer): Define directly.
4420         (def-gdb-display-buffer): Macro deleted.
4421         (gdb-display-buffer): Remove second and third args, callers don't
4422         use them.  Defer to the default display-buffer behavior, apart
4423         from making windows dedicated.
4424         (gdb-setup-windows): Don't call display-buffer unnecessarily.
4426         * progmodes/gud.el (gud-display-line): Just use display-buffer.
4428         * window.el (display-buffer-pop-up-frame): Handle a
4429         pop-up-frame-parameters alist entry.
4430         (display-buffer): Document it.
4432 2012-08-26  Chong Yidong  <cyd@gnu.org>
4434         * isearch.el (search-whitespace-regexp): Make string and nil
4435         values apply to both ordinary and regexp search.  Allow a cons
4436         cell value to distinguish between the two.
4437         (isearch-whitespace-regexp, isearch-search-forward)
4438         (isearch-search-backward): New functions.
4439         (isearch-occur, isearch-search-fun-default, isearch-search)
4440         (isearch-lazy-highlight-new-loop): Use them.
4441         (isearch-forward, isearch-forward-regexp): Doc fix.
4443 2012-08-26  Chong Yidong  <cyd@gnu.org>
4445         * faces.el (help-argument-name): Always inherit from italic
4446         (Bug#12213).
4448 2012-08-25  Martin Rudalics  <rudalics@gmx.at>
4450         * window.el (window--even-window-heights): Even heights when
4451         WINDOW and the selected window form a vertical combination.
4452         (display-buffer-use-some-window): Provide that window used gets
4453         sized back by quit-window.  (Bug#11880) and (Bug#12091)
4455 2012-08-24  Paul Eggert  <eggert@cs.ucla.edu>
4457         Fix file time stamp problem with bzr and CVS (Bug#12001).
4458         * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
4459         in the file's time stamp, since the version control system loses
4460         that information.
4462 2012-08-22  Juri Linkov  <juri@jurta.org>
4464         * info.el (Info-fontify-node): Hide the suffix of the
4465         Info file name in the header line.  (Bug#12187)
4467 2012-08-22  Glenn Morris  <rgm@gnu.org>
4469         * calendar/cal-tex.el (cal-tex-weekly-common):
4470         Restore leading blank page.
4472 2012-08-22  Le Wang  <l26wang@gmail.com>
4474         * misc.el (forward-to-word, backward-to-word): Activate or extend
4475         the region under `shift-select-mode'.  (Bug#12231)
4477 2012-08-22  Bastien Guerry  <bzg@gnu.org>
4479         * progmodes/executable.el (executable-prefix): Set to "#!" instead
4480         of "#! ".  http://www.in-ulm.de/~mascheck/various/shebang/#details
4481         gives details on why the space is never needed.
4483 2012-08-22  Martin Rudalics  <rudalics@gmx.at>
4485         * window.el (walk-window-tree, window-with-parameter):
4486         New optional argument MINIBUF to control whether these functions
4487         should run on the minibuffer window.
4488         (window-at-side-list): Don't operate on minibuffer window.
4489         (window-in-direction): Simplify and rewrite doc-string.
4490         (window--size-ignore): Rename to window--size-ignore-p.
4491         Update callers.
4492         (display-buffer-in-atom-window, window--major-non-side-window)
4493         (window--major-side-window, display-buffer-in-major-side-window)
4494         (delete-side-window, display-buffer-in-side-window):
4495         New functions.
4496         (window--side-check, window-deletable-p, delete-window)
4497         (delete-other-windows, split-window): Handle side windows and
4498         atomic windows appropriately.
4499         (window--display-buffer): Call display-buffer-record-window also
4500         when the window buffer did not change.
4502 2012-08-22  Christopher Schmidt  <christopher@ch.ristopher.com>
4504         * help-fns.el (help-fns--key-bindings):
4505         Abbreviate non-symbol remap targets.  (Bug#12174)
4507 2012-08-22  Martin Rudalics  <rudalics@gmx.at>
4509         * dired.el (dired-mark-remembered): Don't clobber point.
4510         (Bug#11795)
4512 2012-08-22  Glenn Morris  <rgm@gnu.org>
4514         * progmodes/bug-reference.el (bug-reference): New custom group.
4515         (bug-reference-bug-regexp): Make it a defcustom.
4517 2012-08-22  Daiki Ueno  <ueno@unixuser.org>
4519         * progmodes/js.el (js-indent-level, js-expr-indent-offset)
4520         (js-paren-indent-offset, js-square-indent-offset)
4521         (js-curly-indent-offset): Add :safe (Bug#12257).
4523 2012-08-22  Edward O'Connor  <hober0@gmail.com>
4525         * json.el (json-key-format): Add error properties.
4526         (json-encode-key): New function.
4527         (json-encode-hash-table, json-encode-alist, json-encode-plist):
4528         Use json-encode-key.
4530 2012-08-22  Glenn Morris  <rgm@gnu.org>
4532         * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
4533         (cal-tex-leftday, cal-tex-rightday): Remove functions.
4534         (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
4535         Update for above change.
4537 2012-08-21  Andreas Schwab  <schwab@linux-m68k.org>
4539         * cus-face.el (custom-face-attributes): Fix customize type for the
4540         :underline attribute.  (Bug#11805)
4542 2012-08-21  Martin Rudalics  <rudalics@gmx.at>
4544         * window.el (window-point-1, set-window-point-1): Remove.
4545         (window-in-direction, record-window-buffer)
4546         (set-window-buffer-start-and-point, split-window-below)
4547         (window--state-get-1, display-buffer-record-window):
4548         Replace calls to window-point-1 and set-window-point-1 by calls to
4549         window-point and set-window-point respectively.
4551 2012-08-21  Glenn Morris  <rgm@gnu.org>
4553         * calendar/cal-tex.el (cal-tex-weekly-common): New function.
4554         (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
4555         Use it.
4557         * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
4558         (cal-tex-shortday): New function.
4559         (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
4560         (cal-tex-cursor-filofax-daily): Use the above.
4562         * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
4563         New functions.
4564         (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
4565         (cal-tex-cursor-filofax-week): Use them.
4567         * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
4568         New constants.
4569         (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
4570         (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
4572         * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
4573         (cal-tex-end-document): Don't rely on buffer name.
4575         * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
4576         Use cal-tex-vspace.
4577         (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
4578         (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
4579         (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
4580         Use cal-tex-arg.
4582         * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
4583         (cal-tex-cursor-week, cal-tex-cursor-week2)
4584         (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
4585         (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
4586         (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
4587         (cal-tex-insert-preamble, cal-tex-b-document)
4588         (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
4589         Improve cal-tex-cmd usage.
4591         * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
4592         (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
4593         (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
4594         (cal-tex-weekly-paper): New function.
4595         (cal-tex-cursor-week, cal-tex-cursor-week2)
4596         (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
4597         (cal-tex-cursor-day): Use it.
4599         * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
4600         (cal-tex-cursor-filofax-week): Remove leading blank page.
4602         * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
4603         Add autoload cookie.  For now at least, don't use color, since
4604         no other cal-tex function does.
4606         * calendar/cal-tex.el (cal-tex-cursor-week-iso)
4607         (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
4608         (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
4610 2012-08-21  Juri Linkov  <juri@jurta.org>
4612         * info.el (Info-file-attributes): New variable.
4613         (info-insert-file-contents): Add file attributes to
4614         `Info-file-attributes'.  Clear the caches `Info-index-nodes' and
4615         `Info-toc-nodes' when previous modtime of the Info file is less
4616         than new modtime.
4617         (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
4618         of info.el.  (Bug#12230)
4620 2012-08-20  Glenn Morris  <rgm@gnu.org>
4622         * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
4623         * calendar/holidays.el (calendar-holiday-list):
4624         Report errors with display-warning rather than beep'n'sleep.
4626 2012-08-20  Michael Albinus  <michael.albinus@gmx.de>
4628         * net/tramp.el (tramp-accept-process-output): Accept only output
4629         from PROC.  Otherwise, process filters and sentinels might be
4630         confused.  (Bug#12145)
4632 2012-08-20  Chong Yidong  <cyd@gnu.org>
4634         * descr-text.el (describe-text-properties-1): Use overlays-in to
4635         report on empty overlays (Bug#3322).
4637 2012-08-20  Glenn Morris  <rgm@gnu.org>
4639         * mail/rmailout.el (rmail-output-read-file-name):
4640         Trap and report errors in rmail-output-file-alist elements.
4642         * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
4643         since most non-font-lock faces are not also variables).
4645 2012-08-20  Edward Reingold  <reingold@iit.edu>
4647         * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
4648         New function.  (Bug12160)
4650 2012-08-19  Glenn Morris  <rgm@gnu.org>
4652         * mail/rmailout.el (rmail-output-read-file-name):
4653         Fix previous change (when the alist is nil or does not match).
4655 2012-08-19  Chong Yidong  <cyd@gnu.org>
4657         * xml.el (xml-escape-string): Don't refer to xml-entity-alist
4658         (Bug#12228).
4660 2012-08-18  Chong Yidong  <cyd@gnu.org>
4662         * simple.el (yank-handled-properties): New defcustom.
4663         (yank-excluded-properties): Add font-lock-face and category.
4664         (yank): Doc fix.
4666         * subr.el (remove-yank-excluded-properties):
4667         Obey yank-handled-properties.  The special handling of font-lock-face
4668         and category is now done this way, instead of being hard-coded.
4669         (insert-for-yank-1): Remove font-lock-face handling.
4670         (yank-handle-font-lock-face-property)
4671         (yank-handle-category-property): New function.
4673 2012-08-17  Glenn Morris  <rgm@gnu.org>
4675         * mail/rmailout.el (rmail-output-read-file-name):
4676         Check rmail-output-file-alist against the full message body
4677         in the correct rmail buffer.  (Bug#12214)
4679 2012-08-17  Michael Albinus  <michael.albinus@gmx.de>
4681         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
4682         Eliminate superfluous prompt.  (Bug#12203)
4684 2012-08-17  Chong Yidong  <cyd@gnu.org>
4686         * mouse.el (mouse-appearance-menu): If x-select-font returns a
4687         font spec, set the font directly (Bug#3228).
4689 2012-08-17  Martin Rudalics  <rudalics@gmx.at>
4691         * window.el (delete-window): Fix last fix.
4693 2012-08-16  Martin Rudalics  <rudalics@gmx.at>
4695         * window.el (window-valid-p): Move to window.c.
4696         (window-child, window-child-count, window-last-child)
4697         (window-normalize-window, window-combined-p)
4698         (window-combinations, window-atom-root, window-min-size)
4699         (window-sizable, window-sizable-p, window-size-fixed-p)
4700         (window-min-delta, window-max-delta, window--resizable)
4701         (window--resizable-p, window-resizable, window-total-size)
4702         (window-full-height-p, window-full-width-p, window-body-size)
4703         (window-at-side-p, adjust-window-trailing-edge, maximize-window)
4704         (minimize-window, window-deletable-p, delete-window)
4705         (delete-other-windows, set-window-buffer-start-and-point)
4706         (next-buffer, previous-buffer, split-window, balance-windows-2)
4707         (set-window-text-height, window-buffer-height)
4708         (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
4709         (truncated-partial-width-window-p): Minor code adjustments.
4710         In doc-strings state whether the argument window has to denote a
4711         live, valid or any window.
4713 2012-08-16  Phil Sainty  <psainty@orcon.net.nz>  (tiny change)
4715         * progmodes/subword.el (subword-forward-function)
4716         (subword-backward-function, subword-forward-regexp)
4717         (subword-backward-regexp): New variables.
4718         (subword-forward, subword-forward-internal, subword-backward-internal):
4719         Use new variables, eg so that different "word" definitions
4720         can be easily used.  (Bug#11411)
4722 2012-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
4724         * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
4725         for composite selectors.
4726         * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
4727         operation just because we can't find a previous revision.
4729 2012-08-15  Chong Yidong  <cyd@gnu.org>
4731         * frame.el (set-frame-font): Accept font objects.
4733 2012-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
4735         * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
4737 2012-08-15  Wolfgang Jenkner  <wjenkner@inode.at>
4739         * man.el (Man-overstrike-face, Man-underline-face)
4740         (Man-reverse-face): Remove variables.
4741         (Man-overstrike, Man-underline, Man-reverse): New faces.
4742         (Man-fontify-manpage): Use them instead of the variables.
4743         (Man-cleanup-manpage): Comment change.
4744         (Man-ansi-color-map): New variable.
4745         (Man-fontify-manpage): Use it.
4746         Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
4748         Implement ANSI SGR parameters 22-27 (bug#12146).
4749         * ansi-color.el (ansi-colors): Doc fix.
4750         (ansi-color-context, ansi-color-context-region): Doc fix.
4751         (ansi-color--find-face): New function.
4752         (ansi-color-apply, ansi-color-apply-on-region): Use it.
4753         Rename the local variable `face' to `codes' since it is now a list of
4754         ansi codes.  Doc fix.
4755         (ansi-color-get-face): Remove.
4756         (ansi-color-parse-sequence): New function, derived from
4757         ansi-color-get-face.
4758         (ansi-color-apply-sequence): Use it.  Rewrite, and support ansi
4759         codes 22-27.
4761 2012-08-14  Stefan Monnier  <monnier@iro.umontreal.ca>
4763         * subr.el (read-passwd): Allow use from a minibuffer.
4765 2012-08-14  Eli Zaretskii  <eliz@gnu.org>
4767         * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
4768         inside comments and strings as identifiers.
4770         * progmodes/gud.el (gud-tooltip-print-command): Quote the
4771         expression to evaluate.  This allows to evaluate expressions with
4772         embedded whitespace.
4773         (gud-tooltip-tips): Add a blank before the newline in the
4774         message-box text, for the benefit of message-box emulation on
4775         MS-Windows.
4777         * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
4778         messages from GDB, pop them up in a tooltip to give feedback to
4779         user.
4780         (gdb-tooltip-print-1): Quote the expression to evaluate.
4781         This allows to evaluate expressions with embedded whitespace.
4782         (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
4783         if the TTY name is nil or empty (which happens when communicating
4784         with the inferior via pipes, e.g. on MS-Windows).
4785         (gdb-internals): If GDB sends a "&\n" empty debugging message,
4786         don't send that to the GUD buffer.
4788 2012-08-14  Glenn Morris  <rgm@gnu.org>
4790         * emacs-lisp/bytecomp.el (byte-compile-setq-default):
4791         Optimize away setq-default with no args, as for setq.  (Bug#12195)
4793 2012-08-14  Chong Yidong  <cyd@gnu.org>
4795         * minibuffer.el (read-file-name): Doc fix (Bug#10881).
4797         * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
4798         (Bug#12085).
4800 2012-08-14  Glenn Morris  <rgm@gnu.org>
4802         * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
4804 2012-08-14  Michael Albinus  <michael.albinus@gmx.de>
4806         * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
4807         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
4808         Use cached shell name.
4810 2012-08-14  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
4812         * progmodes/python.el (python-shell-send-string):
4813         (python-shell-send-setup-code): Do not use `format' with `message'.
4815 2012-08-14  Dmitry Gutov  <dgutov@yandex.ru>
4817         * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
4818         (ruby-percent-literal-beg-re): New constant.
4819         (ruby-syntax-general-delimiters-goto-beg): Rename to
4820         `ruby-syntax-enclosing-percent-literal', improve literal type check.
4821         (ruby-syntax-propertize-general-delimiters): Rename to
4822         `ruby-syntax-propertize-percent-literal', it's a shorter and more
4823         popular term.  Adjust comments everywhere.
4824         (ruby-syntax-propertize-percent-literal): Only propertize when not
4825         inside a simple string or comment.  When the literal is unclosed,
4826         leave the text after it unpropertized.
4827         (ruby-syntax-methods-before-regexp): New constant.
4828         (ruby-syntax-propertize-function): Use it to recognize regexps.
4829         Don't look at the text after regexp, just use the whitelist.
4831 2012-08-14  Andreas Schwab  <schwab@linux-m68k.org>
4833         * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
4834         non-nil always load the compiled file if it exists.  (Bug#12197)
4836 2012-08-14  Chong Yidong  <cyd@gnu.org>
4838         * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
4839         (hi-lock-set-pattern): When deciding whether to use font lock or
4840         overlays, look at font-lock-mode instead of font-lock-fontified
4841         (Bug#12168).
4842         (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
4843         (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
4845 2012-08-14  Daiki Ueno  <ueno@unixuser.org>
4847         * subr.el (internal--after-with-selected-window): Fix typo
4848         (Bug#12193).
4850 2012-08-14  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
4852         Use `completion-table-dynamic' for completion functions.
4853         * progmodes/python.el
4854         (python-shell-completion--do-completion-at-point)
4855         (python-shell-completion--get-completions):
4856         Remove functions.
4857         (python-shell-completion-complete-at-point): New function.
4858         (python-completion-complete-at-point): Use it.
4860 2012-08-13  Jambunathan K  <kjambunathan@gmail.com>
4862         * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
4863         (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
4865 2012-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
4867         * subr.el (function-get): Refine `autoload' arg so it can also
4868         autoload functions for gv.el (bug#12191).
4869         * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
4870         autoloads macros.
4872         * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
4873         Prefer pcase-let over destructuring-bind.
4874         * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
4875         Also, remove whitespace as we go, rather than after accumulating the
4876         various places.
4878         * subr.el (internal--before-with-selected-window)
4879         (internal--after-with-selected-window): Fix typo seleted->selected.
4880         (with-selected-window): Adjust callers.
4881         Reported by Dmitry Gutov <dgutov@yandex.ru>.
4883 2012-08-13  Bastien Guerry  <bzg@gnu.org>
4885         * window.el (special-display-popup-frame): Minor docstring
4886         enhancement.  (Bug#12172)
4888 2012-08-13  Andreas Schwab  <schwab@linux-m68k.org>
4890         * tar-mode.el (tar-header-data-end): Only ignore size for files of
4891         type 1-6.
4892         (tar-header-block-summarize, tar-get-descriptor): Handle pax
4893         extended headers.
4895         * files.el (hack-local-variables-filter): Remove useless eval.
4897 2012-08-13  Martin Rudalics  <rudalics@gmx.at>
4899         * subr.el (with-selected-window): Fix last change.
4901 2012-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
4903         * subr.el (internal--before-with-seleted-window)
4904         (internal--after-with-seleted-window): New functions.
4905         (with-selected-window): Use them, to replace dependency on
4906         tty-top-frame.
4908 2012-08-12  Nobuyoshi Nakada  <nobu@ruby-lang.org>
4910         * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
4911         binding for `newline'.
4912         (ruby-move-to-block): When moving backward, stop at block opening,
4913         not indentation.
4914         * progmodes/ruby-mode.el (ruby-brace-to-do-end)
4915         (ruby-do-end-to-brace, ruby-toggle-block): New functions.
4916         * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
4917         `ruby-toggle-block'.
4919 2012-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
4921         * ibuffer.el (ibuffer-do-toggle-read-only):
4922         * dired.el (dired-toggle-read-only):
4923         * buff-menu.el (Buffer-menu-toggle-read-only):
4924         * bindings.el (mode-line-toggle-read-only):
4925         * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
4927 2012-08-12  Andreas Schwab  <schwab@linux-m68k.org>
4929         * descr-text.el (describe-char): Put the overlays over the
4930         "displayed as" character.
4932 2012-08-12  Jay Belanger  <jay.p.belanger@gmail.com>
4934         * calc/calc-units.el (math-default-units-table): Give an
4935         initial value.
4936         (math-put-default-units): Add options to put composite units and
4937         unit systems in the default units table.
4938         (calc-convert-units): Send composite units to
4939         `math-put-default-units' when appropriate.
4941 2012-08-11  Glenn Morris  <rgm@gnu.org>
4943         * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
4945         * tutorial.el (help-with-tutorial):
4946         * emacs-lisp/copyright.el (copyright-update-directory):
4947         * emacs-lisp/autoload.el (autoload-find-generated-file)
4948         (autoload-find-file): Disable local eval: (for insurance).
4950         * files.el (hack-local-variables-filter): If an eval: form is not
4951         known to be safe, and enable-local-variables is :safe, then ignore
4952         the form totally, as is done for non-eval forms.  (Bug#12155)
4953         This is CVE-2012-3479.
4955 2012-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
4957         * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
4958         (rx-form): Simplify.
4960 2012-08-09  Dmitry Gutov  <dgutov@yandex.ru>
4962         * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
4963         ?, _, and : are symbol constituents, ! is not (but kinda should be).
4964         (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
4965         (ruby-syntax-propertize-function): Adjust for changes in
4966         `ruby-syntax-propertize-heredoc'.
4968 2012-08-09 Nobuyoshi Nakada  <nobu@ruby-lang.org>
4970         * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
4971         binding (use `M-;' instead).
4972         (ruby-singleton-class-p): New function.
4973         (ruby-expr-beg, ruby-in-here-doc-p) Use it.
4975 2012-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
4977         * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
4979 2012-08-10  Chong Yidong  <cyd@gnu.org>
4981         * progmodes/python.el (python-shell-get-process-name): Don't mess
4982         with same-window-buffer-names.
4984         * eshell/eshell.el (eshell-add-to-window-buffer-names)
4985         (eshell-remove-from-window-buffer-names): Make obsolete.
4986         (eshell-buffer-name, eshell-unload-hook): Don't use them.
4987         (eshell): Just use pop-to-buffer-same-window instead.
4989 2012-08-10  Chong Yidong  <cyd@gnu.org>
4991         * bindings.el: Bind M-= back to count-words-region.
4993         * simple.el (count-words-region): Accept a prefix arg for acting
4994         on the entire buffer.
4995         (count-words--buffer-message): New helper function.
4997 2012-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
4999         * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
5000         * subr.el (eventp): `nil' is not an event, and eventp is not hot.
5001         (event-start, event-end): Use posn-at-point to return a more
5002         informative posn.
5003         (posnp): New function.
5004         * mouse.el (popup-menu-normalize-position): Use it.
5006 2012-08-10  Masatake YAMATO  <yamato@redhat.com>
5008         * mouse.el (popup-menu-normalize-position): New function.
5009         (popup-menu): Use `popup-menu-normalize-position' to normalize
5010         the form for POSITION argument.
5012         * term/x-win.el (x-menu-bar-open):
5013         Use the value returend from (posn-at-point) as position
5014         passed to `popup-menu'.
5016 2012-08-09  Jay Belanger  <jay.p.belanger@gmail.com>
5018         * calc/calccomp.el (math-compose-expr): Add extra argument
5019         indicating that parentheses should be put around products in
5020         denominators.  Give multiplication precedence over division during
5021         composition.
5023 2012-08-09  Chong Yidong  <cyd@gnu.org>
5025         * man.el (Man-switches, Man-sed-command, Man-awk-command)
5026         (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
5027         (Man-untabify-command, manual-program): Convert to defcustom
5028         (Bug#10429).
5030         * vc/add-log.el (change-log-mode): Bind comment-start to nil.
5032         * descr-text.el (describe-char): Don't insert extra newlines
5033         (Bug#10127).
5035         * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
5036         (log-view-diff-changeset, log-view-minor-wrap): Likewise.
5038         * align.el (align-region): Delete temporary markers (Bug#10047).
5039         Plus some code cleanups.
5041 2012-08-09  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
5043         * progmodes/python.el (python-pdbtrack-tracked-buffer)
5044         (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
5045         (python-shell-internal-last-output): Use make-local-variable
5046         instead of make-variable-buffer-local.
5048 2012-08-09  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
5050         * progmodes/python.el: Enhancements to forward-sexp.
5051         (python-nav-forward-sexp): Rename from
5052         python-nav-forward-sexp-function.
5053         (python-nav--forward-sexp, python-nav--backward-sexp):
5054         New functions.
5056 2012-08-09  Jay Belanger  <jay.p.belanger@gmail.com>
5058         * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
5059         modes and simplification modes.
5061 2012-08-09  Stefan Monnier  <monnier@iro.umontreal.ca>
5063         * delsel.el (delete-selection-pre-hook): Don't propagate the
5064         file-supersession signals (bug#12161).
5066 2012-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5068         * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
5069         (cl-map-extents): Add compatibility aliases (bug#12135).
5071 2012-08-08  Michael Albinus  <michael.albinus@gmx.de>
5073         * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
5074         tests by `ignore-error'.
5075         (tramp-find-shell): Open also a new shell, when cache is already
5076         set.  Reported by Carsten Bormann <cabo@tzi.org>.  (Bug#12148)
5078 2012-08-08  Juri Linkov  <juri@jurta.org>
5080         * bookmark.el: Add `defaults' property to the bookmark record.
5081         (bookmark-current-buffer): Doc fix.
5082         (bookmark-make-record): Add `defaults' property with default values
5083         to the bookmark record.
5084         (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
5085         with `bookmark-insert-current-bookmark'.
5086         (bookmark-set): Get `defaults' property from the bookmark record
5087         and use it in `read-from-minibuffer'.
5088         (bookmark-insert-current-bookmark): Remove function.
5090         * info.el (Info-bookmark-make-record): Add `defaults' property
5091         with values of canonical Info node name, the current Info file
5092         name and the current Info node name.  (Bug#12107)
5094 2012-08-08  Juri Linkov  <juri@jurta.org>
5096         * files.el (basic-save-buffer): Use `buffer-name' as the default
5097         of `read-file-name' when buffer is not visiting a file (bug#12128).
5099 2012-08-08  Juri Linkov  <juri@jurta.org>
5101         * info.el (Info-isearch-search): Doc fix.
5102         (Info-search): Change search-failed message from "initial node" to
5103         "end of node" (bug#12078).
5104         (Info-isearch-search): Change `isearch-string-state' to
5105         `isearch--state-string'.
5107 2012-08-08  Glenn Morris  <rgm@gnu.org>
5109         * language/persian.el: Remove file.
5110         * language/misc-lang.el: Move unique part of persian.el here.
5111         * loadup.el: Remove language/persian.
5113 2012-08-08  Ă“scar Fuentes  <ofv@wanadoo.es>
5115         * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
5117 2012-08-08  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
5119         * progmodes/python.el Fixed defsubst warning.
5120         (python-syntax-context) Rename from python-info-ppss-context.
5121         (python-syntax-context-type): Rename from
5122         python-info-ppss-context-type.
5123         (python-syntax-comment-or-string-p): Rename from
5124         python-info-ppss-comment-or-string-p.
5126 2012-08-08  Jay Belanger  <jay.p.belanger@gmail.com>
5128         * calc/calc-misc.el (calc-record-why): Don't record a message twice.
5130 2012-08-07  Andreas Schwab  <schwab@linux-m68k.org>
5132         * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
5133         a defcustom that is quoted with backquote.
5135         * calc/calc-prog.el (math-do-defmath): Use backquote forms.
5136         Fix handling of interactive spec when the body uses return.
5137         (math-do-arg-check, math-define-function-body): Use backquote forms.
5138         * calc/calc-ext.el (math-defcache): Likewise.
5139         * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
5140         * allout.el (allout-new-exposure): Likewise.
5141         * calc/calcalg2.el (math-tracing-integral): Likewise.
5142         * info.el (Info-last-menu-item): Likewise.
5143         * emulation/vip.el (vip-loop): Likewise.
5144         * textmodes/artist.el (artist-funcall): Likewise.
5145         * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
5146         Construct menu-item directly.
5148         * progmodes/autoconf.el (font-lock-syntactic-keywords):
5149         Don't declare.
5151 2012-08-07  Chong Yidong  <cyd@gnu.org>
5153         * simple.el (deactivate-mark): Preserve text properties when
5154         saving the primary selection (Bug#8384).
5156 2012-08-07  Kevin Ryde  <user42@zip.com.au>
5158         * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
5159         (woman-parse-numeric-value): On a bad .IP line, issue a warning
5160         and continue processing (Bug#12110).
5162 2012-08-06  Stefan Monnier  <monnier@iro.umontreal.ca>
5164         * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
5165         syntax-propertize-function (bug#10095).
5167 2012-08-06  Stefan Monnier  <monnier@iro.umontreal.ca>
5169         * help-fns.el (help-fns--key-bindings, help-fns--signature)
5170         (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
5171         describe-function-1.
5172         (describe-function-1): Use them.  Move compiler macro after sig.
5173         (help-fns--compiler-macro): Use function-get.  Assume we're already in
5174         standard-output.  Adjust layout to new call order.
5176         * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
5177         re-binding a symbol that has a symbol-macro (bug#12119).
5179 2012-08-06  Mohsen BANAN  <libre@mohsen.1.banan.byname.net>
5181         * language/persian.el: New file.  (Bug#11812)
5182         * loadup.el: Add language/persian.el.
5184 2012-08-06  Chong Yidong  <cyd@gnu.org>
5186         * window.el (window--maybe-raise-frame): New function.
5187         (window--display-buffer): Split off from here.
5188         (display-buffer-reuse-window, display-buffer-pop-up-frame)
5189         (display-buffer-pop-up-window, display-buffer-use-some-window):
5190         Obey an inhibit-switch-frame action alist entry.
5191         (display-buffer): Update doc.
5193         * replace.el (occur-after-change-function): Avoid losing focus by
5194         using the inhibit-switch-frame display parameter (Bug#12139).
5196 2012-08-06  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
5198         Make internal shell process buffer names start with space.
5199         * progmodes/python.el (python-shell-make-comint): Add optional
5200         argument INTERNAL.
5201         (run-python-internal): Use it.
5202         (python-shell-internal-get-or-create-process): Check for new
5203         internal buffer names.
5205 2012-08-06  Glenn Morris  <rgm@gnu.org>
5207         * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5208         Do less getting and setting of environment variables.
5210 2012-08-05  Chong Yidong  <cyd@gnu.org>
5212         * proced.el (proced): Add substitution string to docstring to
5213         trigger autoloading of the proced library on C-h f (Bug#1768).
5215         * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
5216         Don't show defvars which have no second argument (Bug#8638).
5218         * imenu.el (imenu-generic-expression): Move documentation here
5219         from imenu--generic-function.
5220         (imenu--generic-function): Refer to imenu-generic-expression.
5222 2012-08-05  Vegard Ă˜ye  <vegard_oye@hotmail.com>  (tiny change)
5224         * emulation/viper-init.el (viper-deflocalvar): Add docstring and
5225         indentation declaration.
5226         (viper-loop): Add indentation declaration (Bug#7025).
5228 2012-08-05  Chong Yidong  <cyd@gnu.org>
5230         * help-fns.el (describe-variable): Add hyperlink for
5231         directory-local variables files.  Improve buffer-local and
5232         permanent-local reporting; suggested by MON KEY (Bug#6644).
5234         * help-mode.el (help-dir-local-var-def): New button type.
5236         * files.el (kill-buffer-hook): Provide a defvar.
5238 2012-08-05  Glenn Morris  <rgm@gnu.org>
5240         * eshell/esh-ext.el (eshell/addpath):
5241         Also update eshell-path-env.  (Bug#12013)
5243 2012-08-05  Chong Yidong  <cyd@gnu.org>
5245         * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
5247         * fringe.el (fringe-styles): Add docstring.
5248         (fringe--check-mode): New function.
5249         (set-fringe-mode, set-fringe-style): Use it.
5250         (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
5252         * files.el (set-auto-mode): Fix invalid setq call.
5254 2012-08-04  Stefan Monnier  <monnier@iro.umontreal.ca>
5256         * isearch.el: Misc simplification; use defstruct.
5257         (isearch-mode-map): Dense maps now work like sparse ones.
5258         (isearch--state): New defstruct.
5259         (isearch-string-state, isearch-message-state, isearch-point-state)
5260         (isearch-success-state, isearch-forward-state)
5261         (isearch-other-end-state, isearch-word-state, isearch-error-state)
5262         (isearch-wrapped-state, isearch-barrier-state)
5263         (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
5264         replaced by defstruct's accessors.
5265         (isearch--set-state): Rename from isearch-top-state and change
5266         calling convention.
5267         (isearch-push-state): Use new isearch--get-state.
5268         (isearch-toggle-word): Disable regexp when enabling word.
5269         (isearch-message-prefix): Remove unused arg _c-q-hack.
5270         (isearch-message-suffix): Remove unused arg _ellipsis.
5272 2012-08-04  Andreas Schwab  <schwab@linux-m68k.org>
5274         * simple.el (list-processes--refresh): For a server use :host or
5275         :local as the address.
5276         (list-processes): Doc fix.
5278 2012-08-04  Michal Nazarewicz  <mina86@mina86.com>
5280         * lisp/mpc.el: Support password in host argument.
5281         (mpc--proc-connect): Parse and use new password element.
5282         Set mpc-proc variable instead of returning process.
5283         (mpc-proc): Adjust accordingly.
5285 2012-08-03  Eli Zaretskii  <eliz@gnu.org>
5287         * whitespace.el (whitespace-display-mappings): Use Unicode
5288         codepoints, instead of emacs-mule codepoints.  See
5289         http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
5290         for the details.
5292         * files.el (file-truename): Don't skip symlink-chasing part on
5293         windows-nt.  Incorporate the resolution of 8+3 short aliases on
5294         Windows into the loop that recursively chases symlinks.
5295         Compare directory and its parent case-insensitively on MS-Windows and
5296         MS-DOS.
5298 2012-08-03  Chong Yidong  <cyd@gnu.org>
5300         * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
5302         * sort.el (sort-regexp-fields): Doc fix.
5304 2012-08-03  Tassilo Horn  <tsdh@gnu.org>
5306         * textmodes/reftex.el (reftex-compile-variables): Make keyvals
5307         labels regex position point at the expected place.
5309 2012-08-03  MON KEY  <monkey@sandpframing.com>
5311         * net/imap.el (imap-interactive-login, imap-authenticate)
5312         (imap-mailbox-lsub, imap-mailbox-list)
5313         (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
5314         (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
5315         (imap-parse-response): Doc fix.
5317 2012-08-03  JoĂ£o TĂ¡vora  <joaotavora@gmail.com>
5319         * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
5320         if sexp scanning does not move point (Bug#5734).
5322 2012-08-02  Tassilo Horn  <tsdh@gnu.org>
5324         * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
5325         Add listings, minted, and ctable packages.
5326         (reftex-label-alist-builtin): Move listings, minted, and ctable
5327         entries before LaTeX.
5328         (reftex-label-alist): Docfix.
5330 2012-08-02  Bastien Guerry  <bzg@gnu.org>
5332         * replace.el (occur): Fix docstring (bug#12122).
5334 2012-08-02  Glenn Morris  <rgm@gnu.org>
5336         * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
5338 2012-08-02  Paul Eggert  <eggert@cs.ucla.edu>
5340         Obsolete alias inactivate-current-input-method-function (Bug#10150).
5341         * international/mule-cmds.el: Create
5342         inactivate-current-input-method-function as an obsolete alias for
5343         deactivate-current-input-method-function.  See Katsumi Yamaoka in
5344         <http://bugs.gnu.org/10150#46>.
5346 2012-08-01  Jay Belanger  <jay.p.belanger@gmail.com>
5348         * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
5349         of nested `if's.
5351 2012-08-01  Glenn Morris  <rgm@gnu.org>
5353         * progmodes/autoconf.el (autoconf-definition-regexp):
5354         Add AH_TEMPLATE, adjust submatch numbering.
5355         (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
5356         (autoconf-current-defun-function): Update for above change.
5357         (autoconf-current-defun-function): First skip to end of current word.
5359 2012-08-01  Rupert Swarbrick  <rswarbrick@gmail.com>  (tiny change)
5361         * calendar/cal-html.el (cal-html-insert-agenda-days):
5362         Fix typo.  (Bug#12018)
5364 2012-07-31  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
5366         Shell processes: enhancements to startup and CEDET compatibility.
5367         * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
5368         (python-shell-make-comint): accept-process-output at startup.
5369         (run-python-internal): Set inferior-python-mode-hook to nil.
5370         (python-shell-internal-get-or-create-process): call sit-for.
5371         (python-preoutput-result): Add obsolete alias.
5372         (python-shell-internal-send-string): Use it.
5373         (python-shell-send-setup-code): Remove call to
5374         accept-process-output.
5376 2012-07-31  Andreas Schwab  <schwab@linux-m68k.org>
5378         * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
5379         (Bug#12108)
5381 2012-07-31  Jay Belanger  <jay.p.belanger@gmail.com>
5383         * calc-mode.el (calc-basic-simplification-mode): Rename from
5384         `calc-limited-simplification-mode'.
5385         (calc-alg-simplification-mode): New function.
5386         (calc-set-simplify-mode): Adjust message.
5388         * calc.el (calc-set-mode-line): Adjust mode line display for
5389         basic simplification mode.
5391         * calc-help.el (calc-m-prefix-help): Update help message.
5393         * calc-ext.el (calc-init-extensions): Add bindings and autoloads
5394         for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
5396 2012-07-31  Bastien Guerry  <bzg@gnu.org>
5398         * man.el (man): Fix comment.  (bug#12101)
5400 2012-07-31  Martin Rudalics  <rudalics@gmx.at>
5402         * window.el (switch-to-prev-buffer, switch-to-next-buffer):
5403         Don't return a non-nil value when no suitable buffer was found.
5405 2012-07-31  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
5407         * progmodes/python.el (run-python-internal): Disable font lock for
5408         internal shells.
5410 2012-07-30  Stefan Merten  <smerten@oekonux.de>
5412         * textmodes/rst.el: Silence `checkdoc-ispell'.
5413         (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
5414         (rst-official-version, rst-official-cvs-rev)
5415         (rst-package-emacs-version-alist): Update to upstream V1.3.1.
5416         (rst-mode-map): New key binding.
5418 2012-07-30  Paul Eggert  <eggert@cs.ucla.edu>
5420         Update .PHONY listings in makefiles.
5421         * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
5422         autoloads, update-subdirs, updates, bzr-update, update-authors,
5423         compile-onefile, compile-calc, backup-compiled-files,
5424         compile-after-backup, compile-one-process, mh-autoloads,
5425         bootstrap-clean, distclean, maintainer-clean.
5427 2012-07-29  Jay Belanger  <jay.p.belanger@gmail.com>
5429         * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
5430         (calc-set-mode-line): Don't display "AlgSimp ".
5432         * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
5433         (calc-lim-simplify-mode): New function.
5434         (calc-set-simplify-mode): Default to 'alg.
5435         (calc-default-simplify-mode): Make algebraic simplifications
5436         the default.
5438         * calc/calc-ext.el (calc-init-extensions): Remove binding for
5439         `calc-alg-simplify-mode'.  Add binding for `calc-lim-simplify-mode'.
5441         * calc/calc-help.el (calc-m-prefix-help): Change messages to
5442         indicate new simplification modes.
5444         * calc/README: Mention new default simplification mode.
5446         * calc/calc.el (math-normalize-error): New variable.
5447         (math-normalize): Set `math-normalize-error' to t
5448         when there's an error.
5450         * calc/calc-alg.el (math-simplify): Don't simplify when
5451         `math-normalize' returns an error.
5453 2012-07-29  Eli Zaretskii  <eliz@gnu.org>
5455         * international/mule-cmds.el (set-locale-environment): Revert last
5456         change, since display-graphic-p returns nil when this function is
5457         called during startup.  Instead...
5459         * term/w32console.el (terminal-init-w32console): ...setup the
5460         keyboard and terminal encoding for TTY sessions here.  (Bug#12082)
5462 2012-07-29  Juri Linkov  <juri@jurta.org>
5464         * simple.el (goto-line): Don't display default line number in the
5465         prompt because it should be displayed by `read-number' (bug#9952).
5466         Add the current line number to the defaults of `goto-line' to
5467         allow its easier modification by users with `M-n' (bug#9201).
5469         * subr.el (read-number): Support multiple default values like in
5470         other minibuffer reading functions.  Replace `read' with
5471         `string-to-number' for consistency with `number-to-string'.
5473 2012-07-29  Paul Eggert  <eggert@cs.ucla.edu>
5475         deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
5476         * emulation/viper-init.el (viper-deactivate-input-method-action):
5477         Rename from viper-inactivate-input-method-action.
5478         (viper-deactivate-input-method):
5479         Rename from viper-inactivate-input-method.
5480         * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
5481         * international/mule-cmds.el (deactivate-input-method):
5482         Rename from inactivate-input-method.
5483         Also run input-method-deactivate-hook.
5484         (deactivate-current-input-method-function):
5485         Rename from inactivate-current-input-method-function.
5486         (input-method-deactivate-hook): New hook.
5487         (input-method-inactivate-hook): Mark obsolete.
5488         (inactivate-input-method): Mark obsolete.
5490         * international/quail.el (quail-activate):
5491         Also run quail-deactivate-hook.
5492         (quail-deactivate): Rename from quail-inactivate.
5493         * international/robin.el (robin-activate):
5494         Also run robin-deactivate-hook.
5495         (robin-deactivate): Rename from robin-inactivate.
5497 2012-07-29  Chong Yidong  <cyd@gnu.org>
5499         * simple.el (indicate-copied-region): New function.
5500         (kill-ring-save): Split off from here.
5502         * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
5503         (kill-rectangle): Set deactivate-mark to t on read-only error.
5505         * register.el (copy-to-register, copy-rectangle-to-register):
5506         Deactivate the mark, and use indicate-copied-region (Bug#10056).
5507         (append-to-register, prepend-to-register): Call indicate-copied-region.
5509 2012-07-29  Juri Linkov  <juri@jurta.org>
5511         * simple.el (async-shell-command-buffer): New defcustom.
5512         (shell-command): Use it.  (Bug#4719)
5514 2012-07-28  Eli Zaretskii  <eliz@gnu.org>
5516         * international/mule-cmds.el (set-locale-environment): In a
5517         console session on MS-Windows, set up keyboard and terminal
5518         encoding from the OEM codepage, not the ANSI codepage.
5519         (Bug#12055)
5521 2012-07-28  Chong Yidong  <cyd@gnu.org>
5523         * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
5524         gdb-get-location.
5526 2012-07-28  Leo Liu  <sdl.web@gmail.com>
5528         * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
5529         the alist (bug#12029).
5531 2012-07-28  Eli Zaretskii  <eliz@gnu.org>
5533         * makefile.w32-in (custom-deps, finder-data, updates, compile)
5534         (compile-always, compile-first)
5535         ($(lisp)/calendar/cal-loaddefs.el)
5536         ($(lisp)/calendar/diary-loaddefs.el)
5537         ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
5538         ($(lisp)/net/tramp-loaddefs.el, bootstrap)
5539         ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
5540         instead of on update-subdirs.
5541         (bootstrap-clean): Delete $(lisp)/subdirs.el.
5543 2012-07-28  Chong Yidong  <cyd@gnu.org>
5545         * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
5546         directory if vc-deduce-backend returns nil (Bug#7350).
5548         * simple.el (delete-trailing-lines): New option.
5549         (delete-trailing-whitespace): Obey it (Bug#11879).
5551 2012-07-28  David Engster  <deng@randomsample.de>
5553         * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
5554         Explanation of new 'symbol-qnames feature in doc-strings.
5555         (xml-maybe-do-ns): Return expanded names as plain symbols if
5556         'symbol-qnames was provided in XML-NS argument (Bug#11916).
5557         (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
5559 2012-07-27  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
5561         Consistent completion in inferior python with emacs -nw.
5562         * progmodes/python.el (inferior-python-mode): replace "<tab>"
5563         binding in inferior-python-mode-map with "\t".
5564         (python-shell-completion-complete-at-point)
5565         (python-completion-complete-at-point): Remove interactive spec.
5567 2012-07-27  Jay Belanger  <jay.p.belanger@gmail.com>
5569         * calc/calccomp.el (math-compose-expr): Undo previous change.
5571 2012-07-27  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
5573         * progmodes/python.el (python-mode-map): Add keybinding for
5574         run-python.
5575         (python-shell-make-comint): Fix pop-to-buffer call.
5576         (run-python): Autoload.  New arg SHOW.
5577         (python-shell-get-or-create-process): Do not pop python process
5578         buffer.
5580 2012-07-27  Michael Albinus  <michael.albinus@gmx.de>
5582         * notifications.el (notifications-on-action-signal)
5583         (notifications-on-closed-signal): Use also the bus address for the map.
5584         (notifications-notify, notifications-close-notification)
5585         (notifications-get-capabilities): Add optional argument BUS.
5587 2012-07-27  Tassilo Horn  <tsdh@gnu.org>
5589         * textmodes/reftex-vars.el (reftex-label-alist-builtin):
5590         Add support for the lstlisting and minted environments, and for the
5591         ctable macro.
5592         * textmodes/reftex.el (reftex-compile-variables): Also recognize
5593         labels written in keyvals syntax.
5595 2012-07-27  Jay Belanger  <jay.p.belanger@gmail.com>
5597         * calc/calccomp.el (math-compose-expr): Use parentheses when
5598         there is a product in the denominator of a fraction.
5600 2012-07-26  Eli Zaretskii  <eliz@gnu.org>
5602         * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
5603         ($(lisp)/calendar/diary-loaddefs.el)
5604         ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
5605         ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
5606         Fixes failures in parallel bootstrap because subdirs.el is being
5607         rewritten while the autoload files are built at the same time,
5608         which needs to load subdirs.el.
5610 2012-07-26  Martin Rudalics  <rudalics@gmx.at>
5612         * mouse.el (popup-menu): Fix doc-string and re-indent code.
5613         (mouse-drag-line): Don't exit tracking when a switch-frame or
5614         switch-window event occurs (Bug#12006).
5616 2012-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
5618         * mouse.el (popup-menu): Fix last change.
5620 2012-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
5622         Autoload from Lisp with more care.  Follow aliases when looking for
5623         function properties.
5624         * subr.el (autoloadp): New function.
5625         (symbol-file): Use it.
5626         (function-get): New function.
5627         * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
5628         autoload-do-load.
5629         * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
5630         (lisp-indent-function):
5631         * emacs-lisp/gv.el (gv-get):
5632         * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
5633         * emacs-lisp/byte-opt.el (byte-optimize-form):
5634         * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
5635         * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
5636         Use function-get.
5637         * emacs-lisp/cl.el: Don't propagate function properties any more.
5639         * speedbar.el (speedbar-add-localized-speedbar-support):
5640         * emacs-lisp/disass.el (disassemble-internal):
5641         * desktop.el (desktop-load-file):
5642         * help-fns.el (help-function-arglist, find-lisp-object-file-name)
5643         (describe-function-1):
5644         * emacs-lisp/find-func.el (find-function-noselect):
5645         * emacs-lisp/elp.el (elp-instrument-function):
5646         * emacs-lisp/advice.el (ad-has-proper-definition):
5647         * apropos.el (apropos-safe-documentation, apropos-macrop):
5648         * emacs-lisp/debug.el (debug-on-entry):
5649         * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
5650         * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
5651         * calc/calc.el (name): Use autoloadp & autoload-do-load.
5653 2012-07-25  Alp Aker  <alp.tekin.aker@gmail.com>
5655         * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
5656         function, not an obsolete variable (Bug#12046).
5658 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
5660         * faces.el (face-spec-reset-face): Fix last change.  (Bug#12042)
5662 2012-07-25  Christopher Schmidt  <christopher@ch.ristopher.com>
5664         * emacs-lisp/pp.el (pp-display-expression): Select old selected
5665         window only if it is still live (Bug#12034).
5667 2012-07-25  Martin Rudalics  <rudalics@gmx.at>
5669         * subr.el (redirect-frame-focus): Add advertised calling
5670         convention (Bug#12030).
5672 2012-07-25  Paul Eggert  <eggert@cs.ucla.edu>
5674         Prefer typical American spelling for "acknowledgment".
5675         * vc/add-log.el (change-log-acknowledgment): Rename from
5676         change-log-acknowledgement, with an alias for the old name.
5678 2012-07-25  Jay Belanger  <jay.p.belanger@gmail.com>
5680         * calc-alg.el (math-simplify-divide): Don't cross multiply
5681         in an equation when the lhs is a variable.
5683 2012-07-24  Julien Danjou  <julien@danjou.info>
5685         * net/netrc.el (netrc-find-service-number, netrc-store-data):
5686         Remove, unused.
5688 2012-07-23  Eli Zaretskii  <eliz@gnu.org>
5690         * startup.el (command-line): Don't display an empty user name in
5691         the error message about non-existent home directory, when
5692         init-file-user was set to an empty string.  See
5693         http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
5694         for the details and context.
5696 2012-07-22  Vincent BelaĂ¯che  <vincentb1@users.sourceforge.net>
5698         * ses.el (ses-cell-formula-aset): New macro.
5699         (ses-cell-references-aset): New macro.
5700         (ses-cell-p): New function.
5701         (ses-rename-cell): Do no longer rely on complex operations like
5702         ses-cell-set-formula or ses-set-cell to change the cell and handle
5703         the undo at the same time, but rather use lower level new macros
5704         `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
5705         the undo directly.  Refresh the mode line.
5707 2012-07-21  Leo Liu  <sdl.web@gmail.com>
5709         * progmodes/cc-cmds.el (c-defun-name):
5710         Use match-string-no-properties instead for consistency.
5712 2012-07-20  Leo Liu  <sdl.web@gmail.com>
5714         * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
5715         (Bug#7879)
5717         * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
5719 2012-07-20  Stefan Monnier  <monnier@iro.umontreal.ca>
5721         * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
5722         * progmodes/bug-reference.el, misearch.el: Provide themselves
5723         (bug#11915).
5725         * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
5726         of narrowed buffer (bug#11966).
5728 2012-07-20  Vincent BelaĂ¯che  <vincentb1@users.sourceforge.net>
5730         * ses.el (ses-rename-cell): Set new name also in reference list of
5731         cells of which the renamed cell depends.
5733 2012-07-20  Masatake YAMATO  <yamato@redhat.com>
5735         * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
5736         to check whether menu-bar is shown or not.  If not shown,
5737         show the menu-bar as a popup menu instead of using tmm.
5738         * mouse.el (popup-menu): Accept `point' as `position' argument.
5740 2012-07-20  Dmitry Gutov  <dgutov@yandex.ru>
5742         * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
5743         up inside string symbol literal (bug#11923).
5745 2012-07-20  Eli Zaretskii  <eliz@gnu.org>
5747         * startup.el (fancy-startup-text): Read the whole tutorial, not
5748         just its first 256 bytes.  Prevents gibberish in display of the
5749         tutorial title.
5751 2012-07-20  Dmitry Antipov  <dmantipov@yandex.ru>
5753         Drop idle buffer compaction due to an absence of the
5754         proved efficiency.
5755         * compact.el: Remove.
5757 2012-07-19  Sam Steingold  <sds@gnu.org>
5759         * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
5760         vc-bzr-pull & vc-bzr-merge-branch.
5761         * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
5762         (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
5763         for consistency with compilation-error-regexp-alist.
5764         * vc/vc-git.el (vc-git-error-regexp-alist): Add.
5765         (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
5766         * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
5767         (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
5769 2012-07-19  Stefan Monnier  <monnier@iro.umontreal.ca>
5771         * emacs-lisp/chart.el: Use lexical-binding.
5772         (chart-emacs-storage): Don't hardcode the list of entries.
5774 2012-07-19  Dmitry Antipov  <dmantipov@yandex.ru>
5776         Next round of tweaks caused by Fgarbage_collect changes.
5777         * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
5779 2012-07-19  Dmitry Antipov  <dmantipov@yandex.ru>
5781         Compact buffers when idle.
5782         * compact.el: New file.
5784 2012-07-19  Stefan Monnier  <monnier@iro.umontreal.ca>
5786         * subr.el (eventp): Presume that if it looks vaguely like an event,
5787         it's an event (bug#10190).
5789 2012-07-19  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
5791         Enhancements to ppss related code (thanks Stefan).
5792         * progmodes/python.el (python-indent-context)
5793         (python-indent-calculate-indentation, python-indent-dedent-line)
5794         (python-indent-electric-colon, python-nav-forward-block)
5795         (python-mode-abbrev-table)
5796         (python-info-assignment-continuation-line-p): Simplify checks
5797         for ppss context.
5798         (python-info-continuation-line-p): Cleanup.
5799         (python-info-ppss-context): Do not catch 'quote.
5800         (python-info-ppss-context-type)
5801         (python-info-ppss-comment-or-string-p): Simplify.
5803 2012-07-18  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
5805         * progmodes/python.el: Enhancements to eldoc support.
5806         (python-info-current-symbol): New function.
5807         (python-eldoc-at-point): Use python-info-current-symbol.
5808         (python-info-current-defun): Fix cornercase on first defun scan.
5809         (python-eldoc--get-doc-at-point): Use python-info-current-symbol
5810         and signal error when no inferior python process is available.
5812 2012-07-18  Dmitry Gutov  <dgutov@yandex.ru>
5814         * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
5815         assume it's always t.
5816         (vc-git-registered): Remove caching, the function is only called
5817         once.
5818         (vc-git-branches): Use `vc-git--call' instead of `call-process'.
5820 2012-07-18  Chong Yidong  <cyd@gnu.org>
5822         * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
5824         * simple.el (count-words): Report on narrowing (Bug#9959).
5826         * bindings.el: Bind M-= to count-words.
5828         * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
5830 2012-07-18  Masatake YAMATO  <yamato@redhat.com>
5832         * progmodes/sh-script.el (sh-imenu-generic-expression):
5833         Capture a function with `function' keyword and without parentheses
5834         like "function FOO" (bug#11856).
5836 2012-07-18  Tassilo Horn  <tassilo@member.fsf.org>
5838         * window.el (split-window-sensibly): Make WINDOW argument
5839         optional.
5841 2012-07-18  Chong Yidong  <cyd@gnu.org>
5843         * subr.el (keyboard-translate): Doc fix (Bug#7261).
5845         * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
5846         and make C-x 8 RET exit isearch (Bug#11439).
5848         * international/iso-transl.el: Move isearch-mode-map key
5849         definitions to isearch.el.
5851 2012-07-18  Stefan Monnier  <monnier@iro.umontreal.ca>
5853         * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
5854         (eieio-defclass): Use gv-define-setter when possible.
5856 2012-07-18  Dmitry Antipov  <dmantipov@yandex.ru>
5858         Reflect recent changes in Fgarbage_collect.
5859         * emacs-lisp/chart.el (chart-emacs-storage): Change to
5860         reflect new format of data returned by Fgarbage_collect.
5862 2012-07-17  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
5864         New utility functions + python-info-ppss-context fix (Bug#11910).
5865         * progmodes/python.el (python-info-beginning-of-block-statement-p)
5866         (python-info-ppss-comment-or-string-p): New functions.
5867         (python-info-ppss-context): Small fix for string check.
5869 2012-07-17  Juri Linkov  <juri@jurta.org>
5871         * dired-aux.el (dired-do-async-shell-command): Doc fix.
5872         (dired-do-async-shell-command): Don't add `*' at the end of the
5873         command (Bug#11815).
5874         (dired-do-shell-command): Doc fix.
5875         (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
5876         Join the individual commands using either "&" or ";" as the
5877         separator depending on the values of these trailing characters.
5878         At the end re-add the trailing "&".  (Bug#10598)
5880         * simple.el (async-shell-command): Sync the interactive spec with
5881         `shell-command'.  Doc fix.
5882         (shell-command): Doc fix.
5884 2012-07-17  Juri Linkov  <juri@jurta.org>
5886         * descr-text.el (describe-char): Fix format args.  (Bug#10129)
5888 2012-07-17  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
5890         Final renames and doc fixes for movement commands (bug#11899).
5891         * progmodes/python.el (python-nav-beginning-of-statement):
5892         Rename from python-nav-statement-start.
5893         (python-nav-end-of-statement): Rename from
5894         python-nav-statement-end.
5895         (python-nav-beginning-of-block): Rename from
5896         python-nav-block-start.
5897         (python-nav-end-of-block): Rename from python-nav-block-end.
5899 2012-07-17  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
5901         * progmodes/python.el (python-shell-send-string-no-output):
5902         Allow accept-process-output to quit, keeping shell process ready for
5903         future interactions (Bug#11868).
5905 2012-07-17  Stefan Monnier  <monnier@iro.umontreal.ca>
5907         * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
5909         * emacs-lisp/elint.el (elint-find-args-in-code):
5910         Use help-function-arglist, so as to handle lexical byte-code.
5912         * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
5913         change (bug#11826).
5915 2012-07-17  Stefan Monnier  <monnier@iro.umontreal.ca>
5917         * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
5918         Avoid spuriously marking the buffer as modified because of c-is-sws.
5920         * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
5921         as not-a-comment (bug#11946).
5923         * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
5924         for uninterned vars.
5926         * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
5927         Use read-event since we don't really want to read chars but bytes.
5929         * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
5930         $$..$$ but also $..$ using regexps (bug#11953).
5931         Use tex-verbatim for \url and \path.
5932         (tex-font-lock-keywords): Define as defconst like the others.
5933         (tex-common-initialization): Don't use font-lock-syntax-table any more.
5935 2012-07-16  RenĂ© Kyllingstad  <Rene@Kyllingstad.com>  (tiny change)
5937         * international/mule-cmds.el (ucs-insert): Make it an obsolete
5938         alias for insert-char.
5940 2012-07-16  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
5942         * progmodes/python.el: Simplified imenu implementation.
5943         (python-nav-jump-to-defun): Remove command.
5944         (python-mode-map): Use `imenu' instead.
5945         (python-nav-list-defun-positions-cache)
5946         (python-imenu-include-defun-type, python-imenu-make-tree)
5947         (python-imenu-subtree-root-label, python-imenu-index-alist):
5948         Remove vars.
5949         (python-nav-list-defun-positions, python-nav-read-defun)
5950         (python-imenu-tree-assoc, python-imenu-make-element-tree)
5951         (python-imenu-make-tree, python-imenu-create-index):
5952         Remove functions.
5953         (python-mode): Update to interact with imenu by setting
5954         `imenu-extract-index-name-function' only.
5956 2012-07-16  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
5958         * progmodes/python.el: Enhancements to navigation commands.
5959         (python-nav-backward-sentence)
5960         (python-nav-forward-sentence): Remove.
5961         (python-nav-backward-statement, python-nav-forward-statement)
5962         (python-nav-statement-start, python-nav-statement-end)
5963         (python-nav-backward-block, python-nav-forward-block)
5964         (python-nav-block-start, python-nav-block-end)
5965         (python-nav-forward-sexp-function)
5966         (python-info-current-line-comment-p)
5967         (python-info-current-line-empty-p): New functions.
5968         (python-indent-context): Use `python-nav-statement-start'.
5970 2012-07-16  Michael Albinus  <michael.albinus@gmx.de>
5972         * eshell/em-ls.el (eshell/ls): Use `apply'.
5974         * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
5975         multi-hops, instead of Tramp internals.
5977         * vc/ediff.el (ediff-directories): Add trailing space to prompts.
5979         * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
5980         when F1 and F2 are located on different hosts.
5982 2012-07-14  Chong Yidong  <cyd@gnu.org>
5984         * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
5985         (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
5986         (xterm-mouse-translate-extended, xterm-mouse-translate-1)
5987         (xterm-mouse--read-event-sequence-1000)
5988         (xterm-mouse--read-event-sequence-1006): New functions.  For old
5989         mouse protocol, handle M-mouse-X events correctly.
5990         (xterm-mouse-event): New arg specifying mouse protocol.
5991         (turn-on-xterm-mouse-tracking-on-terminal)
5992         (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
5993         sequence to toggle extended coordinates on newer XTerms.
5994         This appears to be harmless on terminals which do not support this.
5996 2012-07-14  Leo Liu  <sdl.web@gmail.com>
5998         Add fringe bitmap indicators for flymake.  (Bug#11253)
5999         * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
6000         (flymake-make-overlay): New arg BITMAP.
6001         (flymake-error-bitmap, flymake-warning-bitmap)
6002         (flymake-fringe-indicator-position): New user variables.
6004         * fringe.el: New bitmap exclamation-mark.
6006 2012-07-14  Jan Djärv  <jan.h.d@swipnet.se>
6008         * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
6009         also (Bug#7879).
6011 2012-07-14  Chong Yidong  <cyd@gnu.org>
6013         * electric.el (electric-pair-post-self-insert-function): Fix pair
6014         insertion in empty-region case (Bug#11520).
6016 2012-07-14  Chong Yidong  <cyd@gnu.org>
6018         * bindings.el: Consolidate ctl-x-r-map bindings.
6019         Bind copy-rectangle-as-kill to C-x r w.
6021         * rect.el, register.el: Move bindings to bindings.el.
6023 2012-07-14  Reuben Thomas  <rrt@sc3d.org>
6025         * rect.el (copy-rectangle-as-kill): New command (Bug#739).
6027 2012-07-13  Andreas Schwab  <schwab@linux-m68k.org>
6029         * emacs-lisp/cl.el (labels): Remove spurious quote.  (Bug#11938)
6031 2012-07-13  Juanma Barranquero  <lekktu@gmail.com>
6033         * bindings.el (top): Use `mapc' instead of `mapcar'.
6035         * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
6037 2012-07-13  Michael Albinus  <michael.albinus@gmx.de>
6039         * progmodes/sql.el (sql-comint): Suppress the check for program on
6040         remote hosts.  Reported by Francis Devereux <francis@devrx.org>.
6041         (Bug#11908)
6043 2012-07-13  Chong Yidong  <cyd@gnu.org>
6045         * bindings.el: Assign a non-nil permanent-local property to
6046         per-buffer variables which lack a default value (Bug#11930).
6048         * help-fns.el (describe-variable): In the "automatically becomes
6049         local" notice, take note of permanent-local variables.
6051 2012-07-13  Chong Yidong  <cyd@gnu.org>
6053         * files.el (toggle-read-only): Doc fix and code cleanup.  New arg
6054         to allow printing the message when called from Lisp.
6056         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6057         Remove toggle-read-only.
6059         * bs.el (bs-toggle-readonly):
6060         * buff-menu.el (Buffer-menu-toggle-read-only):
6061         Remove with-no-warnings around toggle-read-only.
6063         * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
6064         Remove with-no-warnings around toggle-read-only.
6065         (ffap-read-only, ffap-read-only-other-window)
6066         (ffap-read-only-other-frame): Callers changed.
6068         * help-mode.el: Don't require view package.
6069         (help-mode-finish): Set buffer-read-only instead of calling
6070         toggle-read-only.
6072         * bindings.el (mode-line-toggle-read-only):
6073         * dired.el (dired-toggle-read-only):
6074         * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
6075         with non-nil second arg.
6077         * emacs-lisp/eieio-custom.el (eieio-customize-object):
6078         * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
6079         directly.
6081 2012-07-12  Eli Zaretskii  <eliz@gnu.org>
6083         * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
6084         not incf.
6086 2012-07-11  Stefan Monnier  <monnier@iro.umontreal.ca>
6088         More CL cleanups and reduction of use of cl.el.
6089         * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
6090         * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
6091         * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
6092         * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
6093         * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
6094         * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
6095         * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
6096         * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
6097         * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
6098         * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
6099         * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
6100         * eshell/em-cmpl.el, eshell/em-banner.el:
6101         * calendar/parse-time.el: Use cl-lib.
6102         * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
6103         * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
6104         * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
6105         * term/ns-win.el, term.el, shell.el, ps-samp.el:
6106         * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
6107         * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
6108         * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
6109         * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
6110         * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
6111         * mail/mailheader.el, mail/feedmail.el: Don't use CL.
6112         * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
6113         * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
6114         `lambda' rather than with `quote'.
6115         (eshell-do-opt): Adjust accordingly.
6116         (eshell-process-option): Simplify.
6117         * eshell/esh-var.el:
6118         * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
6119         * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
6120         (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
6121         to `pcase--dontcare'.
6122         * emacs-lisp/cl.el (labels): Mark obsolete.
6123         (cl--letf, letf): Move to cl-lib.
6124         (cl--letf*, letf*): Remove.
6125         * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
6126         * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
6127         (cl-progv): Rewrite.
6128         (cl--letf, cl-letf): Move from cl.el.
6129         (cl-letf*): New macro.
6130         * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
6132 2012-07-11  Michael Albinus  <michael.albinus@gmx.de>
6134         * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
6136 2012-07-11  Chong Yidong  <cyd@gnu.org>
6138         * vc/log-edit.el (log-edit-vc-backend): New variable.
6139         (log-edit): Doc fix.
6141         * vc/vc-dispatcher.el (vc-log-edit): New args.  Use PARAMS
6142         argument of log-edit to set up all local variables.
6143         (vc-start-logentry): New optional arg specifying VC backend.
6145         * vc/vc.el (vc-checkin): Use it.
6146         (vc-deduce-fileset): Handle Log Edit buffers.
6147         (vc-diff): Make first argument optional too.
6149         * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
6151 2012-07-10  Michael Albinus  <michael.albinus@gmx.de>
6153         * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
6154         command, just in case.  The function is not needed anymore.
6155         (eshell-external-command): Do not call `eshell-remote-command'.
6157 2012-07-10  Stefan Monnier  <monnier@iro.umontreal.ca>
6159         Reduce use of (require 'cl).
6160         * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
6161         * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
6162         * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
6163         * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
6164         * international/quail.el, info-xref.el, imenu.el, image-mode.el:
6165         * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
6166         * battery.el, avoid.el, abbrev.el: Use cl-lib.
6167         * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
6168         * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
6169         * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
6170         * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
6171         * calculator.el, autorevert.el, apropos.el: Don't require CL.
6172         * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
6173         (byte-compile-unfold-bcf, byte-compile-check-variable):
6174         * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
6175         (byte-compile-nilconstp):
6176         * emacs-lisp/autoload.el (make-autoload): Use pcase.
6177         * face-remap.el (text-scale-adjust): Simplify pcase patterns.
6179         * emacs-lisp/gv.el (cond): Make it a valid place.
6180         (if): Simplify slightly.
6182         * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
6183         (pcase--self-quoting-p): New function.
6184         (pcase--u1): Use it.
6186 2012-07-10  Glenn Morris  <rgm@gnu.org>
6188         * emacs-lisp/authors.el (authors-fixed-entries):
6189         (authors-renamed-files-alist): Update for configure.in -> configure.ac.
6191 2012-07-09  Paul Eggert  <eggert@cs.ucla.edu>
6193         Rename configure.in to configure.ac (Bug#11603).
6194         * emacs-lisp/authors.el (authors-canonical-file-name):
6195         * progmodes/autoconf.el (autoconf-mode):
6196         Prefer configure.ac to configure.in.
6198 2012-07-08  Chong Yidong  <cyd@gnu.org>
6200         * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
6201         Implement the mouse-1-click-follows-link handling properly.
6203         * info.el (Info-link-keymap): Use follow-link mechanism for
6204         header-line links (Bug#374).
6206         * simple.el (deactivate-mark): Do not set the primary selection
6207         if another program has acquired it (Bug#11772).
6209 2012-07-07  Kevin Ryde  <user42@zip.com.au>
6211         * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
6212         (woman-decode-region): Replace escaped-escapes without destroying
6213         bold or underline (Bug#11552).
6214         (woman2-process-escapes): Handle nofill regions (Bug#11591).
6216 2012-07-07  Chong Yidong  <cyd@gnu.org>
6218         * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
6219         (interprogram-cut-function, interprogram-paste-function):
6220         Mention that we typically mean the clipboard.
6222 2012-07-06  Glenn Morris  <rgm@gnu.org>
6224         * kmacro.el (kmacro-call-macro): Restore repeat message.  (Bug#11817)
6226         * files.el (toggle-read-only): Restrict message to interactive use.
6228 2012-07-06  Michael Albinus  <michael.albinus@gmx.de>
6230         * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
6232         * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
6234 2012-07-06  Glenn Morris  <rgm@gnu.org>
6236         * Makefile.in (compile-one-process): Rename from "recompile".
6238         * Makefile.in (bzr-update): "compile" is the same as "recompile
6239         autoloads", but parallelizable, so use that instead.
6241 2012-07-06  Dmitry Gutov  <dgutov@yandex.ru>
6243         * window.el (quit-window): Always restore window height when
6244         it's saved in quit-restore parameter (Bug#11810).
6246 2012-07-06  Glenn Morris  <rgm@gnu.org>
6248         * simple.el (kill-whole-line): Doc tweak.
6250 2012-07-06  Eli Zaretskii  <eliz@gnu.org>
6252         * files.el (file-relative-name): Compare file names
6253         case-insensitively if on MS-Windows or MS-DOS, or if
6254         read-file-name-completion-ignore-case is non-nil.  Don't use
6255         case-fold-search for this purpose.  (Bug#11827)
6257 2012-07-17  Andreas Schwab  <schwab@linux-m68k.org>
6259         * calendar/cal-dst.el (calendar-current-time-zone):
6260         Return calendar-current-time-zone-cache if non-nil.
6262 2012-07-17  Masatake YAMATO  <yamato@redhat.com>
6263 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
6265         * calendar/cal-dst.el (calendar-current-time-zone):
6266         Return calendar-current-time-zone-cache if non-nil.
6268 2012-07-06  Glenn Morris  <rgm@gnu.org>
6270         * Makefile.in (cvs-update): Remove old alias.
6272 2012-07-05  Michael Albinus  <michael.albinus@gmx.de>
6274         Sync with Tramp 2.2.6-pre.
6276         * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
6277         compatible declaration.
6279         * net/tramp-cmds.el (tramp-append-tramp-buffers):
6280         Protect `list-load-path-shadows' call.
6282         * net/tramp-compat.el (top): Require packages, which aren't
6283         autoloaded anymore for XEmacs.  Protect call of
6284         `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
6285         compiler.  Do not require tramp-util.el and tramp-vc.el anymore,
6286         it hurts at least for SXEmacs.
6287         (tramp-compat-temporary-file-directory): In XEmacs, there is no
6288         standard-value for `temporary-file-directory'.
6290         * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
6291         Redirect stderr to /dev/null.
6292         (tramp-sh-handle-write-region): uid and gid can be floats.
6293         Reported by Russell Sim <russell.sim@gmail.com>.
6294         (tramp-sh-handle-vc-registered): Hide errors.
6295         (tramp-vc-file-name-handler): Use dummy results for `process-file'
6296         and `start-file-process'.
6297         (tramp-maybe-open-connection): Check also whether `non-essential'
6298         is bound.
6300 2012-07-04  Chong Yidong  <cyd@gnu.org>
6302         * xml.el (xml--parse-buffer): Use xml-syntax-table.
6303         (xml-parse-tag): Likewise, and avoid changing entity tables.
6304         (xml-syntax-table): Define from scratch, making sure not to give
6305         x2000 and other Unicode spaces whitespace syntax, since those are
6306         not spaces in XML.
6307         (xml-parse-fragment): Delete unused function.
6308         (xml-name-start-char-re, xml-name-char-re, xml-name-re)
6309         (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
6310         (xml-entity-ref, xml-pe-reference-re)
6311         (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
6312         (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
6313         (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
6314         (xml-entity-value-re): Use syntax references in regexps where
6315         possible; no need to define inside a let-binding.
6316         (xml-parse-dtd): Use xml-pe-reference-re.
6317         (xml-entity-or-char-ref-re): New defconst.
6318         (xml-parse-string, xml-substitute-special): Use it.
6320 2012-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
6322         * files.el (locate-dominating-file): Allow `name' to be a predicate.
6323         (find-file--read-only): New function.
6324         (find-file-read-only, find-file-read-only-other-window)
6325         (find-file-read-only-other-frame): Use it.
6326         (insert-file-contents-literally): Don't `fset'.
6327         (get-free-disk-space): Use locate-dominating-file.
6329         * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
6330         function is already compiled.
6332         * xml.el (xml-name-regexp): Remove, redundant.  Use xml-name-re.
6334 2012-07-03  Michael Albinus  <michael.albinus@gmx.de>
6336         * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
6337         files on the same host.
6339 2012-07-03  Andreas Schwab  <schwab@linux-m68k.org>
6341         * help-fns.el (describe-function-1): Only call
6342         help-fns--autoloaded-p when we have a file name.  (Bug#11848)
6344 2012-07-03  Chong Yidong  <cyd@gnu.org>
6346         * xml.el: Protect parser against XML bombs.
6347         (xml-entity-expansion-limit): New variable.
6348         (xml-parse-string, xml-substitute-special): Use it.
6349         (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
6351 2012-07-03  Glenn Morris  <rgm@gnu.org>
6353         * progmodes/bug-reference.el (bug-reference-bug-regexp):
6354         Allow linking to specific messages in debbugs reports (eg 123#5).
6356 2012-07-02  Chong Yidong  <cyd@gnu.org>
6358         * xml.el: Fix entity and character reference expansion, allowing
6359         them to expand into markup as per XML spec.
6360         (xml-default-ns): New variable.
6361         (xml-entity-alist): Use XML spec definitions for lt and amp.
6362         (xml-parse-region): Make first two arguments optional.
6363         Discard text properties.
6364         (xml-parse-tag-1): New function, spun off from xml-parse-tag.
6365         All callers changed.
6366         (xml-parse-tag): Call xml-parse-tag-1.  For backward
6367         compatibility, this function should not modify buffer contents.
6368         (xml-parse-tag-1): Fix opening-tag regexp.
6369         (xml-parse-string): Rewrite, handling entity and character
6370         references properly.
6371         (xml--entity-replacement-text): Signal an error if a parameter
6372         entity is undefined.
6374 2012-07-02  Stefan Monnier  <monnier@iro.umontreal.ca>
6376         * comint.el (comint-output-filter): Filter out repeated prompts.
6378         * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
6379         and file-name-absolute-p.
6380         (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
6381         internal calls.
6383 2012-07-02  Paul Eggert  <eggert@cs.ucla.edu>
6385         Spelling fixes.
6386         * emacs-lisp/bytecomp.el (byte-compile--reify-function):
6387         Rename from byte-compile--refiy-function.  All uses changed.
6389 2012-07-01  Chong Yidong  <cyd@gnu.org>
6391         * xml.el (xml--parse-buffer): New function.  Move most of
6392         xml-parse-region here.
6393         (xml-parse-region): Copy region into a temporary buffer, since
6394         parameter entity substitution requires changing buffer contents.
6395         Use xml--parse-buffer.
6396         (xml-parse-file): Use xml--parse-buffer.
6397         (xml-parse-dtd): Make parameter entity substitution work right.
6398         Use proper regexps for ELEMENT declarations (Bug#7172).
6400 2012-06-30  Glenn Morris  <rgm@gnu.org>
6402         * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
6404         * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
6405         Remove outdated and unnecessary dbus declarations.
6407 2012-06-30  Eli Zaretskii  <eliz@gnu.org>
6409         * emacs-lisp/timer.el (timer-until): Subtract results of
6410         float-time, instead of taking float-time of the result of
6411         time-subtract, since float-time signals an error for negative time
6412         arguments.
6414 2012-06-30  Chong Yidong  <cyd@gnu.org>
6416         * xml.el (xml-*-re): Convert defvars into defconsts, and
6417         eval-and-compile them so eval-and-compile works on derivatives.
6418         (xml--entity-replacement-text): Use eval-and-comple.
6420 2012-06-30  Michael Albinus  <michael.albinus@gmx.de>
6422         * vc/vc-git.el (vc-git-registered): Use cache property
6423         `git-registered'.
6424         (vc-git-mode-line-string): Call `vc-working-revision' instead of
6425         `vc-git-working-revision' in order to benefit from the cache.
6426         (vc-git-root): Use cache property `git-root'.  (Bug#11757)
6428 2012-06-30  Dmitry Gutov  <dgutov@yandex.ru>
6430         * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
6431         removed (likely outside Emacs).  (Bug#11757)
6433 2012-06-30  Stefan Monnier  <monnier@iro.umontreal.ca>
6435         * emacs-lisp/cl-lib.el: Require macroexp.
6437 2012-06-30  Chong Yidong  <cyd@gnu.org>
6439         * xml.el: Implement XML parameter entities.
6440         (xml-parameter-entity-alist): New variable.
6441         (xml-parse-region, xml-parse-fragment): Preserve previous values
6442         of xml-entity-alist and xml-parameter-entity-alist, so that
6443         repeated calls on different documents do not change them.
6444         (xml-parse-tag): Fix doctype regexp.
6445         (xml--entity-replacement-text): New function.
6446         (xml-parse-dtd): Use it.  Don't handle system entities; doing that
6447         properly requires url retrieval which is unimplemented.
6448         (xml-escape-string): Doc fix.
6450 2012-06-30  Stefan Monnier  <monnier@iro.umontreal.ca>
6452         * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
6454 2012-06-29  Dmitry Antipov  <dmantipov@yandex.ru>
6456         * fringe.el (fringe-mode): Doc fix.
6458 2012-06-29  Michael Albinus  <michael.albinus@gmx.de>
6460         * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
6461         is non-nil.
6462         (ange-ftp-ignore-errors-if-non-essential): New defmacro.
6463         (ange-ftp-file-name-all-completions): Use it.  (Bug#11808)
6465 2012-06-29  Andreas Schwab  <schwab@linux-m68k.org>
6467         * calendar/cal-dst.el (calendar-current-time-zone):
6468         Return calendar-current-time-zone-cache if non-nil.
6470 2012-06-29  Masatake YAMATO  <yamato@redhat.com>
6472         * progmodes/which-func.el (which-func-format):
6473         Add mouse-face.  (Bug#11698)
6475 2012-06-29  Leo Liu  <sdl.web@gmail.com>
6477         * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
6479 2012-06-29  Stefan Monnier  <monnier@iro.umontreal.ca>
6481         * minibuffer.el (minibuffer-confirm-exit-commands):
6482         Add completion-at-point (bug#11725).
6484 2012-06-29  Glenn Morris  <rgm@gnu.org>
6486         * progmodes/f90.el (f90-font-lock-keywords-2):
6487         Add some preprocessor elements.  (Bug#10499)
6489 2012-06-29  Stefan Monnier  <monnier@iro.umontreal.ca>
6491         * progmodes/cperl-mode.el (cperl-update-syntaxification):
6492         Use syntax-propertize (bug#11739).
6494 2012-06-28  Juanma Barranquero  <lekktu@gmail.com>
6496         * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
6498 2012-06-28  Julien Danjou  <julien@danjou.info>
6500         * term.el (term-handle-colors-array): Use a set of new faces to
6501         color the terminal.  Also uses :inverse-video property.
6502         (term-default-fg-color): Set to nil by default, deprecate in favor
6503         of `term-face'.
6504         (term-default-bg-color): Set to nil by default, deprecate in favor
6505         of `term-face'.
6506         (term-current-face): Use `term-face' by default.
6507         (term-bold-attribute): Variable deleted.
6509 2012-06-28  Glenn Morris  <rgm@gnu.org>
6511         * simple.el (completion-list-mode-finish):
6512         Don't use toggle-read-only.  (Since completion-list-mode has
6513         a special mode-class, it wasn't doing anything extra anyway.)
6515 2012-06-28  Stefan Monnier  <monnier@iro.umontreal.ca>
6517         Make inlining of other-mode interpreted functions work (bug#11799).
6518         * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
6519         (byte-compile): Use it to fix compilation of lexical-binding closures.
6520         * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
6521         function, if needed.
6523 2012-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
6525         * help-mode.el (help-make-xrefs): Don't just withstand
6526         cyclic-variable-indirection but any error in documentation-property.
6528         * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
6529         memory use.
6530         * bindings.el (bindings--define-key): New function.
6531         * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
6532         * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
6533         * bindings.el: Use it to purecopy define-key bindings.
6535         * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
6537         * emacs-lisp/cl.el (flet): Mark obsolete.
6538         * emacs-lisp/cl-macs.el (cl-flet*): New macro.
6539         * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
6540         * progmodes/js.el (js-c-fill-paragraph):
6541         * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
6542         (ebrowse-switch-member-buffer-to-derived-class):
6543         * play/5x5.el (5x5-solver): Use cl-flet.
6545         * emacs-lisp/cl.el: Use lexical-binding.  Fix flet (bug#11780).
6546         (cl--symbol-function): New macro.
6547         (cl--letf, cl--letf*): Use it.
6549         * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
6550         Strip "toggle-" if any.
6552 2012-06-27  Glenn Morris  <rgm@gnu.org>
6554         * info.el (Info-default-directory-list): Move here from paths.el.
6555         * paths.el: Remove file, which is now empty.
6556         * loadup.el: No longer load "paths".
6558         * custom.el (custom-initialize-delay): Doc fix.
6560         * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
6561         * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
6562         * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
6563         * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
6564         * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
6565         * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
6566         * eshell/eshell.el (eshell-defgroup): Remove alias.
6568 2012-06-27  Chong Yidong  <cyd@gnu.org>
6570         * help.el (help-enable-auto-load): New variable.
6572         * help-fns.el (help-fns--autoloaded-p): New function.
6573         (describe-function-1): Refer to a function as "autoloaded" if it
6574         was autoloaded at any time in the past.  Perform autoloading if
6575         help-enable-auto-load is non-nil.
6577 2012-06-26  Eli Zaretskii  <eliz@gnu.org>
6579         * makefile.w32-in (compile, compile-always): Depend on
6580         update-subdirs, not on subdirs.el.  Otherwise, several different
6581         sub-targets of 'bootstrap' running in parallel could
6582         simultaneously write to subdirs.el, producing a garbled file.
6584 2012-06-26  Sam Steingold  <sds@gnu.org>
6586         * files.el (file-name-base): New convenience function.
6587         * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
6588         * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
6589         * progmodes/cc-defs.el, progmodes/cperl-mode.el:
6590         * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
6591         * textmodes/ispell.el, textmodes/reftex-ref.el:
6592         * textmodes/tex-mode.el: Use it.
6593         Did not touch cedet and org because they are maintained elsewhere.
6595 2012-06-26  Martin Rudalics  <rudalics@gmx.at>
6597         * calendar/calendar.el (calendar-exit): Don't try to delete or
6598         iconify last frame.  See:
6599         http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
6601 2012-06-25  Jim Diamond  <Jim.Diamond@AcadiaU.ca>  (tiny change)
6603         * server.el (server-process-filter): Remember dir in the
6604         process's `server-client-directory' properties.
6606 2012-06-24  Chong Yidong  <cyd@gnu.org>
6608         * xml.el (xml-parse-tag): Correctly handle comment embedded in
6609         non-tag text.
6611 2012-06-23  Juanma Barranquero  <lekktu@gmail.com>
6613         * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
6615 2012-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
6617         * help-fns.el (describe-variable): Don't croak when doc is not found.
6618         * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
6619         * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
6620         * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
6621         * emacs-lisp/smie.el (smie-next-sexp): CSE.
6622         * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
6623         ((lambda ..) ..).
6624         * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
6626 2012-06-23  Chong Yidong  <cyd@gnu.org>
6628         * info.el (Info-mouse-follow-link): Accept symbol values of
6629         link-args.  Select window; suggested by Gerhard Kahl (Bug#11672).
6630         (Info-fontify-node): Use Info-link-keymap for all navigation
6631         buttons, with link-args property to perform the desired action.
6632         (Info-link-keymap): Doc fix.
6633         (Info-next-link-keymap, Info-prev-link-keymap)
6634         (Info-up-link-keymap): Delete now-unused keymaps.
6636 2012-06-23  Chong Yidong  <cyd@gnu.org>
6638         * mouse.el (mouse-drag-track): Deactivate the mark before popping.
6640         * progmodes/python.el (python-skeleton-define): Mark abbrevs as
6641         system abbrevs.
6643         * ansi-color.el (ansi-color-apply-on-region): Doc fix.
6645 2012-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
6647         * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
6648         (bug#11719).
6650         * minibuffer.el (completion--twq-try): Try to fail more gracefully when
6651         the requote function doesn't work properly (bug#11714).
6653 2012-06-23  Glenn Morris  <rgm@gnu.org>
6655         * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
6657 2012-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
6659         Further GV/CL cleanups.
6660         * emacs-lisp/gv.el (gv-get): Autoload functions to find their
6661         gv-expander.
6662         (gv--defun-declaration): New function.
6663         (defun-declarations-alist): Use it.
6664         (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
6665         (gv-place): Autoload.
6666         * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
6667         original definition of dotimes and dolist.
6668         * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
6669         (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
6670         * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
6671         (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
6672         (cl-ninth, cl-tenth): Move gv handler to the function's definition.
6673         * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
6674         to the function's definition.
6675         * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
6676         * window.el:
6677         * files.el:
6678         * faces.el:
6679         * env.el: Don't use CL.
6681 2012-06-22  Paul Eggert  <eggert@cs.ucla.edu>
6683         Support higher-resolution time stamps (Bug#9000).
6685         * calendar/time-date.el (with-decoded-time-value): New arg
6686         PICO-SYMBOL in VARLIST.  It's optional, for backward compatibility.
6687         (encode-time-value): New optional arg PICO.  New type 3.
6688         (time-to-seconds) [!float-time]: Support the new picoseconds
6689         component if it's used.
6690         (seconds-to-time, time-subtract, time-add):
6691         Support ps-resolution time stamps as well.
6693         * emacs-lisp/timer.el (timer): New component psecs.  All uses changed.
6694         (timerp): Timer vectors now have length 9, not 8.
6695         (timer--time): Support new-style (4-part) time stamps.
6696         (timer-next-integral-multiple-of-time): Time stamps now have
6697         picosecond resolution, so take a bit more care about rounding.
6698         (timer-relative-time, timer-inc-time): New optional arg psecs.
6699         (timer-set-time-with-usecs): Set psecs to 0.
6700         (timer--activate): Check psecs component, too.
6702         * proced.el (proced-time-lessp): Support ps-resolution stamps.
6704 2012-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
6706         * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
6707         Move the non-essential binding to the post/pre-command-hook where it is
6708         more obviously correct.
6710         * subr.el (read-passwd): Don't use a history at all.
6711         * savehist.el (savehist-save): Remove password saved accidentally
6712         because of the above bug.
6714 2012-06-22  Bastien Guerry  <bzg@gnu.org>
6716         * files.el (toggle-read-only): Display a message telling whether
6717         the buffer is read-only or not (bug#11726).
6719 2012-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
6721         * emacs-lisp/gv.el: New file.
6722         * subr.el (push, pop): Extend to generalized variables.
6723         * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
6724         * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
6725         * emacs-lisp/cl-macs.el: Require gv.  Use gv-define-setter,
6726         gv-define-simple-setter, and gv-define-expander.
6727         Remove setf-methods defined in gv.  Rename cl-setf -> setf.
6728         (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
6729         (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
6730         (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
6731         (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
6732         gv-letplace.
6733         (cl-defstruct): Don't define setf-method any more.
6734         * emacs-lisp/cl.el (flet): Don't autoload.
6735         (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
6736         (define-setf-expander, defsetf, define-modify-macro)
6737         (cl-struct-setf-expander): Move from cl-lib.el.
6738         * emacs-lisp/syntax.el:
6739         * emacs-lisp/ewoc.el:
6740         * emacs-lisp/smie.el:
6741         * emacs-lisp/cconv.el:
6742         * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
6743         (timer--time): Use gv-define-simple-setter.
6744         * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
6745         to avoid coding-system problems in subr.el.  Adjust all users.
6746         (macroexp--maxsize, macroexp-small-p): New functions.
6747         * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
6748         * scroll-bar.el (scroll-bar-mode):
6749         * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
6750         (normal-erase-is-backspace-mode): Don't use the `eq' place.
6751         * winner.el (winner-configuration, winner-make-point-alist)
6752         (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
6753         * files.el (locate-file-completion-table): Avoid list*.
6755 2012-06-22  Chong Yidong  <cyd@gnu.org>
6757         * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
6758         (dired-create-files): Doc fix (Bug#11329).
6759         (dired-do-copy): Doc fix (Bug#11334).
6760         (dired-mark-read-string): Doc fix (Bug#11553).
6762         * dired.el (dired-recursive-copies, dired-recursive-deletes):
6763         Doc fix (Bug#11326).
6764         (dired-make-relative): Doc fix (Bug#11332).  Remove unused arg.
6765         (dired-dwim-target): Doc fix.
6767         * wdired.el (wdired-mode): Doc fix.
6769 2012-06-22  Glenn Morris  <rgm@gnu.org>
6771         * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
6772         (pcmpl-rpm-cache-stamp-file): New constant.
6773         (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
6774         (pcmpl-rpm-packages): Optionally cache list of packages.
6776         * pcmpl-rpm.el (pcmpl-rpm): New group.
6777         (pcmpl-rpm-query-options): New option.
6778         (pcmpl-rpm-packages): No need to inline it.
6779         Use pcmpl-rpm-query-options.
6781         * calendar/calendar.el (calendar-in-read-only-buffer):
6782         Avoid some needless mode changes.
6784 2012-06-21  Chong Yidong  <cyd@gnu.org>
6786         * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
6787         (desktop-path): Remove . from the default value (Bug#10977).
6788         (desktop-read): Use user-emacs-directory if desktop-path is nil.
6790 2012-06-20  Chong Yidong  <cyd@gnu.org>
6792         * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
6794 2012-06-20  David Röthlisberger  <david@rothlis.net>  (tiny change)
6796         * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
6797         (bug#11201).
6799 2012-06-20  Chong Yidong  <cyd@gnu.org>
6801         * term.el (term-window-width): Handle the case of a missing right
6802         fringe (Bug#8837).
6803         (term-check-size): Use window-text-height (Bug#5445).
6804         (term-mode): Use define-derived-mode.  Minor cleanups.
6805         Set font-lock-defaults (Bug#7692).
6806         (term-move-columns, term-insert-char, term-emulate-terminal)
6807         (term-erase-in-line, term-insert-spaces): Use font-lock-face.
6809 2012-06-20  Michael Albinus  <michael.albinus@gmx.de>
6811         * net/ange-ftp.el (ange-ftp-get-passwd):
6812         Bind `enable-recursive-minibuffers'.
6813         (ange-ftp-get-process): Throw if `non-essential' is non-nil.
6815 2012-06-19  David Röthlisberger  <david@rothlis.net>  (tiny change)
6817         * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
6819 2012-06-19  Glenn Morris  <rgm@gnu.org>
6821         * progmodes/python.el (python-mode): Derive from prog-mode.
6823 2012-06-19  Kevin Gallagher  <Kevin.Gallagher@boeing.com>
6825         * emulation/edt.el (edt-default-menu-bar-update-buffers)
6826         (edt-user-menu-bar-update-buffers): New functions.
6827         (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
6829 2012-06-19  Chong Yidong  <cyd@gnu.org>
6831         * subr.el (with-selected-window): Preserve the selected window's
6832         terminal's top-frame (Bug#4702).
6834         * window.el (save-selected-window): Likewise.
6836 2012-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
6838         * progmodes/python.el (python-rx-constituents): Move backquote.
6839         (python-skeleton-define, python-define-auxiliary-skeleton):
6840         Use `declare'.
6842 2012-06-18  Michael Albinus  <michael.albinus@gmx.de>
6844         * minibuffer.el (read-file-name-default): Revert the patch from
6845         2012-06-17.
6847 2012-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
6849         * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
6850         (pcase--u1, pcase--q1): Don't use apply-partially.
6852 2012-06-18  Glenn Morris  <rgm@gnu.org>
6854         * progmodes/python.el (python-proc, python-buffer)
6855         (python-send-receive, python-send-string): Fix obsolete versions.
6857 2012-06-18  Martin Rudalics  <rudalics@gmx.at>
6859         * window.el (special-display-p): Completely remove stringp
6860         check.  Suggested by Andreas Schwab <schwab@linux-m68k.org>.
6862 2012-06-17  Michael Albinus  <michael.albinus@gmx.de>
6864         * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
6866         * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
6868         * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
6869         * net/tramp-sh.el (tramp-maybe-open-connection):
6870         Throw if `non-essential' is non-nil.
6872 2012-06-17  Martin Rudalics  <rudalics@gmx.at>
6874         * window.el (special-display-p): Signal an error if BUFFER-NAME
6875         is not a string (Bug#11713).
6877 2012-06-17  Paul Eggert  <eggert@cs.ucla.edu>
6879         * progmodes/python.el (python-info-beginning-of-backslash):
6880         Rename from python-info-beginning-of-backlash, as a spelling fix.
6882 2012-06-17  Chong Yidong  <cyd@gnu.org>
6884         * term.el (term-emulate-terminal): If term-check-size is called,
6885         move point to the process mark without resetting point (Bug#4635).
6887 2012-06-17  Glenn Morris  <rgm@gnu.org>
6889         * international/mule-cmds.el (mule-menu-keymap)
6890         (set-language-environment, set-locale-environment): Doc tweaks.
6892 2012-06-16  Aurelien Aptel  <aurelien.aptel@gmail.com>
6894         * cus-face.el (custom-face-attributes): Add wave-style underline
6895         attribute.
6896         * faces.el (set-face-attribute): Update docstring to describe
6897         wave-style underline attribute.
6899 2012-06-16  Chong Yidong  <cyd@gnu.org>
6901         * term/xterm.el (terminal-init-xterm): Discard input before
6902         querying background mode (Bug#10959).
6904 2012-06-16  Stefan Merten  <smerten@oekonux.de>
6906         * textmodes/rst.el: Added and corrected some comments.
6907         (rst-re-alist-def): Improve symbol syntax.
6908         (rst-mode-syntax-table): Correct syntax entries.
6909         (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
6910         (rst-official-version, rst-official-cvs-rev): Update version
6911         information.
6913 2012-06-15  Juanma Barranquero  <lekktu@gmail.com>
6915         * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
6916         in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
6918 2012-06-15  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
6920         * progmodes/python.el: New python.el merge.
6921         (python-guess-indent): Obsolete var.
6922         (python-indent-guess-indent-offset): New defcustom.
6923         (python-indent): Obsolete var.
6924         (python-indent-offset): New defcustom.
6925         (python-python-command, python-jython-command): Delete var.
6926         (python-shell-interpreter): New defcustom.
6927         (python-pdbtrack-do-tracking-p): Delete var.
6928         (python-pdbtrack-activate): New defcustom.
6929         (python-use-skeletons): Obsolete var.
6930         (python-skeleton-autoinsert): New defcustom.
6931         (inferior-python-filter-regexp, python-continuation-offset)
6932         (python-honour-comment-indentation, python-indent-string-contents)
6933         (python-jython-packages, python-mode-hook)
6934         (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
6935         (python-shell-prompt-alist)
6936         (python-source-modes): Delete defcustoms.
6937         (python-check-buffer-name, python-eldoc-setup-code)
6938         (python-eldoc-string-code, python-ffap-setup-code)
6939         (python-ffap-string-code, python-fill-comment-function)
6940         (python-fill-decorator-function, python-fill-paren-function)
6941         (python-fill-string-function, python-imenu-include-defun-type)
6942         (python-imenu-make-tree, python-imenu-subtree-root-label)
6943         (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
6944         (python-shell-compilation-regexp-alist)
6945         (python-shell-completion-module-string-code)
6946         (python-shell-completion-pdb-string-code)
6947         (python-shell-completion-setup-code)
6948         (python-shell-completion-string-code)
6949         (python-shell-enable-font-lock, python-shell-exec-path)
6950         (python-shell-extra-pythonpaths)
6951         (python-shell-internal-buffer-name, python-shell-interpreter-args)
6952         (python-shell-process-environment)
6953         (python-shell-prompt-block-regexp)
6954         (python-shell-prompt-output-regexp)
6955         (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
6956         (python-shell-send-setup-max-wait, python-shell-setup-codes)
6957         (python-shell-virtualenv-path): New defcustoms.
6958         (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
6959         (inferior-python-mode-syntax-table, python--prompt-regexp)
6960         (python-buffer, python-command python-python-command)
6961         (python-default-template, python-imports, python-indent-index)
6962         (python-indent-list, python-indent-list-length)
6963         (python-mode-running, python-pdbtrack-is-tracking-p)
6964         (python-preoutput-continuation, python-preoutput-leftover)
6965         (python-preoutput-result, python-preoutput-skip-next-prompt)
6966         (python-prev-dir/file, python-recursing)
6967         (python-saved-check-command, python-version-checked)
6968         (python-which-func-length-limit)
6969         (view-return-to-alist): Delete vars.
6970         (python-check-custom-command, python-dotty-syntax-table)
6971         (python-imenu-index-alist, python-indent-current-level)
6972         (python-indent-dedenters, python-indent-levels)
6973         (python-nav-beginning-of-defun-regexp)
6974         (python-nav-list-defun-positions-cache)
6975         (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
6976         (python-shell-internal-buffer)
6977         (python-skeleton-available): New vars.
6978         (def-python-skeleton): Delete macro.
6979         (python-skeleton-define): New macro.
6980         (python-define-auxiliary-skeleton, python-rx): New macros.
6981         (python-insert-class): Delete command.
6982         (python-skeleton-class): New command.
6983         (python-insert-def): Delete command.
6984         (python-skeleton-def): New command.
6985         (python-insert-for): Delete command.
6986         (python-skeleton-for): New command.
6987         (python-insert-if): Delete command.
6988         (python-skeleton-if): New command.
6989         (python-insert-try/except, python-insert-try/finally): Delete commands.
6990         (python-skeleton-try): New command.
6991         (python-insert-while): Delete command.
6992         (python-skeleton-while): New command.
6993         (python-backspace): Delete command.
6994         (python-indent-dedent-line-backspace): New command.
6995         (python-electric-colon): Delete command.
6996         (python-indent-electric-colon): New command.
6997         (python-guess-indent): Delete command.
6998         (python-indent-guess-indent-offset): New command.
6999         (python-shift-left): Delete command.
7000         (python-indent-shift-left): New command.
7001         (python-shift-right): Delete command.
7002         (python-indent-shift-right): New command.
7003         (python-find-function): Delete command.
7004         (python-nav-jump-to-defun): New command.
7005         (python-next-statement): Delete command.
7006         (python-nav-forward-sentence): New command.
7007         (python-previous-statement): Delete command.
7008         (python-nav-backward-sentence): New command.
7009         (python-fill-paragraph): Delete command.
7010         (python-fill-paragraph-function): New command.
7011         (python-send-buffer): Delete command.
7012         (python-shell-send-buffer): New command.
7013         (python-send-defun): Delete command.
7014         (python-shell-send-defun): New command.
7015         (python-send-region, python-send-region-and-go): Delete commands.
7016         (python-shell-send-region)
7017         (python-shell-switch-to-shell): New commands.
7018         (python-send-string): Delete command.
7019         (python-shell-send-string): New command.
7020         (python-switch-to-python): Delete command.
7021         (python-shell-switch-to-shell): New command.
7022         (python-describe-symbol): Delete command.
7023         (python-eldoc-at-point): New command.
7024         (python--set-prompt-regexp, python-args-to-list)
7025         (python-after-info-look, python-check-version)
7026         (python-check-comint-prompt, python-find-imports)
7027         (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
7028         (python-unload-function, python-expand-template)
7029         (python-maybe-jython, python-preoutput-filter)
7030         (python-pdbtrack-get-source-buffer)
7031         (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
7032         (python-pdbtrack-toggle-stack-tracking)
7033         (python-pdbtrack-track-stack-file, python-initial-text)
7034         (python-first-word, python-comment-line-p, python-send-command)
7035         (python-setup-brm, python-sentinel, python-set-proc)
7036         (python-skip-out, python-input-filter, python-outdent-p)
7037         (python-outline-level, python-backslash-continuation-line-p)
7038         (python-end-of-block, python-end-of-statement, python-mark-block)
7039         (python-beginning-of-block, python-beginning-of-statement)
7040         (python-blank-line-p, python-beginning-of-string)
7041         (python-open-block-statement-p): Delete functions.
7042         (python-indent-line, python-indent-line-1): Delete functions.
7043         (python-indent-line): New function.
7044         (python-indentation-levels): Delete function.
7045         (python-indent-calculate-levels): New function.
7046         (python-proc): Delete function.
7047         (python-shell-get-process): New function.
7048         (python-send-receive): Delete function.
7049         (python-shell-send-string-no-output): New function.
7050         (python-module-path): Delete function.
7051         (python-ffap-module-path): New function.
7052         (python-completion-at-point)
7053         (python-symbol-completions): Delete functions.
7054         (python-completion-complete-at-point): New function.
7055         (python-load-file): Delete function.
7056         (python-shell-send-file): New function.
7057         (python-calculate-indentation): Delete function.
7058         (python-indent-calculate-indentation): New function.
7059         (python-skip-comments/blanks): Delete function.
7060         (python-util-forward-comment): New function.
7061         (python-continuation-line-p): Delete function.
7062         (python-info-continuation-line-p): New function.
7063         (python-which-func, python-current-defun): Delete function.
7064         (python-info-current-defun): New function.
7065         (python-beginning-of-defun): Delete function.
7066         (python-nav-beginning-of-defun): New function.
7067         (python-close-block-statement-p)
7068         (python-block-end-p): Delete function.
7069         (python-info-closing-block): New function.
7070         (python-comint-output-filter-function)
7071         (python-eldoc--get-doc-at-point, python-end-of-defun-function)
7072         (python-fill-comment, python-fill-decorator, python-fill-paren)
7073         (python-fill-string, python-imenu-make-element-tree)
7074         (python-imenu-make-tree, python-imenu-tree-assoc)
7075         (python-indent-context, python-indent-dedent-line)
7076         (python-indent-line-function)
7077         (python-indent-post-self-insert-function)
7078         (python-indent-toggle-levels)
7079         (python-info-assignment-continuation-line-p)
7080         (python-info-beginning-of-backlash)
7081         (python-info-block-continuation-line-p)
7082         (python-info-closing-block-message)
7083         (python-info-line-ends-backslash-p)
7084         (python-info-looking-at-beginning-of-defun)
7085         (python-info-ppss-context, python-info-ppss-context-type)
7086         (python-nav-list-defun-positions, python-nav-read-defun)
7087         (python-nav-sentence-end, python-nav-sentence-start)
7088         (python-pdbtrack-comint-output-filter-function)
7089         (python-pdbtrack-set-tracked-buffer)
7090         (python-shell-calculate-exec-path)
7091         (python-shell-calculate-process-environment)
7092         (python-shell-completion--do-completion-at-point)
7093         (python-shell-completion--get-completions)
7094         (python-shell-completion-complete-at-point)
7095         (python-shell-completion-complete-or-indent)
7096         (python-shell-get-or-create-process)
7097         (python-shell-get-process-name)
7098         (python-shell-internal-get-or-create-process)
7099         (python-shell-internal-get-process-name)
7100         (python-shell-internal-send-string, python-shell-make-comint)
7101         (python-shell-parse-command, python-shell-send-setup-code)
7102         (python-skeleton-add-menu-items)
7103         (python-util-clone-local-variables, python-util-position)
7104         (run-python-internal, python-indentation-levels)
7105         (python-nav-beginning-of-defun)
7106         (python-completion-complete-at-point): New functions.
7107         (run-python): Change arguments.  New API requirements.
7109 2012-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
7111         * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
7112         (bug#11649).
7114         * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
7115         (macroexp--expand-all): Use it.
7117         * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
7118         (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
7119         Use `cl-function' instead.
7121 2012-06-14  Juanma Barranquero  <lekktu@gmail.com>
7123         * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
7124         Suggested by Stefan Monnier while discussing bug#11657.
7126 2012-06-14  Sam Steingold  <sds@gnu.org>
7128         * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
7130 2012-06-14  Andreas Schwab  <schwab@linux-m68k.org>
7132         * play/doctor.el (doctor-doc): Remove parameter and use
7133         doctor-sent instead of sent.
7134         (doctor-read-print): Use doctor-sent instead of sent.  (Bug#11708)
7136 2012-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
7138         * files.el: Require cl-lib.
7139         (file-name-non-special): Replace case -> cl-case.
7141         * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
7143         * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
7144         mapping from #' to function*.
7146 2012-06-13  Chong Yidong  <cyd@gnu.org>
7148         * mouse.el (mouse-drag-track): Do not set the mark if the user
7149         releases the mouse without selecting anything (Bug#11588).
7151 2012-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
7153         * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
7154         as well (bug#11646).
7156         * loadup.el: Count byte-code functions as well.
7158         * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
7159         * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
7161         * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
7162         (bug#11649).  Add cl-defun and cl-defmacro.
7164 2012-06-13  Drew Adams  <drew.adams@oracle.com>
7166         * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
7167         Fix last change.
7169 2012-06-13  Michael Albinus  <michael.albinus@gmx.de>
7171         * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
7172         Otherwise, it blocks in batch mode.
7174 2012-06-13  Juanma Barranquero  <lekktu@gmail.com>
7176         * help-mode.el (bookmark-make-record-default): Declare.
7178 2012-06-13  Chong Yidong  <cyd@gnu.org>
7180         * emacs-lisp/package.el (list-packages): Compute a list of
7181         packages that are newly-available since the last list-packages
7182         invocation.
7183         (package-menu--new-package-list): New var.
7184         (package-menu--generate, package-menu--print-info)
7185         (package-menu--status-predicate, package-menu-mark-install):
7186         Handle new status label "new".
7188 2012-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
7190         * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
7191         conversion to backquotes.
7193 2012-06-12  Chong Yidong  <cyd@gnu.org>
7195         * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
7196         Rename from gud-inhibit-global-bindings.
7198         * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
7200         * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
7201         hook from nxml-glyph-set-hook.
7203         * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
7204         declaration.
7206         * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
7208         * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
7209         Convert to defcustom.
7211 2012-06-12  Drew Adams  <drew.adams@oracle.com>
7213         * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
7214         New functions.
7215         (help-mode): Use them.
7217 2012-06-11  Glenn Morris  <rgm@gnu.org>
7219         * progmodes/fortran.el (fortran-font-lock-keywords-3):
7220         Use preprocessor face for directives.
7221         (fortran-directive-re): Doc fix.
7223 2012-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
7225         * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
7226         conversion to backquotes (bug#11652).
7228         Fix compiler-expansion of CL's cXXr functions (bug#11673).
7229         * emacs-lisp/cl-lib.el (cl--defalias): New function.
7230         (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
7231         (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
7232         (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
7233         (cl-ninth, cl-tenth): Mark them as inlinable.
7234         (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
7235         (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
7236         (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
7237         (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
7238         Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
7239         (cl-list*, cl-adjoin): Don't put an autoload manually.
7240         * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
7241         (cl--compiler-macro-list*): Add autoload cookie.
7242         (cl--compiler-macro-cXXr): New function.
7244         * help-fns.el (help-fns--compiler-macro): New function extracted from
7245         describe-function-1; follow aliases and use `compiler-macro' property.
7246         (describe-function-1): Use it.
7248 2012-06-11  Chong Yidong  <cyd@gnu.org>
7250         * startup.el (fancy-splash-head): Use splash.svg even if librsvg
7251         is uninstalled, if imagemagick is installed.
7253 2012-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
7255         * emacs-lisp/cl-lib.el: Use lexical-binding.
7256         (cl-map-extents, cl-maclisp-member): Remove.
7257         (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
7258         (cl--set-substring, cl--block-wrapper, cl--block-throw)
7259         (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
7260         * emacs-lisp/cl-extra.el: Use lexical-binding.
7261         (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
7262         (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
7263         (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
7264         (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
7265         * emacs-lisp/cl-seq.el: Use lexical-binding.
7266         (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
7267         (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
7268         (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
7269         * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
7270         * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
7271         CL's internals.
7273 2012-06-11  Michael Albinus  <michael.albinus@gmx.de>
7275         Sync with Tramp 2.2.6-pre.
7277         * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
7278         `print-length' and `print-level' to nil, in order to avoid
7279         truncation.  Reported by Christopher Schmidt
7280         <christopher@ristopher.com>.
7282         * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
7284         * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
7285         New defmacro.
7286         (tramp-compat-copy-directory): Add optional argument
7287         COPY-CONTENTS.  It is not handled yet.
7289         * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
7290         (tramp-ftp-file-name-p): Simplify.
7292         * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
7293         * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
7294         connection vector.
7296         * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
7297         (tramp-methods): Do not use `tramp-password-end-of-line'.
7298         (tramp-completion-function-alist-putty): Handle UNIX case.
7299         (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
7300         (tramp-do-file-attributes-with-stat)
7301         (tramp-do-directory-files-and-attributes-with-stat) Return uid and
7302         gid as real numbers.  They could run out of integer range on cygwin.
7303         (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
7304         (tramp-sh-handle-expand-file-name): Handle hops.
7305         (tramp-open-connection-setup-interactive-shell):
7306         Use `tramp-cleanup'.  Move check for busyboxes ...
7307         (tramp-find-shell): ... here.  Simplify implementation.
7308         Set "remote-shell" property also for alternative shells.
7309         (tramp-remote-coding-commands): Check "test -c /dev/stdout".
7310         If failing, a regular file would be written otherwise.
7311         Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
7312         (tramp-find-inline-encoding): Cache the coding commands in the
7313         process cache.  Apply test command on the remote side, if defined.
7314         (tramp-find-inline-compress): Cache the compress commands in the
7315         process cache.
7316         (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
7317         when requested.  Handle hops.
7318         (tramp-current-connection): New defvar.
7319         (tramp-maybe-open-connection): Use `tramp-cleanup'.
7320         Throw `suppress', if there was a failed connection shortly before.
7321         Handle user interrupt.  (Bug#10187)
7322         (tramp-get-inline-compress, tramp-get-inline-coding):
7323         Read connection properties from the process cache.
7325         * net/tramp-smb.el (tramp-smb-server-version)
7326         (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
7327         New defconsts.
7328         (tramp-smb-prompt): Extend for powershell prompt.
7329         (tramp-smb-file-name-handler-alist): Add handlers for
7330         `process-file', `shell-command' and `start-file-process'.
7331         (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
7332         (tramp-smb-winexe-shell-command-switch): New defcustoms.
7333         (tramp-smb-file-name-p): Simplify.
7334         (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
7335         (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
7336         (tramp-smb-shell-quote-argument): New defuns.
7337         (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
7338         Implement using "tar".  By this, time-stamps are preserved.
7339         (tramp-smb-handle-copy-file): Handle also the case of directories.
7340         (tramp-smb-do-file-attributes-with-stat)
7341         (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
7342         Use `tramp-get-connection-buffer').
7343         (tramp-smb-handle-rename-file): Use "rename", when source and
7344         target are on the same share.
7345         (tramp-smb-maybe-open-connection): Handle wrong passwords.
7346         Use `tramp-smb-server-version'.
7347         (tramp-smb-wait-for-output): Remove prompt.
7349         * net/tramp.el (top): Require 'cl.
7350         (tramp-methods, tramp-rsh-end-of-line):
7351         Remove `tramp-password-end-of-line' from docstring.
7352         (tramp-save-ad-hoc-proxies): New defcustom.
7353         (tramp-completion-function-alist): Adapt docstring.
7354         (tramp-default-password-end-of-line): Remove defcustom.
7355         (tramp-shell-prompt-pattern): Allow "[]" style prompts.  (Bug#11065)
7356         (tramp-user-regexp, tramp-file-name-regexp-unified)
7357         (tramp-file-name-regexp-url): Extend regexp by hop separator.
7358         (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
7359         (tramp-remote-file-name-spec-regexp): New defconst.
7360         (tramp-file-name-structure): Extend structure for hops.
7361         (tramp-get-method-parameter): Move up.
7362         (tramp-file-name-p, tramp-dissect-file-name)
7363         (with-parsed-tramp-file-name): Handle hops.
7364         (tramp-file-name-hop): New defun.
7365         (tramp-make-tramp-file-name): New optional arg HOP.
7366         (tramp-message-show-progress-reporter-message): New defvar.
7367         (tramp-with-progress-reporter): Use it.  We cannot use
7368         `tramp-message-show-message' here, because this suppresses also
7369         error buffers.
7370         (tramp-error-with-buffer): Suppress buffer view, if
7371         `tramp-message-show-message' is nil.
7372         Use `tramp-get-connection-buffer'.
7373         (tramp-cleanup): New defun.
7374         (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
7375         (tramp-file-name-handler): If `debug-on-error' is set, propagate
7376         an error unchanged.
7377         (tramp-completion-handle-file-name-all-completions): Handle hops.
7378         Fix an error when called from ido.
7379         (tramp-completion-dissect-file-name): Use better local variable
7380         name.  Add hop to the vector.
7381         (tramp-handle-insert-file-contents): Use progress-reporter for the
7382         whole scenario.
7383         (tramp-action-password): Let-bind `enable-recursive-minibuffers'
7384         to `t'.
7385         (tramp-check-for-regexp): Simplify search.
7386         (tramp-enter-password): Remove it.  Move implementation ...
7387         (tramp-action-password): ... here.
7388         (tramp-mode-string-to-int, tramp-local-host-p)
7389         (tramp-make-tramp-temp-file, tramp-read-passwd)
7390         (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
7391         Set tramp-autoload cookie.
7393         * net/trampver.el: Update release number.
7395 2012-06-11  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
7396             Michael Albinus  <michael.albinus@gmx.de>
7398         * net/tramp.el (tramp-set-completion-function): Fix docstring.
7399         (tramp-parse-group, tramp-parse-file)
7400         (tramp-parse-shostkeys-sknownhosts): New defuns.
7401         (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
7402         (tramp-parse-shosts-group, tramp-parse-sconfig)
7403         (tramp-parse-sconfig-group, tramp-parse-shostkeys)
7404         (tramp-parse-sknownhosts, tramp-parse-hosts)
7405         (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
7406         Use them.
7407         (tramp-parse-passwd-group, tramp-parse-netrc-group)
7408         (tramp-parse-putty-group): Don't narrow.
7409         (tramp-parse-putty): Make a loop.
7410         (tramp-file-name-handler): Catch the `suppress' signal.
7412 2012-06-11  Chong Yidong  <cyd@gnu.org>
7414         * image.el (imagemagick-register-types): Put the ImageMagick entry
7415         at the end of image-type-file-name-regexps.
7417 2012-06-11  Johan BockgĂ¥rd  <bojohan@gnu.org>
7419         * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
7420         (pcase, pcase-let*, pcase-dolist): Use them.
7422 2012-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
7424         * emacs-lisp/pcase.el (pcase--let*): New function.
7425         (pcase-let*): Use it.  Use pcase--memoize to avoid repeated expansions.
7426         (pcase--expand): Use macroexp-let².
7428 2012-06-10  Stefan Monnier  <monnier@iro.umontreal.ca>
7430         * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
7431         * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
7432         * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
7433         * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
7434         * emacs-lisp/derived.el: Use pcase instead of `cl'.
7435         * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
7437 2012-06-10  Glenn Morris  <rgm@gnu.org>
7439         * mail/rmail.el (rmail-yank-current-message): Leave point at
7440         correct position.  (Bug#11660)
7442 2012-06-10  Chong Yidong  <cyd@gnu.org>
7444         * allout-widgets.el: Fix code header.
7446 2012-06-10  Chong Yidong  <cyd@gnu.org>
7448         * cus-edit.el (customize-changed-options-previous-release):
7449         Bump to 24.1.
7451 2012-06-09  Andreas Schwab  <schwab@linux-m68k.org>
7453         * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
7455 2012-06-09  Chong Yidong  <cyd@gnu.org>
7457         * ebuff-menu.el (electric-buffer-list): Preserve header line.
7459 2012-06-09  Martin Rudalics  <rudalics@gmx.at>
7461         * window.el (special-display-popup-frame): Don't use
7462         window--display-buffer (Bug#11651).
7464 2012-06-09  Eli Zaretskii  <eliz@gnu.org>
7466         Fix parallel builds: make sure loaddefs.el is not being written
7467         while Lisp files are compiled.
7468         (compile): Don't depend on 'mh-autoloads'.
7469         (compile-CMD, compile-SH): Depend on 'autoloads'.
7470         (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
7472         * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200.  (Bug#11649)
7474 2012-06-09  Chong Yidong  <cyd@gnu.org>
7476         * face-remap.el (face-remap-add-relative, face-remap-set-base)
7477         (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
7478         Doc fixes (Bug#11225).
7480 2012-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>
7482         * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
7483         a function if there's a clear indication that it has a compiler-macro.
7484         * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
7485         (macro-declarations-alist): Add arglist to declaration functions.
7486         (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
7487         * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
7488         * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
7489         * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
7490         Also add autoload to find the compiler macro.
7491         * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
7492         (cl--compiler-macro-member, cl--compiler-macro-assoc)
7493         (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
7494         (cl--compiler-macro-get): New functions, replacing calls to
7495         cl-define-compiler-macro.
7496         (cl-typep) [compiler-macro]: Use macroexp-let².
7498 2012-06-08  Nick Dokos  <nicholas.dokos@hp.com>  (tiny change)
7500         * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
7501         string properly, fixes Bug#11473.
7503 2012-06-08  Chong Yidong  <cyd@gnu.org>
7505         * faces.el (set-face-attribute): Doc fix.
7506         (modify-face): Don't use :bold and :italic.
7507         (error, warning, success): Tweak definitions.
7509         * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
7510         (custom-modified, custom-set, custom-changed, custom-themed)
7511         (custom-saved, custom-button, custom-button-mouse)
7512         (custom-button-pressed, custom-state, custom-comment-tag)
7513         (custom-variable-tag, custom-group-tag-1, custom-group-tag)
7514         (custom-group-subtitle): Use new-style face specs.
7515         (custom-invalid-face, custom-rogue-face, custom-modified-face)
7516         (custom-set-face, custom-changed-face, custom-saved-face)
7517         (custom-button-face, custom-button-pressed-face)
7518         (custom-documentation-face, custom-state-face)
7519         (custom-comment-face, custom-comment-tag-face)
7520         (custom-variable-tag-face, custom-variable-button-face)
7521         (custom-face-tag-face, custom-group-tag-face-1)
7522         (custom-group-tag-face): Remove obsolete face alias.
7524         * epa.el (epa-validity-high, epa-validity-medium)
7525         (epa-validity-low, epa-mark, epa-field-name, epa-string)
7526         (epa-field-name, epa-field-body):
7527         * font-lock.el (font-lock-comment-face, font-lock-string-face)
7528         (font-lock-keyword-face, font-lock-builtin-face)
7529         (font-lock-function-name-face, font-lock-variable-name-face)
7530         (font-lock-type-face, font-lock-constant-face):
7531         * ido.el (ido-first-match, ido-only-match, ido-subdir)
7532         (ido-virtual, ido-indicator, ido-incomplete-regexp):
7533         * speedbar.el (speedbar-button-face, speedbar-file-face)
7534         (speedbar-directory-face, speedbar-tag-face)
7535         (speedbar-selected-face, speedbar-highlight-face)
7536         (speedbar-separator-face):
7537         * whitespace.el (whitespace-newline, whitespace-space)
7538         (whitespace-hspace, whitespace-tab, whitespace-trailing)
7539         (whitespace-line, whitespace-space-before-tab)
7540         (whitespace-space-after-tab, whitespace-indentation)
7541         (whitespace-empty):
7542         * emulation/cua-base.el (cua-global-mark):
7543         * eshell/em-prompt.el (eshell-prompt):
7544         * net/newst-plainview.el (newsticker-new-item-face)
7545         (newsticker-old-item-face, newsticker-immortal-item-face)
7546         (newsticker-obsolete-item-face, newsticker-date-face)
7547         (newsticker-statistics-face, newsticker-default-face):
7548         * net/newst-reader.el (newsticker-feed-face)
7549         (newsticker-extra-face, newsticker-enclosure-face):
7550         * net/newst-treeview.el (newsticker-treeview-face)
7551         (newsticker-treeview-new-face, newsticker-treeview-old-face)
7552         (newsticker-treeview-immortal-face)
7553         (newsticker-treeview-obsolete-face)
7554         (newsticker-treeview-selection-face):
7555         * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
7556         (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
7557         (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
7558         (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
7559         * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
7560         (nxml-outline-active-indicator, nxml-outline-ellipsis):
7561         * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
7562         (mpuz-text):
7563         * progmodes/vera-mode.el (vera-font-lock-number)
7564         (vera-font-lock-function, vera-font-lock-interface):
7565         * textmodes/table.el (table-cell): Use new-style face specs, and
7566         don't use the old :bold and :italic attributes.
7568         * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
7569         (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
7570         (ebrowse-member-class, ebrowse-progress): Likewise.
7571         (ebrowse-tree-mark-face, ebrowse-root-class-face)
7572         (ebrowse-file-name-face, ebrowse-default-face)
7573         (ebrowse-member-attribute-face, ebrowse-member-class-face)
7574         (ebrowse-progress-face): Remove obsolete faces.
7576         * progmodes/flymake.el (flymake-errline, flymake-warnline):
7577         Inherit from error and warning faces respectively.
7579         * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
7580         Likewise.
7581         (flyspell-incorrect-face, flyspell-duplicate-face):
7582         Remove obsolete aliases.
7584 2012-06-08  Michael Albinus  <michael.albinus@gmx.de>
7586         * net/tramp-compat.el (tramp-compat-temporary-file-directory):
7587         Avoid infloop.
7589 2012-06-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7591         * startup.el (argv, argi): Make lexically scoped.
7592         * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
7593         * emacs-lisp/cl-macs.el: Use lexical-binding.
7594         Rename cl-bind-* to cl--bind-*.
7595         * files.el: Don't require `cl' since it doesn't use it.
7596         * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
7598 2012-06-08  Juanma Barranquero  <lekktu@gmail.com>
7600         * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
7601         (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
7602         instead of calling external sort utility.
7603         (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
7605 2012-06-08  Eli Zaretskii  <eliz@gnu.org>
7607         * descr-text.el (describe-char): Mention how to insert the
7608         character, if the current input method doesn't support it.
7609         See the discussion in this thread for the details:
7610         http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
7612 2012-06-08  Sam Steingold  <sds@gnu.org>
7614         * bindings.el (global-map): Bind XF86Forward to next-buffer and
7615         XF86Back to previous-buffer.
7616         (minibuffer-local-map): Bind them to next-history-element and
7617         previous-history-element respectively.
7618         * help-mode.el (help-mode-map): Bind them to help-go-forward and
7619         help-go-back respectively.
7620         * info.el (Info-mode-map): Bind them to Info-history-forward and
7621         Info-history-back respectively.
7622         These are the keys next to Up on the ThinkPad keyboard.
7624 2012-06-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7626         Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
7627         * emacs-lisp/cl-macs.el: Provide itself.
7628         (cl--labels-convert-cache): New var.
7629         (cl--labels-convert): New function.
7630         (cl-flet, cl-labels): New implementation with new semantics, relying on
7631         lexical-binding.
7632         * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
7633         (cl-closure-vars, cl--function-convert-cache)
7634         (cl--function-convert): Move from cl-macs.el.
7635         (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
7636         rename by removing the "cl-" prefix.
7637         * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
7639 2012-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
7641         * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
7642         (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
7643         (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
7644         (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
7645         (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
7646         (cl-hash-table-count): Add old compatibility aliases.
7648         * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
7649         Use macroexpand-all-environment instead.
7650         (cl--old-macroexpand): New var.
7651         (cl--sm-macroexpand): New function.
7652         (cl-symbol-macrolet): Use it during macro expansion.
7653         (cl--function-convert-cache): New var.
7654         (cl--function-convert): New function, extracted from
7655         cl-macroexpand-all.
7656         (cl-lexical-let): Use it.
7658         * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
7659         (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
7660         (cl-member): Remove old alias.
7662         * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
7663         (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
7664         (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
7665         (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
7666         (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
7667         (cl-macroexpand-cmacs): Remove var.
7668         (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
7669         Use macroexpand-all instead.
7671 2012-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
7673         * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
7674         (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
7675         (macroexp-copyable-p): New functions and macros.
7676         * emacs-lisp/edebug.el (edebug-unwrap):
7677         * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
7678         * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
7679         (pcase--let*): Remove.
7680         * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
7681         (byte-compile-constp): Remove.  Use macroexp--const-symbol-p and
7682         macroexp-const-p instead.
7683         * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
7685         * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
7686         instead of "cl-" for internal definitions.  Use macroexp-const-p.
7687         (cl-old-bc-file-form): Remove var.
7688         (cl-const-exprs-p): Remove fun.
7689         (cl-labels, cl-macrolet): Use backquote.
7690         (cl-lexical-let): Use cl-symbol-macrolet.  Don't use cl-defun-expander.
7691         (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
7692         (cl-define-setf-expander): Rename from cl-define-setf-method.
7693         * emacs-lisp/cl.el: Adjust alias for define-setf-method.
7695         * international/mule-cmds.el: Don't require CL.
7696         (view-hello-file): Don't use `letf'.
7698 2012-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
7700         * tmm.el (tmm-prompt): Use string-prefix-p.
7701         (tmm-completion-delete-prompt): Don't affect current-buffer outside.
7702         (tmm-add-prompt): Use minibuffer-completion-help.
7703         (tmm-delete-map): Remove.
7705         * subr.el (kbd): Make it its own function.
7707 2012-06-07  Stefan Merten  <smerten@oekonux.de>
7709         * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
7710         Silence compiler warnings.  Fix versions.
7711         (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7712         (rst-shift-region, rst-adornment-level, rst-compute-tabs)
7713         (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7714         (rst-package-emacs-version-alist): Correct Emacs version to
7715         represent major merge with upstream.
7716         (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7718 2012-06-06  Glenn Morris  <rgm@gnu.org>
7720         * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
7721         Only print environment variables if set.
7723 2012-06-06  Stefan Monnier  <monnier@iro.umontreal.ca>
7725         * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
7726         (macroexp--cons): Rename from maybe-cons.
7727         (macroexp--accumulate): Rename from macroexp-accumulate.
7728         (macroexp--all-forms): Rename from macroexpand-all-forms.
7729         (macroexp--all-clauses): Rename from macroexpand-all-clauses.
7730         (macroexp--expand-all): Rename from macroexpand-all-1.
7732 2012-06-06  Sam Steingold  <sds@gnu.org>
7734         * calendar/calendar.el (calendar-in-read-only-buffer):
7735         Call `special-mode' to enable the standard read-only keybindings.
7737 2012-06-06  Stefan Monnier  <monnier@iro.umontreal.ca>
7739         * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
7740         with "loading" messages (bug#11635).
7742 2012-06-06  Michael Albinus  <michael.albinus@gmx.de>
7744         * files.el (enable-remote-dir-locals): New option.
7745         (hack-dir-local-variables): Use it.  (Bug#1933, Bug#6731)
7747         * net/tramp-compat.el (tramp-compat-temporary-file-directory):
7748         Ensure, that the temp directory is local.
7750         * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
7751         `temporary-file-directory'.
7753         * progmodes/python.el (python-send-region): Ensure, that the
7754         temporary file is created also in the remote case.
7756 2012-06-06  Glenn Morris  <rgm@gnu.org>
7758         * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
7759         (vc-rcs-update-changelog): Use it.
7761         * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
7763         * vc/vc-sccs.el (vc-sccs-write-revision): New function.
7764         (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
7765         (vc-sccs-diff): Replace use of the external vcdiff script.
7767 2012-06-05  Glenn Morris  <rgm@gnu.org>
7769         * ledit.el: Move to obsolete/.
7771 2012-06-05  Sam Steingold  <sds@gnu.org>
7773         * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
7774         patch (Bug#11140).
7776 2012-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
7778         * emacs-lisp/cust-print.el: Move to obsolete.
7780         * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
7781         compiler-macro expansion.
7783         Add native compiler-macro support.
7784         * emacs-lisp/macroexp.el (macroexpand-all-1):
7785         Support compiler-macros directly.  Properly follow aliases and apply
7786         the compiler macros more thoroughly.
7787         * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
7788         macroexpand now properly follows aliases.
7789         * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
7790         (cl-compiler-macroexpand): Use new prop.
7791         * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
7793         * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
7795 2012-06-05  Martin Rudalics  <rudalics@gmx.at>
7797         * window.el (get-lru-window, get-mru-window, get-largest-window):
7798         New argument NOT-SELECTED to avoid picking the selected window.
7799         (window--display-buffer-1, window--display-buffer-2): Replace by
7800         new function window--display-buffer
7801         (display-buffer-same-window, display-buffer-reuse-window)
7802         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7803         Use window--display-buffer.
7804         (display-buffer-use-some-window): Remove temporary dedication
7805         hack by calling get-lru-window and get-largest-window with
7806         NOT-SELECTED argument non-nil.  Call window--display-buffer.
7808 2012-06-05  Glenn Morris  <rgm@gnu.org>
7810         * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
7811         Replace external vcdiff script.
7813 2012-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
7815         * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
7817 2012-06-04  Chong Yidong  <cyd@gnu.org>
7819         * image.el (imagemagick-types-inhibit): Revert last change.
7820         Add INFO and M.
7821         (imagemagick-enabled-types): Remove CIN and EPS*.
7823 2012-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
7825         * emacs-lisp/cl-lib.el: Rename from cl.el.
7826         * emacs-lisp/cl.el: New compatibility file.
7827         * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
7828         * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
7829         to obey the "cl-" prefix.
7830         * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
7832 2012-06-03  Glenn Morris  <rgm@gnu.org>
7834         * emacs-lisp/authors.el (authors-aliases): Addition.
7836         * cus-start.el (tool-bar-style, tool-bar-max-label-size):
7837         Fix :version.
7839 2012-06-03  Stefan Merten  <smerten@oekonux.de>
7841         * textmodes/rst.el: Add comments.
7842         (rst-transition, rst-adornment): New faces.
7843         (rst-adornment-faces-alist): Make default safe to reevaluate.
7844         Fixes
7845         http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
7846         Improve customization tags.
7847         (rst-define-level-faces): Clarify meaning.
7849 2012-06-03  Chong Yidong  <cyd@gnu.org>
7851         * progmodes/compile.el (compilation-mode-line-fail)
7852         (compilation-mode-line-run, compilation-mode-line-exit):
7853         New faces.
7854         (compilation-start, compilation-handle-exit): Use them (Bug#11032).
7856 2012-06-03  Jack Duthen  <duthen.mac.01@gmail.com>  (tiny change)
7858         * progmodes/which-func.el (which-func-update-ediff-windows):
7859         New function.  Use it in ediff-select-hook (Bug#11478).
7861 2012-06-03  Chong Yidong  <cyd@gnu.org>
7863         * bindings.el: Remove explicit help text from format-mode-line.
7864         It is now supplied by mode-line-default-help-echo.
7865         (mode-line-front-space, mode-line-end-spaces)
7866         (mode-line-misc-info): New variables.
7867         (mode-line-modes, mode-line-position): Move the default value to
7868         the variable definition.
7869         (mode-line-default-help-echo): New defcustom.
7870         (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
7871         (mode-line-modified-help-echo): New functions.
7872         (mode-line-mule-info, mode-line-modified): Use them.
7873         (mode-line-eol-desc, propertized-buffer-identification):
7874         Consistency fixes for help text.
7875         (mode-line-coding-system-map): Allow using mouse-3 to invoke
7876         set-buffer-file-coding-system (Bug#289).
7877         (mode-line-mule-info-help-echo): Update help text.
7879 2012-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
7881         * simple.el (execute-extended-command): Set real-this-command
7882         (bug#11506).
7884 2012-06-02  Chong Yidong  <cyd@gnu.org>
7886         Remove incorrect uses of "modeline" in comments, docstrings, and
7887         function/variable names (Bug#10329).
7889         * cus-edit.el (mode-line):
7890         * dframe.el (dframe-mouse-hscroll):
7891         * emacs-lisp/re-builder.el:
7892         * emacs-lisp/easy-mmode.el (define-minor-mode):
7893         * frame.el (set-frame-name):
7894         * help.el (lookup-minor-mode-from-indicator):
7895         * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
7896         * progmodes/cc-cmds.el (c-toggle-auto-newline)
7897         (c-toggle-hungry-state):
7898         * progmodes/antlr-mode.el (antlr-language-alist):
7899         * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
7900         * progmodes/vhdl-mode.el (vhdl-mode):
7901         * progmodes/which-func.el (which-func, which-func-cleanup-function):
7902         * term/ns-win.el (ns-face-at-pos):
7903         * term/sup-mouse.el (sup-mouse-report):
7904         * textmodes/flyspell.el (flyspell-mode-line-string):
7905         * textmodes/ispell.el (ispell-highlight-face):
7906         * textmodes/reftex-global.el:
7907         * vc/vc-arch.el (vc-arch-mode-line-string):
7908         * vc/vc-cvs.el (vc-cvs-mode-line-string):
7909         * vc/vc-git.el (vc-git-mode-line-string):
7910         * vc/vc-hooks.el (vc-display-status)
7911         (vc-default-mode-line-string):
7912         * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
7914         * ansi-color.el (ansi-color-faces-vector): Change default faces.
7916         * dired.el (dired-sort-set-mode-line): Rename from
7917         dired-sort-set-modeline.  All callers changed.
7919         * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
7920         eshell-status-in-modeline.
7922         * foldout.el (foldout-mode-line-string): Rename from
7923         foldout-modeline-string.  All callers changed.
7924         (foldout-update-mode-line): Rename from foldout-update-modeline.
7926         * subr.el (redraw-modeline): Make into obsolete alias.
7928         * calendar/timeclock.el (timeclock-mode-line-display): Rename from
7929         timeclock-modeline-display.  Make old name an alias.
7930         (timeclock-update-mode-line): Likewise.  All callers changed.
7931         (timeclock-mode-line-display): No need to check before using
7932         add-hook.
7933         (timeclock-relative, timeclock-day-over-hook)
7934         (timeclock-use-elapsed, timeclock-mode-string)
7935         (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
7937         * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
7938         crisp-mode-modeline-string.
7940         * play/solitaire.el (solitaire-build-mode-line): Rename from
7941         solitaire-build-modeline.  All callers changed.
7943         * play/zone.el (zone-hiding-mode-line): Rename from
7944         zone-hiding-modeline.  All callers changed.
7945         (zone): Remove unusued `modeline-hidden-level' property.
7947         * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
7948         xscheme-modeline-initialize.  All callers changed.
7950         * strokes.el (strokes-lighter): Rename from
7951         strokes-modeline-string.
7953         * textmodes/sgml-mode.el (html-face-tag-alist)
7954         (html-tag-face-alist): Use mode-line face instead of obsolete
7955         alias modeline.
7957 2012-06-02  Stefan Merten  <smerten@oekonux.de>
7959         * textmodes/rst.el: Always require `cl'.
7960         (rst-mode-map): Fix meaning of C-M-a / C-M-e.
7962 2012-06-02  Chong Yidong  <cyd@gnu.org>
7964         * image.el (imagemagick-enabled-types): Rename from
7965         imagemagick-types-enable.  Add many more types.
7966         (imagemagick-types-inhibit): Change default to nil.
7967         (imagemagick-filter-types): Caller changed.
7969 2012-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
7971         * emacs-lisp/cl-macs.el: Use backquotes.
7972         (cl-transform-function-property): Use eval-and-compile rather than
7973         abusing `require'.
7974         (defstruct): Use declare-function instead of with-no-warnings.
7976         * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
7977         (byte-compile-output-docform): Re-add the print-circle bindings.
7978         (byte-compile-fix-header): Use #$ just because it's shorter.
7979         (byte-compile-output-file-form): Remove defun/defmacro.
7981 2012-06-01  Martin Rudalics  <rudalics@gmx.at>
7983         * simple.el (choose-completion): Remove now obsolete binding for
7984         owindow.
7986 2012-06-01  Michael Albinus  <michael.albinus@gmx.de>
7988         * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
7989         in order to avoid "Stack overflow in regexp matcher".
7991 2012-05-31  Glenn Morris  <rgm@gnu.org>
7993         * image.el: For clarity, call imagemagick-register-types at
7994         top-level, rather than relying on a custom :initialize.
7995         (imagemagick-types-enable): New option.  (Bug#11557)
7996         (imagemagick-filter-types): New function.  (Bug#7406)
7997         (imagemagick-register-types): Use imagemagick-filter-types.
7998         If disabling support, remove elements altogether rather
7999         than using an impossible regexp.
8000         (imagemagick-types-inhibit): Give it the default init function.
8002 2012-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
8004         * emacs-lisp/bytecomp.el (byte-compile-fix-header):
8005         Handle arbitrary file name lengths (Bug#11585).
8007 2012-05-31  Martin Rudalics  <rudalics@gmx.at>
8009         * desktop.el (desktop-read): Clear previous and next buffers for
8010         all windows and bury *Messages* buffer (bug#11556).
8012 2012-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
8014         Add `declare' for `defun'.  Align `defmacro's with it.
8015         * emacs-lisp/easy-mmode.el (define-minor-mode)
8016         (define-globalized-minor-mode): Don't autoload the var definitions.
8017         * emacs-lisp/byte-run.el: Use lexical-binding.
8018         (defun-declarations-alist, macro-declarations-alist): New vars.
8019         (defmacro, defun): Use them.
8020         (make-obsolete, define-obsolete-function-alias)
8021         (make-obsolete-variable, define-obsolete-variable-alias):
8022         Use `declare'.
8023         (macro-declaration-function): Mark obsolete.
8024         * emacs-lisp/autoload.el: Use lexical-binding.
8025         (make-autoload): Add `expansion' arg.  Rely more on macro expansion.
8027 2012-05-30  AgustĂ­n MartĂ­n Domingo  <agustin.martin@hispalinux.es>
8029         * textmodes/ispell.el (ispell-with-no-warnings):
8030         Define as a macro.
8031         (ispell-kill-ispell, ispell-change-dictionary):
8032         Use `called-interactively-p' for Emacs instead of obsolete
8033         `interactive-p'.
8035 2012-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
8037         * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
8038         (macro-declaration-function): Move var from C code.
8039         (macro-declaration-function): Define function with defalias.
8040         * emacs-lisp/macroexp.el (macroexpand-all-1):
8041         * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
8042         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
8043         defun/defmacro any more.
8044         * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
8045         Provide fallback for unknown arglist.
8046         (byte-compile-arglist-warn): Change calling convention.
8047         (byte-compile-output-file-form): Move print-vars binding.
8048         (byte-compile-output-docform): Simplify accordingly.
8049         (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
8050         (byte-compile-defmacro-declaration): Remove.
8051         (byte-compile-file-form-defmumble): Generalize to defalias.
8052         (byte-compile-output-as-comment): Return byte-positions.
8053         Simplify callers accordingly.
8054         (byte-compile-lambda): Use `assert'.
8055         (byte-compile-defun, byte-compile-defmacro): Remove.
8056         (byte-compile-file-form-defalias):
8057         Use byte-compile-file-form-defmumble.
8058         (byte-compile-defalias-warn): Remove.
8060 2012-05-29  Stefan Merten  <smerten@oekonux.de>
8062         * textmodes/rst.el: Silence `checkdoc-ispell' errors where
8063         possible.  Fix authors.  Improve comments.  Improve loading of `cl'.
8065         (rst-mode-abbrev-table): Merge definition.
8066         (rst-mode): Make sure `font-lock-defaults' is buffer local.
8067         (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
8069 2012-05-29  Ulf Jasper  <ulf.jasper@web.de>
8071         * calendar/icalendar.el
8072         (icalendar-export-region): Export UID properly.
8074 2012-05-29  Leo Liu  <sdl.web@gmail.com>
8075         * calendar/icalendar.el (icalendar-import-format):
8076         Add `icalendar-import-format-uid' (Bug#11525).
8077         (icalendar-import-format-uid): New.
8078         (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
8079         Export UID.
8081 2012-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>
8083         * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
8084         different alternative patterns.
8085         (pcase-codegen): Be more careful to preserve identity.
8086         (pcase--u1): Don't forget to mark vars as used.
8088         * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
8089         (byte-compile-close-variables): Bind byte-compile--outbuffer here...
8090         (byte-compile-from-buffer): ...rather than here.
8092         * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
8093         functions from byte-compile-function-environment.
8095 2012-05-29  Troels Nielsen  <bn.troels@gmail.com>
8097         * window.el (window-deletable-p): Avoid deleting the root window
8098         of a frame with an active minibuffer.
8100 2012-05-29  Martin Rudalics  <rudalics@gmx.at>
8102         * simple.el (choose-completion): Use quit-window (Bug#11567).
8104 2012-05-29  Chong Yidong  <cyd@gnu.org>
8106         * whitespace.el (whitespace-cleanup): Fix usage of
8107         whitespace-empty-at-bob-regexp (Bug#11492).
8109 2012-05-29  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
8111         * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
8112         revert (Bug#11488).
8114 2012-05-29  Juri Linkov  <juri@jurta.org>
8116         * isearch.el (isearch-mode-map): Bind `M-s _' to
8117         `isearch-toggle-symbol'.  Bind `M-s c' to
8118         `isearch-toggle-case-fold'.
8119         (search-map): Bind `M-s _' to `isearch-forward-symbol'.
8120         (isearch-forward): Add `M-s _' to the docstring.
8121         (isearch-forward-symbol, isearch-toggle-case-fold)
8122         (isearch-symbol-regexp): New functions.  (Bug#11381)
8124 2012-05-29  Juri Linkov  <juri@jurta.org>
8126         * isearch.el (isearch-word): Add docstring.  (Bug#11381)
8127         (isearch-occur, isearch-search-and-update): If `isearch-word' is
8128         a function, call it to get the regexp.
8129         (isearch-message-prefix): If `isearch-word' holds a symbol, use its
8130         property `isearch-message-prefix' instead of the string "word ".
8131         (isearch-search-fun-default): For the case of `isearch-word',
8132         return a lambda that calls re-search-forward/re-search-backward
8133         with a regexp returned by `word-search-regexp' or by the function
8134         in `isearch-word'.
8136 2012-05-29  Juri Linkov  <juri@jurta.org>
8138         * isearch.el (isearch-search-fun-default): New function.
8139         (isearch-search-fun): Move default part to the new function
8140         `isearch-search-fun-default'.
8141         (isearch-search-fun-function): Set the default value to
8142         `isearch-search-fun-default'.  (Bug#11381)
8144         * comint.el (comint-history-isearch-end):
8145         Use `isearch-search-fun-default'.
8146         (comint-history-isearch-search): Use `isearch-search-fun-default'
8147         and remove spacial case for `isearch-word'.
8148         (comint-history-isearch-wrap): Remove spacial case for
8149         `isearch-word'.
8151         * hexl.el (hexl-isearch-search-function):
8152         Use `isearch-search-fun-default'.
8154         * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
8155         Use `word-search-regexp' for `isearch-word'.
8157         * misearch.el (multi-isearch-search-fun):
8158         Use `isearch-search-fun-default'.
8160         * simple.el (minibuffer-history-isearch-search):
8161         Use `isearch-search-fun-default' and remove spacial case for
8162         `isearch-word'.
8163         (minibuffer-history-isearch-wrap): Remove spacial case for
8164         `isearch-word'.
8166         * textmodes/reftex-global.el (reftex-isearch-wrap-function):
8167         Remove spacial case for `isearch-word'.
8168         (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
8170 2012-05-28  AgustĂ­n MartĂ­n Domingo  <agustin.martin@hispalinux.es>
8172         Decrease XEmacs incompatibilities.
8173         * textmodes/flyspell.el (flyspell-check-pre-word-p):
8174         Use `string-match'.
8175         (flyspell-delete-region-overlays): Use alternative definition for
8176         XEmacs.
8177         (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
8178         (flyspell-word): Use `process-kill-without-query' if XEmacs.
8179         (flyspell-mode-on): Use `interactive-p' if XEmacs.
8180         (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
8181         `define-obsolete-face-alias' under XEmacs, but old method.
8183         * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
8184         `with-no-warnings' definition or Emacs alias.
8185         (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
8186         (ispell-word): Do not use `region-p' if XEmacs.
8188 2012-05-28  AgustĂ­n MartĂ­n Domingo  <agustin.martin@hispalinux.es>
8190         * textmodes/ispell.el (ispell-find-aspell-dictionaries):
8191         Check for `ispell-dictionary-base-alist' instead of full
8192         `ispell-dictionary-alist'.
8193         (ispell-init-process): Show spellchecker when starting new Ispell
8194         process.
8196 2012-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
8198         * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
8199         http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
8201 2012-05-27  Juanma Barranquero  <lekktu@gmail.com>
8203         * version.el (motif-version-string, gtk-version-string)
8204         (ns-version-string): Declare.
8206 2012-05-27  Juri Linkov  <juri@jurta.org>
8208         * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
8209         after the `eval-defun-1' specialcaseing
8210         like in `edebug-eval-defun' (bug#10181).
8212         * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
8213         like in `eval-defun-1'.
8215 2012-05-27  Eli Zaretskii  <eliz@gnu.org>
8217         * mail/sendmail.el (mail-yank-region):
8218         Recognize rmail-yank-current-message in addition to insert-buffer.
8219         Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
8220         a *mail* buffer created through rmail-start-mail with sendmail as
8221         mail-user-agent.
8223 2012-05-27  Chong Yidong  <cyd@gnu.org>
8225         * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
8226         Default to 256 (Bug#11267).
8228         * help.el (describe-mode): Doc fix.
8230 2012-05-26  Glenn Morris  <rgm@gnu.org>
8232         * w32-fns.el (w32-init-info): Remove.
8233         * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
8235         * info.el (info-initialize): For self-contained NS builds, put the
8236         included info/ directory at the front.  (Bug#2791)
8238         * paths.el (Info-default-directory-list): Make it a defcustom,
8239         mainly so that we can use custom-initialize-delay.
8241 2012-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
8243         * subr.el (buffer-has-markers-at): Mark obsolete.
8245         * subr.el (lambda): Use declare.
8247         * emacs-lisp/lisp-mode.el (lambda):
8248         * emacs-lisp/edebug.el (lambda): Move properties to its definition.
8250 2012-05-26  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
8252         * thingatpt.el (forward-same-syntax): Handle no ARG case.  (Bug#11560)
8254 2012-05-26  Glenn Morris  <rgm@gnu.org>
8256         * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
8258 2012-05-25  Glenn Morris  <rgm@gnu.org>
8260         * paths.el: Remove no-byte-compile.
8261         * loadup.el: No need to load paths.el uncompiled.
8263         * image.el (imagemagick-types-inhibit): Doc fix.
8265         * version.el: Remove no-byte-compile and associated formatting.
8266         * loadup.el: No need to load version.el uncompiled.  AFAICS, this
8267         is ancient code from when there was an "inc-vers.el".
8269 2012-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
8271         * progmodes/gdb-mi.el: Minor style changes.
8272         (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
8273         Turn into minor modes.
8274         (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
8275         (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
8276         (gdb-shell): Remove unneeded let-binding.
8277         (gdb-get-many-fields): Eliminate O(n²) behavior.
8279 2012-05-25  Eli Zaretskii  <eliz@gnu.org>
8281         * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
8282         platforms that don't link in fontset.c.
8284 2012-05-25  Juri Linkov  <juri@jurta.org>
8286         Use the same diff color scheme as in modern VCSes (bug#10181).
8288         * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
8289         to avoid confusion with `diff-added' that now uses green colors.
8290         (diff-removed): Use shades of red.
8291         (diff-added): Use shades of green.
8292         (diff-changed): Leave just the yellow color.
8293         (diff-use-changed-face): New variable.
8294         (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
8295         how to highlight context diff changes.
8296         (diff-refine-change): Use shades of yellow.
8297         (diff-refine-removed): New face that uses shades of red.
8298         (diff-refine-added): New face that uses shades of green.
8299         (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
8300         `diff-refine-removed' in the call to `smerge-refine-subst'
8301         depending on the value of `diff-use-changed-face'.
8303         * vc/smerge-mode.el (smerge-mine): Use shades of red.
8304         (smerge-other): Use shades of green.
8305         (smerge-base): Use shades of yellow.
8306         (smerge-refined-change): Empty face.
8307         (smerge-refined-removed): New face that uses shades of red.
8308         (smerge-refined-added): New face that uses shades of green.
8309         (smerge-refine-subst): Rename arg `props' to `props-c'.  Add new
8310         args `props-r' and `props-a', and use them.  Doc fix.
8311         (smerge-refine): Evaluate `smerge-use-changed-face' and depending
8312         on its value use different faces `smerge-refined-change',
8313         `smerge-refined-removed', `smerge-refined-added' in the call to
8314         `smerge-refine-subst'.
8316         * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
8317         Add face condition `min-colors 88' with shades of red.
8318         (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
8319         `min-colors 88' with shades of green.
8320         (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
8321         `min-colors 88' with shades of yellow.
8323 2012-05-24  Glenn Morris  <rgm@gnu.org>
8325         * paths.el (prune-directory-list, remote-shell-program): Move to...
8326         * files.el (prune-directory-list, remote-shell-program): ...here.
8327         For the latter, delay initialization, prefer ssh, just search PATH.
8329         * paths.el (term-file-prefix): Move to faces.el (the only user).
8330         * faces.el (term-file-prefix): Move here, make it a defcustom.
8332         * paths.el (news-directory, news-path, news-inews-program):
8333         Move to gnus/nnspool.el.
8335         * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
8337         * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
8338         * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
8339         Make the latter a defcustom, with a delayed initialization.
8341         * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
8342         These were deleted from Gnus itself late 2010.
8344 2012-05-22  Juanma Barranquero  <lekktu@gmail.com>
8346         * progmodes/which-func.el (which-func-ff-hook):
8347         Check against user-error, not error.
8349         * emacs-lisp/edebug.el (top): Do not load or set up loading of
8350         cl-specs.el, which no longer exists.
8352 2012-05-22  Glenn Morris  <rgm@gnu.org>
8354         * info.el (info-emacs-bug): New command.
8355         * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
8356         * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
8358 2012-05-21  Glenn Morris  <rgm@gnu.org>
8360         * makefile.w32-in (update-subdirs-SH):
8361         * Makefile.in (update-subdirs): Update for moved update-subdirs.
8363 2012-05-21  Stefan Monnier  <monnier@iro.umontreal.ca>
8365         * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
8367         * progmodes/compile.el (compilation-error-regexp-alist-alist):
8368         Simplify Maven regexp, and make sure the file can't start with a space
8369         (bug#11517).
8371 2012-05-21  Glenn Morris  <rgm@gnu.org>
8373         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
8374         Scrap superfluous subshells.
8376 2012-05-19  Stefan Monnier  <monnier@iro.umontreal.ca>
8378         * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
8379         (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
8381 2012-05-19  Jay Belanger  <jay.p.belanger@gmail.com>
8383         * calc/calc.el (calc-ensure-consistent-units): New variable.
8385         * calc/calc-units.el (math-consistent-units-p)
8386         (math-check-unit-consistency): New functions.
8387         (calc-quick-units, calc-convert-units):
8388         Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
8389         is non-nil.
8390         (calc-extract-units): Fix typo.
8392 2012-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
8394         * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
8396         * textmodes/flyspell.el: Commenting style, plus code simplifications.
8397         (flyspell-default-deplacement-commands): Don't spell check after
8398         repeated window/frame switches (e.g. triggered by mouse-movement).
8399         (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
8400         (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
8401         (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
8402         (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
8403         Remove unused vars.
8404         (flyspell-get-casechars, flyspell-get-not-casechars):
8405         Simplify; Don't bother removing a ] just to add it back.
8406         * textmodes/ispell.el (ispell-program-name): Use executable-find.
8408 2012-05-18  RĂ¼diger Sonderfeld  <ruediger@c-plusplus.de>
8410         * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
8411         New functions.
8412         (math-function-table): Add support for more C functions.
8414 2012-05-18  AgustĂ­n MartĂ­n Domingo  <agustin.martin@hispalinux.es>
8416         * textmodes/flyspell.el (flyspell-check-pre-word-p)
8417         (flyspell-check-word-p, flyspell-debug-signal-word-checked):
8418         Protect delay handling for otherchars against empty otherchars.
8420 2012-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
8422         * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
8423         their respective macro declarations.
8424         * skeleton.el (define-skeleton):
8425         * progmodes/compile.el (define-compilation-mode):
8426         * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
8427         (define-ibuffer-filter):
8428         * emacs-lisp/generic.el (define-generic-mode):
8429         * emacs-lisp/easy-mmode.el (define-minor-mode)
8430         (define-globalized-minor-mode):
8431         * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
8432         * emacs-lisp/byte-run.el (defsubst):
8433         * custom.el (deftheme): Add doc-string metadata.
8435 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
8437         * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
8439 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
8441         * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
8443         * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
8444         * emacs-lisp/cl-macs.el: Idem.
8445         * emacs-lisp/cl-specs.el: Remove.
8447 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
8449         Minor renaming of internal CL functions and variables.
8450         * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
8451         (cl--position): Rename from cl-position.
8452         (cl--delete-duplicates): Rename from cl-delete-duplicates.
8453         * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
8454         (cl--random-state): Rename from *random-state*.
8456 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
8458         * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
8459         parens around the arg list (bug#11499).
8461 2012-05-17  Juri Linkov  <juri@jurta.org>
8463         * isearch.el (word-search-regexp, word-search-backward)
8464         (word-search-forward, word-search-backward-lax)
8465         (word-search-forward-lax): Move functions from search.c
8466         (bug#10145, bug#11381).
8468 2012-05-16  AgustĂ­n MartĂ­n Domingo  <agustin.martin@hispalinux.es>
8470         * textmodes/flyspell.el (flyspell-check-pre-word-p)
8471         (flyspell-check-word-p, flyspell-debug-signal-word-checked):
8472         Delay for otherchars as for normal word components.
8474 2012-05-16  Stefan Monnier  <monnier@iro.umontreal.ca>
8476         * minibuffer.el (completion--sifn-requote): Fix last change.
8477         (minibuffer-local-must-match-filename-map):
8478         Move define-obsolete-variable-alias before its var.
8480 2012-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
8482         * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
8484         * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
8485         behavior.
8486         (completion--string-equal-p): New function.
8487         (completion--twq-all): Use it to get better assertion failure data.
8489         Only handle ".." and '..' quoting in shell-mode (bug#11466).
8490         * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
8491         (shell--requote-argument): New functions.
8492         (shell-completion-vars): Use them.
8493         (shell--parse-pcomplete-arguments): Rename from
8494         shell-parse-pcomplete-arguments.
8495         * comint.el (comint-word): Obey comint-file-name-quote-list.  Simplify.
8496         (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
8497         Obey comint-file-name-quote-list.
8499         * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
8500         (smie-indent-keyword): Use it.
8502 2012-05-14  Stefan Merten  <smerten@oekonux.de>
8504         * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
8506 2012-05-14  Stefan Monnier  <monnier@iro.umontreal.ca>
8508         * net/rlogin.el (rlogin-mode-map): Fix last change.
8510 2012-05-14  Jason L. Wright  <jason.wright@inl.gov>  (tiny change)
8512         * mail/smtpmail.el (smtpmail-send-command): Send the command and
8513         the following \r\n using a single `process-send-string', since the
8514         Lotus SMTP server refuses to accept any commands if they are sent
8515         with two `process-send-string's (Bug#11444).
8517 2012-05-14  Stefan Monnier  <monnier@iro.umontreal.ca>
8519         * shell.el (shell-parse-pcomplete-arguments):
8520         Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
8522 2012-05-14  Wolfgang Jenkner  <wjenkner@inode.at>
8524         * image-mode.el: Fit to width/height for rotated images (Bug#11431).
8525         (image-transform-scale, image-transform-right-angle-fudge): New vars.
8526         (image-transform-width, image-transform-fit-width): New functions.
8527         (image-transform-properties): Use them.
8528         (image-transform-check-size): New function.
8529         (image-toggle-display-image): Use it (for testing).
8530         (image-transform-set-rotation): Reduce angle mod 360.
8531         Delete obsolete comment.
8533 2012-05-14  Wolfgang Jenkner  <wjenkner@inode.at>
8535         * image-mode.el: Fix scaling (bug#11399).
8536         (image-transform-resize): Doc fix.
8537         (image-transform-properties): Default scale is 1 and height should
8538         be an integer.
8540 2012-05-13  Johan BockgĂ¥rd  <bojohan@gnu.org>
8542         * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
8543         than hard-coding `car', to fix misbehavior when moving forward.
8545 2012-05-13  Chong Yidong  <cyd@gnu.org>
8547         * emacs-lisp/tabulated-list.el (tabulated-list-format)
8548         (tabulated-list-entries, tabulated-list-padding)
8549         (tabulated-list-sort-key): Make permanent-local.
8551         * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
8552         (electric-buffer-list): Put electric buffer menu
8553         command descriptions in this docstring, instead of the docstring
8554         of electric-buffer-menu-mode.  Code cleanups.
8555         (electric-buffer-menu-mode): Use define-derived-mode.  Rename from
8556         Electric-buffer-menu-mode.
8557         (electric-buffer-update-highlight): Minor code cleanup.
8559 2012-05-13  Michael Albinus  <michael.albinus@gmx.de>
8561         * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
8562         (Bug#11447)
8564 2012-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
8566         Move define-obsolete-variable-alias before the var's definition.
8567         * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
8568         * tooltip.el (tooltip-hook):
8569         * textmodes/reftex-toc.el (reftex-toc-map):
8570         * textmodes/reftex-sel.el (reftex-select-label-map)
8571         (reftex-select-bib-map):
8572         * textmodes/reftex-index.el (reftex-index-map)
8573         (reftex-index-phrases-map):
8574         * speedbar.el (speedbar-syntax-table, speedbar-key-map):
8575         * progmodes/meta-mode.el (meta-mode-map):
8576         * novice.el (disabled-command-hook):
8577         * loadhist.el (unload-hook-features-list):
8578         * frame.el (blink-cursor):
8579         * files.el (find-file-not-found-hooks, write-file-hooks)
8580         (write-contents-hooks):
8581         * emulation/tpu-edt.el (GOLD-map):
8582         * emacs-lock.el (emacs-lock-from-exiting):
8583         * emacs-lisp/generic.el (generic-font-lock-defaults):
8584         * emacs-lisp/chart.el (chart-map):
8585         * dos-fns.el (register-name-alist):
8586         * dired-x.el (dired-omit-files-p):
8587         * desktop.el (desktop-enable):
8588         * cus-edit.el (custom-mode-hook):
8589         * buff-menu.el (buffer-menu-mode-hook):
8590         * bookmark.el (bookmark-read-annotation-text-func)
8591         (bookmark-exit-hooks):
8592         * allout.el (allout-mode-deactivate-hook)
8593         (allout-exposure-change-hook, allout-structure-added-hook)
8594         (allout-structure-deleted-hook, allout-structure-shifted-hook):
8595         * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
8596         (dirtrack-debug): Move call to define-obsolete-variable-alias so it
8597         comes before the corresponding variable's definition.
8599 2012-05-12  Chong Yidong  <cyd@gnu.org>
8601         * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
8602         (Buffer-menu-mouse-select): Restore function (Bug#11459).
8603         (Buffer-menu-mode-map): Bind it.
8604         (Buffer-menu--pretty-name): Add a mouse-face property.
8606 2012-05-11  Stefan Monnier  <monnier@iro.umontreal.ca>
8608         * progmodes/prolog.el: Use SMIE.  Cleanup regexp setup.
8609         (prolog-upper-case-string, prolog-lower-case-string)
8610         (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
8611         (prolog-use-smie, prolog-smie-grammar): New vars.
8612         (prolog-smie-forward-token, prolog-smie-backward-token)
8613         (prolog-smie-rules): New funs.
8614         (prolog-comment-indent): Remove.
8615         (prolog-mode-variables): Use default comment indentation instead.
8616         Setup SMIE.
8617         (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
8618         (prolog-mode): Don't call them any more.
8619         (prolog-electric-colon, prolog-electric-dash)
8620         (prolog-edit-menu-insert-move): Use indent-according-to-mode.
8622         * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
8624         * minibuffer.el (completion--twq-all): Again, allow case differences.
8626         * term.el: Move keymap initialization code to be more idiomatic.
8627         (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
8628         (term-terminal-menu): Move initialization into declaration.
8629         (term-escape-char): Let the user set it in her .emacs.
8631         * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
8632         Provide SMIE-based indentation (not enabled by default yet).
8633         (sh-mode-map): Don't bind electric keys.
8634         Use electric-pair-mode instead of skeleton-pair.
8635         (sh-assignment-regexp): Fit within 80 columns.
8636         (sh-indent-supported): Specify actual shell name instead of boolean.
8637         (sh--maybe-here-document): New fun, from sh-maybe-here-document.
8638         (sh-maybe-here-document): Use it.  Make obsolete.
8639         (sh-electric-here-document-mode) New minor mode.
8640         (sh-mode): Use it.  Don't set sh-indent-supported-here here.
8641         (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
8642         (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
8643         (sh-smie-rc-grammar, sh-use-smie): New vars.
8644         (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
8645         (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
8646         (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
8647         (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
8648         (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
8649         (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
8650         (sh-set-shell): Use smie-setup if requested.
8652         * term.el (term-set-escape-char): Properly set term-escape-char.
8653         See http://stackoverflow.com/questions/10524656.
8655 2012-05-10  Chong Yidong  <cyd@gnu.org>
8657         * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
8658         Use url-generic-parse-url, and handle host names and Windows
8659         filenames properly.
8660         (ffap-url-unwrap-remote): Use url-generic-parse-url.
8661         (ffap-url-unwrap-remote): Accept list values, specifying a list of
8662         URL schemes to work on.
8663         (ffap--toggle-read-only): New function.
8664         (ffap-read-only, ffap-read-only-other-window)
8665         (ffap-read-only-other-frame): Use it.
8666         (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
8667         necessary for ffap-url-unwrap-remote.
8669 2012-05-10  Dave Abrahams  <dave@boostpro.com>
8671         * cus-start.el (create-lockfiles): Add it.
8673 2012-05-09  Chong Yidong  <cyd@gnu.org>
8675         * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
8676         (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
8678 2012-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
8680         * shell.el (shell-completion-vars): Fix last change (bug#11348).
8682 2012-05-09  Chong Yidong  <cyd@gnu.org>
8684         * ansi-color.el (ansi-color-process-output): Check for validity of
8685         comint-last-output-start before using it.  This avoids a bad
8686         interaction with gdb-mi's input/output buffer.
8688 2012-05-09  Glenn Morris  <rgm@gnu.org>
8690         * files.el (dir-locals-read-from-file):
8691         Mention dir-locals in any error message.
8693 2012-05-09  Chong Yidong  <cyd@gnu.org>
8695         * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
8696         package (Bug#11410).
8698         * emacs-lisp/package.el (package-buffer-info): Avoid putting local
8699         variables into description.
8701 2012-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
8703         * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
8704         shell-delimiter-argument-list (bug#11348).
8705         (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
8707 2012-05-09  Juanma Barranquero  <lekktu@gmail.com>
8709         * textmodes/rst.el: Silence byte-compiler warnings.
8710         (rst-re-alist, rst-reset-section-caches): Move around.
8711         (rst-re): Use `characterp', not `char-valid-p'.
8712         (font-lock-beg, font-lock-end): Declare.
8714         * progmodes/idlw-shell.el (specs): Remove reference to deleted
8715         variable `idlwave-shell-activate-alt-keybindings' and simplify.
8717         * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
8719 2012-05-08  Glenn Morris  <rgm@gnu.org>
8721         * files.el (auto-mode-alist): Treat ".make" like ".mk".
8723 2012-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
8725         * vc/log-edit.el: Add GNU coding standards highlighting.
8726         (log-edit-font-lock-gnu-style)
8727         (log-edit-font-lock-gnu-keywords): New vars.
8728         (log-edit-font-lock-keywords): New fun.
8729         (log-edit-mode): Don't fold case in font-lock.
8730         (log-edit-font-lock-keywords): Do not assume case-folding.
8732         * imenu.el: Misc cleanup.  Make docstrings out of comments.
8733         Use lexical-binding.
8734         (imenu--index-alist, imenu--last-menubar-index-alist)
8735         (imenu-menubar-modified-tick): Use defvar-local.
8736         (imenu--split-menu): Remove unused var.
8737         (imenu--cleanup-seen): Declare as global.
8738         (imenu--cleanup): Use dolist.
8740         * subr.el (defvar-local): Add debug spec and doc-string position.
8742 2012-05-08  Glenn Morris  <rgm@gnu.org>
8744         * language/burmese.el, language/cham.el, language/czech.el:
8745         * language/english.el, language/georgian.el, language/greek.el:
8746         * language/japanese.el, language/khmer.el, language/korean.el:
8747         * language/lao.el, language/misc-lang.el, language/romanian.el:
8748         * language/sinhala.el, language/slovak.el, language/tai-viet.el:
8749         * language/thai.el, language/utf-8-lang.el:
8750         Remove no-byte-compile setting.
8752         * play/zone.el (zone-pgm-stress): Don't pollute kill-ring.  (Bug#11388)
8754 2012-05-08  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
8756         * progmodes/make-mode.el (makefile-browse):
8757         Remove unnecessary interactive.  (Bug#11324)
8759 2012-05-07  Glenn Morris  <rgm@gnu.org>
8761         * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
8763         * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
8765 2012-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
8767         * loadup.el: Preload newcomment.el.
8768         * newcomment.el: Move autoload-only code to toplevel.
8770         * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
8771         * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
8772         Handle new :right-align column property.
8773         (tabulated-list-print-col): Idem, plus use `display' text-property to
8774         try and preserve alignment for variable pitch fonts.
8776 2012-05-07  Chong Yidong  <cyd@gnu.org>
8778         * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
8779         (tabulated-list-use-header-line): New var.
8780         (tabulated-list-init-header): Use it.
8781         (tabulated-list-print-fake-header): New function.
8782         (tabulated-list-print): Use it.
8783         (tabulated-list-sort-button-map): Add non-header-line commands.
8784         (tabulated-list-init-header): Add column name property to basic
8785         labels as well.
8786         (tabulated-list-col-sort): Handle non-header-line button case.
8787         (tabulated-list--sort-by-column-name): Fix a corner case.
8789         * buff-menu.el (list-buffers--refresh):
8790         Handle Buffer-menu-use-header-line.
8792 2012-05-06  Chong Yidong  <cyd@gnu.org>
8794         * buff-menu.el: Convert to Tabulated List mode.
8795         (Buffer-menu-buffer+size-width): Make obsolete.
8796         (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
8797         (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
8798         (Buffer-menu-mode): Derive from tabulated-list-mode.  Move command
8799         documentation into docstring of buffer-menu.
8800         (Buffer-menu-toggle-files-only): Add an informative message.
8801         (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
8802         (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
8803         (Buffer-menu-unmark, Buffer-menu-backup-unmark)
8804         (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
8805         (Buffer-menu-execute, Buffer-menu-select)
8806         (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
8807         (Buffer-menu-bury): Use Tabulated List machinery.
8808         (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
8809         (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
8810         Delete.
8811         (list-buffers--refresh): New function.
8812         (list-buffers-noselect): Use it.
8813         (tabulated-list-entry-size->, Buffer-menu--pretty-name)
8814         (Buffer-menu--pretty-file-name): New helper functions.
8816         * loadup.el: Preload tabulated-list.
8818         * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
8819         tabulated-list-sort-column.
8820         (tabulated-list-init-header): Add the initial aligning space even
8821         if tabulated-list-padding is zero.
8823 2012-05-06  Christopher Schmidt  <christopher@ch.ristopher.com>
8825         * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
8826         whose cdr is not a cons cell correctly (bug#11038).
8828 2012-05-06  Chong Yidong  <cyd@gnu.org>
8830         * emacs-lisp/tabulated-list.el (tabulated-list-format):
8831         Accept additional plist in column descriptors.
8832         (tabulated-list-init-header): Obey it.
8833         (tabulated-list-get-entry): New function.
8834         (tabulated-list-put-tag): Use it.  Use string-width instead of
8835         length.
8836         (tabulated-list--column-number): New function.
8837         (tabulated-list-print): Use it.
8838         (tabulated-list-print-col): New function.
8839         Set `tabulated-list-column-name' property on each column's text.
8840         (tabulated-list-print-entry): Use it.
8841         (tabulated-list-delete-entry, tabulated-list-set-col):
8842         New functions.
8843         (tabulated-list-sort-column): New command (Bug#11337).
8845         * buff-menu.el (list-buffers): Move C-x C-b binding from
8846         buff-menu.el to bindings.el.
8848         * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
8849         :advertised-binding feature.
8851 2012-05-06  Troels Nielsen  <bn.troels@gmail.com>  (tiny change)
8853         * progmodes/compile.el (compilation-internal-error-properties):
8854         Calculate start position correctly when end-col is set but
8855         end-line is not (Bug#11382).
8857 2012-05-06  Wolfgang Jenkner  <wjenkner@inode.at>
8859         * man.el (Man-unindent): Use text-property-default-nonsticky to
8860         prevent untabify from inheriting face properties (Bug#11408).
8862 2012-05-05  Stefan Merten  <smerten@oekonux.de>
8864         * textmodes/rst.el: Major merge with upstream development up to
8865         Docutils SVN r7399 / rst.el V1.2.1.
8867         Clarify maintainership and authors.
8869         (rst-extract-version, rst-cvs-header, rst-cvs-rev)
8870         (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
8871         (rst-official-version, rst-official-cvs-rev, rst-version)
8872         (rst-package-emacs-version-alist): New functions and variables
8873         for version information.
8875         (rst-bullets, rst-uri-schemes, rst-adornment-chars)
8876         (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
8877         (rst-mode-syntax-table, rst-mode): New and corrected functions
8878         and variables representing reStructuredText features.
8880         (rst-re): New function for reStructuredText regexes.  Use in
8881         many places.
8883         (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
8884         (rst-mode-map): Rebind keys.
8886         (rst-mode-lazy, rst-font-lock-keywords)
8887         (rst-font-lock-extend-region)
8888         (rst-font-lock-extend-region-internal)
8889         (rst-font-lock-extend-region-extend)
8890         (rst-font-lock-find-unindented-line-limit)
8891         (rst-font-lock-find-unindented-line-match)
8892         (rst-adornment-level, rst-font-lock-adornment-level)
8893         (rst-font-lock-adornment-match)
8894         (rst-font-lock-handle-adornment-pre-match-form)
8895         (rst-font-lock-handle-adornment-matcher): Major revision of
8896         font-locking.  Integrate with other code.  Use `jit-lock-mode'.
8898         (rst-preferred-adornments, rst-adjust-hook)
8899         (rst-new-adornment-down, rst-preferred-bullets)
8900         (rst-preferred-bullets, rst-indent, rst-indent-width)
8901         (rst-indent-field, rst-indent-literal-normal)
8902         (rst-indent-literal-minimized, rst-indent-comment): Change,
8903         extend and improve customization.
8905         (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
8906         (rst-normalize-cursor-position, rst-get-decoration)
8907         (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
8908         (rst-rstrip, rst-toc-insert-find-delete-contents)
8909         (rst-shift-fill-region, rst-compute-bullet-tabs)
8910         (rst-debug-print-tabs, rst-debug-mark-found)
8911         (rst-shift-region-guts, rst-shift-region-right)
8912         (rst-shift-region-left, rst-use-char-classes)
8913         (rst-font-lock-keywords-function)
8914         (rst-font-lock-indentation-point)
8915         (rst-font-lock-find-unindented-line-begin)
8916         (rst-font-lock-find-unindented-line-end)
8917         (rst-font-lock-find-unindented-line)
8918         (rst-font-lock-adornment-point, rst-font-lock-level)
8919         (rst-adornment-level-alist): Remove functions and variables.
8921         (rst-compare-adornments, rst-get-adornment-match)
8922         (rst-suggest-new-adornment, rst-get-adornments-around)
8923         (rst-adornment-complete-p, rst-get-next-adornment)
8924         (rst-adjust-adornment, rst-display-adornments-hierarchy)
8925         (rst-straighten-adornments): Standardize function names to
8926         use "adornment" instead of "decoration".  Correct callers.
8927         Similar standardizing in many places.
8929         (rst-update-section, rst-adjust, rst-promote-region)
8930         (rst-enumerate-region, rst-bullet-list-region)
8931         (rst-repeat-last-character): Correct use of `interactive'.
8933         (rst-classify-adornment, rst-find-all-adornments)
8934         (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
8935         (rst-find-leftmost-column, rst-repeat-last-character):
8936         Refactor functions.
8938         (rst-find-title-line, rst-reset-section-caches)
8939         (rst-get-adornments-around, rst-adjust-adornment-work)
8940         (rst-arabic-to-roman, rst-roman-to-arabic)
8941         (rst-insert-list-pos, rst-insert-list-new-item)
8942         (rst-insert-list-continue, rst-insert-list, rst-forward-line):
8943         New functions.
8945         (rst-all-sections, rst-section-hierarchy)
8946         (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
8947         New variables.
8949         (rst-toc-return-wincfg, rst-toc-quit-window): Use window
8950         configuration instead of only buffer.  Change where necessary.
8952         (rst-line-tabs, rst-compute-tabs, rst-indent-line)
8953         (rst-shift-region, rst-adaptive-fill): New functions for
8954         indentation and filling.
8956         (rst-comment-line-break, rst-comment-indent)
8957         (rst-comment-insert-comment, rst-comment-region)
8958         (rst-uncomment-region): New functions for handling comments.
8960         (rst-compile): Quote shell arguments.
8962         (rst-compile-pdf-preview, rst-compile-slides-preview):
8963         Delete temporary files after use.
8965 2012-05-05  Glenn Morris  <rgm@gnu.org>
8967         * calendar/cal-html.el: Optionally include holidays in the output.
8968         Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
8969         (cal-html-holidays): New option.
8970         (cal-html-css-default): Add holiday entry.
8971         (holiday-in-range): Autoload it.
8972         (cal-html-htmlify-entry): Add optional class argument.
8973         (cal-html-htmlify-list): Add optional holidays argument.
8974         (cal-html-insert-agenda-days): Include holidays in the output.
8975         (cal-html-one-month): Maybe include holidays.
8977         * calendar/holidays.el (holiday-in-range):
8978         Move here from cal-tex-list-holidays.
8979         * calendar/cal-tex.el (cal-tex-list-holidays):
8980         Make it an obsolete alias for holiday-in-range.  Update all callers.
8982 2012-05-05  Chong Yidong  <cyd@gnu.org>
8984         * select.el (xselect--encode-string): Always use utf-8 for TEXT on
8985         Nextstep.
8987 2012-05-05  Ransom Williams  <auvergnerw@gmail.com>  (tiny change)
8989         * files.el (file-auto-mode-skip): New var.
8990         (set-auto-mode-1): Use it.
8992 2012-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
8994         * repeat.el: Use lexical-binding.
8995         (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
8996         (repeat-undo-count): Remove.
8997         (repeat):
8998         * progmodes/octave-mod.el (octave-abbrev-start):
8999         * progmodes/f90.el (f90-abbrev-start):
9000         * face-remap.el (text-scale-adjust):
9001         * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
9003         * emacs-lisp/pcase.el (pcase--let*): New function.
9004         (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
9005         a bit more.
9006         (pcase--split-pred): Be more clever about ruling out overlap between
9007         a predicate and some constant pattern.
9008         (pcase--q1): Use `null' instead of (eq foo nil).
9010         * subr.el (setq-local, defvar-local): New macros.
9011         (kbd): Redefine as an alias.
9012         (with-selected-window): Leave unrelated frames alone.
9013         (set-temporary-overlay-map): New function.
9015 2012-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
9017         * subr.el (user-error): New function.
9018         * window.el (switch-to-buffer):
9019         * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
9020         (smerge-match-conflict):
9021         * simple.el (previous-matching-history-element)
9022         (next-matching-history-element, goto-history-element, undo-more)
9023         (undo-start):
9024         * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
9025         (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
9026         (next-file, tags-loop-scan, list-tags, complete-tag):
9027         * progmodes/compile.el (compilation-loop):
9028         * mouse.el (mouse-minibuffer-check):
9029         * man.el (Man-bgproc-sentinel, Man-goto-page):
9030         * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
9031         (Info-history-forward, Info-follow-reference, Info-menu)
9032         (Info-extract-menu-item, Info-extract-menu-counting)
9033         (Info-forward-node, Info-backward-node, Info-next-menu-item)
9034         (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
9035         (Info-next-reference, Info-prev-reference, Info-index)
9036         (Info-index-next, Info-follow-nearest-node)
9037         (Info-copy-current-node-name):
9038         * imenu.el (imenu--make-index-alist)
9039         (imenu-default-create-index-function, imenu-add-to-menubar):
9040         * files.el (basic-save-buffer, recover-file):
9041         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
9042         * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
9043         (checkdoc-message-text, checkdoc-defun):
9044         * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
9045         * cus-edit.el (customize-changed-options, customize-rogue)
9046         (customize-saved, custom-variable-set, custom-variable-mark-to-save)
9047         (custom-variable-mark-to-reset-standard)
9048         (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
9049         (custom-file):
9050         * completion.el (check-completion-length):
9051         * comint.el (comint-search-arg)
9052         (comint-previous-matching-input-string-position)
9053         (comint-previous-matching-input)
9054         (comint-replace-by-expanded-history-before-point, comint-send-input)
9055         (comint-copy-old-input, comint-backward-matching-input)
9056         (comint-goto-process-mark, comint-set-process-mark):
9057         * calendar/calendar.el (calendar-cursor-to-date): Use it.
9058         * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
9060 2012-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
9062         * dabbrev.el (dabbrev--ignore-case-p): New function.
9063         (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
9064         Use it.
9066         * files.el (automount-dir-prefix): Mark as obsolete.
9068 2012-05-04  Glenn Morris  <rgm@gnu.org>
9070         * patcomp.el, play/bruce.el: Move to obsolete/.
9072 2012-05-04  Paul Eggert  <eggert@cs.ucla.edu>
9074         Fix minor Y10k bugs.
9075         * arc-mode.el (archive-unixdate):
9076         * autoinsert.el (auto-insert-alist):
9077         * calc/calc-forms.el (math-this-year):
9078         * emacs-lisp/copyright.el (copyright-current-year)
9079         (copyright-update-year, copyright):
9080         * tar-mode.el (tar-clip-time-string):
9081         * time.el (display-time-update):
9082         Don't assume years have 4 digits.
9084 2012-05-04  Chong Yidong  <cyd@gnu.org>
9086         * dos-w32.el (file-name-buffer-file-type-alist)
9087         (direct-print-region-use-command-dot-com):
9088         * ffap.el (ffap-menu-regexp):
9089         * find-file.el (ff-special-constructs):
9090         * follow.el (follow-debug):
9091         * forms.el (forms--debug):
9092         * iswitchb.el (iswitchb-all-frames):
9093         * ido.el (ido-all-frames):
9094         * emacs-lisp/timer.el (timer-max-repeats):
9095         * mail/feedmail.el (feedmail-mail-send-hook)
9096         (feedmail-mail-send-hook-queued):
9097         * mail/footnote.el (footnote-signature-separator):
9098         * mail/mailabbrev.el (mail-alias-separator-string)
9099         (mail-abbrev-mode-regexp):
9100         * mail/rmail.el (rmail-speedbar-match-folder-regexp):
9101         * progmodes/idlwave.el (idlwave-libinfo-file)
9102         (idlwave-default-completion-case-is-down)
9103         (idlwave-library-routines): Convert defvars to defcustoms.
9105         * mail/rmail.el (rmail-decode-mime-charset):
9106         * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
9107         (idlwave-shell-fix-inserted-breaks)
9108         (idlwave-shell-activate-alt-keybindings)
9109         (idlwave-shell-use-breakpoint-glyph):
9110         * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
9112 2012-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
9114         * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
9116 2012-05-03  Wilson Snyder  <wsnyder@wsnyder.org>
9118         * progmodes/verilog-mode.el (font-lock-keywords):
9119         Fix mis-highligting auto.  Reported by Craig Barner.
9120         (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
9121         defines from global name space.  Reported by Dan Dever.
9122         (verilog-auto-reset, verilog-auto-reset-widths)
9123         (verilog-auto-tieoff): Support using unbased numbers for
9124         AUTORESET and AUTOTIEOFF.
9125         (verilog-submit-bug-report): Update variable list.
9126         (verilog-read-auto-params): Fix AUTOINPUT regexps containing
9127         parenthesis from not matching.  Reported by Michael Rytting.
9128         (verilog-auto-template-lint): Fix hash error when linting modules
9129         with no used templates.
9130         (verilog-warn, verilog-warn-error)
9131         (verilog-warn-fatal): When non-interactive report multiple
9132         warnings before exiting.  Suggested by Brad Dobbie.
9133         (verilog-auto-template-lint, verilog-auto-template-warn-unused)
9134         (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
9135         to report unused template errors.  Reported by Brad Dobbie.
9136         (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
9137         nets, bug438.  Reported by Vns Blore.
9138         (verilog-auto-inout-module, verilog-auto-reg)
9139         (verilog-read-decls, verilog-read-sub-decls-sig)
9140         (verilog-signals-edit-wire-reg, verilog-signals-with):
9141         Fix passing of Verilog data types in ANSI input/output ports
9142         such as "output logic" into the AUTOs.  Special case "wire" and
9143         "reg" for backwards compatibility presuming Verilog 2001.
9144         (verilog-auto-ascii-enum): Add "auto enum" as alias.
9145         (verilog-preprocess): Fix replication of preprocess output.
9146         Reported by Brad Dobbie.
9147         (verilog-auto-inst-interfaced-ports):
9148         Create verilog-auto-inst-interfaced-ports, bug429.
9149         Reported by Julian Gorfajn.
9150         (verilog-after-save-font-hook)
9151         (verilog-before-save-font-hook): New variable.
9152         (verilog-modi-cache-results, verilog-save-font-mod-hooked)
9153         (verilog-save-font-mods): Wrap disabling fontification, reported
9154         by David Rogoff.
9155         (verilog-do-indent, verilog-pretty-declarations-auto)
9156         (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
9157         Reported by Pierre-David Pfister.
9158         (verilog-set-auto-endcomments): Fix endtask auto comments outside
9159         of class declarations, bug292.  Reported by Kevin Heilman.
9160         (verilog-read-decls): Fix 'parameter type' not appearing in
9161         AUTOINSTPARAM, bug340.  Reported by Jonathan Greenlaw.
9162         (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
9163         AUTOINPUTs, bug411.  Reported by Jonathan Greenlaw.
9164         (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
9165         Reported by David Kravitz.
9167 2012-05-03  Michael McNamara  <mac@mail.brushroad.com>
9169         * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
9170         assignment with tests in ifs and for loops.
9171         (verilog-extended-complete-re, verilog-complete-reg): Change so
9172         that DPI inport functions don't look like fuction declarations.
9173         (verilog-pretty-expr): Don't line up assignment
9174         operations to the test and increment in if and for loops
9175         (verilog-extended-complete-re, verilog-complete-reg): Change so
9176         that DPI inport functions don't look like fuction declarations.
9178 2012-05-03  Kenichi Handa  <handa@m17n.org>
9180         * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
9181         decoding, and show a warning message without signaling an error
9182         (Bug#11282).
9184 2012-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
9186         * emacs-lisp/bytecomp.el
9187         (byte-compile-file-form-custom-declare-variable): Compile all elements,
9188         since cconv.el might have introduced :fun-body, internal-make-closure,
9189         and friends for bytecomp to handle (bug#11391).
9190         * custom.el (defcustom): Avoid ((λ ..) ..).
9192 2012-05-02  Stefan Monnier  <monnier@iro.umontreal.ca>
9194         * subr.el (read-passwd): Better clean after ourselves (bug#11392).
9196 2012-05-02  Juanma Barranquero  <lekktu@gmail.com>
9198         * notifications.el (dbus-debug):
9199         * term/linux.el (gpm-mouse-enable):
9200         * term/screen.el (xterm-register-default-colors): Declare.
9202 2012-05-02  Chong Yidong  <cyd@gnu.org>
9204         * cus-start.el (gc-cons-percentage, exec-suffixes)
9205         (dos-display-scancodes, dos-hyper-key, dos-super-key)
9206         (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
9207         (make-cursor-line-fully-visible, void-text-area-pointer)
9208         (font-list-limit): Add customization data.
9210         * allout.el (allout-exposure-change-functions)
9211         (allout-structure-added-functions)
9212         (allout-structure-deleted-functions)
9213         (allout-structure-shifted-functions): Rename abnormal hooks from
9214         *-hook, and convert to defcustoms.
9215         (allout-after-copy-or-kill-hook, allout-post-undo-hook):
9216         Convert to defcustoms.
9217         (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
9219         * allout-widgets.el: Hook callers changed.
9221 2012-05-02  Eli Zaretskii  <eliz@gnu.org>
9223         * mail/rmail.el (rmail-yank-current-message): Use the encoding of
9224         the yanked message in preference to the default value of
9225         buffer-file-coding-system.
9227 2012-05-02  Martin Rudalics  <rudalics@gmx.at>
9229         * window.el (display-buffer--action-function-custom-type):
9230         Fix entry.
9232 2012-05-02  Alan Mackenzie  <acm@muc.de>
9234         * progmodes/cc-defs.el (c-version): Update to 5.32.3.
9236 2012-05-01  Glenn Morris  <rgm@gnu.org>
9238         * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
9240         * eshell/esh-cmd.el (eshell-debug-command): Doc fix.  Add :set.
9242         * cus-edit.el (custom-variable-documentation): Simplify with format.
9244 2012-05-01  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
9245             Stefan Monnier  <monnier@iro.umontreal.ca>
9247         * simple.el (suggest-key-bindings, execute-extended-command):
9248         Move from keyboard.c.
9250 2012-05-01  Chong Yidong  <cyd@gnu.org>
9252         * follow.el: Eliminate advice.
9253         (set-process-filter, process-filter, sit-for): Advice deleted.
9254         (follow-mode-off-hook): Obsolete hook removed.
9255         (follow-avoid-tail-recenter-p, follow-process-filter-alist):
9256         Vars deleted.
9257         (follow-auto): Use a :set function.
9258         (follow-mode): Rewritten.  Don't advise process filters.
9259         (follow-switch-to-current-buffer-all, follow-scroll-up)
9260         (follow-scroll-down): Assume follow-mode is bound.
9261         (follow-comint-scroll-to-bottom)
9262         (follow-align-compilation-windows): New functions.
9263         (follow--window-sorter): New function.
9264         (follow-all-followers): Use it to explicitly sort windows by their
9265         positions; don't make assumptions about next-window order.
9266         (follow-windows-start-end, follow-delete-other-windows-and-split)
9267         (follow-calc-win-start): Doc fix.
9268         (follow-windows-aligned-p, follow-select-if-visible): Don't call
9269         vertical-motion unnecessarily.
9270         (follow-adjust-window): New function.
9271         (follow-post-command-hook): Use it.
9272         (follow-call-set-process-filter, follow-call-process-filter)
9273         (follow-intercept-process-output, follow-tidy-process-filter-alist)
9274         (follow-stop-intercept-process-output, follow-generic-filter):
9275         Functions deleted.
9276         (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
9277         (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
9278         New functions, replacing advice on scroll-bar-* commands.
9279         (follow-mwheel-scroll): New function (Bug#4112).
9281         * comint.el (comint-adjust-point): New function.
9282         (comint-postoutput-scroll-to-bottom): Use it.
9283         Call follow-comint-scroll-to-bottom for Follow mode buffers.
9285 2012-05-01  Glenn Morris  <rgm@gnu.org>
9287         * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
9288         * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
9289         * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
9290         * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
9291         * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
9292         Remove no-byte-compile setting.
9294 2012-05-01  Stefan Monnier  <monnier@iro.umontreal.ca>
9296         * minibuffer.el (completion-table-with-quoting): Fix compatibility
9297         all-completions code to not return a number in the last cdr.
9299 2012-04-30  Leo Liu  <sdl.web@gmail.com>
9301         * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
9302         read-only error.
9304 2012-04-29  Chong Yidong  <cyd@gnu.org>
9306         * follow.el (follow-calc-win-end): Rewrite to handle partial
9307         screen lines correctly (Bug#8390).
9308         (follow-avoid-tail-recenter): Minor cleanup.
9310 2012-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
9312         Avoid the obsolete `assoc' package.
9313         * speedbar.el (speedbar-refresh): Avoid adelete.
9314         (speedbar-file-lists): Simplify and avoid aput.
9315         * man.el (Man--sections, Man--refpages): New vars, replacing
9316         Man-sections-alist and Man-refpages-alist.
9317         (Man-build-section-alist, Man-build-references-alist):
9318         Use them; avoid aput.
9319         (Man--last-section, Man--last-refpage): New vars.
9320         (Man-follow-manual-reference): Use them.
9321         Use the `default' arg of completing-read.
9322         (Man-goto-section): Idem.  Move prompt to the `interactive' spec.
9324 2012-04-27  Chong Yidong  <cyd@gnu.org>
9326         * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
9328         * startup.el (x-apply-session-resources): New function.
9330         * term/ns-win.el (ns-initialize-window-system):
9331         * term/w32-win.el (w32-initialize-window-system):
9332         * term/x-win.el (x-initialize-window-system): Use it to properly
9333         set menu-bar-mode and other vars from X resources, even if the
9334         initial frame is not a window-system frame (Bug#2299).
9336         * subr.el (read-key): Avoid running filter function when setting
9337         up temporary tool bar entries (Bug#9922).
9339 2012-04-27  Andreas Schwab  <schwab@linux-m68k.org>
9341         * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
9342         (Bug#11344)
9344 2012-04-27  Chong Yidong  <cyd@gnu.org>
9346         * select.el (xselect--encode-string): New function, split from
9347         xselect-convert-to-string.
9348         (xselect-convert-to-string): Use it.
9349         (xselect-convert-to-filename, xselect-convert-to-os)
9350         (xselect-convert-to-host, xselect-convert-to-user): Ensure that
9351         returned strings are properly encoded (Bug#11315).
9353 2012-04-27  Chong Yidong  <cyd@gnu.org>
9355         * simple.el (delete-active-region): Move to killing custom group.
9357 2012-04-27  Andreas Schwab  <schwab@linux-m68k.org>
9359         * progmodes/which-func.el (which-func-current): Quote %
9360         characters for mode-line processing.
9362 2012-04-27  Chong Yidong  <cyd@gnu.org>
9364         * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
9365         reaching eob (Bug#11286).
9367 2012-04-27  Eli Zaretskii  <eliz@gnu.org>
9369         * progmodes/gdb-mi.el (gdb-control-level): New variable.
9370         (gdb): Make it buffer-local and init to zero.
9371         (gdb-control-commands-regexp): New variable.
9372         (gdb-send): Don't wrap in "-interpreter-exec console" if
9373         gdb-control-level is positive.  Increment gdb-control-level
9374         whenever the command matches gdb-control-commands-regexp, and
9375         decrement it each time the command is "end".  (Bug#11279)
9377 2012-04-27  Martin Rudalics  <rudalics@gmx.at>
9379         * window.el (adjust-window-trailing-edge, enlarge-window)
9380         (shrink-window, window-resize):
9381         * mouse.el (mouse-drag-line): Fix resizing of minibuffer
9382         windows (Bug#11276).
9384 2012-04-27  Chong Yidong  <cyd@gnu.org>
9386         * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
9387         fix "missing prefix" warning.  All callers changed.
9389 2012-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
9391         * emacs-lisp/assoc.el: Move to obsolete/.
9393 2012-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
9395         * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
9397         * term/ns-win.el (ns-define-service):
9398         * progmodes/pascal.el (pascal-goto-defun):
9399         * progmodes/js.el (js--read-tab):
9400         * progmodes/etags.el (tags-lazy-completion-table):
9401         * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
9402         * emacs-lisp/ewoc.el (ewoc--wrap):
9403         * emacs-lisp/assoc.el (aput, adelete, amake):
9404         * doc-view.el (doc-view-convert-current-doc):
9405         * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
9407 2012-04-26  Chong Yidong  <cyd@gnu.org>
9409         * image.el (image-type-from-buffer): Only return supported image
9410         type (Bug#9045).
9412         * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
9413         value, for symmetry with diff-end-of-hunk.
9414         (diff-split-hunk, diff-find-source-location)
9415         (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
9416         (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
9417         (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
9418         compute the relevant hunk or file properly (Bug#6005).
9419         (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
9421 2012-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
9423         * vc/vc-mtn.el:
9424         * vc/vc-hg.el:
9425         * vc/vc-git.el:
9426         * vc/vc-dir.el:
9427         * vc/vc-cvs.el:
9428         * vc/vc-bzr.el:
9429         * vc/vc-arch.el:
9430         * vc/vc.el: Replace lexical-let by lexical-binding.
9431         * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
9432         * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
9433         * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
9435 2012-04-26  Chong Yidong  <cyd@gnu.org>
9437         * vc/diff-mode.el (diff-undo): New command (Bug#5302).
9438         (diff-mode-shared-map): Bind it to / and [remap undo].
9440         * vc/ediff-wind.el (ediff-setup-windows-default): New function.
9441         (ediff-window-setup-function): Use it as the default, to set up
9442         windows based on whether the current frame is graphical (Bug#2138).
9443         (ediff-choose-window-setup-function-automatically): Make obsolete.
9445         * vc/ediff-init.el: Always define ediff-pixel-width/height.
9447 2012-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
9449         * ffap.el: Remove old code for obsolete package.
9450         (ffap-complete-as-file-p): Remove.
9452         Use completion-table-with-quoting for comint and pcomplete.
9453         * comint.el (comint--unquote&requote-argument)
9454         (comint--unquote-argument, comint--requote-argument): New functions.
9455         (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
9456         (comint-quote-filename): Use regexp-opt-charset.
9457         (comint--common-suffix, comint--common-quoted-suffix)
9458         (comint--table-subvert): Remove.
9459         (comint-unquote-function, comint-requote-function): New vars.
9460         (comint--complete-file-name-data): Use them with
9461         completion-table-with-quoting.
9462         * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
9463         * pcomplete.el (pcomplete-arg-quote-list)
9464         (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
9465         (pcomplete-unquote-argument-function): Default to non-nil.
9466         (pcomplete-unquote-argument): Simplify.
9467         (pcomplete--common-quoted-suffix): Remove.
9468         (pcomplete-requote-argument-function): New var.
9469         (pcomplete--common-suffix): New function.
9470         (pcomplete-completions-at-point): Use completion-table-with-quoting
9471         and completion-table-subvert.
9473         * minibuffer.el: Use completion-table-with-quoting for read-file-name.
9474         (minibuffer--double-dollars): Preserve properties.
9475         (completion--sifn-requote): New function.
9476         (completion--file-name-table): Rewrite using it and c-t-with-quoting.
9478         * minibuffer.el: Add support for completion of quoted/escaped data.
9479         (completion-table-with-quoting, completion-table-subvert): New funs.
9480         (completion--twq-try, completion--twq-all): New functions.
9481         (completion--nth-completion): New function.
9482         (completion-try-completion, completion-all-completions): Use it.
9484 2012-04-25  Leo Liu  <sdl.web@gmail.com>
9486         * progmodes/python.el (python-pdbtrack-get-source-buffer):
9487         Use compilation-message if available to find real filename.
9489 2012-04-25  Chong Yidong  <cyd@gnu.org>
9491         * vc/diff-mode.el (diff-setup-whitespace): New function.
9492         (diff-mode): Use it.
9494         * vc/diff.el (diff-sentinel):
9495         * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
9496         Whitespace mode variables based on diff style (Bug#8612).
9498 2012-04-25  Leo Liu  <sdl.web@gmail.com>
9500         * progmodes/python.el (python-send-region): Add suffix .py to the
9501         temp file.
9503         * files.el (auto-mode-alist): Use javascript-mode instead.
9505 2012-04-25  Alex Harsanyi  <AlexHarsanyi@gmail.com>
9507         Sync with soap-client repository.  Support SOAP simpleType (Bug#10331).
9509         * net/soap-client.el (soap-resolve-references-for-sequence-type)
9510         (soap-resolve-references-for-array-type): Hack to prevent self
9511         references, see Bug#9.
9512         (soap-parse-envelope): Report the contents of the 'detail' node
9513         when receiving a fault reply.
9514         (soap-parse-envelope): Report the contents of the entire 'detail' node.
9516         * net/soap-inspect.el (soap-sample-value-for-simple-type)
9517         (soap-inspect-simple-type): New function.
9519         * net/soap-client.el (soap-simple-type): New struct.
9520         (soap-default-xsd-types, soap-default-soapenc-types)
9521         (soap-decode-basic-type, soap-encode-basic-type):
9522         support unsignedInt and double basic types.
9523         (soap-resolve-references-for-simple-type)
9524         (soap-parse-simple-type, soap-encode-simple-type): New function.
9525         (soap-parse-schema): Parse xsd:simpleType declarations.
9527         * net/soap-client.el (soap-default-xsd-types)
9528         (soap-default-soapenc-types): Add integer, byte and anyURI types.
9529         (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
9530         the local name of "soapenc:Array".
9531         (soap-decode-basic-type, soap-encode-basic-type): Support encoding
9532         decoding integer, byte and anyURI xsd types.
9534 2012-04-25  Chong Yidong  <cyd@gnu.org>
9536         * cus-edit.el (custom-buffer-create-internal): Update header text.
9538 2012-04-25  Eli Zaretskii  <eliz@gnu.org>
9540         * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
9541         settings on 'system-type', not on 'window-system'.  On MS-Windows,
9542         set interactive-mode on in GDB.
9544 2012-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
9546         * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
9547         (ruby-syntax-propertize-regexp): Remove.
9548         (ruby-syntax-propertize-function): Split regexp into chunks.
9549         Match following code directly.
9551 2012-04-24  Dmitry Gutov  <dgutov@yandex.ru>
9553         * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
9554         (ruby-syntax-propertize-regexp): New function.
9555         (ruby-syntax-propertize-function): Use it to handle regexp not preceded
9556         by a special keyword.
9558         * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
9559         (ruby-syntax-general-delimiters-goto-beg)
9560         (ruby-syntax-propertize-general-delimiters): New functions.
9561         (ruby-syntax-propertize-function): Use them to handle GDL.
9562         (ruby-font-lock-keywords): Move old handling of GDL...
9563         (ruby-font-lock-syntactic-keywords): .. to here.
9564         (ruby-calculate-indent): Adjust indentation for GDL.
9566 2012-04-24  Michael Albinus  <michael.albinus@gmx.de>
9568         * notifications.el (top): Remove unneeded declarations.
9569         (notifications-specification-version): Change to "1.2".
9570         (notifications-interface, notifications-notify-method)
9571         (notifications-close-notification-method): Fix docstring.
9572         (notifications-get-capabilities-method): New defconst.
9573         (notifications-notify): Add :action-items, :resident and
9574         :transient hints.  Change "image_data" to "image-data" and
9575         "image_path" to "image-path".
9576         (notifications-get-capabilities): New defun.
9578 2012-04-24  Leo Liu  <sdl.web@gmail.com>
9580         * progmodes/python.el: Move hideshow setup to the end.
9582 2012-04-24  Martin Rudalics  <rudalics@gmx.at>
9584         * window.el (handle-select-window): Clear echo area since this is
9585         no more done by read_char (Bug#11304).
9587 2012-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
9589         * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
9590         and `/ M' to filter-derived-mode.
9591         * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
9592         (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
9593         (ibuffer-mark-by-mode): Use default rather than initial-input.
9594         (ibuffer-filter-by-derived-mode): Autoload and require-match.
9596 2012-04-24  Ivan Andrus  <darthandrus@gmail.com>  (tiny change)
9598         * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
9599         (ibuffer-filter-by-derived-mode): New filter.
9600         * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
9602 2012-04-23  Andreas Politz  <politza@fh-trier.de>
9604         * subr.el (accept-change-group): Fix arg usage (Bug#6095).
9606 2012-04-23  Chong Yidong  <cyd@gnu.org>
9608         * cus-edit.el (customize-apropos, customize-apropos-options):
9609         Disable matching of non-option variables (Bug#11176).
9610         (customize-option, customize-option-other-window)
9611         (customize-changed-options): Doc fix.
9612         (customize-apropos-options, customize-apropos-faces)
9613         (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
9615         * apropos.el (apropos-read-pattern): Make prompt less cryptic.
9616         Fix word list splitting (Bug#11132).
9617         (apropos-symbol, apropos-keybinding, apropos-label)
9618         (apropos-property, apropos-function-button)
9619         (apropos-variable-button, apropos-misc-button): New faces.
9620         (apropos-symbol-face, apropos-keybinding-face)
9621         (apropos-label-face, apropos-property-face, apropos-match-face):
9622         Variables removed (Bug#8396).
9623         (apropos-library-button, apropos-format-plist, apropos-print)
9624         (apropos-print-doc, apropos-describe-plist): Callers changed.
9626 2012-04-23  Michael Albinus  <michael.albinus@gmx.de>
9628         * net/xesam.el (xesam-mode-map): Use let-bound map in
9629         initialization.  (Bug#11292)
9631 2012-04-23  AgustĂ­n MartĂ­n Domingo  <agustin.martin@hispalinux.es>
9633         Preserve ispell session localwords when switching back to
9634         original buffer.
9636         * textmodes/ispell.el (ispell-buffer-session-localwords):
9637         New buffer-local variable to hold buffer session localwords.
9638         (ispell-kill-ispell): Add option 'clear to delete session
9639         localwords.
9640         (ispell-command-loop, ispell-change-dictionary)
9641         (ispell-buffer-local-words): Preserve session localwords when
9642         needed.
9644         * textmodes/flyspell.el (flyspell-process-localwords)
9645         (flyspell-do-correct): Preserve session localwords when needed.
9647 2012-04-23  AgustĂ­n MartĂ­n Domingo  <agustin.martin@hispalinux.es>
9649         * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
9650         using obsolete `translation-table-for-input'.
9651         (ispell-word, ispell-process-line, ispell-complete-word):
9652         Use plain `insert' instead of removed `ispell-insert-word'.
9654 2012-04-22  Chong Yidong  <cyd@gnu.org>
9656         * cus-edit.el (custom-variable-menu)
9657         (custom-variable-reset-saved, custom-face-menu)
9658         (custom-face-reset-saved): If there is no saved value, make the
9659         "reset-saved" operation bring back the default (Bug#9509).
9660         (custom-face-state): Properly detect themed faces.
9662         * faces.el (face-spec-set): Stop supporting deprecated form of
9663         third arg.
9665 2012-04-22  Michael Albinus  <michael.albinus@gmx.de>
9667         Move functions from C to Lisp.  Make non-blocking method calls
9668         the default.  Implement further D-Bus standard interfaces.
9670         * net/dbus.el (dbus-message-internal): Declare function.
9671         Remove unneeded function declarations.
9672         (defvar dbus-message-type-invalid, dbus-message-type-method-call)
9673         (dbus-message-type-method-return, dbus-message-type-error)
9674         (dbus-message-type-signal): Declare variables.  Remove local
9675         definitions.
9676         (dbus-interface-dbus, dbus-interface-peer)
9677         (dbus-interface-introspectable, dbus-interface-properties)
9678         (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
9679         Adapt docstring.
9680         (dbus-interface-objectmanager): New defconst.
9681         (dbus-call-method, dbus-call-method-asynchronously)
9682         (dbus-send-signal, dbus-method-return-internal)
9683         (dbus-method-error-internal, dbus-register-service)
9684         (dbus-register-signal, dbus-register-method): New defuns, moved
9685         from dbusbind.c
9686         (dbus-call-method-handler, dbus-setenv)
9687         (dbus-get-all-managed-objects, dbus-managed-objects-handler):
9688         New defuns.
9689         (dbus-call-method-non-blocking): Make it an obsolete function.
9690         (dbus-unregister-object, dbus-unregister-service)
9691         (dbus-handle-event, dbus-register-property)
9692         (dbus-property-handler): Obey the new structure of
9693         `bus-registered-objects'.
9694         (dbus-introspect): Use `dbus-call-method'.  Use a timeout.
9695         (dbus-get-property, dbus-set-property, dbus-get-all-properties):
9696         Use `dbus-call-method'.
9698 2012-04-22  Chong Yidong  <cyd@gnu.org>
9700         * cus-edit.el (custom-commands, custom-reset-menu)
9701         (Custom-reset-standard): Tweak labels.
9702         (custom-reset-button-menu): Change default to t.
9703         (custom-buffer-create-internal): For the custom-reset-button-menu
9704         case, put the revert button first.
9705         (custom-group-subtitle): New face.
9706         (custom-group-value-create): Align docstring to a specific column.
9708         * wid-edit.el (widget-documentation-link-add): Don't handle
9709         indentation in this function.
9710         (widget-documentation-string-indent-to): New function.
9711         (widget-documentation-string-value-create): Use it.
9713         * autorevert.el (auto-revert):
9714         * epg-config.el (epg):
9715         * ibuffer.el (ibuffer):
9716         * mpc.el (mpc):
9717         * ses.el (ses):
9718         * eshell/eshell.el (eshell):
9719         * net/ange-ftp.el (ange-ftp):
9720         * progmodes/ebnf2ps.el (postscript):
9721         * progmodes/flymake.el (flymake):
9722         * progmodes/prolog.el (prolog):
9723         * progmodes/verilog-mode.el (verilog-mode):
9724         * progmodes/which-func.el (which-func):
9725         * term/xterm.el (xterm):
9726         * textmodes/picture.el (picture):
9727         * textmodes/tildify.el (tildify):
9728         * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
9729         customization buffers.
9731 2012-04-22  Alan Mackenzie  <acm@muc.de>
9733         * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
9734         Adding a ) can hide the resulting (..) from searches.  Fix it.
9735         Bound the backward search to the position of the existing (.
9737 2012-04-21  Juanma Barranquero  <lekktu@gmail.com>
9739         * progmodes/verilog-mode.el (verilog-mode): Check whether
9740         which-func-modes is t before adding verilog-mode.
9741         Reported by Andy Moreton <andrewjmoreton@gmail.com>.
9743 2012-04-21  Leo Liu  <sdl.web@gmail.com>
9745         * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
9747 2012-04-21  Michael Vehrs  <Michael.Burschik@gmx.de>
9749         * woman.el: Add support for "T{ T}" tbl syntax, and fix the
9750         filling of the last column of a table (Bug#5635).
9751         (woman-find-next-control-line): New arg, specifying an additional
9752         regexp component for the control line.
9753         (woman2-roff-buffer): Use it.
9754         (woman-break-table): New function.
9755         (woman2-TS): Use it.
9757 2012-04-21  Chong Yidong  <cyd@gnu.org>
9759         * woman.el (woman-set-buffer-display-table, woman-decode-region)
9760         (woman-horizontal-escapes, woman-negative-vertical-space)
9761         (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
9762         (WoMan-warn-ignored): Use ?\s instead of ?\ .
9764 2012-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
9766         * minibuffer.el (completion-file-name-table): Complete user names.
9768 2012-04-20  Leo Liu  <sdl.web@gmail.com>
9770         * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
9771         and pcase-let*.
9773 2012-04-20  Chong Yidong  <cyd@gnu.org>
9775         * server.el (server-execute): Respect initial-buffer-choice if it
9776         is a string and there are no files to open (Bug#2825).
9777         (server-create-window-system-frame, server-create-tty-frame):
9778         Don't switch buffers here.
9779         (server-process-filter): Only try to open a window system frame if
9780         compiled with graphical support (Bug#8314).
9782 2012-04-20  Dan Nicolaescu  <dann@gnu.org>
9784         * battery.el (battery-echo-area-format): Display remaining time
9785         for sysfs backend too (Bug#11269).
9786         (battery-linux-sysfs): Fix conditional for the charge.
9788 2012-04-20  Chong Yidong  <cyd@gnu.org>
9790         * progmodes/gdb-mi.el (gdb): Revert previous change.
9791         (gdb-inferior-io--init-proc): New function.
9792         (gdb-init-1): Use it.
9793         (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
9794         responsible for allocating a new pty and hooking it to gdb when
9795         the old pty gets an EIO due to process exit.
9796         (gdb-delchar-or-quit): New command.  Bind it in gdb-mi buffers.
9797         (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
9798         (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
9800 2012-04-20  Eli Zaretskii  <eliz@gnu.org>
9802         * window.el (window-min-size, window-sizable, window-min-delta)
9803         (window-max-delta, window--resizable, window-resizable)
9804         (window-total-size, window-full-height-p, window-full-width-p)
9805         (window-in-direction, window--resize-mini-window, window-resize)
9806         (window--resize-child-windows-normal)
9807         (window--resize-child-windows, window--resize-siblings)
9808         (window--resize-this-window, adjust-window-trailing-edge)
9809         (enlarge-window, shrink-window): Doc fixes.
9811 2012-04-20  Chong Yidong  <cyd@gnu.org>
9813         * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
9814         New function to call delete-process on the gdb-inferior buffer's pty.
9815         (gdb-reset): Use it, instead of relying on kill-buffer to kill the
9816         pty process (Bug#11273).
9817         (gdb-update): New arg to suppress talking to the gdb process.
9818         (gdb-done-or-error): Use it.
9819         (gdb-stopped-functions): Rename from gdb-stopped-hooks.
9820         (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
9821         sentinel not being called.
9823         * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
9825         * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
9827 2012-04-20  Glenn Morris  <rgm@gnu.org>
9829         * net/network-stream.el (open-network-stream): Doc fix.
9831 2012-04-20  Chong Yidong  <cyd@gnu.org>
9833         * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
9835 2012-04-20  Alan Mackenzie  <acm@muc.de>
9837         Ensure searching for keywords is case sensitive.
9839         * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
9840         (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
9841         (c-defun-name, c-mark-function, c-cpp-define-name)
9842         (c-comment-indent, c-scan-conditionals, c-indent-defun)
9843         (c-context-line-break): Bind case-fold-search to nil.
9845         * progmodes/cc-mode.el (c-font-lock-fontify-region):
9846         Bind case-fold-search to nil.
9848 2012-04-20  Chong Yidong  <cyd@gnu.org>
9850         * mail/sendmail.el (mail-bury): Call return action with the right
9851         Rmail buffer (Bug#11242).
9853         * server.el (server-process-filter): Handle corner case where both
9854         tty and nowait options are present (Bug#11102).
9856 2012-04-20  Eli Zaretskii  <eliz@gnu.org>
9858         * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
9859         (top level): Put into the executable the ident-style '$Id:' tag on
9860         windows-nt as well.
9862 2012-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
9864         * electric.el (electric-indent-post-self-insert-function): Check that
9865         electric-indent-mode is enabled in current buffer.
9867 2012-04-19  Juanma Barranquero  <lekktu@gmail.com>
9869         * imenu.el (imenu-progress-message): Restore; it is "used" in
9870         erc/erc-imenu.el and net/snmp-mode.el.
9872 2012-04-19  Juanma Barranquero  <lekktu@gmail.com>
9874         * avoid.el (mouse-avoidance-mode): Mark unused arg.
9875         (mouse-avoidance-nudge-mouse): Remove unused binding.
9877         * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
9879         * descr-text.el (describe-char):
9880         * progmodes/python.el (python-describe-symbol):
9881         Don't call `toggle-read-only', set `buffer-read-only'.
9883         * imenu.el (imenu-default-goto-function): Mark unused args.
9884         (imenu-progress-message): Remove obsolete macro; all callers changed.
9886         * subr.el (keymap-canonicalize): Remove unused binding.
9887         (read-passwd): Mark unused arg.
9889         * tutorial.el (tutorial--display-changes): Remove unused binding.
9890         (tutorial--save-tutorial-to): Remove unused variable.
9892         * emacs-lisp/package.el (define-package, package-menu-mark-delete)
9893         (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
9894         (package-generate-autoloads, package-menu--generate)
9895         (package-menu--find-upgrades): Remove unused bindings.
9897         * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
9898         (cua-restrict-prefix-rectangle): Doc fixes.  Remove unused bindings.
9899         (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
9900         (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
9901         (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
9902         (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
9903         (cua--rectangle-aux-replace, cua--left-fill-rectangle)
9904         (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
9905         (cua-delete-char-rectangle): Mark unused args.
9906         (cua-align-rectangle): Remove unused binding.
9908         * mail/rmail.el (compilation--message->loc)
9909         (epa--find-coding-system-for-mime-charset): Declare.
9911         * net/dbus.el (dbus-register-service): Declare.
9912         (dbus-name-owner-changed-handler): Remove unused binding.
9914         * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
9915         (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
9916         (nxml-scan-backward-within): Mark unused arg.
9917         (nxml-dynamic-markup-word): Remove unused binding.
9919         * mouse.el (mouse-menu-major-mode-map):
9920         * emacs-lisp/authors.el (authors-scan-change-log)
9921         (authors-add-to-author-list):
9922         * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
9923         * emacs-lisp/smie.el (smie-auto-fill):
9924         * mail/sendmail.el (mail-bury):
9925         * mail/unrmail.el (unrmail):
9926         * net/tls.el (open-tls-stream):
9927         * textmodes/picture.el (picture-mouse-set-point):
9928         Remove unused bindings.
9930 2012-04-19  Michael Albinus  <michael.albinus@gmx.de>
9932         * net/tramp.el (tramp-action-password): Let-bind
9933         `enable-recursive-minibuffers' to t.
9935 2012-04-18  Sam Steingold  <sds@gnu.org>
9937         * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
9938         instead of 'string to accommodate values like [f11].
9939         Always use `vconcat' instead of `concat' on it, like in `gud-def'.
9940         * progmodes/gdb-mi.el: Likewise.
9942 2012-04-18  Leo Liu  <sdl.web@gmail.com>
9944         * abbrev.el (edit-abbrevs): Move point to the abbrev table of
9945         current buffer.
9946         (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
9947         LOCAL is nil.
9949 2012-04-18  Chong Yidong  <cyd@gnu.org>
9951         * simple.el (line-move): Use forward-line if in batch mode
9952         (Bug#11053).
9954 2012-04-18  Christopher Schmidt  <christopher@ch.ristopher.com>
9956         * files.el (after-find-file): Do not try to add a final newline if
9957         the buffer is read-only (Bug#11156).
9959 2012-04-17  Richard Stallman  <rms@gnu.org>
9961         * mail/rmail.el (rmail-start-mail):
9962         Pass (rmail-mail-return...) for the return-action.
9963         Pass (rmail-yank-current-message...) for the yank-action.
9964         (rmail-yank-current-message): New function.
9965         (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
9966         (rmail-reply): Likewise.
9967         (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
9969         * mail/sendmail.el (mail-bury): Choose the first rmail-mode
9970         buffer, not the last.  Reject temp buffers.  Use the rmail-mode
9971         buffer, not newbuf.
9973 2012-04-17  Juanma Barranquero  <lekktu@gmail.com>
9975         * server.el (server-ensure-safe-dir): Simplify.
9977 2012-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
9979         * emacs-lisp/smie.el: Provide smarter auto-filling.
9980         (smie-auto-fill): New function.
9981         (smie-setup): Use it.
9983         * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
9985 2012-04-17  Philipp Haselwarter  <philipp.haselwarter@gmx.de>  (tiny change)
9987         * newcomment.el (comment-inline-offset): New custom var (bug#11090).
9988         (comment-indent): Use it.
9990 2012-04-17  Vincent BelaĂ¯che  <vincentb1@users.sourceforge.net>
9992         * ses.el: The overall change is to add cell renaming, that is
9993         setting fancy names for cell symbols other than name matching
9994         "\\`[A-Z]+[0-9]+\\'" regexp .
9995         (ses-localvars): Add ses--renamed-cell-symb-list.
9996         (ses-create-cell-variable): New defun.
9997         (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
9998         (ses-relocate-formula): Relocate formulas only for cells the
9999         symbols of which are not renamed, i.e. symbols whose names do not
10000         match regexp "\\`[A-Z]+[0-9]+\\'".
10001         (ses-relocate-all): Relocate values only for cells the symbols of
10002         which are not renamed.
10003         (ses-load): Create cells variables as the (ses-cell ...) are read,
10004         in order to check row col consistency with cell symbol name only
10005         for cells that are not renamed.
10006         (ses-replace-name-in-formula): New defun.
10007         (ses-rename-cell): New defun.
10009 2012-04-17  Peter Oliver  <bzr@mavit.org.uk>  (tiny change)
10011         * progmodes/perl-mode.el (perl-indent-parens-as-block):
10012         New option (bug#11118).
10013         (perl-calculate-indent): Respect it.
10015 2012-04-17  Glenn Morris  <rgm@gnu.org>
10017         * dired-aux.el (dired-mark-read-string): Doc fix.
10019 2012-04-17  Dmitry Antipov  <dmantipov@yandex.ru>
10021         * dired-aux.el (dired-mark-read-string): Offer optional completion.
10022         (dired-do-chxxx): Complete chown, chgrp over users, groups.  (Bug#7900)
10024 2012-04-17  Glenn Morris  <rgm@gnu.org>
10026         * mouse.el (mouse-drag-track):
10027         * speedbar.el (speedbar-frame-mode):
10028         Use auto-hscroll-mode rather than the alias automatic-hscrolling.
10030 2012-04-16  Leo Liu  <sdl.web@gmail.com>
10032         * progmodes/python.el: Trivial cleanup.
10034 2012-04-16  Glenn Morris  <rgm@gnu.org>
10036         * vc/vc.el (vc-string-prefix-p):
10037         * vc/pcvs-util.el (cvs-string-prefix-p):
10038         * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
10039         * mpc.el (mpc-string-prefix-p):
10040         Make all of these into obsolete aliases for string-prefix-p.
10041         Update callers.
10042         * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
10044         * textmodes/two-column.el: Move custom options to the start.
10045         (frame-width): Remove compat definition.
10046         (2C-associate-buffer, 2C-dissociate):
10047         Use with-current-buffer rather than save-excursion.
10048         (2C-dissociate): Force a mode-line update.
10049         (2C-autoscroll): Use ignore-errors.
10051         * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
10052         Autoload trivia.
10054         * emacs-lisp/cl-extra.el (*random-state*):
10055         Remove unnecessary declaration.
10057         * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
10059         * play/cookie1.el (cookie-snarf):
10060         Give an explicit error if input file cannot be read.
10062         * play/yow.el (yow-file): Use expand-file-name rather than concat.
10064         * progmodes/perl-mode.el (c-macro-expand):
10065         Remove unnecessary autoload (it is in loaddefs.el).
10067         * textmodes/picture.el (picture-desired-column)
10068         (picture-update-desired-column): Convert comments to doc-strings.
10069         (picture-substitute): Remove function.
10070         (picture-mode-map): Initialize in the defvar.
10072         * woman.el: Remove eval-after-load for tar-mode.
10073         * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
10074         (woman-tar-extract-file): Autoload it.
10076         * frame.el (automatic-hscrolling): Make this alias obsolete.
10078 2012-04-12  AgustĂ­n MartĂ­n Domingo  <agustin.martin@hispalinux.es>
10080         * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
10081         `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
10082         (ispell-dictionary-base-alist): Revert to original XEmacs
10083         friendly version for default.  [:alpha:] will be added in
10084         `ispell-set-spellchecker-params' if needed.
10086 2012-04-16  Chong Yidong  <cyd@gnu.org>
10088         * image.el (imagemagick--file-regexp): New variable.
10089         (imagemagick-register-types): Use it.
10090         (imagemagick-types-inhibit): Add :set function.  Allow new value
10091         of t to inhibit all types.
10093         * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
10094         so we can preload it.
10096         * loadup.el (fboundp): Preload regexp-opt, needed by
10097         imagemagick-register-types.
10099 2012-04-15  Chong Yidong  <cyd@gnu.org>
10101         * frame.el (scrolling): Remove nearly unused customization group.
10103         * scroll-all.el (scroll-all-mode): Move to windows group.
10105 2012-04-15  Chong Yidong  <cyd@gnu.org>
10107         * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
10109 2012-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
10111         Avoid the use of ((lambda ...) ...) in lexical-binding code.
10112         * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
10114 2012-04-15  Glenn Morris  <rgm@gnu.org>
10116         * simple.el (process-file-side-effects): Doc fix.
10118 2012-04-15  Glenn Morris  <rgm@gnu.org>
10120         * international/mule-cmds.el (set-language-environment): Doc fix.
10122 2012-04-14  Juanma Barranquero  <lekktu@gmail.com>
10124         * server.el (server-auth-key, server-generate-key): Doc fixes.
10125         (server-get-auth-key): Doc fix.  Use `string-match-p'.
10126         (server-start): Reflow docstring.
10128 2012-04-14  Lars Ingebrigtsen  <larsi@gnus.org>
10130         * server.el (server-generate-key): `called-interactively-p'
10131         requires a parameter.
10133 2012-04-14  Michal Nazarewicz  <mina86@mina86.com>
10135         * server.el (server-auth-key): New variable.
10136         (server-generate-key, server-get-auth-key): New function.
10137         (server-start): Use the new variable and functions to allow
10138         setting a permanent server key (bug#9423).
10140 2012-04-14  Leo Liu  <sdl.web@gmail.com>
10142         * vc/diff-mode.el (diff-file-prev/next): Fix typo.
10144 2012-04-14  Paul Eggert  <eggert@cs.ucla.edu>
10146         Spelling fixes.
10147         * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
10148         Emacs uses American spelling.
10150 2012-04-14  Juanma Barranquero  <lekktu@gmail.com>
10152         * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
10153         (emacs-lock--exit-locked-buffer): Return the locked buffer.  Doc fix.
10154         (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
10155         (emacs-lock--kill-buffer-query-functions): Run new hook.  (Bug#11017)
10157 2012-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
10159         * progmodes/which-func.el (which-func-modes): Change default.
10161 2012-04-14  Kim F. Storm  <storm@cua.dk>
10163         * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
10164         exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
10166 2012-04-14  Chong Yidong  <cyd@gnu.org>
10168         * custom.el (custom-theme-set-variables): Doc fix.
10170 2012-04-14  Glenn Morris  <rgm@gnu.org>
10172         * international/mule.el (set-auto-coding-for-load): Doc fix.
10174 2012-04-14  Alan Mackenzie  <acm@muc.de>
10176         * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
10177         imenu work again for Objective C Mode.  Correct the *-index values,
10178         these having been disturbed by a previous change in 2011-08.
10180         * progmodes/cc-engine.el (c-before-change-check-<>-operators):
10181         Correct two search limits.
10183 2012-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
10185         * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
10187 2012-04-14  Andreas Schwab  <schwab@linux-m68k.org>
10189         * international/characters.el: Fix sorting.
10191 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
10193         * international/characters.el: Add more missing Latin case pairs.
10195 2012-04-14  Glenn Morris  <rgm@gnu.org>
10197         * files.el (dir-locals-set-class-variables): Doc fix.
10199 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
10201         * international/characters.el: Add set-case-syntax-pair call for
10202         LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
10203         counterpart.  (Bug#11209)
10205         * simple.el (shell-command-on-region): Doc fix.  (Bug#11208)
10207 2012-04-14  Glenn Morris  <rgm@gnu.org>
10209         * calendar/holidays.el (calendar-check-holidays): Doc fix.
10211 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
10213         * textmodes/ispell.el (ispell-dictionary-base-alist):
10214         Add data for Hebrew.
10216 2012-04-14  Chong Yidong  <cyd@gnu.org>
10218         * net/rcirc.el (rcirc-cmd-quit):
10219         Revert 2012-03-18 change (Bug#11192).
10221 2012-04-14  Glenn Morris  <rgm@gnu.org>
10223         * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
10225 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
10227         * minibuffer.el (completion-in-region-mode-map):
10228         Bind completion-help-at-point to M-? rather than ?.  (Bug#11182)
10230 2012-04-13  Vivek Dasmohapatra  <vivek@etla.org>
10232         * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
10234 2012-04-13  Masatake YAMATO  <yamato@redhat.com>
10236         * minibuffer.el (minibuffer-local-filename-syntax): New variable
10237         to allow `C-M-f' and `C-M-b' to move to the nearest path
10238         separator (bug#9511).
10240 2012-04-13  Lars Ingebrigtsen  <larsi@gnus.org>
10242         * avoid.el: Require cl when compiling.  And also move the
10243         `provide' to the end.
10245 2012-04-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
10247         * avoid.el (mouse-avoidance-banish-position): New variable.
10248         (mouse-avoidance-banish-destination): Use it (bug#10165).
10250 2012-04-13  Leo Liu  <sdl.web@gmail.com>
10252         * progmodes/which-func.el (which-func-modes): Add objc-mode.
10254 2012-04-13  Ken Brown  <kbrown@cornell.edu>
10256         * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
10257         this is no longer needed now that cygstart understands file:// URLs.
10258         (browse-url-filename-alist): For the same reason, don't modify
10259         file:// URLs on Cygwin.
10261 2012-04-13  Stefan Monnier  <monnier@iro.umontreal.ca>
10263         * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
10264         the region on shift if the binding is already shifted (bug#11221).
10266 2012-04-12  Glenn Morris  <rgm@gnu.org>
10268         * mail/mailpost.el: Move to obsolete/.
10270 2012-04-12  Drew Adams  <drew.adams@oracle.com>
10272         * imenu.el (imenu--generic-function): Ignore invisible definitions
10273         (bug#10123).
10275 2012-04-12  Vivek Dasmohapatra  <vivek@etla.org>
10277         * hexl.el (hexl-bits): New variable.
10278         (hexl-options): Mention the variable in the doc string.
10279         (hexl-rulerise, hexl-line-displen): New functions.
10280         (hexl-mode): Mention the new variable.
10281         (hexl-mode, hexl-current-address, hexl-current-address):
10282         Use the displen.
10283         (hexl-ascii-start-column): New function.
10284         (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
10285         (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
10287 2012-04-12  AgustĂ­n MartĂ­n Domingo  <agustin.martin@hispalinux.es>
10289         * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
10290         '("-i" ENCODING), in 2 separate command-line arguments, to specify
10291         the encoding, as expected by hunspell.
10293 2012-04-12  Stefan Monnier  <monnier@iro.umontreal.ca>
10295         * battery.el (battery--linux-sysfs-regexp): New const.
10296         (battery-status-function): Use it.  Remove yeeloong special case.
10297         (battery-yeeloong-sysfs): Remove.
10298         (battery-echo-area-format): Remove yeeloong special case.
10300 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
10302         * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
10303         Reported by Noah Friedman.
10305         * subr.el (read-passwd): Use read-string.
10307 2012-04-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10309         * vcursor.el (vcursor-move): Increase the priority of the overlay
10310         (bug#9663).
10312 2012-04-11  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
10314         * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
10315         (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
10317 2012-04-11  William Stevenson  <yhvh2000@gmail.com>
10319         * textmodes/artist.el (artist-mode): Convert artist-mode to use
10320         define-minor-mode (bug#10760).
10322 2012-04-11  Wolfgang Jenkner  <wjenkner@inode.at>  (tiny change)
10324         * progmodes/grep.el (rgrep): Tweak the find command line so
10325         that directories matching `grep-find-ignored-files' won't be
10326         pruned (bug#10351).
10328 2012-04-11  Chong Yidong  <cyd@gnu.org>
10330         * startup.el (command-line): Remove support for long-obsolete
10331         variable font-lock-face-attributes.
10333 2012-04-11  Glenn Morris  <rgm@gnu.org>
10335         * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
10337 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
10339         * window.el (window--state-get-1): Obey window-point-insertion-type.
10341 2012-04-11  Lennart Borgman  <lennart.borgman@gmail.com>
10343         * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
10344         to previous function when point is on the first character of a
10345         function.  Take care of that in `narrow-to-defun' (bug#6157).
10347 2012-04-11  Glenn Morris  <rgm@gnu.org>
10349         * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
10350         not just file-errors.
10352         * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
10353         (vc-bzr-sha1): Use internal sha1.
10355 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
10357         * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
10359 2012-04-10  SĂ©bastien Gross  <seb@chezwam.org>  (tiny change)
10361         * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
10362         that start in the middle of the line (bug#10496).
10364 2012-04-10  Dan Nicolaescu  <dann@gnu.org>
10366         * battery.el (battery-linux-proc-acpi): Only one battery is
10367         discharged at a time, but that seems to confuse battery.el when
10368         computing `rate-type' for the battery not being discharged
10369         (bug#10332).
10371 2012-04-10  Stefan Monnier  <monnier@iro.umontreal.ca>
10373         * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
10375         * international/quail.el: Use dolist and simplify.
10376         (quail-define-package, quail-update-keyboard-layout)
10377         (quail-define-rules): Use dolist.
10378         (quail-insert-kbd-layout, quail-get-translation): CSE.
10380         * tmm.el: Use dolist, remove left over hook.
10381         (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
10382         Use dolist.
10383         (calendar-load-hook): Don't mess with it.
10385         * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
10386         Use derived-mode-p.  Run the diff asynchronously.
10388 2012-04-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10390         * obsolete/mouse-sel.el: Add an Obsolete-since header.
10392 2012-04-10  Juanma Barranquero  <lekktu@gmail.com>
10394         * misc.el: Display absolute path of loaded DLLs (bug#10424).
10395         (list-dynamic-libraries--loaded): New function.
10396         (list-dynamic-libraries--refresh): Use it.
10398 2012-04-10  Nathan Weizenbaum  <nweiz@google.com>
10400         * progmodes/python.el (python-fill-paragraph):
10401         Make python-fill-region in a multiline string work when font-lock is
10402         disabled (bug#7018).
10404 2012-04-10  Laimonas VÄ—bra  <laimonas.vebra@gmail.com>  (tiny change)
10406         * language/european.el (cp775): Add oem/legacy (en)coding on
10407         DOS/MS Windows for the Baltic languages.  There are still plenty
10408         of texts written in this encoding/codepage (bug#6519).
10410 2012-04-10  Glenn Morris  <rgm@gnu.org>
10412         * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
10413         Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
10415 2012-04-10  Florian Adamsky  <florian@adamsky.it>  (tiny change)
10417         * recentf.el (recentf-dialog-mode-map): Add two keybindings for
10418         next-line "n" and previous-line "p" in order to make recentf more
10419         consistent with ibuffer, dired or org-mode (bug#9387).
10421 2012-04-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10423         * image.el (put-image): Return the overlay created instead of the
10424         optional input string (bug#7834).  Note that this may break code
10425         that is (for some reason or other) depending on `put-image'
10426         returning the string.
10428         * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
10430         * simple.el (zap-to-char): Allow zapping using input methods
10431         (bug#1580).
10433         * textmodes/fill.el (fill-region): Leave point and mark where they
10434         were before filling (bug#5399).
10436 2012-04-09  Glenn Morris  <rgm@gnu.org>
10438         * version.el (emacs-bzr-get-version):
10439         Handle lightweight checkouts of local branches.
10441 2012-04-09  Andreas Schwab  <schwab@linux-m68k.org>
10443         * international/characters.el: Recover lost case pairs.  (Bug#11209)
10445 2012-04-09  Chong Yidong  <cyd@gnu.org>
10447         * custom.el (custom-variable-p): Return nil for non-symbol
10448         arguments instead of signaling an error.
10449         (user-variable-p): Obsolete alias for custom-variable-p.
10451         * apropos.el (apropos-variable):
10452         * files-x.el (read-file-local-variable):
10453         * simple.el (set-variable):
10454         * woman.el (woman-mini-help):
10455         * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
10457 2012-04-09  Glenn Morris  <rgm@gnu.org>
10459         * startup.el (normal-top-level): Don't look for leim-list.el
10460         in places where it will not be found.  (Bug#910)
10462         * international/mule-cmds.el (set-default-coding-systems):
10463         * files.el (normal-mode):
10464         Remove guarded calls to ucs-set-table-for-input.  (Bug#9821)
10465         This function was removed with ucs-tables.el in 2008.
10467 2012-04-08  Eli Zaretskii  <eliz@gnu.org>
10469         * textmodes/ispell.el (ispell-check-version): For hunspell, set
10470         ispell-encoding8-command to "-i", without a trailing space.
10471         (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
10472         separate command-line arguments, to specify the encoding, since
10473         that's how hunspell expects it.
10475 2012-04-08  Glenn Morris  <rgm@gnu.org>
10477         * loadup.el: Load bindings before cus-start.
10478         This reduces somewhat the number of "rogue" settings in emacs -Q.
10480 2012-04-07  Glenn Morris  <rgm@gnu.org>
10482         * version.el (emacs-bzr-get-version): New function.
10483         (emacs-bzr-version): New variable.
10484         * loadup.el (emacs-bzr-version): Set it.  (Bug#8054)
10485         * mail/emacsbug.el (report-emacs-bug): Include bzr version.
10487 2012-04-07  Eli Zaretskii  <eliz@gnu.org>
10489         * international/uni-bidi.el, international/uni-category.el:
10490         * international/uni-combining.el, international/uni-decimal.el:
10491         * international/uni-decomposition.el, international/uni-digit.el:
10492         * international/uni-lowercase.el, international/uni-mirrored.el:
10493         * international/uni-name.el, international/uni-numeric.el:
10494         * international/uni-titlecase.el, international/uni-uppercase.el:
10495         Update for Unicode 6.1.
10497 2012-04-07  Eli Zaretskii  <eliz@gnu.org>
10499         * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
10501 2012-04-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10503         * window.el (shrink-window): Mention the `window-min-height'
10504         variable in the doc string.
10506 2012-04-05  Bastien Guerry  <bzg@altern.org>
10508         * color.el (color-lighten-name): Fix typo.
10510 2012-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
10512         * server.el (server--on-display-p): New function.
10513         (server--on-display-p): Use it.
10515 2012-04-04  Gabor Vida  <vidagabor@gmail.com>  (tiny change)
10517         * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
10518         (bug#11145).
10520 2012-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
10522         * comint.el (comint--common-quoted-suffix): Check string boundary
10523         before comparing (bug#11158).
10524         * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
10526 2012-04-04  Chong Yidong  <cyd@gnu.org>
10528         * minibuffer.el (completion-extra-properties): Doc fix.
10530         * subr.el (delayed-warnings-hook): Doc fix.
10532 2012-04-04  Daiki Ueno  <ueno@unixuser.org>
10534         * epa.el (epa--select-keys): Bind C-c C-c to finish the key
10535         selection (Bug#11159).
10536         (epa-insert-keys): Inform that the default public key will be
10537         exported if no key is selected.
10539 2012-04-04  Richard Stallman  <rms@gnu.org>
10541         * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
10543 2012-04-03  Chong Yidong  <cyd@gnu.org>
10545         * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
10546         mail-insert-file, not its obsolete alias mail-attach-file.
10548 2012-04-03  Michael Albinus  <michael.albinus@gmx.de>
10550         * notifications.el (notifications-notify): Fix docstring.
10552 2012-04-02  Glenn Morris  <rgm@gnu.org>
10554         * emacs-lisp/authors.el (authors-aliases): Another addition.
10556 2012-04-02  Michael Albinus  <michael.albinus@gmx.de>
10558         * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
10559         `tramp-compat-call-process' instead of `tramp-local-call-process'.
10560         Reported by Magnus Henoch <magnus.henoch@gmail.com>.
10562 2012-04-01  Chong Yidong  <cyd@gnu.org>
10564         * files.el (file-in-directory-p): Rename from file-subdir-of-p.
10565         Handle root directory properly.
10566         (copy-directory): Caller changed.
10568         * dired-aux.el (dired-copy-file-recursive, dired-create-files):
10569         * net/tramp.el (tramp-file-name-for-operation): Callers changed.
10571 2012-03-31  Glenn Morris  <rgm@gnu.org>
10573         * term/xterm.el (xterm-extra-capabilities): Doc fix.
10575         * language/indian.el ("Devanagari"): Fix typo.  (Bug#11103)
10577         * calendar/calendar.el (calendar-window-list)
10578         (calendar-hide-window): Restore.  (Bug#11140)
10579         (calendar-exit): Use calendar-window-list, calendar-hide-window again.
10581         * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
10583 2012-03-30  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
10585         * dired-aux.el (dired-copy-file-recursive, dired-create-files):
10586         Check if file is a symlink (Bug#10489).
10588         * files.el (copy-directory): Likewise.
10590 2012-03-30  Chong Yidong  <cyd@gnu.org>
10592         * image.el (imagemagick-types-inhibit)
10593         (imagemagick-register-types): Doc fix.
10595 2012-03-30  AgustĂ­n MartĂ­n Domingo  <agustin.martin@hispalinux.es>
10597         * textmodes/ispell.el (ispell-get-extended-character-mode):
10598         Disable extended-char-mode for hunspell.  hunspell does not support it
10599         and treats ~word as ordinary words in pipe mode.
10601 2012-03-30  Glenn Morris  <rgm@gnu.org>
10603         * tutorial.el (help-with-tutorial): Ensure local variables don't
10604         happen to make the buffer read-only.  (Bug#11127)
10606 2012-03-30  Stefan Monnier  <monnier@iro.umontreal.ca>
10608         * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
10609         (perl-calculate-indent): Return `noindent' in strings.
10611 2012-03-28  Sam Steingold  <sds@gnu.org>
10613         * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
10614         instead of the broken adhockery which does not prevent calendar
10615         buffers from being displayed at random after exit.
10616         (calendar-window-list, calendar-hide-window): Remove the broken
10617         adhockery.
10619 2012-03-28  Glenn Morris  <rgm@gnu.org>
10621         * replace.el (query-replace-map): Doc fix.
10623 2012-03-28  Andreas Schwab  <schwab@linux-m68k.org>
10625         * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
10626         contents.  (Bug#11109)
10628 2012-03-27  Stefan Monnier  <monnier@iro.umontreal.ca>
10630         * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
10631         (bug#11077).
10632         (avl-tree--check, avl-tree--check-node): New funs.
10634 2012-03-27  Martin Rudalics  <rudalics@gmx.at>
10636         * window.el (switch-to-visible-buffer): New option.
10637         (switch-to-prev-buffer, switch-to-next-buffer):
10638         Observe switch-to-visible-buffer.  Make sure that checking for a window
10639         showing a buffer already is done on the same frame.
10641 2012-03-27  Glenn Morris  <rgm@gnu.org>
10643         * startup.el (mail-host-address): Doc fix.
10645 2012-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
10647         * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
10648         than 197 variables.
10650 2012-03-26  Ami Fischman  <ami@fischman.org>
10652         * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
10654 2012-03-26  Glenn Morris  <rgm@gnu.org>
10656         * files.el (save-buffers-kill-emacs): Doc fix.
10658         * startup.el (normal-top-level, command-line, command-line-1):
10659         Give them doc strings.
10661 2012-03-25  Eli Zaretskii  <eliz@gnu.org>
10663         * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
10664         of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
10666 2012-03-25  Chong Yidong  <cyd@gnu.org>
10668         * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
10669         theme if it was previously enabled before (Bug#11031).
10671         * cus-theme.el (custom-theme-write-faces): Retrieve current face
10672         spec with custom-face-get-current-spec if its :shown-value is not
10673         determined yet (Bug#9337).
10674         (customize-create-theme, custom-theme-revert): Doc fixes.
10676         * button.el (button-at): Minor addition to docstring.
10678 2012-03-24  Simon Leinen  <simon.leinen@gmail.com>
10680         * vc/vc.el (vc-merge): Fix a prompt.
10682 2012-03-24  Chong Yidong  <cyd@gnu.org>
10684         * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
10685         point (Bug#9623).
10687         * button.el (button-at): Minor addition to docstring.
10689 2012-03-23  Stefan Monnier  <monnier@iro.umontreal.ca>
10691         * newcomment.el (comment-choose-indent): No space after BOL.
10693 2012-03-22  Sam Steingold  <sds@gnu.org>
10695         * window.el (switch-to-prev-buffer): Revert last patch because the
10696         bug turned out to be an advertised feature (Elisp manual 28.14).
10698 2012-03-22  Glenn Morris  <rgm@gnu.org>
10700         * vc/vc-bzr.el (vc-bzr-status-switches): New option.  (Bug#6724)
10701         (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
10703 2012-03-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10705         * net/network-stream.el (network-stream-open-starttls): Make error
10706         message under Windows be less misleading.
10708 2012-03-22  Liang Wang  <netcasper@gmail.com>  (tiny change)
10710         * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
10711         understands (bug#9942).
10713 2012-03-22  Chong Yidong  <cyd@gnu.org>
10715         * simple.el (end-of-visible-line): Handle return value of
10716         next-single-property-change properly (Bug#9371).
10718 2012-03-22  Kenichi Handa  <handa@m17n.org>
10720         * international/quail.el (quail-insert-kbd-layout): Fix previous
10721         change.  To avoid unwanted bidi reordering, use
10722         bidi-string-mark-left-to-right instead of inserting LRO and PDF.
10724 2012-03-21  Dmitry Gutov  <dgutov@yandex.ru>
10726         * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
10727         (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
10728         (ruby-beginning-of-indent): Be more careful with the difference
10729         between word-boundary and symbol boundary.
10730         (ruby-mode-syntax-table): Make : a symbol constituent.
10732 2012-03-21  Andreas Politz  <politza@fh-trier.de>
10734         * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
10736 2012-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
10738         * progmodes/etags.el (tags-completion-at-point-function):
10739         Improve last fix.
10741         * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
10743 2012-03-21  Sam Steingold  <sds@gnu.org>
10745         * progmodes/etags.el (tags-completion-at-point-function):
10746         Avoid the error when point is inside the pattern.
10748 2012-03-21  John Yates  <john@yates-sheets.org>  (tiny change)
10750         * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
10751         line (Bug#10855).
10753 2012-03-21  Drew Adams  <drew.adams@oracle.com>
10755         * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
10757 2012-03-21  Anmol Khirbat  <anmol@khirbat.net>  (tiny change)
10759         * ido.el (ido-set-current-directory, ido-read-internal)
10760         (ido-choose-completion-string, ido-completion-help): Handle nil
10761         value of ido-completion-buffer (Bug#11008).
10763 2012-03-21  Sam Steingold  <sds@gnu.org>
10765         * window.el (switch-to-prev-buffer): Do not switch to a visible
10766         window previous buffer, just like with the frame previous buffers.
10768 2012-03-21  Chong Yidong  <cyd@gnu.org>
10770         * faces.el (make-face, make-empty-face, copy-face):
10771         * face-remap.el (face-remap-add-relative, face-remap-set-base):
10772         Doc fixes.
10774 2012-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
10776         * wid-edit.el (widget-complete-field): Remove (bug#11051).
10777         (widget-complete): Remove broken use of it.
10779 2012-03-20  Chong Yidong  <cyd@gnu.org>
10781         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
10782         Use string-width and truncate-string-width to handle arbitrary
10783         characters.
10785 2012-03-20  Tassilo Horn  <tassilo@member.fsf.org>
10787         * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
10788         to draw rectangles, not squares.  (Regression introduced by revno
10789         2011-03-02T03:48:01Z!cyd@stupidchicken.com)
10791 2012-03-18  Chong Yidong  <cyd@gnu.org>
10793         * faces.el (face-spec-reset-face): Don't call display-graphic-p if
10794         it is not yet defined (for temacs).
10796 2012-03-18  Leo Liu  <sdl.web@gmail.com>
10798         * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
10799         prefix.
10801 2012-03-17  Eli Zaretskii  <eliz@gnu.org>
10803         * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
10804         (ispell-choices-win-default-height, ispell-silently-savep)
10805         (ispell-dictionary-alist, ispell-encoding8-command)
10806         (ispell-check-version, ispell-aspell-find-dictionary)
10807         (ispell-valid-dictionary-list, ispell-words-keyword)
10808         (ispell-get-word, ispell-internal-change-dictionary)
10809         (ispell-region, ispell-skip-region-list)
10810         (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
10811         (ispell-process-line, ispell-minor-mode, ispell-minor-check)
10812         (ispell-message-text-end, ispell-message)
10813         (ispell-buffer-local-parsing): Doc fix.
10815 2012-03-13  Jambunathan K  <kjambunathan@gmail.com>
10817         * htmlfontify.el: Add support for code block fontification for ODT
10818         export (Bug #9914).
10819         (hfy-optimisations): Define new option
10820         `body-text-only'
10821         (hfy-fontify-buffer): Honor above setting.
10822         (hfy-begin-span, hfy-end-span): New routines factored out form
10823         `hfy-fontify-buffer'.
10824         (hfy-begin-span-handler, hfy-end-span-handler): New variables
10825         that permit insertion of custom tags.
10826         (hfy-fontify-buffer): Use above handlers.
10827         (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
10828         (hfy-face-to-css): Re-defined to be a variable.
10829         (hfy-compile-stylesheet): Modify.  Allow stylesheet to be built
10830         over multiple runs.  This is made possible by having the caller let
10831         bind a special variable `hfy-user-sheet-assoc'.
10832         (htmlfontify-string): New defun.
10833         (hfy-compile-face-map): Make sure that the last char in the
10834         buffer is correctly fontified.
10835         (hfy-face-resolve-face): Whitespace only change.
10837 2012-03-17  Eli Zaretskii  <eliz@gnu.org>
10839         * textmodes/ispell.el (ispell-get-decoded-string): Make the error
10840         message more clear.
10842 2012-03-16  Leo Liu  <sdl.web@gmail.com>
10844         * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
10846 2012-03-16  Alan Mackenzie  <acm@muc.de>
10848         Further optimise the handling of large macros.
10850         * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
10851         limit to a call of `c-literal-limits'.
10852         (c-determine-+ve-limit): New function.
10853         (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
10854         (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
10855         In CASE 5B, restrict a search limit to 500.
10856         (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
10858         * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
10859         Restrict macro bounds to +-500 from after-change's BEG END.
10861 2012-03-16  Leo Liu  <sdl.web@gmail.com>
10863         * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
10865 2012-03-16  Aaron S. Hawley  <Aaron.S.Hawley@gmail.com>
10867         * tar-mode.el (tar-mode): Fix saving by conditionally undoing
10868         `special-mode' setting of `buffer-read-only'.  (Bug#11010)
10870 2012-03-16  Glenn Morris  <rgm@gnu.org>
10872         * view.el (view-buffer, view-buffer-other-window)
10873         (view-buffer-other-frame): Doc fixes re special mode-class.
10875         * subr.el (eval-after-load): If named feature is provided not from
10876         a file, run after-load forms.  (Bug#10946)
10878         * calendar/calendar.el (calendar-insert-at-column):
10879         Handle non-unit-width characters a bit better.  (Bug#10978)
10881 2012-03-15  Chong Yidong  <cyd@gnu.org>
10883         * emacs-lisp/ring.el (ring-extend): New function.
10884         (ring-insert+extend): Extend the ring correctly (Bug#11019).
10886         * comint.el (comint-read-input-ring)
10887         (comint-add-to-input-history): Grow comint-input-ring lazily.
10889 2012-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
10891         * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
10892         Fix up parsing of multiline twoarg non-paired elements (bug#11014).
10894         * imenu.el: Fix multiple inheritance breakage (bug#9199).
10895         (imenu-add-to-menubar): Don't add a redundant index.
10896         (imenu-update-menubar): Handle a dynamically composed keymap.
10898 2012-03-13  Katsumi Yamaoka  <yamaoka@jpl.org>
10900         * mail/sendmail.el (mail-encode-header):
10901         Bind rfc2047-encode-encoded-words to nil.
10903 2012-03-13  Glenn Morris  <rgm@gnu.org>
10905         * calendar/calendar.el (calendar-string-spread):
10906         Handle non-unit-width characters a bit better.  (Bug#10978)
10908 2012-03-13  Leo Liu  <sdl.web@gmail.com>
10910         * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
10911         directory and file as argument (Bug#10822).
10913 2012-03-13  Kaushik Srenevasan  <ksrenevasan@gmail.com>  (tiny change)
10915         * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
10916         For dynamically generated code, follow $PC.
10917         (gdb-disassembly-handler-custom): Handle no function name case.
10919 2012-03-13  Tim Landscheidt  <tim@tim-landscheidt.de>  (tiny change)
10921         * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
10922         * emulation/ws-mode.el (ws-query-replace):
10923         * sort.el (sort-regexp-fields):
10924         Fix missing trailing whitespace in interactive prompts.  (Bug#11002)
10926 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
10928         * dabbrev.el: Fix cycle completion order (bug#10963).
10929         (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
10930         (dabbrev-completion): Don't use an obarray; provide
10931         a cycle-sort-function.
10933 2012-03-12  Leo Liu  <sdl.web@gmail.com>
10935         * simple.el (kill-new): Use equal-including-properties for comparison.
10936         (kill-do-not-save-duplicates): Doc fix.
10938 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
10940         * dabbrev.el: Fix cycle completion (bug#10963).
10941         Use lexical binding and wrap to 80 columns.
10942         (dabbrev-completion): Delay computing the list of completions.
10944 2012-03-12  Kenichi Handa  <handa@m17n.org>
10946         * international/quail.el (quail-insert-kbd-layout): Surround each
10947         row by LRO and PDF instead of inserting many LRMs.  Pad the left
10948         and right of each non-spacing marks.  Insert invisible space
10949         between lower and upper characters to prevent composition.
10951 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
10953         * minibuffer.el (minibuffer-complete): Don't get confused when the
10954         function is run twice via different commands (bug#10958).
10955         (complete-with-action): Fix docstring.
10957 2012-03-12  Chong Yidong  <cyd@gnu.org>
10959         * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
10960         (nxml-completion-at-point-function): New function.
10961         (nxml-mode): Use it.
10962         (nxml-bind-meta-tab-to-complete-flag): Default to t.
10964         * emacs-lisp/package.el (package-unpack, package-unpack-single):
10965         Load generated autoloads file before byte compiling (Bug#10970).
10966         (package--make-autoloads-and-compile): New helper fun.
10968 2012-03-12  Christopher Schmidt  <christopher@ch.ristopher.com>
10970         * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
10972 2012-03-11  Michael Albinus  <michael.albinus@gmx.de>
10974         * autorevert.el (auto-revert-handler): Ensure, that
10975         file-readable-p is applied only for local files or in
10976         auto-revert-tail-mode.
10978 2012-03-11  Andreas Schwab  <schwab@linux-m68k.org>
10980         * server.el (server-eval-at): Handle non-tcp connections.
10981         Decode result string.
10983         * server.el (server-msg-size): New constant.
10984         (server-reply-print): New function.
10985         (server-eval-and-print): Use it.
10986         (server-eval-at): Use server-quote-arg and server-unquote-arg.
10987         Handle -print-nonl.
10989 2012-03-11  Christopher Schmidt  <christopher@ch.ristopher.com>
10991         * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
10992         (Bug#10987).
10994 2012-03-11  Chong Yidong  <cyd@gnu.org>
10996         * simple.el (goto-line): Doc fix (Bug#9938).
10998         * subr.el (save-window-excursion): Doc fix (Bug#9979).
11000         * dabbrev.el (dabbrev--find-expansion): Update progress reporter
11001         when finished (Bug#10963).
11003 2012-03-11  Martin Rudalics  <rudalics@gmx.at>
11005         * window.el (split-window-below): Fix bug in case where
11006         split-window-keep-point is nil (Bug#10971).
11008 2012-03-11  Juri Linkov  <juri@jurta.org>
11010         * replace.el (replace-highlight): Set isearch-word to nil
11011         unconditionally.  (Bug#10887)
11013 2012-03-10  Eli Zaretskii  <eliz@gnu.org>
11015         * net/mairix.el (mairix-replace-invalid-chars): Rename from
11016         mairix-replace-illegal-chars; all callers changed.  Don't remove
11017         ^, ~, and = characters: they are meaningful in mairix search specs.
11018         (mairix-widget-create-query): Add usage information about mairix
11019         search forms: negating words, searching for substrings, etc.
11021 2012-03-10  Jae-hyeon Park  <jae-hyeon.park@desy.de>  (tiny change)
11023         * international/fontset.el (font-encoding-alist): Add an entry for
11024         ksx1001 (Bug#5667).
11026 2012-03-10  Richard Stallman  <rms@gnu.org>
11028         * mail/sendmail.el (mail-encode-header):
11029         Set rfc2047-encode-encoded-words.
11031         * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
11033         * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
11034         view buffer means not swapped.
11035         (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
11036         (rmail-write-region-annotate): Error if real text has disappeared.
11038         * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
11040 2012-03-10  Chong Yidong  <cyd@gnu.org>
11042         * emulation/cua-rect.el (cua--init-rectangles):
11043         * emulation/cua-base.el (cua--init-keymaps):
11044         Add delete-forward-char to remappings (Bug#9666).
11046 2012-03-10  Martin Rudalics  <rudalics@gmx.at>
11048         * speedbar.el (speedbar-unhighlight-one-tag-line):
11049         Avoid unhighlighting due to frame switching (Bug#10275).
11051 2012-03-10  Chong Yidong  <cyd@gnu.org>
11053         * minibuffer.el (completion-in-region, completion-help-at-point):
11054         Give the completion field overlay a high priority (Bug#6830).
11056         * dired.el (dired-goto-file): Recognize absolute file name
11057         listings (Bug#7126).
11058         (dired-goto-file-1): New helper function.
11059         (dired-toggle-read-only): Inhibit warnings.
11061 2012-03-09  Michael Albinus  <michael.albinus@gmx.de>
11063         * net/dbus.el (dbus-property-handler): Return empty array if
11064         there are no properties.
11066 2012-03-09  Leo Liu  <sdl.web@gmail.com>
11068         * savehist.el (savehist-printable): Stricter check for string
11069         value (Bug#10937).
11071 2012-03-09  Eli Zaretskii  <eliz@gnu.org>
11073         * mail/smtpmail.el (smtpmail-send-it):
11074         Bind coding-system-for-write to *-unix, so that FCC files are kept in
11075         valid mbox format.
11077 2012-03-09  Glenn Morris  <rgm@gnu.org>
11079         * files.el (dir-locals-find-file):
11080         Don't check result is regular, readable.
11081         (dir-locals-read-from-file): Demote errors.
11083 2012-03-08  Eli Zaretskii  <eliz@gnu.org>
11085         * international/quail.el (quail-insert-kbd-layout):
11086         Insert invisible LRM characters before each character in a keyboard
11087         layout cell, to prevent their reordering by bidi display engine.
11088         For details, see the discussion in
11089         http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
11091 2012-03-08  Alan Mackenzie  <acm@muc.de>
11093         * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
11094         the starting position; make it extend the marked region when
11095         invoked repeatedly - all under appropriate circumstances.
11096         Fixes bugs #5525, #10906.
11098 2012-03-08  Glenn Morris  <rgm@gnu.org>
11100         * files.el (locate-dominating-file, dir-locals-find-file):
11101         Undo 2012-03-06 change.
11103 2012-03-07  Eli Zaretskii  <eliz@gnu.org>
11105         * international/quail.el (quail-help):
11106         Force bidi-paragraph-direction be left-to-right.  See discussion in
11107         http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
11108         for the reason.
11110 2012-03-07  Michael Albinus  <michael.albinus@gmx.de>
11112         Avoid superfluous registering of signals.  (Bug#10807)
11114         * notifications.el (notifications-on-action-object)
11115         (notifications-on-close-object): New defvars.
11116         (notifications-on-action-signal, notifications-on-closed-signal):
11117         Unregister the signal if not needed any longer.
11118         (notifications-notify): Register `notifications-action-signal' or
11119         `notifications-closed-signal', if :on-action or :on-close has been
11120         passed as argument.
11122 2012-03-07  Chong Yidong  <cyd@gnu.org>
11124         * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
11125         non-X platforms.
11127 2012-03-06  Glenn Morris  <rgm@gnu.org>
11129         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
11130         (x-disown-selection-internal, x-get-selection-internal):
11131         Doc fix (add arglist signatures).  (Bug#10783)
11133 2012-03-06  Kaushik Srenevasan  <ksrenevasan@gmail.com>  (tiny change)
11135         * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
11136         Handle breakpoints with no "type".
11138 2012-03-06  Glenn Morris  <rgm@gnu.org>
11140         * files.el (locate-dominating-file): Add optional predicate argument.
11141         (dir-locals-find-file): Make use of above change.
11143 2012-03-06  Thien-Thi Nguyen  <ttn@gnuvola.org>
11145         * info.el (Info-insert-dir): Also try "dir.gz".
11147 2012-03-06  Glenn Morris  <rgm@gnu.org>
11149         * files.el (dir-locals-find-file):
11150         Ignore non-readable or non-regular files.  (Bug#10928)
11152         * files.el (locate-dominating-file): Doc fix.
11154 2012-03-06  Adam Spiers  <emacs@adamspiers.org>  (tiny change)
11156         * calendar/calendar.el (calendar-set-mode-line):
11157         `getenv' returns a string.  (Bug#10951)
11159 2012-03-05  Leo Liu  <sdl.web@gmail.com>
11161         * simple.el (backward-delete-char-untabify): Constrain point to
11162         field (Bug#10939).
11164         * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
11166 2012-03-05  Chong Yidong  <cyd@gnu.org>
11168         * simple.el (count-words): If called from Lisp, return the word
11169         count, for symmetry with `count-lines'.  Arglist changed.
11170         (count-words--message): Args changed.  Consolidate counting code
11171         from count-words and count-words-region.
11172         (count-words-region): Caller changed.
11173         (count-lines-region): Make it an obsolete alias.
11175 2012-03-04  Tassilo Horn  <tassilo@member.fsf.org>
11177         * saveplace.el (save-place-to-alist)
11178         (save-place-ignore-files-regexp): Allow value nil to disable this
11179         feature.
11181 2012-03-04  Chong Yidong  <cyd@gnu.org>
11183         * faces.el (face-spec-reset-face): For the default face, reset the
11184         attributes to default values (Bug#10748).
11186 2012-03-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11188         * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
11189         previous patch: Check `message-send-mail-function', and not the
11190         default function (bug#10897).
11192 2012-03-04  Michael Albinus  <michael.albinus@gmx.de>
11194         * notifications.el (notifications-on-action-signal)
11195         (notifications-on-closed-signal): Check for unique service name of
11196         incoming event.  Fix error in removing entry.
11197         (top): Register for signals with wildcard service name.
11198         (notifications-notify): Use daemon unique service name for map entries.
11200 2012-03-04  Chong Yidong  <cyd@gnu.org>
11202         * cus-start.el: Make x-select-enable-clipboard-manager customizable.
11204 2012-03-04  Glenn Morris  <rgm@gnu.org>
11206         * abbrev.el (copy-abbrev-table, abbrev-table-p)
11207         (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
11208         (expand-abbrev, define-abbrev-table): Doc fixes.
11210 2012-03-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11212         * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
11213         `message-default-send-mail-function' and not `send-mail-function'
11214         when doing the prompting for `sendmail-query-once' before sending
11215         in Message buffers (bug#10897).
11217         * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
11218         This is inconsistent with all the other stream functions, which leave
11219         the setting up to the higher levels (if so wanted) (bug#10931).
11221 2012-03-02  Alan Mackenzie  <acm@muc.de>
11223         Depessimize the handling of very large macros.
11225         * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
11226         (c-macro-cache-syntactic): New variables to implement a one
11227         element macro cache.
11228         (c-invalidate-macro-cache): New function.
11229         (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
11230         Adapt to use the new cache.
11231         (c-state-safe-place): Use better the cache of safe positions.
11232         (c-state-semi-nonlit-pos-cache)
11233         (c-state-semi-nonlit-pos-cache-limit):
11234         New variables for...
11235         (c-state-semi-safe-place): New function.  Here, in a macro is "safe".
11236         (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
11237         (c-in-literal, c-literal-limits, c-determine-limit-get-base):
11238         Use c-state-semi-safe-place.
11240         * progmodes/cc-langs.el (c-get-state-before-change-functions):
11241         Add c-invalidate-macro-cache to the C, C++, Obj entries.
11243 2012-03-02  Michael Albinus  <michael.albinus@gmx.de>
11245         * jka-compr.el (jka-compr-call-process):
11246         Apply `file-accessible-directory-p' only when the default directory is
11247         not remote.
11249 2012-03-01  Michael Albinus  <michael.albinus@gmx.de>
11251         * files.el (file-equal-p): Fix docstring.  Avoid unnecessary
11252         access of FILE2, if FILE1 does not exist.
11254         * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
11255         Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
11257         * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
11258         Add "PAGER=" to `process-environment'.
11260 2012-03-01  Michael R. Mauger  <mmaug@yahoo.com>
11262         * progmodes/sql.el: Bug fix
11263         (sql-get-login-ext): Save login values in globals.
11264         (sql-get-login): Use new version of `sql-get-login-ext'.
11265         (sql-interactive-mode): Set global `sql-connection' to nil.
11266         (sql-connect): Set global values for connection.
11267         (sql-product-interactive): Save global values as buffer local.
11269 2012-02-29  Leo Liu  <sdl.web@gmail.com>
11271         * abbrev.el (define-abbrevs): Reset sys to nil.
11273 2012-02-28  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
11275         * files.el (file-equal-p): Rename from `files-equal-p'.
11276         Return nil when one or both files don't exist.
11277         (file-subdir-of-p): Now only top directory must exists,
11278         return nil if it doesn't.
11279         (copy-directory): No need to test with `file-subdir-of-p' after
11280         creating dir.
11281         * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
11282         to `file-equal-p'.
11284 2012-02-28  Glenn Morris  <rgm@gnu.org>
11286         * shell.el (shell-mode):
11287         * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
11288         * play/landmark.el (landmark-font-lock-face-O):
11289         * play/handwrite.el (handwrite):
11290         * play/gomoku.el (gomoku-O):
11291         * net/browse-url.el (browse-url-browser-display):
11292         * international/mule.el (define-charset):
11293         * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
11294         * filesets.el (filesets-find-file-delay):
11295         * eshell/em-xtra.el (eshell-xtra):
11296         * eshell/em-unix.el (eshell-grep):
11297         * emulation/viper.el (viper-mode):
11298         * emacs-lisp/regexp-opt.el (regexp-opt-group):
11299         * emacs-lisp/easymenu.el (easy-menu-define):
11300         * calendar/timeclock.el (timeclock-use-display-time):
11301         * bs.el (bs-mode):
11302         * bookmark.el (bookmark-save-flag):
11303         Doc fix (standardize possessive apostrophe usage).
11305 2012-02-27  Chong Yidong  <cyd@gnu.org>
11307         * emulation/viper-cmd.el (viper-intercept-ESC-key):
11308         Fix key-binding lookup for ESC key (Bug#9146).
11310         * font-lock.el (font-lock-specified-p): Rename from
11311         font-lock-spec-present.  Callers changed.
11313 2012-02-27  Daniel Hackney  <dan@haxney.org>
11315         * emacs-lisp/package.el (package-compute-transaction):
11316         Handle holding a package version to t in package-load-list.
11318 2012-02-26  Michael Albinus  <michael.albinus@gmx.de>
11320         * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
11321         (tramp-get-inode, tramp-get-device): Use cached values.
11323 2012-02-26  Alan Mackenzie  <acm@muc.de>
11325         Check there is a font-lock specification before doing initial
11326         fontification.
11328         * font-core.el (font-lock-mode): Move the conditional from
11329         :after-hook to font-lock-initial-fontify.
11330         (font-lock-default-function): Move the check for a specification
11331         to font-lock-spec-present.
11333         * font-lock.el (font-lock-initial-fontify): Call ...
11334         (font-lock-spec-present): New function.
11336 2012-02-26  Jim Blandy  <jimb@red-bean.com>
11338         * progmodes/gdb-mi.el (gdb-mi-quote): New function.
11339         (gdb-send): Apply it to the operand of the '-interpreter-exec
11340         console' command, so that we can pass arguments with (say) quotes
11341         in them.  Store exact string sent in gdb-debug-log (Bug#10765).
11343 2012-02-26  Chong Yidong  <cyd@gnu.org>
11345         * help-fns.el (describe-function-1): Clarify description of
11346         remapping (Bug#10844).
11348         * files.el (files-equal-p): Doc fix.
11349         (file-subdir-of-p): Doc fix.  Convert loop macro to plain Lisp,
11350         and quit the loop once a mismatch is found.
11352 2012-02-25  Juanma Barranquero  <lekktu@gmail.com>
11354         * bs.el (bs--show-with-configuration): Don't throw an error
11355         if the window cannot be split; otherwise, subsequent calls to
11356         bs-show fail, restoring a stale window config.  (Bug#10882)
11358 2012-02-25  Jan Djärv  <jan.h.d@swipnet.se>
11360         * term/ns-win.el (global-map): Bind ns-drag-file to
11361         ns-find-file (Bug#5855, Bug#10050).
11363 2012-02-25  Andreas Schwab  <schwab@linux-m68k.org>
11365         * calendar/parse-time.el (parse-time-string): Allow extractor to
11366         return nil.
11368 2012-02-25  Michael Albinus  <michael.albinus@gmx.de>
11370         * net/tramp.el (tramp-file-name-for-operation):
11371         Add `files-equal-p' and `file-subdir-of-p'.
11373         * net/tramp-sh.el (tramp-sh-handle-copy-directory):
11374         * net/tramp-smb.el (tramp-smb-handle-copy-directory):
11375         Add COPY-CONTENTS argument.
11377 2012-02-25  Chong Yidong  <cyd@gnu.org>
11379         Add custom groups for VC backends, for consistency with vc-bzr.
11381         * vc/vc-arch.el (vc-arch):
11382         * vc/vc-cvs.el (vc-cvs):
11383         * vc/vc-git.el (vc-git):
11384         * vc/vc-hg.el (vc-hg):
11385         * vc/vc-mtn.el (vc-mtn):
11386         * vc/vc-rcs.el (vc-rcs):
11387         * vc/vc-sccs.el (vc-sccs):
11388         * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
11389         All relevant defcustoms reassigned.
11391 2012-02-25  Chong Yidong  <cyd@gnu.org>
11393         * newcomment.el (comment-styles): Add autoload (Bug#10868).
11395         * term/x-win.el (x-initialize-window-system): Reduce default for
11396         x-selection-timeout to 5 seconds (Bug#8869).
11398 2012-02-24  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
11400         * files.el (files-equal-p, file-subdir-of-p): New functions.
11401         (copy-directory): Error when trying to copy a directory on itself.
11402         Add missing copy-contents arg to tramp handler.
11403         * dired-aux.el (dired-copy-file-recursive): Same.
11404         (dired-create-files): Modify destination when source is equal to
11405         dest when copying files.
11406         Return also when dest is a subdir of source.  (Bug#10489)
11408 2012-02-24  Michael Albinus  <michael.albinus@gmx.de>
11410         * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
11411         (Bug#10874)
11413 2012-02-23  Alan Mackenzie  <acm@muc.de>
11415         * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
11416         parameter "after-hook:" to allow the expansion to run code after
11417         the execution of the mode hooks.
11419         * font-lock.el (font-lock-initial-fontify): New function extracted
11420         from font-lock-mode-internal.
11422         * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
11423         :after-hook.
11425 2012-02-23  Stefan Monnier  <monnier@iro.umontreal.ca>
11427         * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
11428         (completion--cache-all-sorted-completions): New function.
11429         (completion-all-sorted-completions): Use it.
11430         (completion--do-completion, minibuffer-force-complete):
11431         Use it to re-instate the flush hook.
11433         * icomplete.el (icomplete-completions): Replace last fix with a better
11434         one (bug#10850).
11436 2012-02-23  Dmitry Gutov  <dgutov@yandex.ru>
11438         * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
11439         when it might call us back infinitely (bug#10797).
11441 2012-02-23  Glenn Morris  <rgm@gnu.org>
11443         * minibuffer.el (completion-category-overrides): Doc fix.
11445 2012-02-23  Stefan Monnier  <monnier@iro.umontreal.ca>
11447         * minibuffer.el (completion-table-with-context): Fix inf-loop.
11448         Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
11450 2012-02-23  Glenn Morris  <rgm@gnu.org>
11452         * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
11453         (authors-obsolete-files-regexps, authors-ignored-files)
11454         (authors-ambiguous-files, authors-renamed-files-alist):
11455         Add more entries.
11457 2012-02-23  Juri Linkov  <juri@jurta.org>
11459         * isearch.el (isearch-occur): Sync interactive spec with occur's
11460         new feature in `occur-read-primary-args'.  Doc fix.  (Bug#10705)
11462         * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
11464 2012-02-22  Juri Linkov  <juri@jurta.org>
11466         * international/mule-cmds.el (read-char-by-name): Use \` and \'.
11467         (ucs-insert): Doc fix.  Check for hex digits in the string.
11468         Don't display `nil' in the error message.  (Bug#10857)
11470 2012-02-22  Alan Mackenzie  <acm@muc.de>
11472         * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
11474 2012-02-22  Glenn Morris  <rgm@gnu.org>
11476         * ffap.el (ffap-c-path):
11477         * man.el (Man-header-file-path): Handle multiarch.  (Bug#10702)
11479 2012-02-22  Chong Yidong  <cyd@gnu.org>
11481         * custom.el (load-theme): Doc fix.
11483 2012-02-22  Glenn Morris  <rgm@gnu.org>
11485         * dired-x.el (dired-guess-shell-alist-default):
11486         Remove escape sequences from nroff output.  (Bug#172)
11488 2012-02-21  Glenn Morris  <rgm@gnu.org>
11490         * vc/emerge.el (emerge-defvar-local):
11491         Set `permanent-local' property rather than unused `preserved'.
11493         * textmodes/picture.el (picture-delete-char): New alias.
11494         (picture-mode-map): Use it.  (Bug#10860)
11495         (picture-mode): Doc fix.
11497 2012-02-21  Juanma Barranquero  <lekktu@gmail.com>
11499         * newcomment.el (uncomment-region-default): Remove unused binding.
11501 2012-02-21  Glenn Morris  <rgm@gnu.org>
11503         * textmodes/picture.el (picture-motion, picture-motion-reverse)
11504         (picture-self-insert, picture-tab-chars): Doc fix.
11505         (picture-mode-map): Fix C-a, C-e.
11507 2012-02-20  Glenn Morris  <rgm@gnu.org>
11509         * emacs-lisp/authors.el (authors-aliases): Add another entry.
11511 2012-02-20  Leo Liu  <sdl.web@gmail.com>
11513         * icomplete.el (icomplete-completions): Check FROM arg before
11514         passing to substring (Bug#10850).
11516 2012-02-19  Chong Yidong  <cyd@gnu.org>
11518         * comint.el: Require ansi-color.
11519         (comint-output-filter-functions): Add ansi-color-process-output.
11521         * ansi-color.el: Don't set comint-output-filter-functions; it is
11522         now in the initial value defined in comint.el.
11523         (ansi-color-apply-face-function): New variable.
11524         (ansi-color-apply-on-region): Use it.
11525         (ansi-color-apply-overlay-face): New function.
11527         * shell.el (shell): No need to require ansi-color.
11528         (shell-mode): Use ansi-color-apply-face-function to highlight
11529         color escapes using font-lock-face property (Bug#10835).
11531 2012-02-19  Chong Yidong  <cyd@gnu.org>
11533         * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
11534         mode-line formats (Bug#10839).
11536 2012-02-18  Glenn Morris  <rgm@gnu.org>
11538         * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
11540         * mail/undigest.el (unforward-rmail-message): Doc fix.
11542         * saveplace.el (save-place-ignore-files-regexp): Add :version.
11544 2012-02-18  Eli Zaretskii  <eliz@gnu.org>
11546         * international/characters.el (script-list): Sync with the latest
11547         Unicode Character Database.
11549 2012-02-18  Andreas Schwab  <schwab@linux-m68k.org>
11551         * international/titdic-cnv.el: Remove duplicate coding tag.
11552         * language/cham.el: Likewise.
11553         * language/tai-viet.el: Likewise.
11555 2012-02-18  Glenn Morris  <rgm@gnu.org>
11557         * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
11558         * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
11559         (calendar-bahai-all-holidays-flag, calendar-other-dates):
11560         * calendar/diary-lib.el (diary-abbreviated-year-flag):
11561         * calendar/holidays.el (holiday-bahai-holidays)
11562         (calendar-holidays, list-holidays):
11563         Use utf-8 BahĂ¡'Ă­ in doc-strings, menus, etc.
11565 2012-02-17  Tassilo Horn  <tassilo@member.fsf.org>
11567         * saveplace.el (save-place-ignore-files-regexp): New variable
11568         allowing for excluding files from saving their location of point.
11569         The default value matches the temporary commit message editing
11570         files from Git, SVN, Bazaar, and Mercurial.
11571         (save-place-to-alist): Use it.
11573 2012-02-17  Lawrence Mitchell  <wence@gmx.li>
11574             Stefan Monnier  <monnier@iro.umontreal.ca>
11576         * newcomment.el (uncomment-region-default): Don't leave extra space
11577         when an arg is provided (bug#8150).
11579 2012-02-17  Teodor Zlatanov  <tzz@lifelogs.com>
11581         * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
11583 2012-02-17  Glenn Morris  <rgm@gnu.org>
11585         * net/socks.el: Require network-stream.  (Bug#10599)
11587 2012-02-17  Kenichi Handa  <handa@m17n.org>
11589         * international/charprop.el:
11590         * international/uni-name.el:
11591         * international/uni-old-name.el:
11592         * international/uni-comment.el: Regenerate.
11594 2012-02-16  Glenn Morris  <rgm@gnu.org>
11596         * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
11597         Interactively in calendar buffer, give an error if not on a date.
11599 2012-02-15  Glenn Morris  <rgm@gnu.org>
11601         * shell.el (shell-delimiter-argument-list):
11602         Revert 2011-02-17 change.  (Bug#8027)
11604 2012-02-15  Chong Yidong  <cyd@gnu.org>
11606         * minibuffer.el (completion-at-point-functions): Doc fix.
11608         * custom.el (defcustom): Doc fix; note use of defvar.
11610 2012-02-15  Glenn Morris  <rgm@gnu.org>
11612         * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
11613         Doc fixes.
11615 2012-02-14  Glenn Morris  <rgm@gnu.org>
11617         * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
11619 2012-02-14  Lars Ingebrigtsen  <larsi@gnus.org>
11621         * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
11622         way the ports list is computed.
11623         (smtpmail-query-smtp-server): Prompt the user for a port number if
11624         we can't connect to any of the standard ports (bug#10810).
11626 2012-02-14  Teodor Zlatanov  <tzz@lifelogs.com>
11628         * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
11630 2012-02-13  Glenn Morris  <rgm@gnu.org>
11632         * minibuffer.el (read-file-name): Doc fix.  (Bug#10798)
11634 2012-02-13  Teodor Zlatanov  <tzz@lifelogs.com>
11636         * net/gnutls.el (gnutls-trustfiles): New variable.
11637         (gnutls-negotiate): Use it.
11639 2012-02-13  Lars Ingebrigtsen  <larsi@gnus.org>
11641         * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
11642         does its stuff if Gnus is running.
11644 2012-02-13  Alan Mackenzie  <acm@muc.de>
11646         Fix a loop in c-set-fl-decl-start.
11648         * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
11649         c-backward-syntactic-ws actually moves backwards.
11651 2012-02-13  Leo Liu  <sdl.web@gmail.com>
11653         * net/rcirc.el (rcirc-markup-attributes): Move point to the
11654         beginning so that all \C-o chars are removed.
11656 2012-02-12  Teodor Zlatanov  <tzz@lifelogs.com>
11658         * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
11660 2012-02-12  Alan Mackenzie  <acm@muc.de>
11662         Fix infinite loop with long macros.
11663         * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
11665 2012-02-12  Chong Yidong  <cyd@gnu.org>
11667         * window.el (display-buffer): Doc fix (Bug#10785).
11669 2012-02-12  Glenn Morris  <rgm@gnu.org>
11671         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
11672         (x-disown-selection-internal, x-get-selection-internal):
11673         Sync docs with the xselect.c versions.
11675         * allout-widgets.el: Add missing license notice.
11677 2012-02-11  Glenn Morris  <rgm@gnu.org>
11679         * select.el (x-get-selection-internal, x-own-selection-internal)
11680         (x-disown-selection-internal):
11681         * x-dnd.el (x-get-selection-internal): Update declarations.
11683         * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
11685         * window.el (window-sides-slots):
11686         * tool-bar.el (tool-bar-position):
11687         * term/xterm.el (xterm-extra-capabilities):
11688         * ses.el (ses-self-reference-early-detection):
11689         * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
11690         (verilog-auto-wire-type)
11691         (verilog-auto-delete-trailing-whitespace)
11692         (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
11693         (verilog-auto-tieoff-declaration):
11694         * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
11695         (sql-oracle-statement-starters, sql-oracle-scan-on):
11696         * progmodes/prolog.el (prolog-align-comments-flag)
11697         (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
11698         (prolog-left-indent-regexp, prolog-paren-indent-p)
11699         (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
11700         (prolog-types, prolog-mode-specificators)
11701         (prolog-determinism-specificators, prolog-directives)
11702         (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
11703         (prolog-electric-dot-flag)
11704         (prolog-electric-dot-full-predicate-template)
11705         (prolog-electric-underscore-flag, prolog-electric-tab-flag)
11706         (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
11707         (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
11708         (prolog-program-switches, prolog-prompt-regexp)
11709         (prolog-debug-on-string, prolog-debug-off-string)
11710         (prolog-trace-on-string, prolog-trace-off-string)
11711         (prolog-zip-on-string, prolog-zip-off-string)
11712         (prolog-use-standard-consult-compile-method-flag)
11713         (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
11714         (prolog-imenu-max-lines, prolog-info-predicate-index)
11715         (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
11716         (prolog-char-quote-workaround):
11717         * progmodes/cc-vars.el (c-defun-tactic):
11718         * net/tramp.el (tramp-encoding-command-interactive)
11719         (tramp-local-end-of-line):
11720         * net/soap-client.el (soap-client):
11721         * net/netrc.el (netrc-file):
11722         * net/gnutls.el (gnutls):
11723         * minibuffer.el (completion-category-overrides)
11724         (completion-cycle-threshold)
11725         (completion-pcm-complete-word-inserts-delimiters):
11726         * man.el (Man-name-local-regexp):
11727         * mail/feedmail.el (feedmail-display-full-frame):
11728         * international/characters.el (glyphless-char-display-control):
11729         * eshell/em-ls.el (eshell-ls-date-format):
11730         * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
11731         (lisp-lambda-list-keyword-parameter-indentation)
11732         (lisp-lambda-list-keyword-parameter-alignment):
11733         * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
11734         * dired-x.el (dired-omit-verbose):
11735         * cus-theme.el (custom-theme-allow-multiple-selections):
11736         * calc/calc.el (calc-highlight-selections-with-faces)
11737         (calc-lu-field-reference, calc-lu-power-reference)
11738         (calc-note-threshold):
11739         * battery.el (battery-mode-line-limit):
11740         * arc-mode.el (archive-7z-extract, archive-7z-expunge)
11741         (archive-7z-update):
11742         * allout.el (allout-prefixed-keybindings)
11743         (allout-unprefixed-keybindings)
11744         (allout-inhibit-auto-fill-on-headline)
11745         (allout-flattened-numbering-abbreviation):
11746         * allout-widgets.el (allout-widgets-auto-activation)
11747         (allout-widgets-icons-dark-subdir)
11748         (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
11749         (allout-widgets-theme-dark-background)
11750         (allout-widgets-theme-light-background)
11751         (allout-widgets-item-image-properties-emacs)
11752         (allout-widgets-item-image-properties-xemacs)
11753         (allout-widgets-run-unit-tests-on-load)
11754         (allout-widgets-time-decoration-activity)
11755         (allout-widgets-hook-error-post-time)
11756         (allout-widgets-track-decoration):
11757         Add missing :version tags to new defcustoms and defgroups.
11759         * progmodes/sql.el (sql-ansi-statement-starters)
11760         (sql-oracle-statement-starters): Add custom type.
11762         * progmodes/prolog.el: Remove leading '*' from defcustom docs.
11763         (prolog-system-version): Give it a type.
11765 2012-02-11  Eli Zaretskii  <eliz@gnu.org>
11767         * term/pc-win.el (x-select-text, x-selection-owner-p)
11768         (x-own-selection-internal, x-disown-selection-internal)
11769         (x-get-selection-internal): Sync doc strings and argument lists
11770         with xselect.c, common-win.el and x-win.el.  (Bug#10783)
11772 2012-02-11  Leo Liu  <sdl.web@gmail.com>
11774         * progmodes/python.el (python-end-of-statement): Fix infinite
11775         loop.  (Bug#10788)
11777 2012-02-10  Glenn Morris  <rgm@gnu.org>
11779         * international/mule-cmds.el (unify-8859-on-encoding-mode)
11780         (unify-8859-on-decoding-mode): Properly mark as obsolete.
11782 2012-02-10  Lars Ingebrigtsen  <larsi@gnus.org>
11784         * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
11785         about SMTP before checking the From header.
11787         * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
11788         into own function for reuse by emacsbug.el.
11790 2012-02-10  Leo Liu  <sdl.web@gmail.com>
11792         * subr.el (condition-case-unless-debug): Rename from
11793         condition-case-no-debug.  All callers changed.
11794         (with-demoted-errors): Fix caller.
11796         * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
11797         * nxml/rng-valid.el (rng-do-some-validation):
11798         * emacs-lisp/package.el (package-refresh-contents)
11799         (package-menu-execute):
11800         * desktop.el (desktop-create-buffer):
11801         * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
11803 2012-02-10  Glenn Morris  <rgm@gnu.org>
11805         * textmodes/bibtex.el:
11806         Add missing :version tags for new/changed defcustoms.
11808         * files.el (remote-file-name-inhibit-cache): Doc fixes.
11810 2012-02-09  Lars Ingebrigtsen  <larsi@rusty>
11812         * mail/smtpmail.el (smtpmail-user-mail-address): New function.
11813         (smtpmail-via-smtp): Use it, or fall back on the From address.
11814         (smtpmail-send-it): Ditto.
11816 2012-02-09  Stefan Monnier  <monnier@iro.umontreal.ca>
11818         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
11819         Don't fallback on byte-compile-defvar.  Optimize (defvar foo) away.
11820         (byte-compile-tmp-var): New const.
11821         (byte-compile-defvar): Use it to minimize .elc size.
11822         Just use `defvar' rather than simulate it (bug#10761).
11824 2012-02-09  Glenn Morris  <rgm@gnu.org>
11826         * files.el (rename-uniquely): Doc fix.  (Bug#3806)
11828         * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
11829         Add :version tags.
11831         * progmodes/compile.el (compilation-error-screen-columns)
11832         (compilation-first-column, compilation-filter-start): Doc fixes.
11834         * vc/log-view.el (log-view-toggle-entry-display):
11835         * vc/vc.el (vc-merge, vc-pull): Doc fixes.
11837         * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
11838         (report-emacs-bug-can-use-xdg-email):
11839         (report-emacs-bug-insert-to-mailer): Doc fixes.
11840         (report-emacs-bug): Message fix.
11842         * net/browse-url.el (browse-url-can-use-xdg-open)
11843         (browse-url-xdg-open): Doc fixes.
11845         * electric.el (electric-indent-mode, electric-pair-mode)
11846         (electric-layout-rules, electric-layout-mode): Doc fixes.
11847         (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
11849 2012-02-08  Martin Rudalics  <rudalics@gmx.at>
11851         * server.el (server-unselect-display): Don't inadvertently kill
11852         the current buffer.  (Bug#10729)
11854 2012-02-08  Glenn Morris  <rgm@gnu.org>
11856         * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
11857         (sql-list-table): Doc fixes.
11859         * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
11860         Comment out (does nothing).
11862         * completion.el (dynamic-completion-mode):
11863         * dirtrack.el (dirtrack-debug-mode):
11864         * electric.el (electric-layout-mode):
11865         * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
11866         * face-remap.el (text-scale-mode, buffer-face-mode):
11867         * iimage.el (iimage-mode):
11868         * image-mode.el (image-transform-mode):
11869         * minibuffer.el (completion-in-region-mode):
11870         * scroll-lock.el (scroll-lock-mode):
11871         * simple.el (next-error-follow-minor-mode):
11872         * tar-mode.el (tar-subfile-mode):
11873         * tooltip.el (tooltip-mode):
11874         * vcursor.el (vcursor-use-vcursor-map):
11875         * wid-browse.el (widget-minor-mode):
11876         * emulation/tpu-edt.el (tpu-edt-mode):
11877         * emulation/tpu-extras.el (tpu-cursor-free-mode):
11878         * international/iso-ascii.el (iso-ascii-mode):
11879         * language/thai-util.el (thai-word-mode):
11880         * mail/supercite.el (sc-minor-mode):
11881         * net/goto-addr.el (goto-address-mode):
11882         * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
11883         * progmodes/cwarn.el (cwarn-mode):
11884         * progmodes/flymake.el (flymake-mode):
11885         * progmodes/glasses.el (glasses-mode):
11886         * progmodes/hideshow.el (hs-minor-mode):
11887         * progmodes/pascal.el (pascal-outline-mode):
11888         * textmodes/enriched.el (enriched-mode):
11889         * vc/smerge-mode.el (smerge-mode):
11890         Doc fixes (minor mode argument).
11892 2012-02-07  Eli Zaretskii  <eliz@gnu.org>
11894         * ls-lisp.el (ls-lisp-sanitize): New function.
11895         (ls-lisp-insert-directory): Use it to fix or remove any elements
11896         in file-alist with missing attributes.  (Bug#4673)
11898 2012-02-07  Alan Mackenzie  <acm@muc.de>
11900         Fix spurious recognition of c-in-knr-argdecl.
11902         * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
11903         putative K&R region.
11905 2012-02-07  Alan Mackenzie  <acm@muc.de>
11907         * progmodes/cc-engine.el (c-forward-objc-directive):
11908         Prevent looping in "#pragma mark @implementation".
11910 2012-02-07  Michael Albinus  <michael.albinus@gmx.de>
11912         * notifications.el (notifications-on-closed-signal): Make `reason'
11913         optional.  (Bug#10744)
11915 2012-02-07  Glenn Morris  <rgm@gnu.org>
11917         * emacs-lisp/easy-mmode.el (define-minor-mode):
11918         Doc fixes for the macro and the mode it defines.
11920         * image.el (imagemagick-types-inhibit): Doc fix.
11922         * cus-start.el (imagemagick-render-type): Add it.
11924 2012-02-06  Lars Ingebrigtsen  <larsi@gnus.org>
11926         * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
11927         Set the default at load time, too, so that `font-lock-fontify-buffer'
11928         can be called without setting up the entire mode first.  This fixes
11929         a bug in `mm-inline-text' with C MIME parts.
11931 2012-02-06  Chong Yidong  <cyd@gnu.org>
11933         * simple.el (list-processes--refresh): Delete exited processes
11934         (Bug#8094).
11936         * comint.el (comint-next-prompt): next-single-char-property-change
11937         and prev-single-char-property-change never return nil (Bug#8657).
11939         * custom.el (defcustom): Doc fix (Bug#9711).
11941 2012-02-05  Chong Yidong  <cyd@gnu.org>
11943         * cus-edit.el (custom-variable-reset-backup): Quote the value
11944         before storing it in the customized-value property (Bug#6712).
11945         (custom-display): Add a customization type tag.
11946         (custom-buffer-create-internal): Improve tooltip message.
11948         * wid-edit.el (widget-field-value-get): New optional arg to
11949         suppress trailing whitespace truncation.
11950         (character): Use it (Bug#2689).
11952 2012-02-05  Andreas Schwab  <schwab@linux-m68k.org>
11954         * progmodes/gud.el (gud-pv): Use pv instead of pv1.
11955         * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
11957 2012-02-05  Chong Yidong  <cyd@gnu.org>
11959         * cus-edit.el (custom-variable-value-create): For mismatched
11960         types, show the current value (Bug#7600).
11962         * custom.el (defcustom): Doc fix.
11964 2012-02-05  Glenn Morris  <rgm@gnu.org>
11966         * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
11968 2012-02-05  Juanma Barranquero  <lekktu@gmail.com>
11970         * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
11971         (pp-buffer): Use `ignore-errors', `looking-at-p'.
11972         (pp-last-sexp): Use `looking-at-p'.
11974 2012-02-04  Glenn Morris  <rgm@gnu.org>
11976         * files.el (revert-buffer):
11977         Doc fix (mention revert-buffer-in-progress-p).
11979         * emacs-lisp/ert-x.el (ert-simulate-command):
11980         Check deferred-action-list (which is obsolete) is bound.
11982         * subr.el (with-wrapper-hook): Doc fixes.
11984         * simple.el (filter-buffer-substring-functions)
11985         (buffer-substring-filters, filter-buffer-substring): Doc fixes.
11987 2012-02-04  Lars Ljung  <lars@matholka.se>  (tiny change)
11989         * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
11990         anywhere in shell-file-name, not just at the beginning.  (Bug#10523)
11992 2012-02-04  Leo Liu  <sdl.web@gmail.com>
11994         * emacs-lisp/smie.el: Fix dead link (Bug#10711).
11996 2012-02-04  Glenn Morris  <rgm@gnu.org>
11998         * image.el (image-extension-data): Add obsolete alias.
12000         * isearch.el (isearch-update): Doc fix.
12002         * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
12004         * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
12006 2012-02-03  Glenn Morris  <rgm@gnu.org>
12008         * image.el (image-animated-p): Doc fix.  Use image-animated-types.
12009         (image-animate-timeout): Doc fix.
12011         * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
12013 2012-02-02  Glenn Morris  <rgm@gnu.org>
12015         * server.el (server-auth-dir): Doc fix.
12016         (server-eval-at): Doc fix.  Give an explicit error if !server-use-tcp.
12018         * subr.el (run-mode-hooks): Doc fix.
12020 2012-02-02  Juri Linkov  <juri@jurta.org>
12022         * image-mode.el (image-toggle-display-image): Remove tautological
12023         `major-mode' from the `derived-mode-p' test.
12025 2012-02-02  Kenichi Handa  <handa@m17n.org>
12027         * composite.el (compose-region): Cancel previous change.
12029 2012-02-02  Kenichi Handa  <handa@m17n.org>
12031         * composite.el (compose-region, compose-string): Signal error for
12032         a null string component (Bug#6988).
12034 2012-02-01  Chong Yidong  <cyd@gnu.org>
12036         * view.el (view-buffer-other-window, view-buffer-other-frame):
12037         Handle special modes like view-buffer (Bug#10650).
12038         (view-buffer): Simplify.
12040         * frame.el (set-frame-font): Tweak meaning of third argument.
12042         * dynamic-setting.el (font-setting-change-default-font):
12043         Use set-frame-font (Bug#9982).
12045 2012-02-01  Glenn Morris  <rgm@gnu.org>
12047         * progmodes/compile.el (compilation-internal-error-properties):
12048         Respect compilation-first-column in the "*compilation*" buffer.
12050         * emacs-lisp/easy-mmode.el (define-minor-mode):
12051         Relax :variable's test for a named function.
12053 2012-01-31  Alan Mackenzie  <acm@muc.de>
12055         * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
12056         off by one error.
12058 2012-01-31  Chong Yidong  <cyd@gnu.org>
12060         * frame.el (set-frame-font): New arg ALL-FRAMES.
12062         * menu-bar.el (menu-set-font): Use set-frame-font.
12064         * faces.el (face-spec-reset-face): Don't apply unspecified
12065         attribute values to the default face.
12067 2012-01-31  Juanma Barranquero  <lekktu@gmail.com>
12069         * progmodes/cwarn.el (cwarn): Remove dead link.
12070         (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
12071         Remove * from defcustom docstrings.
12072         (turn-on-cwarn-mode): Make obsolete.
12073         (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
12074         (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
12076 2012-01-31  Glenn Morris  <rgm@gnu.org>
12078         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
12079         Fix :variable handling of mode a symbol not equal to modefun.
12080         Allow named functions to be used as the cdr of :variable.
12082 2012-01-30  Glenn Morris  <rgm@gnu.org>
12084         * emacs-lisp/authors.el (authors-fixed-entries):
12085         Remove reference to deleted file rnewspost.el.
12087 2012-01-29  Juanma Barranquero  <lekktu@gmail.com>
12089         * window.el (window-with-parameter): Remove unused variable `windows'.
12090         (window--side-check): Remove unused variable `code'.
12091         (window--resize-siblings): Remove unused variable `first'.
12092         (adjust-window-trailing-edge): Remove unused variable `failed'.
12093         (window-deletable-p, window--delete): Remove unused variable `buffer'.
12094         Use `let', not `let*'.
12095         (balance-windows-2): Remove unused variable `found'.
12096         (window--state-put-2): Remove unused variable `splits'.
12097         (window-state-put): Remove unused variable `selected'.
12098         (same-window-p): Use `string-match-p'.
12099         (display-buffer-assq-regexp): Remove unused variable `value'.
12100         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
12101         Mark argument ALIST as ignored.
12102         (pop-to-buffer): Remove unused variable `old-window'.
12104 2012-01-29  Eli Zaretskii  <eliz@gnu.org>
12106         * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
12107         and .lzma compressed files.
12109 2012-01-29  Chong Yidong  <cyd@gnu.org>
12111         * frame.el (window-system-default-frame-alist): Doc fix.
12113         * dynamic-setting.el (font-setting-change-default-font): Don't
12114         change the default face if SET-FONT argument is non-nil (Bug#9982).
12116 2012-01-29  Samuel Bronson  <naesten@gmail.com>
12118         * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
12120 2012-01-29  Syver Enstad  <syver.enstad@cisco.com>  (tiny change)
12122         * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
12123         breakpoints in files outside current directory (Bug#6098).
12125 2012-01-29  Chong Yidong  <cyd@gnu.org>
12127         * progmodes/python.el: Require ansi-color at top-level.
12129         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
12130         Define and use in Emacs Lisp mode (Bug#9360).
12131         (lisp-mode-abbrev-table): Add doc.
12132         (lisp-mode-variables): Don't set local-abbrev-table.
12133         (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
12135 2012-01-28  Roland Winkler  <winkler@gnu.org>
12137         * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
12139 2012-01-28  Roland Winkler  <winkler@gnu.org>
12141         * textmodes/bibtex.el (bibtex-entry-alist): New function.
12142         (bibtex-set-dialect): Use it.  Either set global values of
12143         dialect-dependent variables or bind these variables buffer-locally
12144         (Bug#10254).
12145         (bibtex-mode): Call bibtex-set-dialect via
12146         hack-local-variables-hook.
12147         (bibtex-dialect): Update docstring.
12148         Add safe-local-variable predicate.
12149         (bibtex-entry-alist, bibtex-field-alist): Initialize via
12150         bibtex-set-dialect.
12151         (bibtex-mode-map): Define menu for each dialect.
12152         (bibtex-entry): Fix docstring.
12154 2012-01-28  Chong Yidong  <cyd@gnu.org>
12156         * eshell/esh-arg.el (eshell-quote-argument): New function.
12158         * eshell/esh-ext.el (eshell-invoke-batch-file):
12159         * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
12160         first arg to eshell-parse-command (Bug#10523).
12162 2012-01-28  Drew Adams  <drew.adams@oracle.com>
12164         * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
12165         `default-directory' is non-nil.
12167 2012-01-28  Eli Zaretskii  <eliz@gnu.org>
12169         * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
12170         line that displays system-configuration-options.  (Bug#9924)
12172 2012-01-28  Drew Adams  <drew.adams@oracle.com>
12174         * descr-text.el (describe-char): Show information about POS, in
12175         addition to information about the character at POS.  Improve and
12176         update the doc string.  Change "code point" to "code point in
12177         charset", to avoid confusion with the character's Unicode code
12178         point shown above that.  (Bug#10129)
12180 2012-01-28  Eli Zaretskii  <eliz@gnu.org>
12182         * descr-text.el (describe-char): Show the raw character, not only
12183         its display form at POS.  Suggested by Kenichi Handa <handa@m17n.org>.
12184         See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
12185         for the reasons.
12187 2012-01-28  Phil Hagelberg  <phil@hagelb.org>
12189         * emacs-lisp/package.el (package-install):
12190         Run package-refresh-contents if there is no archive yet (Bug#9798).
12192 2012-01-28  Chong Yidong  <cyd@gnu.org>
12194         * emacs-lisp/package.el (package-maybe-load-descriptor):
12195         New function, split from package-maybe-load-descriptor.
12196         (package-maybe-load-descriptor): Use it.
12197         (package-download-transaction): Fully load required packages
12198         inside the loop, so that `require' calls work (Bug#10593).
12199         (package-install): No need to call package-initialize now.
12201 2012-01-28  Chong Yidong  <cyd@gnu.org>
12203         * simple.el (deactivate-mark): Doc fix (Bug#8614).
12205         * tooltip.el (tooltip-mode): Doc fix.
12206         (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
12208         * frame.el (set-cursor-color): Doc fix (Bug#352).
12210         * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
12211         (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
12213         * cus-edit.el (custom-buffer-create-internal): Fix search button
12214         action (Bug#10542).
12215         (customize-unsaved, customize-saved): Doc fix (Bug#10541).
12217 2012-01-27  Eduard Wiebe  <usenet@pusto.de>
12219         * dired.el (dired-mark-files-regexp):
12220         Include any subdirectory components.  (Bug#10445)
12222 2012-01-27  Mike Lamb  <mrlamb@gmail.com>  (tiny change)
12224         * pcmpl-unix.el (pcmpl-ssh-known-hosts):
12225         Handle [host]:port syntax.  (Bug#10533)
12227 2012-01-27  Alex Harsanyi  <harsanyi@mac.com>
12229         * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
12231 2012-01-26  Glenn Morris  <rgm@gnu.org>
12233         * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
12234         * term.el (term-raw-escape-map): Use Control-X-prefix.
12235         * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map.  (Bug#10566)
12237 2012-01-25  Martin Rudalics  <rudalics@gmx.at>
12239         * window.el (window-state-get, window--state-get-1): Don't deal
12240         with fixed-sizeness of windows.  Simplify code.
12242 2012-01-25  JĂ©rĂ©my Compostella  <jeremy.compostella@gmail.com>
12244         * window.el (window--state-get-1, window--state-put-2):
12245         Don't save and restore the mark.
12247 2012-01-25  Chong Yidong  <cyd@gnu.org>
12249         * custom.el (custom-variable-p): Doc fix.
12251 2012-01-25  Glenn Morris  <rgm@gnu.org>
12253         * dired.el (dired-goto-file): Handle some of the more common
12254         characters that `ls -b' escapes.  (Bug#10596)
12256         * progmodes/compile.el (compilation-next-error-function):
12257         Respect compilation-first-column in the "*compilation*" buffer.
12258         * progmodes/grep.el (grep-first-column): New variable.  (Bug#10594)
12260         * vc/vc.el (vc-modify-change-comment): Scoping fix.  (Bug#10513)
12262 2012-01-24  Glenn Morris  <rgm@gnu.org>
12264         * pcmpl-gnu.el (pcomplete/tar): Handle " - ".  (Bug#10457)
12266 2012-01-24  Julien Danjou  <julien@danjou.info>
12268         * color.el (color-rgb-to-hsl): Fix value computing.
12269         (color-hue-to-rgb): New function.
12270         (color-hsl-to-rgb): New function.
12271         (color-clamp, color-saturate-hsl, color-saturate-name)
12272         (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
12273         (color-lighten-name, color-darken-hsl, color-darken-name): New function.
12275 2012-01-24  Glenn Morris  <rgm@gnu.org>
12277         * vc/vc-rcs.el (vc-rcs-create-tag):
12278         * vc/vc-sccs.el (vc-sccs-create-tag):
12279         Fix argument spec to be what vc-create-tag expects.  (Bug#10515)
12281 2012-01-23  Mike Lamb  <mrlamb@gmail.com>  (tiny change)
12283         * eshell/esh-util.el (eshell-read-hosts-file):
12284         Skip comment lines.  (Bug#10549)
12286         * eshell/em-unix.el (pcomplete/ssh): Remove.  (Bug#10548)
12288 2012-01-23  Juanma Barranquero  <lekktu@gmail.com>
12290         * subr.el (display-delayed-warnings): Doc fix.
12291         (collapse-delayed-warnings): New function to collapse identical
12292         adjacent warnings.
12293         (delayed-warnings-hook): Add it.
12295 2012-01-22  Michael Albinus  <michael.albinus@gmx.de>
12297         * net/tramp.el (tramp-action-login): Set connection property "login-as".
12299         * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
12300         (tramp-default-user-alist): Don't add "pscp".
12301         (tramp-do-copy-or-rename-file-out-of-band): Use connection
12302         property "login-as", if set.  (Bug#10530)
12304 2012-01-21  Michael Albinus  <michael.albinus@gmx.de>
12306         * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
12307         "plink1" and "psftp".  (Bug#10530)
12309 2012-01-21  Kenichi Handa  <handa@m17n.org>
12311         * international/mule-cmds.el (prefer-coding-system): Show a
12312         warning message if the default value of file-name-coding-system
12313         was not changed.
12315 2012-01-21  JĂ©rĂ©my Compostella  <jeremy.compostella@gmail.com>
12317         * windmove.el (windmove-reference-loc):
12318         Fix windmove-reference-loc miscalculation.
12320 2012-01-21  Jay Belanger  <jay.p.belanger@gmail.com>
12322         * calc/calc-units.el (math-put-default-units): Don't use "1" as a
12323         default unit.
12325 2012-01-21  Glenn Morris  <rgm@gnu.org>
12327         * international/mule.el (auto-coding-alist): Add .tbz.
12329         * files.el (local-enable-local-variables): Doc fix.
12330         (inhibit-local-variables-regexps): Rename from
12331         inhibit-first-line-modes-regexps.  Keep old name as obsolete alias.
12332         Doc fix.  Add some extensions from auto-coding-alist.
12333         (inhibit-local-variables-suffixes):
12334         Rename from inhibit-first-line-modes-suffixes.  Doc fix.
12335         (inhibit-local-variables-p):
12336         New function, extracted from set-auto-mode-1.
12337         (set-auto-mode): Doc fix.  Respect inhibit-local-variables-regexps.
12338         (set-auto-mode-1): Doc fix.  Use inhibit-local-variables-p.
12339         (hack-local-variables): Doc fix.  Make the mode-only case
12340         respect enable-local-variables and friends.
12341         Respect inhibit-local-variables-regexps for file-locals, but
12342         not for directory-locals.
12343         (set-visited-file-name):
12344         Take account of inhibit-local-variables-regexps.
12345         Whether it applies may change as the file name is changed.
12346         * jka-cmpr-hook.el (jka-compr-install):
12347         * jka-compr.el (jka-compr-uninstall):
12348         Update for inhibit-first-line-modes-suffixes name change.
12350 2012-01-20  Martin Rudalics  <rudalics@gmx.at>
12352         * help-macro.el (make-help-screen): Temporarily restore original
12353         binding for minor-mode-map-alist (Bug#10454).
12355 2012-01-19  Julien Danjou  <julien@danjou.info>
12357         * color.el (color-name-to-rgb): Use the white color to find the max
12358         color component value and return correctly computed values.
12359         (color-name-to-rgb): Add missing float conversion for max value.
12361 2012-01-19  Martin Rudalics  <rudalics@gmx.at>
12363         * window.el (window--state-get-1, window-state-get): Do not use
12364         special state value for window-persistent-parameters.
12365         Rename argument IGNORE to WRITABLE.  Rewrite doc-string.
12366         (window--state-put-2): Reset all window parameters to nil before
12367         assigning values of persistent parameters.
12369 2012-01-18  Alan Mackenzie  <acm@muc.de>
12371         Eliminate sluggishness and hangs in fontification of "semicolon
12372         deserts".
12374         * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
12375         Change value 10000 -> 3000.
12376         (c-state-safe-place): Reformulate so it doesn't stack up an
12377         infinite number of wrong entries in c-state-nonlit-pos-cache.
12378         (c-determine-limit-get-base, c-determine-limit): New functions to
12379         determine backward search limits disregarding literals.
12380         (c-find-decl-spots): Amend commenting.
12381         (c-cheap-inside-bracelist-p): New function which detects "={".
12383         * progmodes/cc-fonts.el
12384         (c-make-font-lock-BO-decl-search-function): Give a limit to a
12385         backward search.
12386         (c-font-lock-declarations): Fix an occurrence of point being
12387         undefined.  Check additionally for point being in a bracelist or
12388         near a macro invocation without a semicolon so as to avoid a
12389         fruitless time consuming search for a declarator.  Give a more
12390         precise search limit for declarators using the new
12391         c-determine-limit.
12393 2012-01-18  Glenn Morris  <rgm@gnu.org>
12395         * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
12396         (set-auto-mode): Doc fixes.
12398 2012-01-17  Glenn Morris  <rgm@gnu.org>
12400         * isearch.el (search-nonincremental-instead): Fix doc typo.
12402         * dired.el (dired-insert-directory): Handle newlines in directory name.
12403         (dired-build-subdir-alist): Unescape newlines in directory name.
12405 2012-01-17  Michael Albinus  <michael.albinus@gmx.de>
12407         * net/tramp.el (tramp-local-end-of-line): New defcustom.
12408         (tramp-action-login, tramp-action-yesno, tramp-action-yn)
12409         (tramp-action-terminal): Use it.  (Bug#10530)
12411 2012-01-16  Stefan Monnier  <monnier@iro.umontreal.ca>
12413         * minibuffer.el (completion--replace): Strip properties (bug#10062).
12415 2012-01-16  Martin Rudalics  <rudalics@gmx.at>
12417         * window.el (window-state-ignored-parameters): Remove variable.
12418         (window--state-get-1): Rename argument MARKERS to IGNORE.
12419         Handle persistent window parameters.  Make copy of clone-of
12420         parameter only if requested.  (Bug#10348)
12421         (window--state-put-2): Install a window parameter only if it has
12422         a non-nil value or an existing parameter shall be overwritten.
12424 2012-01-15  Michael Albinus  <michael.albinus@gmx.de>
12426         * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
12428 2012-01-14  Eli Zaretskii  <eliz@gnu.org>
12430         * info.el (Info-toc-build): If the Info file has no "Up" pointer,
12431         don't pass the (nil) value of `upnode' to string-match.
12433 2012-01-14  Chong Yidong  <cyd@gnu.org>
12435         * startup.el (command-line): Fix X resource class for cursorColor.
12436         Fix values recognized by the cursorBlink resource.
12438 2012-01-14  Paul Eggert  <eggert@cs.ucla.edu>
12440         * epg.el (epg--make-temp-file): Avoid permission race condition
12441         when running on old Emacs versions (bug#10403).
12443 2012-01-14  Glenn Morris  <rgm@gnu.org>
12445         * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
12447 2012-01-13  Alan Mackenzie  <acm@muc.de>
12449         Fix filling for when filladapt mode is enabled.
12451         * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
12452         c-mask-paragraph, pass in `fill-paragraph' rather than
12453         `fill-region-as-paragraph'.  (This is a reversion of a previous
12454         change.)
12455         * progmodes/cc-mode.el (c-basic-common-init):
12456         Make fill-paragraph-handle-comment buffer local and set it to nil.
12458 2012-01-13  Glenn Morris  <rgm@gnu.org>
12460         * dired.el (dired-switches-escape-p): New function.
12461         (dired-insert-directory): Use dired-switches-escape-p.
12462         (dired-get-filename): Undo "\ " quoting if needed.  (Bug#10469)
12464         * find-dired.el (find-ls-option): Doc fix.  (Bug#10262)
12466 2012-01-12  Glenn Morris  <rgm@gnu.org>
12468         * mail/sendmail.el (mail-mode): Update paragraph-separate for
12469         changes in adaptive-fill-regexp.  (Bug#10276)
12471 2012-01-11  Alan Mackenzie  <acm@muc.de>
12473         Fix Emacs bug #10463 - put `widen's around the critical spots.
12475         * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
12476         widen around each invocation of c-state-pp-to-literal.  Remove an
12477         unused let variable.
12479 2012-01-11  Glenn Morris  <rgm@gnu.org>
12481         * dired-aux.el (dired-do-shell-command): Fix */? logic.  (Bug#6561)
12482         Doc fix.
12484 2012-01-10  Chong Yidong  <cyd@gnu.org>
12486         * net/network-stream.el (network-stream-open-starttls):
12487         Avoid emitting a confusing error message when the server gives a bad
12488         response to the capability command.
12490 2012-01-10  Glenn Morris  <rgm@gnu.org>
12492         * mail/unrmail.el (unrmail): Tweak previous change.
12494 2012-01-09  Chong Yidong  <cyd@gnu.org>
12496         * custom.el (custom-safe-themes): Use SHA-256 for hashing.
12498 2012-01-08  Alan Mackenzie  <acm@muc.de>
12500         Optimise font locking in long enum definitions.
12502         * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
12503         arm to a cond form to handle enums.
12504         * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
12505         * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
12507 2012-01-07  Paul Eggert  <eggert@cs.ucla.edu>
12509         * files.el (move-file-to-trash): Preserve default file modes on error.
12510         (Bug#10401)
12512 2012-01-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12514         * faces.el (set-face-attribute): Clarify the meaning of the nil
12515         frame (bug#10294).
12517         * subr.el (with-selected-frame): Mention that the selected frame
12518         is restored (bug#9980).
12520         * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
12521         (bug#9759).
12523         * mail/smtpmail.el (password-cache-add): Remove unused declaration.
12524         (password-read): Don't autoload unused function.
12526 2012-01-07  Juanma Barranquero  <lekktu@gmail.com>
12528         * progmodes/which-func.el (which-func-mode): Turn into a
12529         non-interactive function and mark as obsolete (bug#10428).
12531 2012-01-06  Chong Yidong  <cyd@gnu.org>
12533         * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
12534         (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
12535         functions, along with 1 and -1.
12537 2012-01-06  Eli Zaretskii  <eliz@gnu.org>
12539         * time.el (display-time-load-average)
12540         (display-time-default-load-average): Doc fixes.  See the thread
12541         starting at
12542         http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
12543         for the details.
12545 2012-01-06  Glenn Morris  <rgm@gnu.org>
12547         * mail/unrmail.el (unrmail): Give an explicit error if the input file
12548         has no messages.  (Bug#10377)
12550         * info.el (Info-mode-map): Bind e to end-of-buffer, rather
12551         than Info-edit.  (Bug#10385)
12553         * time.el (display-time-load-average, display-time-next-load-average):
12554         Doc fixes.
12556         * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
12557         local setting of buffer-read-only to the input buffer.  (Bug#10419)
12559         * calendar/calendar.el (calendar-mode):
12560         Locally set scroll-margin to 0.  (Bug#10379)
12562 2012-01-06  Ulrich Mueller  <ulm@gentoo.org>
12564         * play/doctor.el (doctor-death): Escape "," characters.  (Bug#10370)
12566 2012-01-05  Glenn Morris  <rgm@gnu.org>
12568         * eshell/em-unix.el (diff-no-select): Autoload it.
12569         (eshell/diff): Use diff-no-select.  (Bug#10420)
12571 2012-01-05  Chong Yidong  <cyd@gnu.org>
12573         * shell.el (shell-dynamic-complete-functions): Revert last change.
12574         (shell-command-completion-function): New function.
12575         (shell-completion-vars): Use it to implement
12576         shell-completion-execonly (Bug#10417).
12578         * custom.el (enable-theme): Don't set custom-safe-themes.
12580         * cus-theme.el (custom-theme-merge-theme):
12581         Ignore custom-enabled-themes and custom-safe-themes.
12583 2012-01-05  Michael R. Mauger  <mmaug@yahoo.com>
12585         * progmodes/sql.el (sql-login-hook): Add hook to respond to the
12586         first prompt in `sql-interacive-mode'.
12587         (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
12588         keywords.
12589         (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
12590         (sql-product-interactive): Bug fix: Set `sql-buffer' in
12591         context of original buffer.  Invoke `sql-login-hook'.
12593 2012-01-04  Eli Zaretskii  <eliz@gnu.org>
12595         * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
12596         letters in cite-prefix.
12598 2012-01-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12600         * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
12602 2012-01-03  Chong Yidong  <cyd@gnu.org>
12604         * shell.el (shell-dynamic-complete-functions):
12605         Put pcomplete-completions-at-point, so as to try
12606         comint-filename-completion first (Bug#10417).
12608 2012-01-02  Richard Stallman  <rms@gnu.org>
12610         * battery.el (battery-status-function):
12611         Detect when to use battery-yeeloong-sysfs.
12612         (battery-echo-area-format): Add string for Yeeloong.
12613         (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
12614         (battery-yeeloong-sysfs): New function.
12616 2012-01-02  Chong Yidong  <cyd@gnu.org>
12618         * dirtrack.el (dirtrack-list): Eliminate unused third element.
12619         (dirtrack): Merge code for handling relative filenames in prompt
12620         from shell-dir-cookie-watcher.
12621         (dirtrack-debug-message): New arg to avoid excess format calls.
12623         * shell.el (shell-dir-cookie-re): Variable deleted.
12624         (shell-dir-cookie-watcher): Function deleted.
12625         (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
12626         with dirtrack-mode.
12628 2012-01-01  Eli Zaretskii  <eliz@gnu.org>
12630         * term/w32-win.el (dynamic-library-alist) <gnutls>:
12631         Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
12632         libgnutls-26.dll.
12634 2011-12-31  Andreas Schwab  <schwab@linux-m68k.org>
12636         * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
12638 2011-12-31  Eli Zaretskii  <eliz@gnu.org>
12640         * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
12641         headers of non-MIME messages, when rmail-enable-mime is non-nil.
12643 2011-12-29  Michael Albinus  <michael.albinus@gmx.de>
12645         * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
12646         also for alternative shells.
12647         (tramp-open-connection-setup-interactive-shell): Check, whether
12648         the shell is a busybox.
12649         (tramp-send-command): Don't suppress multiple prompts for
12650         busyboxes, it hurts.
12652 2011-12-28  Chong Yidong  <cyd@gnu.org>
12654         * progmodes/gdb-mi.el (gdb-get-source-file-list)
12655         (gdb-get-source-file): Move mode line update to
12656         gdb-get-source-file (Bug#10087).
12658 2011-12-25  Chong Yidong  <cyd@gnu.org>
12660         * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
12661         gud-gdb-marker-filter without taking it as an argument.
12662         (gud-gdb-run-command-fetch-lines): Caller changed.
12663         (gud-gdb-completion-function): New variable.
12664         (gud-gdb-completion-at-point): Use it.
12665         (gud-gdb-completions-1): Split from gud-gdb-completions.
12667         * progmodes/gdb-mi.el (gdb-input): Accept command and handler
12668         function as separate arguments.
12669         (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
12670         (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
12671         (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
12672         (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
12673         (gdb-stopped, def-gdb-auto-update-trigger)
12674         (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
12675         (gdb-get-changed-registers, gdb-get-main-selected-frame):
12676         Callers changed.
12677         (gud-gdbmi-completions): New function.
12678         (gdb): Use it for generating the completion table.
12680 2011-12-24  Alan Mackenzie  <acm@muc.de>
12682         Introduce a mechanism to widen the region used in context font
12683         locking.  Use this to protect declarations from losing their contexts.
12685         * progmodes/cc-langs.el (c-before-font-lock-functions):
12686         Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
12687         (c-before-context-fontification-functions): New defvar, a list of
12688         functions to be run just before context (etc.) font locking.
12690         * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
12691         New, functionality extracted from
12692         c-neutralize-syntax-in-and-mark-CPP.
12693         (c-in-after-change-fontification): New variable.
12694         (c-after-change): Set c-in-after-change-fontification.
12695         (c-set-fl-decl-start): Rejig its interface, so it can be called
12696         from both after-change and context fontifying.
12697         (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
12698         New functions.
12699         (c-standard-font-lock-fontify-region-function): New variable.
12700         (c-font-lock-fontify-region): New function.
12702 2011-12-24  Juri Linkov  <juri@jurta.org>
12704         * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
12705         (Bug#10348)
12707 2011-12-23  Michael Albinus  <michael.albinus@gmx.de>
12709         * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
12710         existence of source file.  (Bug#10325)
12712 2011-12-23  Alan Mackenzie  <acm@muc.de>
12714         Fix unstable fontification inside templates.
12716         * progmodes/cc-langs.el (c-before-font-lock-functions):
12717         Newly created from the singular version.  The (c c++ objc) entry now
12718         additionally has c-set-fl-decl-start.  The other languages (apart
12719         from AWK) have that as a single entry.
12721         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
12722         The functionality for "local" declarations has been extracted to
12723         c-set-fl-decl-start.
12725         * progmodes/cc-mode.el (c-common-init, c-after-change):
12726         Changes due to pluralisation of c-before-font-lock-functions.
12727         (c-set-fl-decl-start): New function, extracted from
12728         c-font-lock-enclosing-decls and enhanced.
12730 2011-12-23  Juanma Barranquero  <lekktu@gmail.com>
12732         * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
12734 2011-12-22  Juri Linkov  <juri@jurta.org>
12736         * progmodes/grep.el (rgrep): Fix docstring.  (Bug#10185)
12738 2011-12-22  Chong Yidong  <cyd@gnu.org>
12740         * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
12742 2011-12-21  Drew Adams  <drew.adams@oracle.com>
12744         * files.el (file-remote-p): Fix docstring.  (Bug#10319)
12746 2011-12-21  JĂ©rĂ©my Compostella  <jeremy.compostella@gmail.com>
12748         * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
12750 2011-12-21  Teodor Zlatanov  <tzz@lifelogs.com>
12752         * progmodes/cfengine.el: Add Version.  Improve CFEngine 3.x syntax
12753         highlighting and support.  Fix up comments for capitalization.
12754         (cfengine-mode-debug): New var.
12755         (cfengine3-mode): Change the modeline indicator to "CFE3".
12756         (cfengine3-font-lock-keywords): Improve defun highlighting.
12757         (cfengine2-actions): Rename from `cfengine-actions'.
12758         (cfengine2-font-lock-keywords): Rename from
12759         `cfengine-font-lock-keywords'.
12760         (cfengine2-imenu-expression): Rename from
12761         `cfengine-imenu-expression'.
12762         (cfengine2-outline-level): Rename from `cfengine-outline-level'.
12763         (cfengine2-beginning-of-defun): Rename from
12764         `cfengine-beginning-of-defun'.
12765         (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
12766         (cfengine2-indent-line): Rename from `cfengine-indent-line'.
12767         (cfengine2-mode): Rename from `cfengine-mode'.  Change the
12768         modeline indicator to "CFE2".
12769         (cfengine-mode): Defalias to `cfengine-auto-mode'.
12770         (cfengine-mode-abbrevs): Mark obsolete.
12772 2011-12-21  Chong Yidong  <cyd@gnu.org>
12774         * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
12775         filename argument.
12777 2011-12-20  Martin Rudalics  <rudalics@gmx.at>
12779         * window.el (window-normalize-buffer-to-display): Remove.
12780         (display-buffer): Handle buffer-or-name argument as in Emacs 23.
12782 2011-12-19  Chong Yidong  <cyd@gnu.org>
12784         * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
12785         Don't signal an error in a predicate function; return non-nil.
12786         (vc-dir-mark-file): Move the error here.
12787         (vc-dir-mark-unmark): If acting on the region, keep going if one
12788         of the entries cannot be marked/unmarked.
12789         (vc-dir-mark-all-files): If current entry is a directory, mark
12790         only child files, as documented.
12792 2011-12-19  Vincent BelaĂ¯che  <vincentb1@users.sourceforge.net>
12794         * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
12795         branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
12796         addition.
12798 2011-12-18  Jan Djärv  <jan.h.d@swipnet.se>
12800         * term/ns-win.el (ns-get-selection-internal)
12801         (ns-store-selection-internal): Declare.
12802         (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
12803         Declare as obsolete.
12804         (ns-get-pasteboard, ns-paste-secondary):
12805         Use ns-get-selection-internal.
12806         (ns-set-pasteboard, ns-copy-including-secondary):
12807         Use ns-store-selection-internal.
12809 2011-12-17  Chong Yidong  <cyd@gnu.org>
12811         * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
12812         (vc-deduce-fileset): Doc fix.
12814 2011-12-16  Andreas Schwab  <schwab@linux-m68k.org>
12816         * calc/calc-misc.el (calc-help): Avoid wrapping help message.
12818 2011-12-13  Sam Steingold  <sds@gnu.org>
12820         * man.el (Man-getpage-in-background): When running under a
12821         window-system, ignore $MANWIDTH and $COLUMNS.
12823 2011-12-15  Kenichi Handa  <handa@m17n.org>
12825         * language/ethio-util.el: Change coding tag to utf-8-emacs.
12826         (setup-ethiopic-environment-internal): Comment out key-binding for
12827         ethio-toggle-punctuation.
12829 2011-12-13  Alan Mackenzie  <acm@muc.de>
12831         Add the switch statement to AWK Mode.
12833         * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
12834         "default" to the keywords regexp.
12836         * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
12837         expression as the rest.
12838         (c-nonlabel-token-key): Allow string literals for AWK.
12839         Refactor for the other modes.
12841         Large brace-block initialisation makes CC Mode slow: Fix.
12842         Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
12843         routines.  Limit backward searching in c-font-lock-enclosing.decl.
12845         * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
12846         pp-state and literal type in addition to the limits.
12847         (c-state-safe-place): New defun, extracted from c-state-literal-at.
12848         (c-state-literal-at): Use the above new defun.
12849         (c-slow-in-literal, c-fast-in-literal): Remove.
12850         (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
12852         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
12853         being in a literal.  Add a limit for backward searching.
12855         * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
12856         c-slow-in-literal.
12858 2011-12-13  Stefan Monnier  <monnier@iro.umontreal.ca>
12860         * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
12862 2011-12-13  Martin Rudalics  <rudalics@gmx.at>
12864         * window.el (delete-other-windows): Use correct frame in call to
12865         window-with-parameter.
12867 2011-12-12  Daniel Pfeiffer  <occitan@t-online.de>
12869         * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
12870         (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
12871         (makefile-gmake-statements, makefile-makepp-statements):
12872         Use it and add new makepp keywords.
12873         (makefile-makepp-font-lock-keywords): Add new patterns.
12874         (makefile-match-function-end): Match new [...] and [[...]].
12876 2011-12-11  Juanma Barranquero  <lekktu@gmail.com>
12878         * ses.el (ses-call-printer-return, ses-cell-property-get)
12879         (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
12880         (ses-create-cell-variable, ses-reset-header-string)
12881         (ses-cell-set-formula, ses-repair-cell-reference-all)
12882         (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
12883         (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
12884         (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
12885         (ses-aset-with-undo, ses-load, ses-truncate-cell)
12886         (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
12887         (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
12888         (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
12889         (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
12890         (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
12891         (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
12892         (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
12893         (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
12895 2011-12-11  Vincent BelaĂ¯che  <vincentb1@users.sourceforge.net>
12897         * ses.el: The overall change is to add cell renaming, that is
12898         setting fancy names for cell symbols other than name matching
12899         "\\`[A-Z]+[0-9]+\\'" regexp .
12900         (ses-create-cell-variable): New defun.
12901         (ses-relocate-formula): Relocate formulas only for cells the
12902         symbols of which are not renamed, i.e. symbols whose names do not
12903         match regexp "\\`[A-Z]+[0-9]+\\'".
12904         (ses-relocate-all): Relocate values only for cells the symbols of
12905         which are not renamed.
12906         (ses-load): Create cells variables as the (ses-cell ...) are read,
12907         in order to check row col consistency with cell symbol name only
12908         for cells that are not renamed.
12909         (ses-replace-name-in-formula): New defun.
12910         (ses-rename-cell): New defun.
12912 2011-12-11  Chong Yidong  <cyd@gnu.org>
12914         * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
12915         for completion via gud-gdb-fetch-lines-filter (Bug#10274).
12917 2011-12-11  Eric Hanchrow  <eric.hanchrow@gmail.com>
12919         * window.el (other-window): Fix docstring.
12921 2011-12-10  Eli Zaretskii  <eliz@gnu.org>
12923         * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
12924         `from' or `to' address before taking its substring.
12925         Fixes incorrect display in Rmail summary buffer whereby an RFC2047
12926         encoded name is chopped in the middle of the encoded string, and
12927         thus displayed encoded.
12929 2011-12-10  Juanma Barranquero  <lekktu@gmail.com>
12931         * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
12933 2011-12-10  Eli Zaretskii  <eliz@gnu.org>
12935         * textmodes/texnfo-upd.el: Update commentary.  Add a warning not
12936         to use texinfo-update-node and commands that call it if the
12937         Texinfo file uses @node lines without next/prev/up pointers.
12938         Correct outdated description about texinfo-master-menu.
12939         (texinfo-all-menus-update, texinfo-master-menu)
12940         (texinfo-update-node, texinfo-every-node-update)
12941         (texinfo-multiple-files-update): Doc fix.  Warn against updating
12942         all the @node lines.
12943         (texinfo-master-menu): Only call texinfo-update-node if the prefix
12944         argument is numeric.  Explain better in the doc string what the
12945         function really does.
12946         (texinfo-insert-master-menu-list): Improve the error message
12947         displayed if there's no menu in the Top node.
12948         (Bug#2975)  See also this thread:
12949         http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
12951 2011-12-09  Manuel GĂ³mez  <mgrojo@gmail.com>  (tiny change)
12953         * speedbar.el (speedbar-supported-extension-expressions):
12954         Add .adb and .ads, commonly used for Ada source code (bug#10256).
12956 2011-12-09  Juanma Barranquero  <lekktu@gmail.com>
12958         * printing.el (pr-mode-alist):
12959         * simple.el (filter-buffer-substring-functions)
12960         (completion-list-insert-choice-function):
12961         * window.el (window-with-parameter, window-atom-root)
12962         (window-sides-slots, window-size-fixed, window-min-delta)
12963         (window-max-delta, window--resize-mini-window)
12964         (window--resize-child-windows-normal, window-tree)
12965         (delete-other-windows, quit-window, split-window)
12966         (display-buffer-record-window, special-display-buffer-names)
12967         (special-display-regexps, special-display-popup-frame)
12968         (same-window-p, split-window-sensibly)
12969         (display-buffer-overriding-action, display-buffer-alist)
12970         (display-buffer-base-action, display-buffer, switch-to-buffer)
12971         (switch-to-buffer-other-window, switch-to-buffer-other-frame)
12972         (fit-window-to-buffer, recenter-positions)
12973         (mouse-autoselect-window-state, mouse-autoselect-window-select):
12974         * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
12975         and remove unneeded backslashes in docstrings.
12977 2011-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
12979         * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
12981         * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
12982         (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
12983         end in ".mk".
12984         (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
12985         when reading the makefile (bug#10116).
12987 2011-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
12989         * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
12990         (bug#10116).
12992 2011-12-06  Glenn Morris  <rgm@gnu.org>
12994         * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
12996 2011-12-06  Chong Yidong  <cyd@gnu.org>
12998         * progmodes/cc-fonts.el (c-annotation-face): Use defface.
13000 2011-12-06  Juanma Barranquero  <lekktu@gmail.com>
13002         * textmodes/table.el (table-shorten-cell): Fix typo.
13004 2011-12-05  Christopher Genovese  <genovese.cr@gmail.com>  (tiny change)
13006         * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
13008 2011-12-05  Eli Zaretskii  <eliz@gnu.org>
13010         * descr-text.el (describe-char): Fix display of strong
13011         right-to-left characters and directional embeddings and overrides.
13013         * simple.el (what-cursor-position): Fix display of codepoints of
13014         strong right-to-left characters.
13016 2011-12-05  Chong Yidong  <cyd@gnu.org>
13018         * faces.el (read-color): Doc fix.
13020 2011-12-05  Glenn Morris  <rgm@gnu.org>
13022         * align.el (align--set-marker): Add doc-string.
13023         Don't try to move something that is not a marker.  (Bug#10216)
13025 2011-12-04  Glenn Morris  <rgm@gnu.org>
13027         * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
13028         overly zealous deletion of trailing whitespace.
13030 2011-12-04  Juanma Barranquero  <lekktu@gmail.com>
13032         * server.el (server-delete-client): On Windows, do not try to delete
13033         the only terminal.
13034         (server-process-filter): On Windows, treat requests for a tty frame as
13035         if they were for a GUI frame if the running server is in GUI mode.
13037 2011-12-03  Glenn Morris  <rgm@gnu.org>
13039         * textmodes/texinfmt.el (batch-texinfo-format): Doc fix.  (Bug#10207)
13041 2011-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
13043         * electric.el: Streamline electric-indent's hook.
13044         (electric-indent-chars): Revert to simple list.
13045         (electric-indent-functions): New var.
13046         (electric-indent-post-self-insert-function): Use it.
13048         * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
13049         there's no inferior buffer (bug#10196).
13050         (prolog-consult-compile): Don't use toggle-read-only.
13052 2011-12-02  Michael Albinus  <michael.albinus@gmx.de>
13054         * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
13055         interrupt.  (Bug#10187)
13057 2011-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
13059         * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
13060         (bug#9160).
13062         * dired-aux.el (dired-query): Don't assume help-char is modifier-free
13063         (bug#10191).
13065 2011-12-02  Juri Linkov  <juri@jurta.org>
13067         * info.el (Info-search): Display "end of manual" when Isearch
13068         reaches the end of single-file Info manual.  (Bug#9918)
13070 2011-12-02  Eli Zaretskii  <eliz@gnu.org>
13072         * isearch.el (isearch-message-prefix): Run the input method part
13073         of the prompt through bidi-string-mark-left-to-right.  (Bug#10183)
13075 2011-12-02  Juri Linkov  <juri@jurta.org>
13077         * isearch.el (isearch-occur): Use `word-search-regexp' for
13078         `isearch-word'.
13079         (isearch-search-and-update): Add condition for `isearch-word' and
13080         call `word-search-regexp'.  (Bug#10145)
13082 2011-12-01  Glenn Morris  <rgm@gnu.org>
13084         * eshell/em-hist.el (eshell-hist-initialize):
13085         Handle eshell-history-size nil and HISTSIZE set or unset.
13086         (eshell-history-file-name, eshell-history-size): Fix custom type.
13088 2011-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
13090         * man.el (Man-completion-table): Fix the lambda case (bug#10168).
13092 2011-12-01  Michael McNamara  <mac@mail.brushroad.com>
13094         * progmodes/verilog-mode.el (verilog-pretty-expr):
13095         Rework verilog-pretty-expr to handle new assignment operators in system
13096         verilog, such as += *= and the like.
13097         (verilog-assignment-operator-re): Regular expression to find the
13098         assigment operator in a verilog assignment.
13099         (verilog-assignment-operation-re): Regular expression to find an
13100         assignment statement for pretty-expr.
13101         (verilog-in-attribute-p): Query returns true if point is in an
13102         attribute context; used to skip these for expression line up from
13103         pretty-expr.
13104         (verilog-in-parameter-p): Query returns true if point is in an
13105         parameter definition context; used to skip these for expression
13106         line up from pretty-expr.
13107         (verilog-in-parenthesis-p): Query returns true if point is in a
13108         parenthetical expression, specifically ( ) but not [ ] or { };
13109         used by pretty-expr.
13110         (verilog-just-one-space): If there is no space, don't add one.
13111         (verilog-get-lineup-indent-2): Specifically skip just attribute
13112         contexts for expression lineup, rather than skipping all
13113         parenthetical expressions.
13114         (verilog-calculate-indent): Fix comment, and fix indent.
13115         (verilog-do-indent): Indent declarations in lists (suggested by
13116         Joachim Lechner).
13117         (verilog-mode-abbrev-table): Populate abbrev mode with the various
13118         skeleton items.
13119         (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
13120         by Alain Mellan).
13122 2011-12-01  Wilson Snyder  <wsnyder@wsnyder.org>
13124         * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
13125         parameters with embedded comments.  Reported by Ray Stevens.
13126         (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
13127         verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
13128         Reported by Tim Holt.
13129         (verilog-auto): Fix AUTOing a upper module then AUTOing module
13130         instantiated by upper module causing wrong expansion until AUTOed a
13131         second time.  Reported by K C Buckenmaier.
13132         (verilog-diff-auto): Fix showing .* as a difference when
13133         `verilog-auto-star-save' off.  Reported by Dan Dever.
13134         (verilog-auto-reset, verilog-read-always-signals)
13135         (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
13136         temporary signals in reset list if
13137         verilog-auto-reset-blocking-in-non is nil, and match assignment
13138         style to each signal's assignment type, bug381.
13139         Reported by Thomas Esposito.
13140         (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
13141         (verilog-uvm-statement-re): Support UVM indentation and
13142         highlighting, with old OVM keywords only.
13143         (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
13144         Support AUTOTIEOFF creating non-wire data types.
13145         Suggested by Jonathan Greenlaw.
13146         (verilog-auto-insert-lisp, verilog-delete-to-paren)
13147         (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
13148         (verilog-inject-sense, verilog-read-inst-pins)
13149         (verilog-read-sub-decls, verilog-read-sub-decls-line):
13150         Fix mismatching parenthesis inside commented out code when deleting
13151         AUTOINST, bug383.  Reported by Jonathan Greenlaw.
13152         (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
13153         non-numeric vector width.  Reported by Alex Reed.
13154         (verilog-auto-ascii-enum): Add "onehot" option to work around not
13155         detecting signals with parameter widths.  Reported by Alex Reed.
13156         (verilog-auto-delete-trailing-whitespace):
13157         With `verilog-auto-delete-trailing-whitespace' remove trailing
13158         whitespace in auto expansion, bug371.  Reported by Brad Dobbie.
13159         (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
13160         Fix verilog-scan-cache corruption when running user AUTO expansion
13161         hooks that call indentation routines.
13162         (verilog-simplify-range-expression): Fix typo ignoring lower case
13163         identifiers.
13164         (verilog-delete-auto): Fix delete-autos to also remove user created
13165         automatics, as long as they start with AUTO.
13166         (verilog-batch-diff-auto, verilog-diff-auto)
13167         (verilog-diff-function): Add `verilog-diff-auto' and bind to
13168         "C-c?"  to report differences in AUTO expansion, ignoring spaces.
13169         (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
13170         (verilog-in-paren-quick, verilog-re-search-backward-quick)
13171         (verilog-re-search-forward-quick, verilog-syntax-ppss):
13172         Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
13173         is disabled and its cache will get corrupt, causing AUTOS not to
13174         expand.  Instead use only -quick functions.
13175         (verilog-scan-region): Fix scanning over escaped quotes.
13176         (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
13177         (verilog-re-search-backward-quick)
13178         (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
13179         related functions now ignore strings, to fix misparsing of strings
13180         with magic comments embedded in them.
13181         (verilog-read-auto-template):
13182         Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
13183         Reported by Brad Dobbie.
13184         (verilog-read-auto-template):
13185         Fix 'verilog-auto-inst-template-numbers' with comments.
13186         Reported by Brad Dobbie.
13187         (verilog-auto-inst, verilog-auto-inst-param)
13188         (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
13189         merge conflicts with AUTOINST, bug358.  Reported by Brad Dobbie.
13190         (verilog-auto-inst-template-numbers): Add 'lhs' policy for
13191         debugging templates without merge conflicts, bug357.
13192         Reported by Brad Dobbie.
13193         (verilog-read-auto-template):
13194         Fix verilog-auto-inst-template-numbers with multiple templates.
13195         Reported by Brad Dobbie.
13196         (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
13197         abbrevs so user won't be asked to save.
13198         (verilog-read-auto-lisp-present): Fix to start at beginning of
13199         buffer in case called outside of verilog-auto.
13200         (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
13201         to "X-2".  Reported by Matthew Myers.
13202         (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
13203         all inputs from module templates.  Reported by Leith Johnson.
13204         (verilog-module-inside-filename-p): Fix locating programs as with
13205         modules.
13206         (verilog-auto-inst-port): Fix vl-width expressions when using
13207         verilog-auto-inst-param-value, bug331.  Reported by Julian Gorfajn.
13208         (verilog-decls-get-regs, verilog-decls-get-signals,
13209         verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
13210         verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
13211         verilog-read-decls): Combine reg and wire structures into one var
13212         structure to represent SystemVerilog concepts.
13213         (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
13214         (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
13215         (verilog-auto-wire-type, verilog-insert-definition):
13216         Add verilog-auto-wire-type and AUTOLOGIC to support using
13217         SystemVerilog "logic" keyword instead of "wire"/"reg".
13218         (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
13219         to declares outputs that also have assignments (presumably in an
13220         ifdef or generate if so there's not a driver conflict).
13221         Reported by Matthew Myers.
13222         (verilog-auto-declare-nettype, verilog-insert-definition):
13223         Add verilog-auto-declare-nettype to fix declarations using
13224         `default_nettype none.  Reported by Julian Gorfajn.
13225         (verilog-read-always-signals-recurse, verilog-read-decls)
13226         (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
13227         malformed end statement, bug325.  Reported by Joshua Wise and
13228         Andrew Drake.
13229         (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
13230         (verilog-inst-comment-re): Fix not deleting Interfaced comment
13231         when expanding .* in interfaces, bug320.
13232         Reported by Pierre-David Pfister.
13233         (verilog-read-module-name): Fix import statements between module
13234         name and open parenthesis, bug317.
13235         Reported by Pierre-David Pfister.
13236         (verilog-simplify-range-expression): Fix simplification of
13237         multiplications inside AUTOWIRE connections, bug303.
13238         (verilog-auto-inst-port): Support parameter expansion in
13239         multidimensional arrays.
13240         (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
13241         after "assert property".  Reported by Julian Gorfajn.
13242         (verilog-simplify-range-expression): Fix "couldn't merge" errors
13243         with multiplication, bug303.
13244         (verilog-read-decls): Fix parsing of unsigned data types, bug302.
13245         Reported by Jan Frode Lonnum.
13247 2011-11-30  Juanma Barranquero  <lekktu@gmail.com>
13249         * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
13250         (hfy-shell-file-name, hfy-shell):
13251         * international/fontset.el (x-decompose-font-name): Fix typos.
13253 2011-11-29  Ken Brown  <kbrown@cornell.edu>
13255         * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
13256         (gdb-version): Remove defvar.
13257         (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
13258         (gdb-gud-context-command, gdb-non-stop-handler)
13259         (gdb-current-context-command, gdb-stopped): Use it.
13260         (gdb-init-1): Enable pretty printing here.
13261         (gdb-non-stop-handler): Don't enable pretty-printing here.
13262         Check to see if the target supports non-stop mode; if not, turn off
13263         non-stop mode.  Use the following.
13264         (gdb-check-target-async): New defun.
13265         (gud-watch, gdb-stopped): Fix whitespace.
13266         (gdb-get-source-file): Don't try to display the source file if
13267         `gdb-main-file' is nil.
13269 2011-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
13271         * align.el: Try to generate fewer markers (bug#10047).
13272         (align--set-marker): New macro.
13273         (align-region): Use it.
13275 2011-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
13277         * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
13279 2011-11-29  Chong Yidong  <cyd@gnu.org>
13281         * indent.el (indent-for-tab-command, indent-according-to-mode):
13282         Doc fix.
13283         (indent-region): Doc fix.  Switch nested ifs to equivalent cond.
13285 2011-11-29  Michael Albinus  <michael.albinus@gmx.de>
13287         * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
13288         aware of remote file names.  (Bug#10124)
13290 2011-11-29  Chong Yidong  <cyd@gnu.org>
13292         * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
13294 2011-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
13296         * files.el (find-file): Don't use force-same-window (bug#10144).
13297         * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
13298         use pop-to-buffer if the selected window can't be used.
13299         (pop-to-buffer-same-window): Use display-buffer--same-window-action.
13301 2011-11-28  Eli Zaretskii  <eliz@gnu.org>
13303         * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
13304         special-mode-map.
13306 2011-11-28  Chong Yidong  <cyd@gnu.org>
13308         * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
13310 2011-11-27  Nick Roberts  <nickrob@snap.net.nz>
13312         * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
13313           gdb-get-source-file-list on gdb-create-source-file-list.
13315 2011-11-26  Eli Zaretskii  <eliz@gnu.org>
13317         * whitespace.el (whitespace-newline): Use a different foreground
13318         color for 16-color light-background displays.
13320 2011-11-24  Chong Yidong  <cyd@gnu.org>
13322         * window.el (display-buffer--special-action): Doc fix.
13324 2011-11-25  Juanma Barranquero  <lekktu@gmail.com>
13326         * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
13327         (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
13328         (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
13329         (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
13330         (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
13331         (avl-tree-stack-first):
13332         * emacs-lisp/cconv.el (cconv--analyse-use):
13333         * net/gnutls.el (gnutls-negotiate): Fix typos.
13335 2011-11-24  Glenn Morris  <rgm@gnu.org>
13337         * lpr.el (lpr-windows-system, lpr-lp-system):
13338         * mail/binhex.el (binhex-begin-line):
13339         * progmodes/grep.el (grep-history, grep-find-history):
13340         * textmodes/flyspell.el:
13341         * vc/pcvs-defs.el (cvs-global-menu):
13342         * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
13343         * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
13344         * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
13346         * net/tls.el: Fix case of "GnuTLS".
13348         * paths.el (rmail-file-name): Format doc-string for make-docfile.
13350         * version.el (emacs-build-system): Give it a doc-string.
13352 2011-11-24  Juri Linkov  <juri@jurta.org>
13354         * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
13356 2011-11-24  Glenn Morris  <rgm@gnu.org>
13358         * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
13359         if called on a non-mime message just toggle the headers.  (Bug#8006)
13361 2011-11-24  Juanma Barranquero  <lekktu@gmail.com>
13363         * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
13364         (allout-lead-with-comment-string, allout-structure-deleted-hook)
13365         (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
13366         (allout-rebullet-heading, allout-open-sibtopic)
13367         (allout-toggle-current-subtree-encryption)
13368         (allout-toggle-subtree-encryption, allout-encrypt-string)
13369         (allout-next-topic-pending-encryption, allout-adjust-file-variable)
13370         (allout-distinctive-bullets-string, allout-auto-activation):
13371         * window.el (window-normalize-buffer-to-display):
13372         * progmodes/verilog-mode.el (verilog-batch-indent):
13373         * textmodes/bibtex.el (bibtex-field-braces-opt)
13374         (bibtex-field-strings-opt):
13375         * vc/cvs-status.el (cvs-tree-merge):
13376         Fix typos.
13378 2011-11-23  Michael Albinus  <michael.albinus@gmx.de>
13380         * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
13381         `non-essential' to t, in order to avoid remote connections.
13383 2011-11-23  Eli Zaretskii  <eliz@gnu.org>
13385         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
13386         On MS-DOS and MS-Windows, compare with loaddefs.el
13387         case-insensitively.
13389 2011-11-23  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
13391         * mail/unrmail.el (unrmail): Always add blank line.  (Bug#7743)
13393 2011-11-23  Glenn Morris  <rgm@gnu.org>
13395         * paths.el (rmail-file-name): Reformat the doc-string so that it
13396         is picked up.
13398         * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
13399         (rmail-auto-file): Ignore case in the "special" field names,
13400         as mail-fetch-field does for all others.
13402         * mail/rmail.el (rmail-forward):
13403         * mail/rmailkwd.el (rmail-set-label):
13404         * mail/rmailout.el (rmail-output, rmail-output-as-seen)
13405         (rmail-output-body-to-file): Give error if no message.  (Bug#10082)
13407         * mail/rmail.el (rmail-current-message): Doc fix.
13409         * mail/rmail.el (rmail-message-filter): Mark as obsolete.  (Bug#2624)
13411 2011-11-22  Stefan Monnier  <monnier@iro.umontreal.ca>
13413         * server.el (server-eval-and-print): Allow C-g (bug#6585).
13415 2011-11-22  Glenn Morris  <rgm@gnu.org>
13417         * mail/rmailmm.el (test-rmail-mime-handler)
13418         (test-rmail-mime-bulk-handler)
13419         (test-rmail-mime-multipart-handler): Move tests to test/ directory.
13421 2011-11-21  Juri Linkov  <juri@jurta.org>
13423         * calc/calc.el (calc-read-key-sequence):
13424         Let-bind `input-method-function' to nil.  (Bug#10018)
13426 2011-11-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13428         * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
13429         Tell the caller that the next line needs recomputation, even
13430         though it doesn't start a sexp (bug#10094).
13432 2011-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
13434         * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
13436 2011-11-20  Stefan Monnier  <monnier@iro.umontreal.ca>
13438         * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
13439         Use force-same-window.
13441 2011-11-20  Juanma Barranquero  <lekktu@gmail.com>
13443         * descr-text.el (describe-char-unicode-data):
13444         * json.el (json-string-escape):
13445         * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
13446         (Footnote-unicode, Footnote-style-p):
13447         * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
13449 2011-11-20  Chong Yidong  <cyd@gnu.org>
13451         * window.el (replace-buffer-in-windows): Restore interactive spec.
13453 2011-11-20  Stefan Monnier  <monnier@iro.umontreal.ca>
13455         * electric.el (electric-indent-mode): Fix last change (too optimistic).
13457         * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
13458         (byte-compile-global-not-obsolete-vars): New var.
13459         (byte-compile-check-variable, byte-compile-make-obsolete-variable):
13460         Use it.
13461         (byte-compile-warn-obsolete): Align text with the one in *Help*.
13463 2011-11-20  Juanma Barranquero  <lekktu@gmail.com>
13465         * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
13466         * progmodes/pascal.el (electric-pascal-equal):
13467         * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
13468         * xml.el (xml-substitute-special): Fix typos.
13470 2011-11-20  Glenn Morris  <rgm@gnu.org>
13472         * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
13473         (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
13474         Doc fixes.
13475         (rmail-decode-mime-charset): Mark as obsolete.
13477         * mail/rmailsum.el (rmail-message-regexp-p-1):
13478         * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
13479         Before using mime functions, check they are set.  (Bug#10077)
13481 2011-11-19  Juri Linkov  <juri@jurta.org>
13483         * info.el (Info-finder-find-node): Use `package--builtins' instead
13484         of `package-alist'.  Use node names formed by the pattern "Keyword "
13485         and the keyword name.
13487 2011-11-19  Andreas Schwab  <schwab@linux-m68k.org>
13489         * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
13491 2011-11-19  Juri Linkov  <juri@jurta.org>
13493         * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
13494         that calls `revert-buffer' on all Info buffers.  (Bug#9915)
13495         (Info-revert-find-node): Remove let-bindings `old-buffer-name',
13496         `old-history', `old-history-forward'.  Add let-binding
13497         `window-selected'.  Remove calls to `kill-buffer',
13498         `switch-to-buffer' and `Info-mode'.  Set `Info-current-file' to nil
13499         before calling `Info-find-node', so `Info-find-node-2' will reread
13500         the Info file.  Restore window positions only when `window-selected'
13501         is non-nil.
13503 2011-11-19  Juri Linkov  <juri@jurta.org>
13505         * isearch.el (isearch-lazy-highlight-new-loop):
13506         Remove condition `(not isearch-error)'.  (Bug#9918)
13508         * misearch.el (multi-isearch-search-fun): Add condition
13509         `(not bound)' to ignore lazy-highlighting search.
13510         Add the search-failed message "end of multi" when the end of
13511         multi-sequence is reached.  Uncapitalize the search-failed
13512         message "Repeat for next buffer".
13514         * info.el (Info-search): Add the search-failed message
13515         "end of the manual" when the end of the manual is reached
13516         in Isearch mode.
13518 2011-11-19  Juri Linkov  <juri@jurta.org>
13520         * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
13521         Use non-destructive `remove' instead of `delete' because
13522         `Info-history-list' stored to `Info-isearch-initial-history-list' in
13523         `Info-isearch-start' might need to be restored in `Info-isearch-end'.
13525 2011-11-19  Juri Linkov  <juri@jurta.org>
13527         * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
13528         to nil instead of binding `search-ring' and `regexp-search-ring'.
13529         (Bug#9185)
13531 2011-11-19  Eli Zaretskii  <eliz@gnu.org>
13533         * simple.el (line-move): Force movement by logical lines for any
13534         hscrolled window, not only when auto-hscroll-mode is on.
13535         (line-move-visual): Update doc string to that effect.  (Bug#10076)
13537 2011-11-19  Andreas Schwab  <schwab@linux-m68k.org>
13539         * language/european.el (macintosh): Define as alias for mac-roman.
13541 2011-11-19  Eli Zaretskii  <eliz@gnu.org>
13543         * mail/rmailmm.el (rmail-mime-display-header)
13544         (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
13545         (rmail-mime-entity-segment, rmail-mime-toggle-raw)
13546         (rmail-mime-toggle-hidden, rmail-mime-insert-text)
13547         (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
13548         (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
13549         of a raw aref.
13550         (rmail-mime-entity-segment): To get past the tagline, move forward
13551         2 more lines, to account for the 2 empty lines that precede and
13552         follow the line with the buttons.
13553         (rmail-mime-update-tagline): Move one more line, to get past the
13554         empty line that follows the buttons in the tagline.  (Bug#9520)
13556 2011-11-19  Martin Rudalics  <rudalics@gmx.at>
13558         * window.el (window-max-delta-1, window-min-delta-1)
13559         (window-min-size-1, window-state-get-1, window-state-put-1)
13560         (window-state-put-2): Use "window--" prefix.
13562 2011-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
13564         * emacs-lisp/smie.el: Improve warnings and conflict detection.
13565         (smie-warning-count): New var.
13566         (smie-set-prec2tab): Use it.
13567         (smie-bnf->prec2): Improve warnings.  Add docstring.
13568         (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
13569         (smie-bnf--set-class): New function.
13570         (smie-bnf--classify): Rename from smie-bnf-classify.  Rewrite to fix
13571         corner case.
13573         * progmodes/compile.el: Obey compilation-first-column in dest buffer.
13574         (compilation-error-properties, compilation-move-to-column):
13575         Handle compilation-first-column while in the target buffer.
13577         * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
13578         Don't hardcode point-min==1.
13580         * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
13581         (eshell-rewrite-for-command): Remove workaround.
13582         (eshell-do-pipelines, eshell-do-pipelines-synchronously)
13583         (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
13584         * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
13586         * files-x.el (modify-file-local-variable): Obey commenting conventions.
13588 2011-11-17  Glenn Morris  <rgm@gnu.org>
13590         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
13591         Ignore buffer-local generated-autoload-file if it is the same
13592         as the global value.  (Bug#10049)
13594 2011-11-17  Juanma Barranquero  <lekktu@gmail.com>
13596         * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
13597         (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
13598         (reftex-toc-previous-heading, reftex-toc-max-level)
13599         (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
13600         (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
13601         (reftex-toc-do-promote, reftex-toc-promote-prepare)
13602         (reftex-toc-promote-action, reftex-toc-extract-section-number)
13603         (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
13604         (reftex-toc-rename-label, reftex-toc-visit-location)
13605         (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
13606         (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
13607         (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
13608         leaving "*toc*" only for references to the buffer.
13610 2011-11-17  Martin Rudalics  <rudalics@gmx.at>
13612         * window.el (window-resize, delete-window, split-window):
13613         Replace window-splits by window-combination-resize.
13614         * cus-start.el (window-splits): Replace by window-combination-resize.
13616 2011-11-17  Glenn Morris  <rgm@gnu.org>
13618         * progmodes/sh-script.el (sh-font-lock-keywords-var):
13619         Make bash entry derive from sh entry, not shell entry.
13621 2011-11-16  Michael Albinus  <michael.albinus@gmx.de>
13623         * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
13624         local file name.
13626 2011-11-16  Juanma Barranquero  <lekktu@gmail.com>
13628         * menu-bar.el (menu-bar-file-menu):
13629         * printing.el (pr-ps-utility):
13630         * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
13631         (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
13632         (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
13633         (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
13634         (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
13635         (icalendar--convert-cyclic-to-ical)
13636         (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
13637         (icalendar--convert-ical-to-diary)
13638         (icalendar--convert-recurring-to-diary)
13639         (icalendar--convert-non-recurring-all-day-to-diary)
13640         (icalendar-import-format-sample):
13641         * progmodes/idlw-shell.el (idlwave-shell-mode):
13642         * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
13643         (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
13644         (vhdl-ps-print-init): Fix typos.
13646 2011-11-16  Ken Manheimer  <ken.manheimer@gmail.com>
13648         * allout.el, allout-widgets.el (file metadata): Attribute copyright to
13649         FSF and collapse date sequence, obscure author/maintainer email address
13650         better, remove extra version line, track relocation of author's webpage.
13652         * progmodes/python.el (python-pdbtrack-input-prompt)
13653         (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
13654         regular python pdb prompts.  Adjustments shamelessly taken exactly as
13655         suggested in EmacsWiki page (tiny change):
13656         http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
13658 2011-11-16  Juanma Barranquero  <lekktu@gmail.com>
13660         * expand.el (expand-pos, expand-index, expand-point):
13661         Remove redundant info from docstring.
13662         (expand-add-abbrevs): Doc fix.
13663         (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
13664         (expand-sample-perl-mode-expand-list): Fix typos.
13666         * net/dbus.el (dbus-event-member-name):
13667         * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
13668         * term/pc-win.el (msdos-create-frame-with-faces):
13669         * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
13671 2011-11-16  Martin Rudalics  <rudalics@gmx.at>
13673         * window.el (split-window, window-state-get-1)
13674         (window-state-put-1, window-state-put-2): Rename occurrences of
13675         window-nest to window-combination-limit.
13676         * cus-start.el (window-nest): Rename to window-combination-limit.
13678 2011-11-16  Chong Yidong  <cyd@gnu.org>
13680         * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
13681         regexp (Bug#10033).
13683 2011-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
13685         * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
13686         `completing-read' will remove *Completions* and will preserve
13687         current-buffer for us.
13688         (tmm-add-prompt): Users of *Completions* will always (re)set its
13689         major mode.
13690         (tmm-old-comp-map): Remove.
13692 2011-11-16  Glenn Morris  <rgm@gnu.org>
13694         * mail/rmailedit.el: Require rmailmm when compiling.
13695         (rmail-old-mime-state): New declaration.
13696         (rmail-edit-current-message): If editing a mime message,
13697         edit the "raw" message from the mbox buffer.
13698         (rmail-cease-edit): Handle mime messages.  (Bug#9840)
13700 2011-11-15  Glenn Morris  <rgm@gnu.org>
13702         * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
13703         which wasn't being used.  Add optional arg to force given state.
13704         (rmail-mime): Add optional arg to force given state.
13706 2011-11-15  Juanma Barranquero  <lekktu@gmail.com>
13708         * allout.el (allout-encryption-plaintext-sanitization-regexps):
13709         * frame.el (display-mm-dimensions-alist):
13710         * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
13711         (outline-move-subtree-down):
13712         * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
13713         (newsticker--treeview-do-get-node):
13714         * net/quickurl.el (quickurl-list-buffer-name):
13715         * progmodes/dcl-mode.el (dcl-mode):
13716         * progmodes/gdb-mi.el (gdb-mapcar*):
13717         * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
13719 2011-11-15  Glenn Morris  <rgm@gnu.org>
13721         * mail/rmail.el (rmail-file-coding-system): It's only ever used
13722         in a boolean sense, so just make it a boolean, and fix the doc.
13723         (rmail-show-mime-function, rmail-mime-feature)
13724         (rmail-require-mime-maybe): Doc fixes.
13725         (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
13727         * mail/rmailmm.el (rmail-show-mime): Doc fix.
13729 2011-11-15  Juanma Barranquero  <lekktu@gmail.com>
13731         * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
13732         (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
13733         (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
13734         (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
13736 2011-11-15  Glenn Morris  <rgm@gnu.org>
13738         * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
13739         (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
13740         (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
13741         (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
13742         (rmail-mime, rmail-show-mime): Doc fixes.
13744         * term/ns-win.el (mode-line-frame-identification):
13745         Leave it alone.  (Bug#10051)
13747         * simple.el (mark-whole-buffer): Doc fix.  (Bug#10023)
13749         * mail/rmailout.el (rmail-output-to-rmail-buffer):
13750         Handle empty buffers.  (Bug#9978)
13752 2011-11-14  Juanma Barranquero  <lekktu@gmail.com>
13754         * international/mule.el (define-charset):
13755         * mail/rmailmm.el (rmail-mime-find-header-encoding):
13756         * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
13757         * progmodes/verilog-mode.el (verilog-backward-token):
13758         * textmodes/ispell.el (lookup-words):
13759         * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
13761 2011-11-14  Glenn Morris  <rgm@gnu.org>
13763         * progmodes/executable.el
13764         (executable-make-buffer-file-executable-if-script-p):
13765         Handle file-modes returning nil.
13767         * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
13768         message - not necessary, and causes problems.  (Bug#9831)
13770         * mail/rmailsum.el (rmail-new-summary): Preserve message number.
13772         * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
13774         * mail/rmailsum.el (rmail-summary, rmail-new-summary)
13775         (rmail-new-summary-1): Allow empty summaries.  (Bug#9964)
13776         (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
13778 2011-11-12  Martin Rudalics  <rudalics@gmx.at>
13780         * window.el (window-resize, delete-window): Use window-splits
13781         variable instead of function.
13782         (window-state-get-1, window-state-put-2, window-state-put):
13783         Don't deal with windows' splits status.
13785 2011-11-12  Glenn Morris  <rgm@gnu.org>
13787         * apropos.el (apropos-do-all, apropos-library, apropos-value)
13788         (apropos-documentation): Doc fixes.
13790 2011-11-11  Juanma Barranquero  <lekktu@gmail.com>
13792         * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
13793         * textmodes/sgml-mode.el (html-tag-help): Fix typos.
13795 2011-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
13797         * electric.el (electric-indent-post-self-insert-function): Make it
13798         possible for a char to only indent in some circumstances.
13799         (electric-indent-mode): Simplify.
13801 2011-11-11  Martin Rudalics  <rudalics@gmx.at>
13803         * window.el (windows-with-parameter): Remove unused function.
13804         (windows-at-side): Rename to window-at-side-list.
13805         (window-check, window-atom-check, window-atom-check-1)
13806         (window-side-check, window-size-ignore, window-size-fixed-1)
13807         (window-in-direction-2): Prefix with "window--".
13808         (window-tree-1): Rename to window--subtree, fix doc-string.
13810 2011-11-11  Glenn Morris  <rgm@gnu.org>
13812         * subr.el (eval-after-load): If FILE is already loaded,
13813         evaluate FORM before it gets wrapped in more stuff.  (Bug#10009)
13815 2011-11-10  Glenn Morris  <rgm@gnu.org>
13817         * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
13818         Call svn via vc-svn-command rather than vc-do-command.
13819         (vc-svn-command): Add --non-interactive.  (Bug#9993)
13820         (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
13822         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
13823         Add toggle-read-only.  (Bug#7292)
13824         * files.el (toggle-read-only): Mention that it should only
13825         be used interactively.  (Bug#10006)
13827 2011-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
13829         * progmodes/compile.el (compilation-error-regexp-alist-alist):
13830         Adjust regexp for OCaml warnings.
13832         * electric.el (electric-pair-post-self-insert-function): Let user
13833         turn it off buffer-locally (bug#9932).
13835         * progmodes/python.el (python-beginning-of-statement):
13836         Rewrite (bug#2703).
13838         * progmodes/compile.el: Better handle TABs (bug#9749).
13839         (compilation-internal-error-properties)
13840         (compilation-next-error-function): Obey the target buffer's
13841         compilation-error-screen-columns.
13843 2011-11-09  Juanma Barranquero  <lekktu@gmail.com>
13845         * progmodes/meta-mode.el: Remove obsolete comments.
13846         (meta-right-comment-regexp, meta-ignore-comment-regexp):
13847         Fix typos in docstrings.
13849 2011-11-09  Martin Rudalics  <rudalics@gmx.at>
13851         * window.el (window-size-fixed-p): Rewrite doc-string.
13852         (window-resizable-p): Rename to window--resizable-p.  Update callers.
13853         (window--resizable): New function.  Make all callers of
13854         window-resizable call window--resizable instead.
13855         (window-resizable): Rewrite in terms of window--resizable.
13857 2011-11-08  Glenn Morris  <rgm@gnu.org>
13859         * progmodes/delphi.el (delphi-mode-syntax-table):
13860         Let define-derived-mode define a proper syntax table.  (Bug#9994)
13862 2011-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
13864         * window.el: Stay away from defsubst.
13865         (window-list-no-nils): Remove.
13866         (window-state-get-1, window-state-get): Use backquote instead.
13868 2011-11-08  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
13870         * emacs-lisp/find-func.el (find-function-read):
13871         Fix incorrect use of default argument in `completing-read'.
13873 2011-11-08  Martin Rudalics  <rudalics@gmx.at>
13875         * window.el (display-buffer-function, special-display-function):
13876         Mention display-buffer-record-window but do not mention
13877         help-setup parameter in doc-strings.
13878         (window-min-delta): Fix doc-string typo.
13880 2011-11-08  Chong Yidong  <cyd@gnu.org>
13882         * window.el (window-total-height, window-total-width): Doc fix.
13883         (window-body-size): Move from C.
13884         (window-body-height, window-body-width): Move to C.
13886 2011-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
13888         * window.el: Make special-display like display-buffer-alist (bug#9532).
13889         (display-buffer--special-action): New function, morphed
13890         from display-buffer--special.
13891         (display-buffer): Use it to handle special-display-buffers at higher
13892         priority (just after display-buffer-alist).
13893         (display-buffer-fallback-action, display-buffer--other-frame-action)
13894         (pop-to-buffer-same-window): Remove display-buffer--special.
13896 2011-11-07  Glenn Morris  <rgm@gnu.org>
13898         * calendar/cal-menu.el (cal-menu-set-date-title):
13899         Do nothing if not in a calendar.  (Bug#9976)
13901 2011-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
13903         * files.el (find-file): Always use selected-window.
13905 2011-11-07  Martin Rudalics  <rudalics@gmx.at>
13907         * window.el (window-combinations): Make WINDOW argument
13908         mandatory.  Rewrite doc-string.
13909         (walk-window-subtree, window-atom-check, window-min-delta)
13910         (window-max-delta, window--resize-this-window)
13911         (window--resize-root-window-vertically, window-tree)
13912         (balance-windows, window-state-put): Rewrite doc-strings as to
13913         not mention the term "subwindow".
13914         (window--resize-subwindows-skip-p): Rename to
13915         window--resize-child-windows-skip-p.
13916         (window--resize-subwindows-normal): Rename to
13917         window--resize-child-windows-normal.
13918         (window--resize-subwindows): Rename to
13919         window--resize-child-windows.
13920         (window-or-subwindow-p): Rename to window--in-subtree-p.
13922 2011-11-07  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
13924         * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
13925         Ensure that mbox format messages end in two newlines (Bug#9974).
13927 2011-11-06  Chong Yidong  <cyd@gnu.org>
13929         * window.el (window-combination-p): Function deleted; its
13930         side-effect is not used in any existing code.
13931         (window-combinations, window-combined-p): Call window-*-child
13932         directly.
13934 2011-11-05  Chong Yidong  <cyd@gnu.org>
13936         * window.el (window-valid-p): Rename from window-any-p.
13937         (window-size-ignore, window-state-get): Callers changed.
13938         (window-normalize-window): Rename from window-normalize-any-window.
13939         New arg LIVE-ONLY, replacing window-normalize-live-window.
13940         (window-normalize-live-window): Delete.
13941         (window-combination-p, window-combined-p, window-combinations)
13942         (walk-window-subtree, window-atom-root, window-min-size)
13943         (window-sizable, window-sizable-p, window-size-fixed-p)
13944         (window-min-delta, window-max-delta, window-resizable)
13945         (window-resizable-p, window-full-height-p, window-full-width-p)
13946         (window-current-scroll-bars, window-point-1, set-window-point-1)
13947         (window-at-side-p, window-in-direction, window-resize)
13948         (adjust-window-trailing-edge, maximize-window, minimize-window)
13949         (window-deletable-p, delete-window, delete-other-windows)
13950         (record-window-buffer, unrecord-window-buffer)
13951         (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
13952         (quit-window, split-window, window-state-put)
13953         (set-window-text-height, fit-window-to-buffer)
13954         (shrink-window-if-larger-than-buffer): Callers changed.
13956 2011-11-04  Eli Zaretskii  <eliz@gnu.org>
13958         * mail/rmail.el (rmail-simplified-subject): Decode subject with
13959         rfc2047-decode-string.
13960         (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
13961         warnings.
13963         * window.el (window-body-height, window-body-width): Mention in
13964         the doc string that the return values are in frame's canonical
13965         units.  (Bug#9949)
13967 2011-11-03  Alan Mackenzie  <acm@muc.de>
13969         * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
13970         change in cc-engine.el.
13972 2011-11-02  Stefan Monnier  <monnier@iro.umontreal.ca>
13974         * window.el (switch-to-buffer): Use `force-same-window' interactively.
13976 2011-11-02  Martin Rudalics  <rudalics@gmx.at>
13978         * window.el (quit-window): Call unrecord-window-buffer after
13979         showing another buffer in the window.  (Bug#9937)
13980         (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
13982 2011-11-02  Juanma Barranquero  <lekktu@gmail.com>
13984         * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
13985         Accept status with more than 9 shelves.  (Bug#9935)
13986         Reported by Colin D Bennett <colin@gibibit.com>.
13988 2011-11-01  Martin Rudalics  <rudalics@gmx.at>
13990         * help.el (with-help-window): Don't reference
13991         temp-buffer-show-specifiers in doc-string.
13993 2011-10-31  Andreas Schwab  <schwab@linux-m68k.org>
13995         * subr.el (keymap--menu-item-with-binding): Ignore item if not a
13996         menu-item.
13998 2011-10-30  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
14000         * whitespace.el: New version 13.2.2.
14001         (whitespace-newline-mode): Disable properly.  Reported by Sarah
14002         <EmacsWiki>.
14004 2011-10-30  Ulf Jasper  <ulf.jasper@web.de>
14006         * net/newst-treeview.el: Remove "Time-stamp".
14007         (newsticker--group-manage-orphan-feeds): Do not call
14008         newsticker--treeview-tree-update.
14009         (newsticker-treeview-update, newsticker-treeview):
14010         Call newsticker--treeview-tree-update if necessary.
14012 2011-10-30  Martin Rudalics  <rudalics@gmx.at>
14014         * window.el (window-iso-combination-p, window-iso-combined-p)
14015         (window-iso-combinations): Remove "iso-" infix.
14016         Suggested by Chong Yidong.
14017         (window-min-size-1, window-size-fixed-1, window-min-delta-1)
14018         (window-max-delta-1, window-resize, window--resize-siblings)
14019         (window--resize-this-window, adjust-window-trailing-edge)
14020         (split-window, balance-windows-1)
14021         (shrink-window-if-larger-than-buffer):
14022         * calendar/calendar.el (calendar-generate-window):
14023         * help.el (resize-temp-buffer-window): Adjust callers accordingly.
14025 2011-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
14027         * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
14028         in place (bug#9907).
14029         (eshell-subcommand-arg-values, eshell-rewrite-named-command)
14030         (eshell-rewrite-if-command, eshell-rewrite-for-command)
14031         (eshell-structure-basic-command, eshell-rewrite-while-command)
14032         (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
14033         (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
14034         (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
14035         (eshell-do-pipelines-synchronously, eshell-eval-command):
14036         Use backquotes and prefer setq to set.
14037         (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
14038         (eshell-macrop): Use functionp.
14039         (eshell-do-eval): Handle multiple expressions in `while' body.
14041 2011-10-30  Chong Yidong  <cyd@gnu.org>
14043         * emulation/viper-cmd.el (viper-exec-change): Use push-mark
14044         instead of set-mark (Bug#9810).
14046 2011-10-30  Chong Yidong  <cyd@gnu.org>
14048         * window.el (split-window-below, split-window-right): Rename from
14049         split-window-above-each-other and split-window-side-by-side
14050         respectively.  All callers changed.
14051         (split-window-sensibly, split-window-sensibly): Use them.
14052         (split-window-keep-point): Doc fix.
14054         * isearch.el: Add isearch-scroll property to split-window-below
14055         and split-window-right.
14057         * follow.el (follow-mode):
14058         * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
14059         * progmodes/ada-xref.el (ada-gdb-application):
14060         * emulation/vip.el (vip-buffer-in-two-windows):
14061         * image-dired.el (image-dired-dired-with-window-configuration):
14062         * dired-x.el (dired-do-find-marked-files):
14063         * dired.el (dired-pop-to-buffer):
14064         * bs.el (bs--show-with-configuration):
14065         * vc/emerge.el (emerge-setup-windows):
14066         * textmodes/two-column.el (2C-two-columns):
14067         * textmodes/reftex-toc.el (reftex-toc):
14068         * progmodes/gdb-mi.el (gdb-setup-windows):
14069         * progmodes/fortran.el (fortran-window-create):
14070         * net/newst-treeview.el (newsticker--treeview-window-init):
14071         * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
14072         * emulation/tpu-edt.el (tpu-gold-map):
14073         * emulation/crisp.el (crisp-mode-map):
14074         * calendar/calendar.el (calendar-basic-setup): Callers changed.
14076 2011-10-29  Chong Yidong  <cyd@gnu.org>
14078         * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
14080         * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
14082         * textmodes/flyspell.el (flyspell-word): Fix char offset for
14083         forged Ispell output (Bug#7904).
14085         * emacs-lisp/package.el (package-refresh-contents): Add autoload.
14087 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
14089         * doc-view.el: Avoid ugly errors about not finding nil.
14090         (doc-view-ghostscript-program, doc-view-dvipdfm-program)
14091         (doc-view-dvipdf-program, doc-view-unoconv-program)
14092         (doc-view-ps2pdf-program, doc-view-pdftotext-program):
14093         Avoid nil or absolute file name as default value.
14094         (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
14096 2011-10-28  Alan Mackenzie  <acm@muc.de>
14098         * progmodes/cc-defs.el (c-version): -> 5.32.2.
14100 2011-10-28  Alan Mackenzie  <acm@muc.de>
14102         Amend the handling of c-beginning/end-of-defun in nested declaration
14103         scopes.
14105         * progmodes/cc-vars.el (c-defun-tactic): Move here from
14106         cc-langs.el.  Change it to a defcustom.
14108         * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
14109         cc-vars.el.
14111         * progmodes/cc-engine.el (c-beginning-of-statement-1):
14112         Prevent "class foo : bar" being spuriously recognized as a label.
14114         * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
14115         Add parameter `inclusive' (to include enclosing braces in the region).
14116         (c-widen-to-enclosing-decl-scope): New function.
14117         (c-while-widening-to-decl-block): New macro.
14118         (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
14119         outward for defun boundaries, and correspondingly change symbol
14120         `respect-enclosure' to `go-outward'.
14121         (c-declaration-limits): Change algorithm to report only the "innermost"
14122         defun's boundaries.
14124 2011-10-28  Deniz Dogan  <deniz@dogan.se>
14126         * net/rcirc.el (rcirc-mode): Use hard newlines.
14128 2011-10-28  Alan Mackenzie  <acm@muc.de>
14130         Amend to indent and fontify macros "which include their own semicolon"
14131         correctly, using the "virtual semicolon" mechanism.
14133         * progmodes/cc-defs.el: Update "virtual semicolon" comments.
14135         * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
14136         Recode to scan one line at a time rather than having \n and \r
14137         explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
14138         (c-forward-label): Amend for virtual semicolons.
14139         (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
14141         * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
14142         of the new C macros.
14144         * progmodes/cc-langs.el (c-at-vsemi-p-fn):
14145         (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
14146         (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
14147         (c-opt-cpp-macro-define): Make into a full language variable.
14148         (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
14149         AWK Mode (including \n, \r) removed, no longer needed.
14151         * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
14152         Invoke c-make-macro-with-semi-re.
14154         * progmodes/cc-vars.el (c-macro-with-semi-re):
14155         (c-macro-names-with-semicolon): New variables.
14156         (c-make-macro-with-semi-re): New function.
14158 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
14160         * vc/log-edit.el: Fill empty field rather than adding new one.
14161         (log-edit-add-field): New function.
14162         (log-edit-insert-changelog): Use it.
14164 2011-10-28  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
14166         * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
14168 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
14170         * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
14171         (gdb--check-interpreter): New function.
14172         (gdb): Use it.
14174 2011-10-27  Glenn Morris  <rgm@gnu.org>
14176         * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
14177         (least-positive-float, least-negative-float)
14178         (least-positive-normalized-float, least-negative-normalized-float)
14179         (float-epsilon, float-negative-epsilon):
14180         Remove unnecessary declarations.
14182         * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
14183         * emacs-lisp/cl.el (most-positive-float, most-negative-float)
14184         (least-positive-float, least-negative-float)
14185         (least-positive-normalized-float, least-negative-normalized-float)
14186         (float-epsilon, float-negative-epsilon): Add doc-strings,
14187         based on those in cl.texi.
14189         * files.el (set-visited-file-name): If the major-mode changed,
14190         reload the local variables.  (Bug#9796)
14192 2011-10-27  Chong Yidong  <cyd@gnu.org>
14194         * subr.el (change-major-mode-after-body-hook): New hook.
14195         (run-mode-hooks): Run it.
14197         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14198         Use change-major-mode-before-body-hook.
14200         * simple.el (fundamental-mode):
14201         * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
14202         change introducing fundamental-mode-hook.
14204 2011-10-26  Juanma Barranquero  <lekktu@gmail.com>
14206         * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
14208 2011-10-26  Michael Albinus  <michael.albinus@gmx.de>
14210         * ido.el (ido-file-name-all-completions-1): Do not require
14211         tramp.el explicitly.  (Bug#7583)
14213 2011-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
14215         * progmodes/octave-mod.el:
14216         * progmodes/octave-inf.el: Update maintainer.
14218 2011-10-26  Chong Yidong  <cyd@gnu.org>
14220         * subr.el (with-wrapper-hook): Rewrite doc.
14222 2011-10-25  Michael Albinus  <michael.albinus@gmx.de>
14224         * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
14225         filenames "/method:foo:".  (Bug#9793)
14227 2011-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
14229         * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
14230         (bug#9865).
14232 2011-10-24  Glenn Morris  <rgm@gnu.org>
14234         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.  (Bug#9819)
14236 2011-10-24  Michael Albinus  <michael.albinus@gmx.de>
14238         * notifications.el: Add the requirement of a running D-Bus session
14239         bus to the Commentary.
14241 2011-10-24  Juri Linkov  <juri@jurta.org>
14243         * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
14244         `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
14245         (Bug#9364)
14247 2011-10-24  Juri Linkov  <juri@jurta.org>
14249         * info.el (Info-following-node-name-re): Add newline to the list
14250         of allowed characters for leading space.  (Bug#9824)
14252 2011-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
14254         * progmodes/octave-inf.el (inferior-octave-mode-map):
14255         Fix C-c C-h binding.
14256         * progmodes/octave-mod.el (octave-help): Remove.
14258 2011-10-23  Michael Albinus  <michael.albinus@gmx.de>
14260         Sync with Tramp 2.2.3.
14262         * net/tramp-cache.el (top): Pacify byte-compiler using
14263         `init-file-user' and `site-run-file'.
14265         * net/trampver.el: Update release number.
14267 2011-10-23  Chong Yidong  <cyd@gnu.org>
14269         * files.el (toggle-read-only): Remove obsolete comment about
14270         version control.
14272         * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
14273         for toggle-read-only.  Note that this hasn't called vc-next-action
14274         since 2008-05-02, though it wasn't documented at the time.
14276         * vc/ediff-init.el (ediff-toggle-read-only-function):
14277         Use toggle-read-only.
14279 2011-10-22  Alan Mackenzie  <bug-cc-mode@gnu.org>
14281         Fix bug #9560, sporadic wrong indentation; improve instrumentation
14282         of c-parse-state.
14284         * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
14285         correct faulty logical expression.
14286         (c-parse-state-state, c-record-parse-state-state):
14287         (c-replay-parse-state-state): New defvar/defuns.
14288         (c-debug-parse-state): Use new functions.
14290 2011-10-22  Martin Rudalics  <rudalics@gmx.at>
14292         * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
14293         last fix.  Use window-in-direction correctly.
14295 2011-10-21  Chong Yidong  <cyd@gnu.org>
14297         * progmodes/idlwave.el (idlwave-mode):
14298         * progmodes/vera-mode.el (vera-mode): No need to set
14299         require-final-newline; that's done in prog-mode.
14300         Suggested by Stefan Monnier.
14302 2011-10-21  Martin Rudalics  <rudalics@gmx.at>
14304         * mouse.el (mouse-drag-window-above)
14305         (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
14306         (mouse-drag-mode-line-1, mouse-drag-header-line)
14307         (mouse-drag-vertical-line-rightward-window): Remove.
14308         (mouse-drag-line): New function.
14309         (mouse-drag-mode-line, mouse-drag-header-line)
14310         (mouse-drag-vertical-line): Call mouse-drag-line.
14311         * window.el (window-at-side-p, windows-at-side): New functions.
14313 2011-10-21  Ulrich Mueller  <ulm@gentoo.org>
14315         * tar-mode.el (tar-grind-file-mode):
14316         Fix handling of setuid/setgid, handle sticky bit.  (Bug#9817)
14318 2011-10-21  Chong Yidong  <cyd@gnu.org>
14320         * progmodes/idlwave.el (idlwave-mode):
14321         * progmodes/vera-mode.el (vera-mode):
14322         Use mode-require-final-newline.
14324 2011-10-20  Glenn Morris  <rgm@gnu.org>
14326         * vc/vc.el (vc-next-action): Handle removed directories.  (Bug#9781)
14328 2011-10-20  Christoph Scholtes  <cschol2112@googlemail.com>
14330         * emulation/cua-base.el (cua-set-mark): Fix case of string.
14332 2011-10-20  Chong Yidong  <cyd@gnu.org>
14334         * emulation/cua-base.el (cua-mode):
14335         * mail/footnote.el (footnote-mode):
14336         * mail/mailabbrev.el (mail-abbrevs-mode):
14337         * net/xesam.el (xesam-minor-mode):
14338         * progmodes/bug-reference.el (bug-reference-mode):
14339         * progmodes/cap-words.el (capitalized-words-mode):
14340         * progmodes/compile.el (compilation-minor-mode)
14341         (compilation-shell-minor-mode):
14342         * progmodes/gud.el (gud-tooltip-mode):
14343         * progmodes/hideif.el (hide-ifdef-mode):
14344         * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
14345         * progmodes/subword.el (subword-mode):
14346         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
14347         * progmodes/which-func.el (which-function-mode):
14348         * term/tvi970.el (tvi970-set-keypad-mode):
14349         * term/vt100.el (vt100-wide-mode):
14350         * textmodes/flyspell.el (flyspell-mode):
14351         * textmodes/ispell.el (ispell-minor-mode):
14352         * textmodes/nroff-mode.el (nroff-electric-mode):
14353         * textmodes/paragraphs.el (use-hard-newlines):
14354         * textmodes/refill.el (refill-mode):
14355         * textmodes/reftex.el (reftex-mode):
14356         * textmodes/rst.el (rst-minor-mode):
14357         * textmodes/sgml-mode.el (html-autoview-mode)
14358         (sgml-electric-tag-pair-mode):
14359         * textmodes/tex-mode.el (latex-electric-env-pair-mode):
14360         * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
14361         * emulation/crisp.el (crisp-mode):
14362         * emacs-lisp/eldoc.el (eldoc-mode):
14363         * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
14364         minor mode behavior.
14366 2011-10-19  Juri Linkov  <juri@jurta.org>
14368         * descr-text.el (describe-char): Add #x2010 and #x2011 to
14369         the list of hard-coded chars with escape-glyph face.
14371 2011-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
14373         * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
14375 2011-10-19  Michael Albinus  <michael.albinus@gmx.de>
14377         * net/tramp.el (tramp-connectable-p): Make a stronger check on a
14378         running process.
14380 2011-10-19  Glenn Morris  <rgm@gnu.org>
14382         * vc/vc-bzr.el (vc-bzr-after-dir-status):
14383         Ignore ignored files.  (Bug#9726)
14385 2011-10-19  Chong Yidong  <cyd@gnu.org>
14387         Doc fix for minor modes, stating that an omitted argument enables
14388         the mode unconditionally when called from Lisp.
14390         * abbrev.el (abbrev-mode):
14391         * allout.el (allout-mode):
14392         * autoinsert.el (auto-insert-mode):
14393         * autoarg.el (autoarg-mode, autoarg-kp-mode):
14394         * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
14395         (global-auto-revert-mode):
14396         * battery.el (display-battery-mode):
14397         * composite.el (global-auto-composition-mode)
14398         (auto-composition-mode):
14399         * delsel.el (delete-selection-mode):
14400         * desktop.el (desktop-save-mode):
14401         * dired-x.el (dired-omit-mode):
14402         * dirtrack.el (dirtrack-mode):
14403         * doc-view.el (doc-view-minor-mode):
14404         * double.el (double-mode):
14405         * electric.el (electric-indent-mode, electric-pair-mode):
14406         * emacs-lock.el (emacs-lock-mode):
14407         * epa-hook.el (auto-encryption-mode):
14408         * follow.el (follow-mode):
14409         * font-core.el (font-lock-mode):
14410         * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
14411         * help.el (temp-buffer-resize-mode):
14412         * hilit-chg.el (highlight-changes-mode)
14413         (highlight-changes-visible-mode):
14414         * hi-lock.el (hi-lock-mode):
14415         * hl-line.el (hl-line-mode, global-hl-line-mode):
14416         * icomplete.el (icomplete-mode):
14417         * ido.el (ido-everywhere):
14418         * image-file.el (auto-image-file-mode):
14419         * image-mode.el (image-minor-mode):
14420         * iswitchb.el (iswitchb-mode):
14421         * jka-cmpr-hook.el (auto-compression-mode):
14422         * linum.el (linum-mode):
14423         * longlines.el (longlines-mode):
14424         * master.el (master-mode):
14425         * mb-depth.el (minibuffer-depth-indicate-mode):
14426         * menu-bar.el (menu-bar-mode):
14427         * minibuf-eldef.el (minibuffer-electric-default-mode):
14428         * mouse-sel.el (mouse-sel-mode):
14429         * msb.el (msb-mode):
14430         * mwheel.el (mouse-wheel-mode):
14431         * outline.el (outline-minor-mode):
14432         * paren.el (show-paren-mode):
14433         * recentf.el (recentf-mode):
14434         * reveal.el (reveal-mode, global-reveal-mode):
14435         * rfn-eshadow.el (file-name-shadow-mode):
14436         * ruler-mode.el (ruler-mode):
14437         * savehist.el (savehist-mode):
14438         * scroll-all.el (scroll-all-mode):
14439         * scroll-bar.el (scroll-bar-mode):
14440         * server.el (server-mode):
14441         * shell.el (shell-dirtrack-mode):
14442         * simple.el (auto-fill-mode, transient-mark-mode)
14443         (visual-line-mode, overwrite-mode, binary-overwrite-mode)
14444         (line-number-mode, column-number-mode, size-indication-mode)
14445         (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
14446         * strokes.el (strokes-mode):
14447         * time.el (display-time-mode):
14448         * t-mouse.el (gpm-mouse-mode):
14449         * tool-bar.el (tool-bar-mode):
14450         * tooltip.el (tooltip-mode):
14451         * type-break.el (type-break-mode-line-message-mode)
14452         (type-break-query-mode):
14453         * view.el (view-mode):
14454         * whitespace.el (whitespace-mode, whitespace-newline-mode)
14455         (global-whitespace-mode, global-whitespace-newline-mode):
14456         * xt-mouse.el (xterm-mouse-mode): Doc fix.
14458         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14459         Fix autogenerated docstring.
14461 2011-10-19  Juri Linkov  <juri@jurta.org>
14463         * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
14464         by checking environment variables "DESKTOP_SESSION" and
14465         "XDG_CURRENT_DESKTOP".  (Bug#9779)
14467 2011-10-19  Juri Linkov  <juri@jurta.org>
14469         * net/browse-url.el (browse-url-browser-function): Add "Chromium".
14470         (browse-url-chromium-program, browse-url-chromium-arguments):
14471         New defcustoms.
14472         (browse-url-default-browser): Check for `browse-url-chromium' and
14473         call `browse-url-chromium-program'.
14474         (browse-url-chromium): New command.  (Bug#9779)
14476 2011-10-18  Juanma Barranquero  <lekktu@gmail.com>
14478         * facemenu.el (list-colors-duplicates): On Windows, detect more
14479         duplicates by assuming that only colors matching "^System" are
14480         special "system colors".  (Bug#9722)
14482 2011-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
14484         * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
14485         to distinguish the author from the committer.
14487 2011-10-18  Michael Albinus  <michael.albinus@gmx.de>
14489         * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
14491 2011-10-18  Jirka Kosek  <jirka@kosek.cz>  (tiny change)
14493         * international/mule.el (sgml-html-meta-auto-coding-function):
14494         Add support for detecting encoding in HTML5 specified only as
14495         <meta charset="UTF-8">.  Implementation just makes http-equiv and
14496         content-type parts from HTML4 encoding string optional.  (Bug#9716)
14498 2011-10-18  Glenn Morris  <rgm@gnu.org>
14500         * vc/vc.el (vc-initial-comment): Mark as obsolete.  (Bug#9745)
14502 2011-10-18  Chong Yidong  <cyd@gnu.org>
14504         * faces.el (cursor): Doc fix.
14506 2011-10-17  Chong Yidong  <cyd@gnu.org>
14508         * font-lock.el (font-lock-maximum-size): Mark as obsolete.
14510 2011-10-17  Ryan Barrett  <emacs@ryanb.org>  (tiny change)
14512         * dirtrack.el (dirtrack): Support shell buffers with path
14513         prefixes, e.g. tramp-based remote shells.  (Bug#9647)
14515 2011-10-17  Teodor Zlatanov  <tzz@lifelogs.com>
14517         * json.el: Bump version to 1.3 and note change in History.
14518         (json-alist-p, json-plist-p): Rewrite to avoid recursion.
14520 2011-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
14522         * comint.el (comint-insert-input, comint-send-input)
14523         (comint-get-old-input-default, comint-backward-matching-input)
14524         (comint-next-prompt): Use nil instead of `input' for field property of
14525         past user input (bug#114).
14527         * minibuffer.el (completion--replace): Inherit surrounding properties
14528         (bug#114).
14529         (minibuffer-complete-and-exit): Use it.
14531         * comint.el (comint--table-subvert): Quote the all-completions output
14532         (bug#9160).
14534 2011-10-17  Martin Rudalics  <rudalics@gmx.at>
14536         * ido.el (ido-default-buffer-method): Remove redundant :type entry.
14538         * menu-bar.el (menu-bar-file-menu): Add entry for making new
14539         window on right of selected.  (Bug#9350) Reword other window
14540         entries and separate them from frame entries.
14542 2011-10-15  Glenn Morris  <rgm@gnu.org>
14544         * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
14545         Doc fixes.
14547 2011-10-15  Chong Yidong  <cyd@stupidchicken.com>
14549         * net/network-stream.el (network-stream-open-starttls):
14550         Improve detection of failure due to lack of TLS support.
14552         * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
14553         putting the input text in front and in bold.
14555 2011-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
14557         * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
14559         * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
14560         empty buffer.
14562         * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
14563         unread-command-events rather than pushing yet-another event.
14565 2011-10-14  Eli Zaretskii  <eliz@gnu.org>
14567         * mail/sendmail.el (sendmail-query-once): Improve the wording of
14568         the explanation of the possible choices.  Make the options passed
14569         to completing-read shorter.
14571 2011-10-13  AgustĂ­n MartĂ­n Domingo  <agustin.martin@hispalinux.es>
14573         * textmodes/flyspell.el (flyspell-large-region): Make sure
14574         extended character mode is used if defined (Bug#1339).
14576 2011-10-13  Eli Zaretskii  <eliz@gnu.org>
14578         * simple.el (what-cursor-position): Fix the display of the
14579         character info for LRE, LRO, RLE, and RLO characters by appending
14580         an invisible PDF.
14582 2011-10-13  Stefan Monnier  <monnier@iro.umontreal.ca>
14584         * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
14585         even in case of error; add debug spec; simplify data flow.
14586         (with-timeout-handler): Remove.
14588 2011-10-12  Michael Albinus  <michael.albinus@gmx.de>
14590         Fix Bug#6019, Bug#9315.
14592         * files.el (set-auto-mode): Call `file-name-sans-versions' for the
14593         complete `buffer-file-name', the local file name part could look
14594         remotely (for example on VMS).
14596         * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
14597         `tramp-run-real-handler'.
14598         (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
14599         already quoted by '"'.
14601         * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
14602         Let `file-name-handler-alist' be nil, the local file name part
14603         could look remotely (for example on VMS).
14605 2011-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
14607         * textmodes/flyspell.el (flyspell-word): Move with-local-quit
14608         from here...
14609         (flyspell-post-command-hook): ...to here.
14611 2011-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
14613         * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
14614         if not needed.
14615         (sendmail-query-once): Remove OS dependencies.  Make it a 3-way choice
14616         using completion.  Protect against "slow" callers.
14617         Remove the "message hack".
14619 2011-10-11  Juri Linkov  <juri@jurta.org>
14621         * isearch.el (isearch-lazy-highlight-word): New variable.
14622         (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
14623         Use it.  (Bug#9727)
14625 2011-10-11  Glenn Morris  <rgm@gnu.org>
14627         * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
14628         like f90-previous-statement does.
14630 2011-10-11  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
14632         * eshell/eshell.el (eshell-command): History should be saved
14633         only in interactive use, to avoid error.
14635 2011-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
14637         * minibuffer.el (completion-file-name-table): Fix last change,
14638         i.e. ignore normal errors but not the other ones.
14640 2011-10-10  Martin Rudalics  <rudalics@gmx.at>
14642         * window.el (special-display-buffer-names)
14643         (special-display-regexps): Remove some remnants of earlier
14644         changes from doc-strings.
14645         (quit-windows-on): New function.
14647         * vc/vc.el (vc-revert, vc-rollback):
14648         * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
14649         instead of deleting windows.  (Bug#4557) (Bug#5310) (Bug#5556)
14650         (Bug#6183) (Bug#7074) (Bug#7447)
14652 2011-10-09  Martin Rudalics  <rudalics@gmx.at>
14654         * window.el (frame-auto-hide-function): Add version tag.
14655         (Bug#9699)
14657 2011-10-09  Michael Albinus  <michael.albinus@gmx.de>
14659         * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
14660         condition.
14662 2011-10-09  Leo Liu  <sdl.web@gmail.com>
14664         * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
14665         (Bug#9701)
14667 2011-10-08  Glenn Morris  <rgm@gnu.org>
14669         * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
14670         before the first code statement zero indent.  (Bug#9690)
14672 2011-10-08  Chong Yidong  <cyd@stupidchicken.com>
14674         * simple.el (count-words-region): Always count in the region.
14675         Report the number of lines and characters too.
14676         (count-words): New command, which counts in the buffer if the
14677         region is inactive, as count-words-region used to.
14678         (count-words--message): New function.  Handle plurals.
14679         (count-lines-region): Make it an alias for count-words-region.
14681         * bindings.el (esc-map): Replace count-lines-region with
14682         count-words-region.
14684 2011-10-08  Martin Rudalics  <rudalics@gmx.at>
14686         * window.el (window--delete): Delete dedicated frame
14687         unconditionally when argument KILL is non-nil.  (Bug#9699)
14688         (switch-to-buffer): Fix doc-string typo.
14690 2011-10-08  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
14692         * eshell/eshell.el (eshell-command): Avoid using hooks.
14694 2011-10-07  Chong Yidong  <cyd@stupidchicken.com>
14696         * bindings.el ([M-left],[M-right]): Bind to left-word and
14697         right-word respectively.
14699 2011-10-07  Glenn Morris  <rgm@gnu.org>
14701         * cus-start.el (debug-on-quit): Fix custom type.
14703 2011-10-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14705         * subr.el (define-key-after): Clarify that the function is not
14706         useful for non-menu keymaps.
14708         * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
14710 2011-10-06  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
14712         * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
14713         in current minibuffer (Fix bug with recursive minibuffers).
14715 2011-10-06  Chong Yidong  <cyd@stupidchicken.com>
14717         * progmodes/gdb-mi.el (gdb): Doc fix.
14719 2011-10-05  Martin Rudalics  <rudalics@gmx.at>
14721         * window.el (frame-auto-hide-function): New option replacing
14722         frame-auto-delete.  Suggested by Stefan Monnier.
14723         (window--delete): Call frame-auto-hide-function instead of
14724         investigating frame-auto-delete.
14725         (window-point-1, set-window-point-1): New functions.
14726         (window-in-direction, record-window-buffer, window-state-get-1)
14727         (display-buffer-record-window): Use window-point-1 instead of
14728         window-point.
14729         (set-window-buffer-start-and-point): Use set-window-point-1.
14731 2011-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
14733         * emacs-lisp/edebug.el: Heed checkdoc recommendations.
14735 2011-10-05  Glenn Morris  <rgm@gnu.org>
14737         * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
14738         (perl-calculate-indent): Suppress scan errors.  (Bug#2205)
14740 2011-10-05  Leo Liu  <sdl.web@gmail.com>
14742         * subr.el (read-char-choice): Fix argument to buffer-live-p which
14743         works with buffer object.
14745 2011-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
14747         * mpc.el (mpc-tool-bar-map): Add labels.
14749 2011-10-04  Glenn Morris  <rgm@gnu.org>
14751         * calendar/holidays.el (calendar-check-holidays): Doc fix.
14753 2011-10-04  Martin Rudalics  <rudalics@gmx.at>
14755         * window.el (window--delete): New function.
14756         (frame-auto-delete): Resuscitate option.
14757         (bury-buffer, replace-buffer-in-windows)
14758         (quit-window): Rewrite using window--delete.
14759         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
14760         Pass display-buffer-mark-dedicated to window--display-buffer-2
14761         (Bug#9639).
14763 2011-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
14765         * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
14766         returns a list (bug#9554).  Add remote file name completion.
14767         * comint.el (comint--table-subvert): Curry and get quote&unquote
14768         functions as arguments.
14769         (comint--complete-file-name-data): Adjust call accordingly.
14770         * pcomplete.el (pcomplete--table-subvert): Remove.
14771         (pcomplete-completions-at-point): Use comint--table-subvert instead.
14773         * minibuffer.el (completion-table-case-fold): Use currying.
14774         (completion--styles-type, completion--cycling-threshold-type):
14775         New constants.
14776         (completion-styles, completion-category-overrides)
14777         (completion-cycle-threshold): Use them.
14778         * pcomplete.el (pcomplete-completions-at-point): Adjust call to
14779         completion-table-case-fold.
14781 2011-10-03  Stephen Berman  <stephen.berman@gmx.net>
14783         * minibuffer.el (completion-category-overrides): Fix type of styles
14784         and add more user friendly tags (bug#9660).
14786 2011-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
14788         * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
14789         (mule-input-method-string): New widget.
14790         (default-input-method, language-info-custom-alist): Use it.
14792 2011-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
14794         * pcomplete.el: Require comint.
14795         (pcomplete--common-suffix): Remove.
14796         (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
14797         (pcomplete--table-subvert): Sync with comint--table-subvert.
14798         (pcomplete--entries): Use comint-completion-file-name-table.
14799         * comint.el (comint-unquote-filename): Simplify.
14800         (comint-completion-file-name-table): New function (bug#9616).
14801         (comint--complete-file-name-data): Use it.
14803         * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
14804         (pcmpl-gnu-tar-buffer): Remove.
14805         (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
14806         around.  Make sure pcomplete-suffix-list is only changed temporarily.
14807         Don't look inside the tar's file if it's too large.
14809 2011-10-01  Chong Yidong  <cyd@stupidchicken.com>
14811         * cus-edit.el (custom-mode-map):
14812         * epa.el (epa-key-list-mode-map):
14813         * man.el (Man-mode-map):
14814         * startup.el (splash-screen-keymap):
14815         * simple.el (special-mode-map): Use scroll-up-command and
14816         scroll-down-command.
14818         * progmodes/idlw-help.el (idlwave-help-mode-map):
14819         * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
14820         * net/newst-plainview.el (newsticker-mode-map):
14821         * emulation/ws-mode.el (wordstar-mode-map):
14822         * emulation/vi.el (vi-com-map):
14823         * calc/calc-graph.el (calc-graph-show-dumb):
14824         * term/sun.el (terminal-init-sun):
14825         * term/ns-win.el (global-map):
14826         * progmodes/grep.el (grep-mode-map):
14827         * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
14828         * mail/rmail.el (rmail-mode-map):
14829         * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
14831         * custom.el (custom-safe-themes, load-theme): Treat value of t for
14832         custom-safe-themes as special.
14834 2011-10-01  Julien Danjou  <julien@danjou.info>
14836         * notifications.el (notifications-notify): Fix docstring.
14838 2011-10-01  Per Starbäck  <per@starback.se>
14840         * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call.  (Bug#9643)
14842 2011-09-30  Martin Rudalics  <rudalics@gmx.at>
14844         * startup.el (command-line-1): Fix last fix by inserting
14845         initial-scratch-message into *scratch* before displaying it.
14846         (Bug#9605) and (Bug#9636)
14848 2011-09-29  Eli Zaretskii  <eliz@gnu.org>
14850         * simple.el (line-move): If auto-hscroll-mode is disabled and the
14851         window is hscrolled, move by logical lines.  (Bug#9607)
14852         (line-move-visual): Update the doc string to the above effect.
14854 2011-09-29  Martin Rudalics  <rudalics@gmx.at>
14856         * window.el (display-buffer-record-window): When WINDOW is the
14857         selected window use `point' instead of `window-point'.  (Bug#9626)
14859         * startup.el (command-line-1): Use insert-before-markers when
14860         inserting initial-scratch-message.  (Bug#9605)
14862         * help.el (help-window): Remove variable.
14864 2011-09-29  Glenn Morris  <rgm@gnu.org>
14866         * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
14868 2011-09-29  Juanma Barranquero  <lekktu@gmail.com>
14870         * descr-text.el (describe-char-categories): Accept category
14871         descriptions more than one line long.
14873 2011-09-28  Stefan Monnier  <monnier@iro.umontreal.ca>
14875         * simple.el (delete-trailing-whitespace): Fix last change.
14877         * progmodes/perl-mode.el (perl-syntax-propertize-function):
14878         Don't confuse "y => 3" as the beginning of a `y' operation.
14880         * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
14881         object has more than 4 slots (bug#9613).
14883 2011-09-28  Juanma Barranquero  <lekktu@gmail.com>
14885         * subr.el (with-output-to-temp-buffer):
14886         * net/quickurl.el (quickurl, quickurl-browse-url):
14887         Fix typos in docstrings.
14889 2011-09-27  Eli Zaretskii  <eliz@gnu.org>
14891         * minibuffer.el (completion-styles)
14892         (completion-category-overrides): Cross reference each other in doc
14893         strings.
14895 2011-09-27  Glenn Morris  <rgm@gnu.org>
14897         * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
14898         to split-string.  (Bug#9606)
14900 2011-09-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14902         * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
14903         (bug#9615).
14905 2011-09-27  Chong Yidong  <cyd@stupidchicken.com>
14907         * emacs-lisp/package.el (list-packages): Fix echo area message.
14909 2011-09-27  Leo Liu  <sdl.web@gmail.com>
14911         * ido.el (ido-read-internal): Accept cons cell HIST arg.
14913 2011-09-25  Michael Albinus  <michael.albinus@gmx.de>
14915         * net/dbus.el (dbus-unregister-object): Don't release services for
14916         registered signals.  (Bug#9581)
14918 2011-09-25  Teodor Zlatanov  <tzz@lifelogs.com>
14920         * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
14921         function that picks between cfengine 2 and 3 support
14922         automatically.  Update docs accordingly.
14924 2011-09-22  Kenichi Handa  <handa@m17n.org>
14926         * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
14927         ZERO.
14928         (indian-itrans-v5-table-for-tamil): New variable.
14929         (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
14931 2011-09-22  Ken Manheimer  <ken.manheimer@gmail.com>
14933         * allout.el (allout-this-command-hid-stuff): Buffer-local variable
14934         that's true if the current command involved collapsing of text.
14935         It's reset to false at the beginning of the next command.
14936         (allout-post-command-business): Move the cursor to the beginning
14937         of entry if the cursor is hidden and collapsing activity just
14938         happened.
14940 2011-09-24  Chong Yidong  <cyd@stupidchicken.com>
14942         * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
14943         tracking (Bug#9541).
14945 2011-09-24  Ulf Jasper  <ulf.jasper@web.de>
14947         * net/newst-reader.el (newsticker-html-renderer)
14948         (newsticker-show-news): Automatically load html rendering package
14949         if newsticker-html-renderer is set.  Fixes "Warning: defvar ignored
14950         because w3m-fill-column is let-bound" and the error "Symbol's value
14951         as variable is void: w3m-fill-column".
14953 2011-09-24  Michael Albinus  <michael.albinus@gmx.de>
14955         * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
14956         Release services only if they are defined.  (Bug#9581)
14958 2011-09-23  Richard Stallman  <rms@gnu.org>
14960         * textmodes/paragraphs.el (forward-sentence): For backwards case,
14961         distinguish start of paragraph from start of its text.
14963         * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
14965         * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
14966         (rmail-generate-viewer-buffer): Put that hook on view buffer.
14967         (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
14969 2011-09-23  Andreas Schwab  <schwab@linux-m68k.org>
14971         * international/mule-diag.el (mule-diag): Insert a newline after
14972         each fontset description.
14974 2011-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
14976         * simple.el (delete-trailing-whitespace):
14977         Document last change; simplify.
14979 2011-09-23  Peter J. Weisberg  <pj@irregularexpressions.net>
14981         * simple.el (delete-trailing-whitespace): Also delete
14982         extra newlines at the end of the buffer.
14984         * textmodes/picture.el: Make motion commands obey shift-select-mode.
14985         (picture-newline): Use forward-line so as to ignore fields.
14987 2011-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
14989         * subr.el (with-wrapper-hook): Fix edebug spec.
14991 2011-09-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14993         * simple.el (kill-line): Note effect of `show-trailing-whitespace'
14994         (bug#4538).
14996 2011-09-23  Michael Albinus  <michael.albinus@gmx.de>
14998         * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
14999         Fix nasty bug using wrong cached values.
15001 2011-09-23  Alan Mackenzie  <acm@muc.de>
15003         * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
15005 2011-09-23  Chong Yidong  <cyd@stupidchicken.com>
15007         * window.el (pop-to-buffer): Ensure right window is selected if we
15008         chose another frame.
15010 2011-09-22  Eli Zaretskii  <eliz@gnu.org>
15012         * simple.el (what-cursor-position): Use get-char-property-change
15013         and next-single-char-property-change, to be able to show display
15014         properties that come from overlays as well as text properties.
15016 2011-09-22  Chong Yidong  <cyd@stupidchicken.com>
15018         * window.el (pop-to-buffer-same-window): New (reinstated) fun.
15020         * cmuscheme.el (run-scheme, switch-to-scheme):
15021         * cus-edit.el (customize-group, custom-buffer-create)
15022         (customize-browse):
15023         * info.el (info):
15024         * shell.el (shell):
15025         * mail/sendmail.el (mail):
15026         * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
15028 2011-09-22  Richard Stallman  <rms@gnu.org>
15030         * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
15031         move back only to line beg, don't move back over blank lines.
15033 2011-09-22  Michael Albinus  <michael.albinus@gmx.de>
15035         * files.el (copy-directory): Set directory attributes only in case
15036         they could be retrieved from the source directory.  (Bug#9565)
15038 2011-09-22  Dima Kogan  <dkogan@secretsauce.net>  (tiny change)
15040         * progmodes/hideshow.el (hs-looking-at-block-start-p)
15041         (hs-find-block-beginning, hs-hide-level-recursive):
15042         Ignore strings as well as comments.  (Bug#9502)
15044 2011-09-22  Andrew Schein  <andrew@andrewschein.com>  (tiny change)
15046         * progmodes/sql.el (sql-comint-postgres):
15047         Convert port number to a string.  (Bug#9566)
15049 2011-09-22  Martin Rudalics  <rudalics@gmx.at>
15051         * window.el (quit-window): Undedicate window when switching to
15052         previous buffer.  Reported by Thierry Volpiatto
15053         <thierry.volpiatto@gmail.com>.
15054         (special-display-popup-frame): When popping up a new frame reset
15055         its previous buffers to nil.  Simplify code.
15057 2011-09-21  Michael Albinus  <michael.albinus@gmx.de>
15059         * net/tramp.el (tramp-handle-shell-command): Set process sentinel
15060         and process filter, as done also in `shell-command'.
15062 2011-09-21  Martin Rudalics  <rudalics@gmx.at>
15064         * window.el (set-window-buffer-start-and-point):
15065         Call set-window-start with NOFORCE argument t.
15066         Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
15067         (quit-window): Reword doc-string.  Handle new format of
15068         quit-restore parameter.  Don't delete window if it has a
15069         previous buffer we can show instead of the present one.
15070         (display-buffer-record-window): Rewrite using a new format for
15071         the quit-restore window parameter
15072         (special-display-popup-frame, display-buffer-same-window)
15073         (display-buffer-reuse-window, display-buffer-pop-up-frame)
15074         (display-buffer-pop-up-window, display-buffer-use-some-window):
15075         Adapt symbol passed to display-buffer-record-window.
15076         * help.el (help-window-setup): Handle new format of quit-restore
15077         parameter.
15079 2011-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
15081         * faces.el (face-list): Fix docstring (bug#9564).
15083         * window.el (display-buffer--action-function-custom-type):
15084         Don't include internal functions in the Custom interface.
15086 2011-09-20  Juri Linkov  <juri@jurta.org>
15088         * info.el (Info-history-skip-intermediate-nodes): New defcustom.
15089         (Info-forward-node, Info-backward-node, Info-next-preorder)
15090         (Info-last-preorder): Use it.  (Bug#9528)
15092 2011-09-20  Juri Linkov  <juri@jurta.org>
15094         * info.el (Info-last-preorder): Visit last menu item only when
15095         `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
15097 2011-09-20  Julien Danjou  <julien@danjou.info>
15099         * password-cache.el (password-cache-remove): Remove entries even if the
15100         value is nil, so that password with a nil value (negative caching) is
15101         possible to invalidate.
15103 2011-09-20  Lawrence Mitchell  <wence@gmx.li>
15105         * progmodes/f90.el (f90-break-line): If breaking inside comment delete
15106         all whitespace around breakpoint.  (Bug#9553)
15107         (f90-find-breakpoint): Only break at whitespace inside a comment.
15109 2011-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
15111         * minibuffer.el (completion-file-name-table): Keep track of errors.
15112         (completion-table-with-predicate): Handle the case where pred1 is nil.
15113         * pcomplete.el (pcomplete-completions-at-point): Simplify.
15115 2011-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
15117         * emacs-lisp/debug.el (debugger-args): Give it a docstring.
15118         (debugger-return-value): Signal an error if the debugging context does
15119         not await any return value.
15121         * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
15122         * image-mode.el (image-toggle-display-text)
15123         (image-toggle-display-image): Stay away from evil `intangible'.
15125 2011-09-19  Leo Liu  <sdl.web@gmail.com>
15127         * replace.el (occur-revert-arguments): Make it permanent-local.
15128         (occur-mode): Don't call font-lock-defontify.
15130 2011-09-19  Chong Yidong  <cyd@stupidchicken.com>
15132         * net/ldap.el (ldap-search-internal): Don't push empty search
15133         result (Bug#9508).
15135 2011-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
15137         * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
15139 2011-09-19  Michael Albinus  <michael.albinus@gmx.de>
15141         * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
15142         Suggested by Liam Stitt <stittl@cuug.ab.ca>.
15144 2011-09-18  Juri Linkov  <juri@jurta.org>
15146         * buff-menu.el (Buffer-menu-mode-map):
15147         * dired.el (dired-mode-map):
15148         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
15149         (lisp-interaction-mode-map):
15150         * emacs-lisp/package.el (package-menu-mode-map):
15151         * epa.el (epa-key-list-mode-map):
15152         * menu-bar.el (menu-bar-showhide-tool-bar-menu)
15153         (menu-bar-options-menu):
15154         * outline.el (outline-mode-menu-bar-map):
15155         * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
15156         * vc/vc-dir.el (vc-dir-menu-map):
15157         * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
15158         Capitalize non-function content words in menu item strings.
15160         * dired.el (dired-mode-map): Add menu item for
15161         `image-dired-dired-toggle-marked-thumbs'.
15163 2011-09-18  Juri Linkov  <juri@jurta.org>
15165         * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
15166         to `isearch-case-fold-search' and restore its original value
15167         after the `isearch-mode' call.
15169 2011-09-18  Juri Linkov  <juri@jurta.org>
15171         * progmodes/grep.el (grep-process-setup): Don't check code for 1
15172         because `zgrep' returns 1 for successful matches (bug#9226).
15174 2011-09-18  Juri Linkov  <juri@jurta.org>
15176         * info.el (Info-extract-menu-node-name): Check the second match
15177         for empty string (second test-case of bug#9528).
15178         (Info-last-preorder): Let-bind `Info-history' to nil to not add
15179         intermediate nodes to the history (first test-case of bug#9528).
15181 2011-09-18  Juri Linkov  <juri@jurta.org>
15183         * info.el (Info-mode-syntax-table): New variable.
15184         (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
15186 2011-09-18  Juri Linkov  <juri@jurta.org>
15188         * info.el (Info-file-supports-index-cookies):
15189         Increment line-beginning-position's arg from 3 to 4 because makeinfo
15190         outputs one more line for long file names (bug#4142).
15192 2011-09-18  Chong Yidong  <cyd@stupidchicken.com>
15194         * newcomment.el (comment-normalize-vars): If prompting for
15195         comment-start, set comment-start-skip too (Bug#8424).
15197 2011-09-18  Johan BockgĂ¥rd  <bojohan@gnu.org>
15199         * icomplete.el: Fix previous fix of Bug#5849.
15200         (icomplete-mode): Don't set completion-show-inline-help.
15201         (icomplete-minibuffer-setup): Set completion-show-inline-help
15202         locally during icompletion.
15204 2011-09-18  Chong Yidong  <cyd@stupidchicken.com>
15206         * woman.el (woman2-process-escapes): Don't delete unrecognized
15207         escapes (Bug#7843).
15209         * files.el (inhibit-first-line-modes-regexps): Add image files.
15210         (hack-local-variables-prop-line): Return nil for malformed
15211         prop-lines (Bug#9044).
15213 2011-09-18  Michael Albinus  <michael.albinus@gmx.de>
15215         * net/tramp.el (top): Don't require 'shell.
15216         (tramp-methods): Fix docstring.
15217         (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
15218         Return complete remote file name.  Handle "smb" case.
15219         Use `tramp-tmpdir', if defined for the respective method.
15220         (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
15222         * net/tramp-compat.el (top): Require 'shell.
15224         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
15225         (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
15226         `tramp-current-host'.
15227         (tramp-get-remote-tmpdir): Remove.
15229         * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
15230         `tramp-tmpdir' entries.
15231         (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
15232         (tramp-smb-handle-file-attributes): Ignore errors.
15233         (tramp-smb-wait-for-output): Check also for process end.
15235 2011-09-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15237         * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
15238         when sending QUIT (bug#9312).
15240 2011-09-17  Chong Yidong  <cyd@stupidchicken.com>
15242         * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
15243         (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
15244         occur-mode-display-occurrence.
15245         (occur-edit-mode): Add usage message.
15246         (occur-cease-edit): New command.
15247         (occur-after-change-function): Use text properties to find the
15248         position of the prefix text.
15249         (occur-engine): Set stickiness of prefix text properties.
15251 2011-09-17  Glenn Morris  <rgm@gnu.org>
15253         * progmodes/etags.el (complete-tag):
15254         Fix call to completion-in-region.  (Bug#9526)
15256 2011-09-17  Juri Linkov  <juri@jurta.org>
15258         * textmodes/ispell.el (ispell-word): Add to the error message
15259         the word, ispell program name and current dictionary (bug#9121).
15260         (ispell-tex-arg-end): Capitalize "error" in the error message.
15262 2011-09-17  Andreas Schwab  <schwab@linux-m68k.org>
15264         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
15265         check.  (Bug#4251)
15267 2011-09-17  Juri Linkov  <juri@jurta.org>
15269         * window.el (window-safe-min-height, window-safe-min-width):
15270         Fix typos (followup to bug#9522).
15272 2011-09-17  Sven Joachim  <svenjoac@gmx.de>
15274         * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
15276 2011-09-16  Eli Zaretskii  <eliz@gnu.org>
15278         * simple.el (line-move): If goal-column is set, move by logical
15279         lines, not by display lines.  (Bug#971)
15280         (next-line, previous-line, goal-column, line-move-visual): Doc fix
15281         to reflect the above change.
15283 2011-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
15285         * image.el (imagemagick-register-types): Use regexp-opt.
15287 2011-09-15  Chong Yidong  <cyd@stupidchicken.com>
15289         * window.el (display-buffer-base-action): Rename from
15290         display-buffer-default-action.  Make default value empty.
15291         (display-buffer-overriding-action): Convert to defvar.
15292         (display-buffer-fallback-action): New var.
15294 2011-09-15  Chong Yidong  <cyd@stupidchicken.com>
15296         * emacs-lisp/package.el (package-alist): Fix risky-local-variable
15297         declaration.
15298         (package--add-to-archive-contents): If there is a duplicate entry
15299         with an older version, remove it.
15300         (package-menu-mark-delete, package-menu-mark-install)
15301         (package-menu-mark-unmark): Make unused args optional.
15302         (package-menu-mark-obsolete-for-deletion):
15303         Use package-menu-get-status instead of a regexp search.
15304         (package-menu-get-status): Use tabulated-list-entry.
15305         (package-menu-mark-upgrades): New command.
15306         (package-menu-mode-map): Bind it to U.  Add it to menu bar.
15307         (package-menu-execute): Do installation before deletion.
15308         (package-menu-refresh, package-menu-execute): Use derived-mode-p
15309         instead of checking major-mode.
15310         (package-menu--find-upgrades): New function.
15312 2011-09-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15314         * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
15315         passwords in the log buffer.
15316         (smtpmail-process-filter): Update the process marker so that the
15317         "broken by peer" status message is inserted in the right place.
15319 2011-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
15321         * textmodes/bibtex.el (bibtex-complete-string-cleanup)
15322         (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
15323         bibtex-completion-at-point-function.
15324         (bibtex-completion-at-point-function): Use them.
15326         * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
15328         * mpc.el (mpc-constraints-tag-lookup): New function.
15329         (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
15330         also to browser "album|playlist".
15332 2011-09-14  Juri Linkov  <juri@jurta.org>
15334         * isearch.el (isearch-fail-pos): Add new arg `msg'.  Doc fix.
15335         (isearch-edit-string): Use length of `isearch-string' when
15336         `isearch-fail-pos' returns nil.
15337         (isearch-message): Remove duplicate code and call
15338         `isearch-fail-pos' with arg `t'.
15340 2011-09-14  Chong Yidong  <cyd@stupidchicken.com>
15342         * replace.el (occur-mode-goto-occurrence): Don't force using other
15343         window (Bug#9499).
15345         * dired-aux.el (dired-do-chmod): Don't provide initial input.
15347 2011-09-14  Martin Rudalics  <rudalics@gmx.at>
15349         * window.el (display-buffer-window): Remove.
15350         (display-buffer-record-window): Use help-setup window parameter
15351         instead of variable display-buffer-window.
15352         (display-buffer-function, special-display-buffer-names)
15353         (special-display-function): Mention help-setup parameter instead
15354         of display-buffer-window in doc-string.
15355         * help.el (help-window-setup): New argument help-window.
15356         Use help-window-setup parameter instead of display-buffer-window.
15357         Reword some messages.
15358         (with-help-window): Pass window used for displaying the buffer
15359         to help-window-setup.  Don't set display-buffer-window.
15361 2011-09-13  Glenn Morris  <rgm@gnu.org>
15363         * emacs-lisp/debug.el (debugger-make-xrefs):
15364         Preserve point.  (Bug#9462)
15366 2011-09-13  Chong Yidong  <cyd@stupidchicken.com>
15368         * window.el (window-deletable-p): Use next-frame.
15370 2011-09-13  Martin Rudalics  <rudalics@gmx.at>
15372         * window.el (window-auto-delete): Remove.
15373         (window-deletable-p): Remove argument FORCE.  Don't deal with
15374         dedication and previous buffers.
15375         (switch-to-prev-buffer): Don't delete window.
15376         (delete-windows-on): Delete a window's frame if and only if the
15377         window is dedicated.
15378         (replace-buffer-in-windows): Delete buffer's window or frame if
15379         and only if window is dedicated.
15380         (quit-window): Handle quit-restore as before last change.
15381         (bury-buffer): Delete window only if window-deletable-p returns t.
15383 2011-09-13  Chong Yidong  <cyd@stupidchicken.com>
15385         * window.el (window-deletable-p): Never delete the last frame on a
15386         given terminal.
15388 2011-09-13  Glenn Morris  <rgm@gnu.org>
15390         * help.el (describe-key-briefly): Copy previous standard-output change.
15392 2011-09-13  PJ Weisberg  <pj@irregularexpressions.net>
15394         * help.el (where-is): Respect non-standard standard-output.  (Bug#9030)
15396 2011-09-13  Glenn Morris  <rgm@gnu.org>
15398         * emacs-lisp/lisp-mode.el (lisp-indent-function):
15399         * progmodes/scheme.el (scheme-indent-function): Doc fixes.
15401 2011-09-12  Chong Yidong  <cyd@stupidchicken.com>
15403         * dired-aux.el (dired-mark-read-string): Don't return default
15404         value on empty input (Bug#9361).
15405         (dired-do-chxxx): Treat empty input for "touch" as no -t option.
15406         Omit initial minibuffer contents.
15407         (dired-do-chmod): Signal an error on empty input.
15408         (dired-mark-read-string): Don't return default on empty input.
15410         * files.el (file-modes-symbolic-to-number): Doc fix.
15412 2011-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
15414         * international/mule-cmds.el (ucs-completions): Remove.
15415         (read-char-by-name): Use complete-with-action instead; add metadata.
15417 2011-09-11  Chong Yidong  <cyd@stupidchicken.com>
15419         * window.el (display-buffer--action-function-custom-type)
15420         (display-buffer--action-custom-type): New vars.
15421         (display-buffer-alist, display-buffer-default-action)
15422         (display-buffer-overriding-action): Add defcustom types.
15424         * frame.el (delete-other-frames): Doc fix (Bug#276).
15426 2011-09-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15428         * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
15430 2011-09-11  Chong Yidong  <cyd@stupidchicken.com>
15432         Change modes that used same-window-* vars to use switch-to-buffer.
15434         * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
15435         Use switch-to-buffer.
15437         * cus-edit.el (customize-group, custom-buffer-create)
15438         (customize-browse, custom-buffer-create-other-window):
15439         Use switch-to-buffer or switch-to-buffer-other-window.
15441         * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
15442         (Info-prev, Info-up, Info-speedbar-goto-node)
15443         (info-display-manual): Use switch-to-buffer.
15444         (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
15446         * mail/sendmail.el (mail): Use switch-to-buffer.
15447         (mail-recover): Use switch-to-buffer-other-window.
15449         * cmuscheme.el (run-scheme, switch-to-scheme):
15450         * ielm.el (ielm):
15451         * shell.el (shell):
15452         * net/rlogin.el (rlogin):
15453         * net/telnet.el (telnet, rsh):
15454         * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
15456 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
15458         * dired.el (dired-sort-toggle-or-edit): Revert last changes.
15460 2011-09-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15462         * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
15463         so don't mention it (bug#9301).
15464         (dired-sort-toggle-or-edit): Clarify string further.
15466         * faces.el (face-spec-set-match-display): Make `(type graphic)'
15467         match `x', `w32' and `ns', like the manual says (bug#9029).
15469         * subr.el (eval-after-load): Doc string clarification (bug#9125).
15470         (process-kill-buffer-query-function): Mention the buffer name in
15471         the query.
15473         * image-mode.el (image-next-line): The line parameter is mandatory
15474         (bug#9258).
15476         * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
15477         which can be useful (bug#9301).
15479         * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
15481         * subr.el (match-string): Mention that the current buffer should
15482         be the same as the search was done in (bug#9282).
15484         * facemenu.el: Disable the remove-* commands if the mark isn't
15485         active (bug#9162).
15487 2011-09-10  Chong Yidong  <cyd@stupidchicken.com>
15489         * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
15490         of display-buffer.
15491         (Buffer-menu-2-window): Use switch-to-buffer-other-window.
15493         * replace.el (occur-mode-goto-occurrence)
15494         (occur-mode-display-occurrence) Use second arg of pop-to-buffer
15495         and display-buffer.
15497         * mail/reporter.el (reporter-submit-bug-report): Use second arg of
15498         display-buffer.
15500         * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
15501         special-display and same-window variables.
15502         (mail-other-window): Use switch-to-buffer-other-window.
15503         (mail-other-frame): USe switch-to-buffer-other-frame.
15505         * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
15506         Use display-buffer-other-frame.
15507         (gdb-display-gdb-buffer): Use pop-to-buffer.
15509         * progmodes/gud.el (gud-goto-info): Use info-other-window.
15511         * progmodes/python.el: Don't set same-window-buffer-names.
15513         * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
15515         * window.el (display-buffer-alist): Add *Python*.
15517 2011-09-10  Chong Yidong  <cyd@stupidchicken.com>
15519         * window.el (display-buffer-alist): Add entry for buffers
15520         previously handled same-window-*.
15521         (display-buffer-alist, display-buffer-default-action)
15522         (display-buffer-overriding-action): Mark as risky.
15523         (display-buffer-alist): Document action function changes.
15524         (display-buffer--same-window-action)
15525         (display-buffer--other-frame-action): New variables.
15526         (switch-to-buffer, display-buffer-other-frame): Use them.
15527         (display-buffer): Rename reuse-frame entry to reusable-frames.
15528         (display-buffer-reuse-selected-window): Function deleted.
15529         (display-buffer-reuse-window): Handle reusable-frames alist entry.
15530         If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
15531         (display-buffer-special): New function.
15532         (display-buffer--maybe-pop-up-frame-or-window): Rename from
15533         display-buffer-reuse-or-pop-window.  Split off special-display
15534         part into display-buffer-special.
15535         (display-buffer-use-some-window): Don't perform any special
15536         pop-up-frames handling.
15537         (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
15538         (display-buffer--maybe-same-window): Rename from
15539         display-buffer-maybe-same-window.
15541         * info.el: Don't set same-window-regexps.
15542         (info-setup): New function.
15543         (info-other-window, info): Call it.
15545         * cus-edit.el: Don't set same-window-regexps.
15546         (customize-group): New argument.
15547         (customize-group-other-window): Use it.
15548         (customize-face, customize-face-other-window): Likewise.
15549         (custom-buffer-create-other-window): Use pop-to-buffer directly.
15551         * net/rlogin.el:
15552         * net/telnet.el:
15553         * progmodes/gud.el: Don't set same-window-regexps.
15555         * cmuscheme.el:
15556         * ielm.el:
15557         * shell.el:
15558         * mail/sendmail.el:
15559         * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
15561 2011-09-10  Juri Linkov  <juri@jurta.org>
15563         * isearch.el (isearch-edit-string): Remove obsolete mention of
15564         `C-w' (`isearch-yank-word-or-char') from docstring.
15565         (isearch-query-replace): Fix typo in docstring (bug#9466).
15567 2011-09-10  Juri Linkov  <juri@jurta.org>
15569         * paren.el (show-paren-function): Don't show escaped parens.
15570         Let-bind `unescaped' to `t' when paren is not escaped.  (Bug#9461)
15572 2011-09-10  Eli Zaretskii  <eliz@gnu.org>
15574         * mail/sendmail.el (mml-to-mime, mml-attach-file)
15575         (mm-default-file-encoding): Remove autoload forms, they are
15576         replaced with autoload cookies in mml.el and mm-encode.el.
15577         (mail-add-attachment): New command.
15578         (mail-mode-map): Add a menu-bar item for mail-add-attachment.
15579         (mail-mode): Mention mail-insert-file and mail-add-attachment in
15580         the doc string.
15581         (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
15583 2011-09-10  Reuben Thomas  <rrt@sc3d.org>
15585         * simple.el (count-words-region): Use buffer if there's no region
15586         (bug#9429).
15588 2011-09-09  Juri Linkov  <juri@jurta.org>
15590         * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
15591         `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
15592         (wdired-isearch-filter-read-only): New function.  (Bug#6362)
15594 2011-09-09  Alan Mackenzie  <acm@muc.de>
15596         * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
15597         spuriously generating `awk-mode-syntax-table'.  (Bug #9448).
15599 2011-09-09  Eli Zaretskii  <eliz@gnu.org>
15601         Fix for Savannah bug#9392.
15602         * simple.el (mail-encode-mml): New defvar.
15604         * mail/rmail.el (mail-encode-mml): Add a defvar.
15605         (rmail-enable-mime-composing): Default to t.
15606         (rmail-forward): Use MIME method of forwarding only if both
15607         rmail-enable-mime-composing and rmail-enable-mime are non-nil.
15608         Set mail-encode-mml non-nil if the MIME method was used.
15610         * mail/sendmail.el (mml-to-mime): Add autoload form.
15611         (mail-encode-mml): Add a defvar.
15612         (mail-mode): Make mail-encode-mml buffer-local and initialize it
15613         to nil.
15614         (mail-send): If mail-encode-mml is non-nil, run the outgoing
15615         message through mml-to-mime, and reset mail-encode-mml to nil.
15617 2011-09-09  Glenn Morris  <rgm@gnu.org>
15619         * woman.el (woman-if-body): When processing an .el block,
15620         do not delete the next .el block as well.  (Bug#9447)
15621         (woman-special-characters): Add oq, cq, and hy characters.
15623 2011-09-08  Martin Rudalics  <rudalics@gmx.at>
15625         * window.el (window-deletable-p): Make sure window is live before
15626         invoking window-prev-buffers.
15628 2011-09-08  Leo Liu  <sdl.web@gmail.com>
15630         * net/rcirc.el (rcirc-cmd-invite): New rcirc command.  (Bug#9453)
15632 2011-09-08  Juri Linkov  <juri@jurta.org>
15634         * progmodes/compile.el (compilation-environment): Make it
15635         a defcustom (bug#8340).
15637 2011-09-08  Martin Rudalics  <rudalics@gmx.at>
15639         * window.el (frame-auto-delete): Rename to window-auto-delete.
15640         Make it control auto-deletion of windows and/or frames.
15641         (window-deletable-p): New argument FORCE.  Rewrite conditions
15642         for deleting window/frame.  (Bug#9419)
15643         (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
15644         Rewrite handling of case when window/frame can be deleted.
15645         (delete-windows-on): Call window-deletable-p with new FORCE
15646         argument t.  (Bug#9456)
15648 2011-09-07  Chong Yidong  <cyd@stupidchicken.com>
15650         * help-mode.el (help-mode): Restore autoload.
15652 2011-09-07  Juri Linkov  <juri@jurta.org>
15654         * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
15655         `compilation-environment'.  Set buffer-local
15656         `compilation-environment' to `thisenv' later after (funcall mode).
15657         (Bug#8340)
15659         * vc/vc-git.el (vc-git-grep): Remove --no-color.  (Bug#9408)
15660         (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
15661         instead of replacing its value.  (Bug#8340)
15663 2011-09-07  Juri Linkov  <juri@jurta.org>
15665         * progmodes/grep.el (grep-regexp-alist): Calculate column positions
15666         based on text properties put by `grep-filter' instead of matching
15667         escape sequences.
15668         (grep-mode): Set buffer-local `compilation-error-screen-columns'
15669         to the value of `grep-error-screen-columns' (bug#9438).
15671 2011-09-07  Juri Linkov  <juri@jurta.org>
15673         * simple.el (next-error-highlight, next-error-highlight-no-select):
15674         Doc fix (bug#9432).
15676 2011-09-07  OKAZAKI Tetsurou  <okazaki.tetsurou@gmail.com>  (tiny change)
15678         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
15679         Check for null c-opt-block-decls-with-vars-key.  (Bug#9443)
15681 2011-09-07  Leo Liu  <sdl.web@gmail.com>
15683         * net/rcirc.el (rcirc-mode): Conditionally initialize
15684         rcirc-input-ring.
15686 2011-09-07  Stefan Monnier  <monnier@iro.umontreal.ca>
15688         * emacs-lisp/find-func.el (find-function-C-source): Only set
15689         find-function-C-source-directory after checking that we found a source
15690         file there (bug#9440).
15692 2011-09-06  Alan Mackenzie  <acm@muc.de>
15694         * isearch.el (isearch-other-meta-char): Wherever a key list is
15695         unread, "unread" the prefix arg, too.  This fixes bug #8901.
15697 2011-09-05  Oleksandr Gavenko  <gavenkoa@gmail.com>  (tiny change)
15699         * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
15701 2011-09-05  Juri Linkov  <juri@jurta.org>
15703         * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
15705 2011-09-05  Juri Linkov  <juri@jurta.org>
15707         * progmodes/grep.el (grep-filter): Avoid incomplete processing by
15708         keeping point where processing of grep matches begins, and
15709         continue to delete remaining escape sequences from the same point.
15710         (grep-filter): Make leading zero optional in "0?1;31m" because
15711         git-grep emits "\033[1;31m" escape sequences unlike expected
15712         "\033[01;31m" as GNU Grep does (bug#9408).
15713         (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
15715 2011-09-05  Juri Linkov  <juri@jurta.org>
15717         * subr.el (y-or-n-p): Capitalize "yes".
15719 2011-09-04  Michael Albinus  <michael.albinus@gmx.de>
15721         * net/tramp.el (top): Require 'shell.  Use `tramp-unload-hook' but
15722         `tramp-cache-unload-hook' where appropriate.
15723         (tramp-methods): Rename `tramp-remote-sh' to
15724         `tramp-remote-shell'.  Add `tramp-remote-shell-args'.
15725         (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
15727         * net/tramp-sh.el (top): Don't require 'shell.
15728         (tramp-methods): Add `tramp-remote-shell' and
15729         `tramp-remote-shell-args' entries.
15730         (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
15731         (tramp-sh-handle-shell-command): Remove.
15732         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
15733         Use `tramp-remote-shell'.
15735 2011-09-03  Chong Yidong  <cyd@stupidchicken.com>
15737         * mail/sendmail.el (sendmail-query-once-function): Delete.
15738         (sendmail-query-once): Save directly to send-mail-function.
15739         Update message-send-mail-function too.
15741         * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
15743 2011-09-03  Christoph Scholtes  <cschol2112@googlemail.com>
15745         * progmodes/python.el (python-mode-map): Use correct function to
15746         start python interpreter from menu-bar (as reported by Geert
15747         Kloosterman).
15748         (inferior-python-mode-map): Fix typo.
15749         (python-shell-map): Remove.
15751 2011-09-03  Deniz Dogan  <deniz@dogan.se>
15753         * net/rcirc.el (rcirc-print): Simplify code for
15754         rcirc-scroll-show-maximum-output.  There is no need to walk
15755         through all windows to find the right one.
15757 2011-09-03  Christoph Scholtes  <cschol2112@googlemail.com>
15759         * help.el (help-return-method): Doc fix.
15761 2011-09-03  Martin Rudalics  <rudalics@gmx.at>
15763         * window.el (window-deletable-p): Don't return a non-nil value
15764         when there's a buffer that was shown in the window before.
15765         (Bug#9419)
15766         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
15767         Set window's previous buffers to nil.
15769 2011-09-03  Eli Zaretskii  <eliz@gnu.org>
15771         * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
15772         newline before and after the tag line, so it doesn't interfere
15773         with determining the paragraph direction of bidirectional text.
15775 2011-09-03  Leo Liu  <sdl.web@gmail.com>
15777         * files.el (find-file-not-true-dirname-list): Remove.  (Bug#9422)
15779 2011-09-02  Chong Yidong  <cyd@stupidchicken.com>
15781         * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
15782         (pop-to-buffer): Change interactive spec.  Pass second argument
15783         directly to display-buffer.
15784         (display-buffer): Fix interactive spec.  Use functionp to
15785         distinguish between a function and a list of functions.
15787         * abbrev.el (edit-abbrevs):
15788         * arc-mode.el (archive-extract):
15789         * autoinsert.el (auto-insert):
15790         * bookmark.el (bookmark-bmenu-list):
15791         * files.el (find-file):
15792         * view.el (view-buffer):
15793         * progmodes/compile.el (compilation-goto-locus):
15794         * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
15796 2011-09-02  Chong Yidong  <cyd@stupidchicken.com>
15798         * window.el (display-buffer-alist): Doc fix.
15799         (display-buffer): Add docstring.  Don't treat
15800         display-buffer-default specially.
15801         (display-buffer-reuse-selected-window)
15802         (display-buffer-same-window, display-buffer-maybe-same-window)
15803         (display-buffer-reuse-window, display-buffer-pop-up-frame)
15804         (display-buffer-pop-up-window)
15805         (display-buffer-reuse-or-pop-window)
15806         (display-buffer-use-some-window): New functions.
15807         (display-buffer-default-action): Use them.
15808         (display-buffer-default): Delete.
15809         (pop-to-buffer-1): Fix choice of actions.
15811 2011-09-02  Stefan Monnier  <monnier@iro.umontreal.ca>
15813         * minibuffer.el (completion--insert-strings): Don't get confused by
15814         completion entries that end with an LF char.
15816 2011-09-01  Eli Zaretskii  <eliz@gnu.org>
15818         * window.el (frame-auto-delete, window-deletable-p): Doc fix.
15820 2011-09-01  Chong Yidong  <cyd@stupidchicken.com>
15822         * window.el (display-buffer): Restore interactive spec.
15823         (display-buffer-same-window, display-buffer-other-window):
15824         New functions.
15825         (pop-to-buffer-1): New function.  Use the above.
15826         (pop-to-buffer, pop-to-buffer-same-window): Use it.
15827         (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
15829         * view.el (view-buffer-other-window, view-buffer-other-frame):
15830         Just use pop-to-buffer.
15832 2011-09-01  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
15834         * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories.  (Bug#9391)
15836 2011-09-01  Wilfred Hughes  <wilfred@potatolondon.com>  (tiny change)
15838         * vc/vc-git.el (vc-git-grep): Use --no-color.  (Bug#9408)
15840 2011-08-31  Richard Stallman  <rms@gnu.org>
15842         * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
15843         of the separation of rmail-view-buffer from rmail-buffer.
15844         If you say no to "replace original", the decrypt is in the
15845         view buffer.  If you say yes, the decrypt goes into the
15846         rmail buffer also.
15848 2011-08-31  Martin Rudalics  <rudalics@gmx.at>
15850         * window.el (display-buffer-window): Rewrite doc-string.
15851         (display-buffer-record-window): New function.
15852         (display-buffer-macro-specifiers)
15853         (display-buffer-even-window-sizes, display-buffer-set-height)
15854         (display-buffer-set-width, display-buffer-in-window)
15855         (display-buffer-reuse-window, display-buffer-split-specifiers)
15856         (display-buffer-side-specifiers, display-buffer-split-window-1)
15857         (display-buffer-split-window, display-buffer-split-atom-window)
15858         (display-buffer-pop-up-window, display-buffer-pop-up-frame)
15859         (display-buffer-pop-up-side-window, display-buffer-in-side-window)
15860         (display-buffer-other-window-means-other-frame)
15861         (display-buffer-normalize-special)
15862         (display-buffer-normalize-default)
15863         (display-buffer-normalize-argument)
15864         (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
15865         (display-buffer-normalize-specifiers, display-buffer-frame)
15866         (display-buffer-same-window, display-buffer-same-frame)
15867         (display-buffer-other-window)
15868         (display-buffer-same-frame-other-window)
15869         (display-buffer-other-frame, pop-to-buffer-same-window)
15870         (pop-to-buffer-same-frame, pop-to-buffer-other-window)
15871         (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
15872         (switch-to-buffer-same-frame)
15873         (switch-to-buffer-other-window-same-frame)
15874         (display-buffer-alist-of-strings-p, display-buffer-alist-add)
15875         (display-buffer-alist-set-1, display-buffer-alist-set-2)
15876         (display-buffer-alist-set): Remove.
15877         (display-buffer-function, special-display-buffer-names)
15878         (special-display-regexps, special-display-function):
15879         In doc-string refer to display-buffer-window and quit-restore
15880         parameter.
15881         (pop-up-frame-alist, pop-up-frame-function, special-display-p)
15882         (special-display-frame-alist, special-display-popup-frame)
15883         (same-window-buffer-names, same-window-regexps, same-window-p)
15884         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
15885         (split-window-preferred-function, split-height-threshold)
15886         (split-width-threshold, window-splittable-p)
15887         (split-window-sensibly, window--try-to-split-window)
15888         (window--frame-usable-p, even-window-heights)
15889         (window--even-window-heights, window--display-buffer-1)
15890         (window--display-buffer-2, display-buffer-other-frame):
15891         Restore old Emacs 23 code, order and doc-strings where applicable.
15892         (display-buffer-default, display-buffer-assq-regexp): New functions.
15893         (display-buffer-alist): Rewrite doc-string.
15894         (display-buffer-default-action)
15895         (display-buffer-overriding-action): New variables.
15896         (display-buffer, switch-to-buffer): Rewrite.
15897         (pop-to-buffer): Restore Emacs 23 behavior but use
15898         window-normalize-buffer-to-display.
15899         (switch-to-buffer-other-window, switch-to-buffer-other-frame):
15900         Restore Emacs 23 behavior but use
15901         window-normalize-buffer-to-switch-to.
15902         (pop-to-buffer-same-window): Rewrite.
15903         (pop-to-buffer-other-window, pop-to-buffer-other-frame):
15904         Rewrite using Emacs 23 options.
15906 2011-08-31  Michael Albinus  <michael.albinus@gmx.de>
15908         * net/tramp.el (tramp-root-regexp): Remove.
15909         (tramp-completion-file-name-regexp-unified)
15910         (tramp-completion-file-name-regexp-separate)
15911         (tramp-completion-file-name-regexp-url): Don't use leading volume
15912         letter on w32 systems.  (Bug#5303, Bug#9311)
15913         (tramp-drop-volume-letter): Simplify definition.
15914         Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
15916 2011-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
15918         * subr.el (event-modifiers): Fix "missing modifier" part of docstring
15919         (bug#9356).
15921 2011-08-30  Reuben Thomas  <rrt@sc3d.org>  (tiny change)
15923         * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
15925 2011-08-29  Juri Linkov  <juri@jurta.org>
15927         * isearch.el (isearch-done): Don't display message "Mark saved"
15928         when arg `edit' is non-nil to prevent its flicker in the echo area.
15930 2011-08-28  Chong Yidong  <cyd@stupidchicken.com>
15932         * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
15933         obsolete packages for deletion.
15935 2011-08-28  Christoph Scholtes  <cschol2112@googlemail.com>
15937         * help-mode.el (help-mode-map): Add special-mode-map to parent.
15938         (help-mode): Derive help-mode from special-mode.  Don't invoke
15939         view-mode from help-mode.
15940         (help-xref-override-view-map): Remove.
15941         (help-make-xrefs): Remove minor-mode-overriding-map-alist since
15942         view-mode is not used anymore.
15944 2011-08-28  Chong Yidong  <cyd@stupidchicken.com>
15946         * server.el (server-port): Doc fix.
15948         * cus-theme.el (custom-theme-choose-mode): Inherit from
15949         special-mode (Bug#9124).
15950         (custom-theme-choose-mode-map): Add special-mode to parent.
15952 2011-08-28  Alan Mackenzie  <acm@muc.de>
15954         * progmodes/cc-fonts.el
15955         (c-make-font-lock-BO-decl-search-function): New function.
15956         (c-basic-matchers-after - "Fontify the clauses after various
15957         keywords"): Extract the three keyword lists for the 3 erroneous
15958         constructs from the list of four, and use the new function above
15959         in place of an old one.
15961 2011-08-28  Deniz Dogan  <deniz@dogan.se>
15963         * net/rcirc.el (rcirc-insert-prev-input)
15964         (rcirc-insert-next-input): Remove unused argument.
15966 2011-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
15968         * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
15970 2011-08-27  Alan Mackenzie  <acm@muc.de>
15972         * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
15973         handle function pointer parameters properly.
15975 2011-08-27  Martin Rudalics  <rudalics@gmx.at>
15977         * window.el (display-buffer-reuse-window): Fix case where
15978         selected window was reused with non-nil OTHER-WINDOW argument.
15979         (Bug#9381)
15981 2011-08-27  Deniz Dogan  <deniz@dogan.se>
15983         * net/rcirc.el (rcirc-check-auth-status): Adding support for
15984         oftc's NickServ messages.
15986 2011-08-27  Glenn Morris  <rgm@gnu.org>
15988         * saveplace.el (save-place-limit): Make it finite.  (Bug#9352)
15990 2011-08-26  Chong Yidong  <cyd@stupidchicken.com>
15992         * emacs-lisp/package.el (package-install): Call package-initialize
15993         if called interactively.
15995 2011-08-26  Leo Liu  <sdl.web@gmail.com>
15997         * emacs-lisp/cl-macs.el (defstruct): Fix format.  (Bug#9357)
15999 2011-08-25  Juri Linkov  <juri@jurta.org>
16001         * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
16002         `search-whitespace-regexp' (bug#9364).
16004 2011-08-25  Juri Linkov  <juri@jurta.org>
16006         * isearch.el (isearch-edit-string): Let-bind `search-ring' and
16007         `regexp-search-ring' to their global values to protect from
16008         updating by `read-from-minibuffer' (bug#9185).
16010 2011-08-25  Juri Linkov  <juri@jurta.org>
16012         * textmodes/ispell.el (ispell-command-loop): Add newline
16013         at the end of the "Use option `i'..." line.
16015 2011-08-25  Juri Linkov  <juri@jurta.org>
16017         * battery.el (display-battery-mode): If `battery-status-function'
16018         or `battery-mode-line-format' is nil, display the message and set
16019         `display-battery-mode' to nil (bug#9363).
16021 2011-08-25  Eli Zaretskii  <eliz@gnu.org>
16023         * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
16024         bidi-string-mark-left-to-right; they are unnecessary now.
16026 2011-08-25  Deniz Dogan  <deniz@dogan.se>
16028         * net/quickurl.el: Documentation typo fixes.
16030 2011-08-25  Chong Yidong  <cyd@stupidchicken.com>
16032         * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
16034 2011-08-25  Glenn Morris  <rgm@gnu.org>
16036         * emacs-lisp/derived.el (define-derived-mode): Doc fix.
16038         * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
16039         (smtpmail-via-smtp): Handle nil response from smtp.
16041 2011-08-24  Juri Linkov  <juri@jurta.org>
16043         * proced.el (proced-marked): Inherit from `error' instead of
16044         `font-lock-warning-face'.
16046         * ibuffer.el (ibuffer-marked-face): Change default face from
16047         `font-lock-warning-face' to `warning'.
16048         (ibuffer-deletion-face): Change default face from
16049         `font-lock-type-face' to `error'.
16051         * battery.el (battery-update): Use the face `error' instead of
16052         `font-lock-warning-face' (bug#6117).
16054 2011-08-24  Juri Linkov  <juri@jurta.org>
16056         * faces.el (success): Change face color from "Green3" to
16057         "ForestGreen" on light background (bug#9353).
16059 2011-08-24  Chong Yidong  <cyd@stupidchicken.com>
16061         * window.el (quit-window): Rename from quit-restore-window.
16062         Use same arglist as old quit-window.
16063         (frame-auto-delete): Doc fix.
16065         * view.el (view-mode-exit): Use quit-window.
16067 2011-08-24  Juri Linkov  <juri@jurta.org>
16069         * isearch.el (isearch-ring-adjust1): Start visiting previous
16070         search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
16071         (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
16072         for empty search string (when the last search string is reused
16073         automatically) to adjust the isearch ring to the last element and
16074         prepare the correct index for further M-p commands (bug#9185).
16076 2011-08-24  Kenichi Handa  <handa@m17n.org>
16078         * international/ucs-normalize.el: If decomposition property of
16079         CHAR is the default one (i.e. a list of CHAR itself), treat it as
16080         nil.
16081         (nfd, nfkd): Likewise.
16083 2011-08-24  Stefan Monnier  <monnier@iro.umontreal.ca>
16085         * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
16086         from process filters aren't reliably transmitted to the surrounding
16087         accept-process-output.
16088         (mpc-proc-check): New function.
16089         (mpc-proc-sync): Use it (bug#8293)
16091 2011-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
16093         * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
16094         Add compatibility functions (bug#9313).
16096 2011-08-23  Eli Zaretskii  <eliz@gnu.org>
16098         * cus-start.el (all): Add entry for bidi-paragraph-direction.
16100         * international/uni-bidi.el: Regenerate.
16102 2011-08-23  Kenichi Handa  <handa@m17n.org>
16104         * international/charprop.el:
16105         * international/uni-bidi.el:
16106         * international/uni-category.el:
16107         * international/uni-combining.el:
16108         * international/uni-comment.el:
16109         * international/uni-decimal.el:
16110         * international/uni-decomposition.el:
16111         * international/uni-digit.el:
16112         * international/uni-lowercase.el:
16113         * international/uni-mirrored.el:
16114         * international/uni-name.el:
16115         * international/uni-numeric.el:
16116         * international/uni-old-name.el:
16117         * international/uni-titlecase.el:
16118         * international/uni-uppercase.el: Regenerate.
16120 2011-08-23  Martin Rudalics  <rudalics@gmx.at>
16122         * help.el (help-window-setup): Fix message displayed when other
16123         window is reused.  (Bug#9341)
16125 2011-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
16127         * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
16128         * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
16130         * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
16131         Mark obsolete.
16132         * shell.el (shell-parse-pcomplete-arguments): New function.
16133         (shell-completion-vars): Use it instead (bug#9160).
16135 2011-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
16137         * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
16138         strings and comments (bug#9333).
16140         * emacs-lisp/debug.el (debug-arglist): New function.
16141         (debug-convert-byte-code): Use it.  Handle lexical byte-codes.
16142         (debug-on-entry-1): Handle interpreted closures (bug#9120).
16144 2011-08-22  Juri Linkov  <juri@jurta.org>
16146         * progmodes/compile.el (compilation-mode-font-lock-keywords):
16147         Revert regexp that highlights output switches to its old
16148         pre-2010-10-28 value and remove one `?' from it (bug#9319).
16150         * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
16151         to check for empty output (bug#9226).
16153 2011-08-22  Chong Yidong  <cyd@stupidchicken.com>
16155         * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
16156         symbol-constituent as the default, as that stops font-lock from
16157         working properly (Bug#8843).
16159 2011-08-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16161         * mail/smtpmail.el (smtpmail-via-smtp): Only bind
16162         `coding-system-for-*' around the process open call to avoid
16163         auth-source side effects.
16164         (smtpmail-try-auth-methods): Expand the secret password.
16165         (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
16166         probe hangs.
16168 2011-08-21  Chong Yidong  <cyd@stupidchicken.com>
16170         * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
16172         * emacs-lisp/find-func.el (find-function-noselect): New arg
16173         lisp-only.
16175         * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
16176         signal an error for built-in functions (Bug#6664).
16178 2011-08-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16180         * mail/smtpmail.el (smtpmail-smtp-user): New variable.
16181         (smtpmail-try-auth-methods): Use it.
16183 2011-08-21  Chong Yidong  <cyd@stupidchicken.com>
16185         * font-lock.el (font-lock-fontify-region)
16186         (font-lock-unfontify-region, font-lock-default-fontify-buffer)
16187         (font-lock-default-unfontify-buffer)
16188         (font-lock-default-fontify-region)
16189         (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
16191         * progmodes/compile.el (compilation-error-properties):
16192         Fix confusion between file struct and message struct (Bug#9319).
16193         (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
16194         `ant' regexp.
16196         * net/browse-url.el (browse-url-firefox): Don't call
16197         browse-url-firefox-sentinel unless using -remote (Bug#9328).
16199 2011-08-20  Glenn Morris  <rgm@gnu.org>
16201         * tutorial.el (help-with-tutorial): Avoid an error on short screens.
16203         * tutorial.el (tutorial--default-keys): Update some default bindings.
16205         * files.el (hack-local-variables): Fully ignore case for "mode:".
16207 2011-08-20  Alan Mackenzie  <acm@muc.de>
16209         Resolve invalid use of a regexp in regexp-opt.
16211         * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
16212         detection for a java annotation.
16214         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
16215         detection for a java annotation.
16217         * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
16218         handling for java.
16219         (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
16221 2011-08-20  Chong Yidong  <cyd@stupidchicken.com>
16223         * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
16224         (Bug#9274).
16226 2011-08-20  Alan Mackenzie  <acm@muc.de>
16228         Fontify CPP expressions correctly when starting in the middle of
16229         such a construct.  Mainly for when jit-lock etc. starts a chunk
16230         here.
16232         * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
16233         variable.
16234         (c-make-font-lock-search-form): New function, extracted from
16235         c-make-font-lock-search-function.
16236         (c-make-font-lock-search-function): Use the above function.
16237         (c-make-font-lock-context-search-function): New function.
16238         (c-cpp-matchers): Enhance the preprocessor expression case with
16239         the above function
16240         (c-font-lock-complex-decl-prepare): Test for being in a CPP form
16241         which takes an expression.
16243         * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
16245 2011-08-20  Martin Rudalics  <rudalics@gmx.at>
16247         * window.el (display-buffer-reuse-window)
16248         (display-buffer-pop-up-window): Don't reuse or split a side
16249         window.
16251 2011-08-19  Glenn Morris  <rgm@gnu.org>
16253         * files.el (hack-local-variables-prop-line, hack-local-variables):
16254         Downcase "Mode:".  (Bug#9331)
16256 2011-08-18  Chong Yidong  <cyd@stupidchicken.com>
16258         * international/characters.el: Add L and R categories.
16260         * subr.el (bidi-string-mark-left-to-right): Rename from
16261         string-mark-left-to-right.  Use category search.
16263         * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
16265 2011-08-18  Juri Linkov  <juri@jurta.org>
16267         * faces.el (error, warning, success): New faces with definitions
16268         copied from old default values of `font-lock-warning-face',
16269         `compilation-warning', `compilation-info' (bug#6117).
16271         * font-lock.el (font-lock-warning-face): Inherit from `error'.
16273         * progmodes/compile.el (compilation-error): Inherit from `error'.
16274         (compilation-warning): Inherit from `warning'.
16275         (compilation-info): Inherit from `success'.
16277         * dired.el (dired-marked): Inherit from `warning'.
16278         (dired-flagged): Inherit from `error'.
16280 2011-08-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16282         * mail/smtpmail.el (auth-source): Require to avoid problems with
16283         binding variables (bug#9298).  Also clean up some unused
16284         autoloads.
16286         * net/network-stream.el (network-stream-open-starttls):
16287         Support using starttls.el without using gnutls-cli.
16289 2011-08-17  Juri Linkov  <juri@jurta.org>
16291         * progmodes/grep.el (rgrep): Handle the case when
16292         `grep-find-command' is a cons cell (bug#9278).
16294 2011-08-17  Martin Rudalics  <rudalics@gmx.at>
16296         * window.el (display-buffer-pop-up-frame): Run frame creation
16297         function with BUFFER current (as special-display-popup-frame
16298         does).  Reported by Drew Adams.
16300 2011-08-17  Daiki Ueno  <ueno@unixuser.org>
16302         * epa-mail.el: Simplify GnuPG group expansion using
16303         epg-expand-group.
16304         (epa-mail-group-alist, epa-mail-group-modtime)
16305         (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
16306         (epa-mail-sync-groups, epa-mail-expand-recipient-1)
16307         (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
16308         Remove.
16310 2011-08-16  Feng Li  <fengli@gmail.com>  (tiny change)
16312         * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
16314 2011-08-16  Alan Mackenzie  <acm@muc.de>
16316         * progmodes/cc-engine.el (c-state-cache-non-literal-place):
16317         Correct, to avoid the inside of macros.
16319 2011-08-16  Richard Stallman  <rms@gnu.org>
16321         * epa-mail.el: Handle GnuPG group definitions.
16322         (epa-mail-group-alist, epa-mail-group-modtime)
16323         (epa-mail-gnupg-conf-file): New variables.
16324         (epa-mail-parse-groups, epa-mail-sync-groups)
16325         (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
16326         (epa-mail-expand-recipients): New functions.
16327         (epa-mail-encrypt): Call epa-mail-expand-recipients.
16329         * mail/rmail.el (rmail-epa-decrypt): New command.
16331         * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
16332         Don't bind buffer-read-only, just inhibit-read-only.
16333         (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
16334         (epa-decrypt-armor-in-region): Make error message clearer.
16336 2011-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
16338         * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
16339         and "a2b" to "ab" for `prefix'.
16341 2011-08-14  Chong Yidong  <cyd@stupidchicken.com>
16343         * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
16344         filter groups.
16345         (ibuffer-included-in-filter-p-1): Use it.  Suggested by RafaĂ«l
16346         Fourquet (Bug#8804).
16348 2011-08-12  Juanma Barranquero  <lekktu@gmail.com>
16350         * startup.el (argi): Declare as global variable (bug#9275).
16352 2011-08-12  Chong Yidong  <cyd@stupidchicken.com>
16354         * subr.el (string-mark-left-to-right): Search the entire string
16355         for RTL script, not just the terminating character.  Doc fix.
16357 2011-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
16359         * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
16360         New function.
16361         (js--regexp-literal, js-syntax-propertize-function): Remove.
16362         (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
16363         (js-mode-map): Don't rebind electric keys.
16364         (js-insert-and-indent): Remove.
16365         (js-mode): Setup electric-layout and electric-indent instead.
16367         * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
16369 2011-08-12  Daiki Ueno  <ueno@unixuser.org>
16371         * epa.el (epa-progress-callback-function): Fix the logic of
16372         displaying progress.
16373         * epa-file.el (epa-file-insert-file-contents): Make progress
16374         display more user-friendly.
16375         (epa-file-write-region): Ditto.
16377 2011-08-10  Chong Yidong  <cyd@stupidchicken.com>
16379         * subr.el (string-mark-left-to-right): New function.
16381         * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
16382         Use string-mark-left-to-right.
16383         (list-buffers-noselect): Caller changed.
16385         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
16386         Use string-mark-left-to-right.
16387         (tabulated-list-print): Recenter after moving point.
16389 2011-08-10  Juri Linkov  <juri@jurta.org>
16391         * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
16392         This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
16393         intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
16395 2011-08-09  Chong Yidong  <cyd@stupidchicken.com>
16397         * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
16398         (Bug#7554).
16400 2011-08-09  Andreas Schwab  <schwab@linux-m68k.org>
16402         * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
16403         character.  (Bug#6594)
16405 2011-08-08  Chong Yidong  <cyd@stupidchicken.com>
16407         * image-dired.el: Don't use find-file for temporary work (Bug#7895).
16408         (image-dired--with-db-file): New macro.
16409         (image-dired-write-tags, image-dired-remove-tag)
16410         (image-dired-create-gallery-lists, image-dired-write-comments)
16411         (image-dired-get-comment, image-dired-mark-tagged-files)
16412         (image-dired-list-tags, image-dired-gallery-generate): Use it.
16413         (image-dired-gallery-generate): Use insert-file-contents.
16415         * time.el (display-time-world-list, display-time-world-display):
16416         * time-stamp.el (time-stamp-string):
16417         * vc/add-log.el (add-change-log-entry): Use setenv instead of
16418         set-time-zone-rule (Bug#7337).
16420 2011-08-08  Daiki Ueno  <ueno@unixuser.org>
16422         * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
16423         (epg-error-to-string, epg-errors-to-string): New function.
16424         (epg-wait-for-completion): Reverse errors list.
16425         (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
16426         (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
16427         (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
16428         (epg-sign-keys, epg-generate-key-from-file)
16429         (epg-generate-key-from-string): Format errors by using
16430         epg-errors-to-string (bug#9255).
16431         (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
16433 2011-08-07  Juri Linkov  <juri@jurta.org>
16435         * faces.el (list-faces-display): Remove extra angle bracket
16436         from `help-mode-map'.
16438         * info.el (Info-history-toc-nodes): Doc fix.
16440         * longlines.el (longlines-mode): Doc fix.
16442 2011-08-05  Stefan Monnier  <monnier@iro.umontreal.ca>
16444         * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
16445         of statements and in a few more cases (bug#9183).
16447         * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
16448         New functions.
16449         (cl-transform-lambda): Use them (bug#9239).
16451 2011-08-05  Martin Rudalics  <rudalics@gmx.at>
16453         * window.el (display-buffer-same-window)
16454         (display-buffer-same-frame, display-buffer-other-window)
16455         (pop-to-buffer-same-window, pop-to-buffer-same-frame)
16456         (pop-to-buffer-other-window)
16457         (pop-to-buffer-same-frame-other-window)
16458         (pop-to-buffer-other-frame): Make them defuns.
16459         (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
16461 2011-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
16463         * subr.el (make-composed-keymap): Move from C.  Change calling
16464         convention, and improve docstring to bring attention to a subtle point.
16465         * minibuffer.el (completing-read-default): Adjust accordingly.
16467 2011-08-03  Michael Albinus  <michael.albinus@gmx.de>
16469         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
16470         (tramp-open-shell): Use `tramp-shell-quote-argument'.
16472         * net/trampver.el: Update release number.
16474 2011-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
16476         * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
16477         "in" (bug#9190).
16479 2011-08-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16481         * mail/sendmail.el (sendmail-query-once): Restore the current
16482         buffer after querying (bug#9074).
16484         * dired.el (dired-flagged): Use different faces for marked and
16485         flagged files (bug#6117).
16487         * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
16488         (bug#4433).
16490         * ido.el (ido-mode): Switch off the message if called
16491         non-interactively.
16493         * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
16494         before 587, since it appears that that's more likely to work for
16495         more people.
16497         * cus-edit.el (custom-file): When running under emacs -q, always
16498         refuse to save the customizations, even if the .emacs file doesn't
16499         exist.
16501         * info.el: Remove the `Info-beginning-of-buffer' function
16502         (bug#8325).
16504         * net/network-stream.el (network-stream-open-starttls):
16505         Use `starttls-available-p' to see whether starttls.el can be used.
16507 2011-08-01  Martin Rudalics  <rudalics@gmx.at>
16509         * window.el (display-buffer-in-window): Don't set dedicated status
16510         of window here (Bug#9215).
16511         (display-buffer-pop-up-window, display-buffer-pop-up-frame)
16512         (display-buffer-pop-up-side-window)
16513         (display-buffer-in-side-window): Set dedicated status of window here.
16515 2011-08-01  Stefan Monnier  <monnier@iro.umontreal.ca>
16517         * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
16518         before binding generated-autoload-file.
16520 2011-08-01  Deniz Dogan  <deniz@dogan.se>
16522         * net/rcirc.el (rcirc-handler-333): Clarify docstring.
16524 2011-07-30  Michael Albinus  <michael.albinus@gmx.de>
16526         Sync with Tramp 2.2.2.
16528         * net/trampver.el: Update release number.
16530 2011-07-30  Juri Linkov  <juri@jurta.org>
16532         * dired-aux.el (dired-touch-initial): Remove function.
16533         (dired-do-chxxx): For op-symbol `touch', set `initial' to the
16534         current time, and `default' to the last modification time of the
16535         current marked file (bug#6887).
16537 2011-07-28  Jose E. Marchesi  <jemarch@gnu.org>
16539         * simple.el (goto-line): Use string-to-number to provide a
16540         numeric argument to read-number (bug#9163).
16542 2011-07-27  Michael Albinus  <michael.albinus@gmx.de>
16544         * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
16545         connection process, it could be nil.
16547 2011-07-27  Leo Liu  <sdl.web@gmail.com>
16549         Simplify url handling in rcirc-mode.
16551         * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
16552         (rcirc-browse-url-at-mouse): Remove.
16553         * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
16555 2011-07-26  Alan Mackenzie  <acm@muc.de>
16557         Fontify bitfield declarations properly.
16559         * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
16560         (c-symbol-chars): Now exported as a lang variable.
16561         (c-not-primitive-type-keywords): New lang variable.
16563         * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
16564         QT keyword "more" to prevent "more slots: ...." being spuriously
16565         parsed as a bitfield declaration.
16567         * progmodes/cc-engine.el (c-beginning-of-statement-1):
16568         Refactor and enhance to handle bitfield declarations.
16569         (c-punctuation-in): New function.
16570         (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
16571         declarations properly.
16573 2011-07-26  Ulf Jasper  <ulf.jasper@web.de>
16575         * calendar/icalendar.el (icalendar--all-events): Take care of
16576         multiple vcalendars in a single file.
16577         (icalendar--convert-float-to-ical): Checkdoc fixes.
16579 2011-07-25  Deniz Dogan  <deniz@dogan.se>
16581         * image.el (insert-image): Clarifying docstring.
16583 2011-07-24  Michael Albinus  <michael.albinus@gmx.de>
16585         * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
16586         `tramp-send-command-and-check' if there is no error.
16587         (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
16589 2011-07-22  Alan Mackenzie  <acm@muc.de>
16591         Prevent cc-langs.elc being loaded at run time.
16593         * progmodes/cc-mode.el: Remove two autoload forms which loaded
16594         cc-langs.
16596         * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
16597         "(require 'cc-langs)".  Quote a form so it will evaluate at
16598         (cc-mode's) compilation time.
16600 2011-07-22  Michael Albinus  <michael.albinus@gmx.de>
16602         * net/tramp.el (tramp-file-name-handler): Avoid recursive
16603         loading.  (Bug#9114)
16605 2011-07-21  Martin Rudalics  <rudalics@gmx.at>
16607         * window.el (display-buffer-pop-up-window)
16608         (display-buffer-pop-up-side-window)
16609         (display-buffer-in-side-window): Call display-buffer-set-height
16610         and display-buffer-set-width after setting the new window's
16611         buffer so `fit-window-to-buffer' and friends work on the right buffer.
16613 2011-07-20  Sam Steingold  <sds@gnu.org>
16615         * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
16616         (etags-tags-included-tables): Call `convert-standard-filename' on
16617         the file names contained in TAGS so that windows Emacs can handle
16618         TAGS files created by cygwin ctags.
16620 2011-07-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16622         * proced.el (proced-update): Revert yesterday's bug#1779 patch,
16623         which apparently didn't work.
16625 2011-07-19  Roland Winkler  <winkler@gnu.org>
16627         * proced.el (proced-send-signal): For *Marked Processes* buffer
16628         put point at beginning of buffer.
16630 2011-07-19  Stephen Berman  <stephen.berman@gmx.net>
16632         * proced.el (proced-format): Make header lines align with the text
16633         (bug#1779).
16635 2011-07-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16637         * view.el (view-buffer): Allow running in `special' modes if we're
16638         visiting a file (bug#8615).
16640 2011-07-19  Martin Rudalics  <rudalics@gmx.at>
16642         * window.el (display-buffer-alist-of-strings-p)
16643         (display-buffer-alist-set-1, display-buffer-alist-set-2):
16644         New functions.
16645         (display-buffer-alist-set): Rewrite to handle Emacs 23 options
16646         more accurately.
16648 2011-07-18  Alan Mackenzie  <acm@muc.de>
16650         Fontify declarators properly when, e.g., a jit-lock chunk begins
16651         inside a declaration.
16653         * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
16655         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
16656         New function.
16657         (c-complex-decl-matchers): Insert reference to
16658         c-font-lock-enclosing-decls.
16660         * progmodes/cc-engine.el (c-backward-single-comment):
16661         (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
16662         to nil around calls to (forward-comment -1).
16664 2011-07-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16666         * image.el (put-image): Doc typo fix.
16668         * progmodes/etags.el (tags-search): Doc typo fix.
16670         * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
16671         password if we get errors 550 to 554.
16673 2011-07-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16675         * net/gnutls.el (gnutls-log-level): Remove.
16677         * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
16678         indentation character (bug#6380).
16680         * files.el (buffer-offer-save): Made permanently local (bug#6241).
16682         * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
16683         to clarify what the problem is (bug#4291).
16685         * simple.el (current-kill): Clarify what
16686         `interprogram-paste-function' does (bug#7500).
16687         (auto-fill-mode): Document `auto-fill-function' in relation to
16688         `auto-fill-mode' (bug#2470).
16690 2011-07-16  Lawrence Mitchell  <wence@gmx.li>
16692         * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
16693         method if slot is read-only (bug#9035).
16695 2011-07-16  Martin Rudalics  <rudalics@gmx.at>
16697         * frame.el (select-frame-set-input-focus): New argument NORECORD.
16698         * window.el (pop-to-buffer): Select window used even if it was
16699         selected before, see discussion of (Bug#8615), (Bug#6954).
16700         Pass argument NORECORD on to select-frame-set-input-focus.
16702 2011-07-15  Glenn Morris  <rgm@gnu.org>
16704         * subr.el (read-char-choice): Allow quitting.  (Bug#9001)
16705         Respect help-form.
16707 2011-07-09  Lawrence Mitchell  <wence@gmx.li>
16709         * net/gnutls.el (gnutls-min-prime-bits): New variable.
16710         (gnutls-negotiate): Use it.
16712 2011-07-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16714         * net/gnutls.el (gnutls-negotiate):
16715         Upcase `gnutls-algorithm-priority'.
16717 2011-07-15  Glenn Morris  <rgm@gnu.org>
16719         * jka-compr.el (jka-compr-verbose): Move from here...
16720         * jka-cmpr-hook.el (jka-compr-verbose): ... to here.  (Bug#9090)
16721         Add missing :version tag.
16722         * info.el: No need to require jka-compr when compiling.
16724 2011-07-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16726         * net/gnutls.el (gnutls-algorithm-priority): New variable.
16727         (gnutls-negotiate): Use it.
16729         * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
16731         * info.el (Info-beginning-of-buffer): New command.
16732         (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
16733         announcing `b' as the key (bug#8325).
16734         (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
16736         * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
16738         * international/mule-cmds.el
16739         (describe-specified-language-support): Make the error message
16740         clearer (bug#8905).
16742         * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
16744         * isearch.el (isearch-barrier): Add a doc string, since it's
16745         mentioned in a function doc string (bug#8678).
16747 2011-07-15  Martin Rudalics  <rudalics@gmx.at>
16749         * window.el (switch-to-buffer): Call pop-to-buffer with normalized
16750         buffer argument (Bug#9083) and self-identifying label argument.
16752 2011-07-15  Glenn Morris  <rgm@gnu.org>
16754         * emacs-lisp/debug.el (debug): Doc fix.  (Bug#8273)
16756 2011-07-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16758         * man.el (Man-fontify-manpage): Fix message when formatting the
16759         man page (bug#7929).
16761 2011-07-14  Eli Zaretskii  <eliz@gnu.org>
16763         * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
16764         argument LRM; if non-nil, append an invisible LRM character to the
16765         buffer name.
16766         (list-buffers-noselect): Call Buffer-menu-buffer+size with the
16767         last argument non-nil, when formatting buffer names.
16768         (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
16769         paragraph direction.
16771 2011-07-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16773         * man.el (Man-bgproc-sentinel): Skip any arguments and only output
16774         the man page name (bug#7929).
16776         * image.el (put-image): Mention the `put-image' overlay property
16777         (bug#7834).
16779         * scroll-bar.el (set-scroll-bar-mode): Mention that
16780         `scroll-bar-mode' lists the values (bug#7772).
16782         * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
16783         command (bug#7729).
16785         * rect.el (apply-on-rectangle): Return the point after the last
16786         operation.
16787         (string-rectangle): Go to the point after the last operation
16788         (bug#7522).
16790         * printing.el (pr-toggle-region): Clarify the documentation
16791         slightly (bug#7493).
16793         * time.el (display-time-update):
16794         Allow `display-time-mail-function' to return nil (bug#7158).
16795         Fix suggested by Detlev Zundel.
16797         * vc/diff.el (diff): Clarify the order the file names are read
16798         (bug#7111).
16800         * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
16801         the doc string (bug#7015).
16803         * font-lock.el (font-lock-maximum-decoration): Mention what
16804         numeric levels mean (bug#6935).
16806         * startup.el (initial-buffer-choice): Don't mention the `none'
16807         selection, which is against policy.
16809 2011-07-14  Martin Rudalics  <rudalics@gmx.at>
16811         * window.el (display-buffer-normalize-special):
16812         Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
16814 2011-07-14  Eli Zaretskii  <eliz@gnu.org>
16816         * subr.el (version<, version<=, version=): Mention "-CVS" and
16817         "-12345" alpha version numbers.
16819 2011-07-14  Chong Yidong  <cyd@stupidchicken.com>
16821         * bindings.el: Add advertised binding for set-mark-command
16822         (Bug#5772).
16824 2011-07-14  Chong Yidong  <cyd@stupidchicken.com>
16826         * bindings.el (mode-line-other-buffer):
16827         * bookmark.el (bookmark-bmenu-2-window):
16828         * bs.el (bs-cycle-next, bs-cycle-previous):
16829         * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
16830         switch-to-buffer.
16832         * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
16833         Delete.
16835 2011-07-14  Juanma Barranquero  <lekktu@gmail.com>
16837         * follow.el (follow-debug-message, follow-redisplay):
16838         * jka-cmpr-hook.el (with-auto-compression-mode):
16839         Fix typos in docstrings.
16841 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16843         * subr.el (with-silent-modifications): Clarify somewhat what the
16844         macro inhibits (bug#6525).
16846         * simple.el (eval-expression): Note what it does if called
16847         interactively (bug#6495).
16849 2011-07-13  Chong Yidong  <cyd@stupidchicken.com>
16851         * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
16852         Use pop-to-buffer buffer-or-name if it is nil.
16854         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
16855         Remove switch-to-buffer.
16857 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16859         * files.el (make-directory): Clarify that an error will be raised
16860         if there's an error (bug#6397).
16862         * startup.el (initial-buffer-choice): Add `none' as a choice
16863         (bug#6234).
16865         * subr.el (add-hook): Clarify section about buffer-local hooks
16866         (bug#6218).
16868         * dired.el (dired-flagged): Clarify doc string (bug#6117).
16870 2011-07-13  Juanma Barranquero  <lekktu@gmail.com>
16872         * tabify.el (untabify): Preserve the current column so that point
16873         doesn't move (bug#6032).
16875 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16877         * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
16878         Rewrite to avoid awkward possessive "s" (bug#5986).
16880 2011-07-13  Glenn Morris  <rgm@gnu.org>
16882         * dired.el (dired-use-ls-dired): Doc fix.  (Bug#9039).
16883         (dired-insert-directory): Give a message the first time
16884         if ls is found not to support --dired.
16886 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16888         * simple.el (toggle-truncate-lines): Clarify what is toggled
16889         (bug#5580).  Text by Drew Adams.
16891 2011-07-13  Chong Yidong  <cyd@stupidchicken.com>
16893         * simple.el (blink-matching-open): Make the error message from the
16894         last change less verbose.
16896 2011-07-13  Dan Nicolaescu  <dann@ics.uci.edu>
16898         * font-lock.el (font-lock-comment-face): Use the high contrast
16899         "yellow" color for font-lock-comment-face on low color terminals
16900         using a dark background color (bug#4221).
16902 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16904         * dired.el (dired-insert-set-properties): Make the doc string
16905         reflect what it does now (bug#5325).
16907         * simple.el (blink-matching-open): Say that we were unable to find
16908         the match within the limit, if we're limited (bug#5122).
16910         * international/mule-cmds.el (prefer-coding-system): Add an
16911         example (bug#4869).
16913         * progmodes/etags.el (tags-search): Document `file-list-form'
16914         (bug#4731).
16916 2011-07-13  Lawrence Mitchell  <wence@gmx.li>
16918         * net/browse-url.el (browse-url-default-browser)
16919         (browse-url-browser-function): Make the default browser choice a
16920         bit more logical (bug#4300).  Also clean up the doc string.
16922 2011-07-13  Juanma Barranquero  <lekktu@gmail.com>
16924         * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
16925         binary endings (bug#4440).
16927 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16929         * info.el (info-insert-file-contents): Inhibit jka-compr messages,
16930         which can be pretty annoying (bug#8971).
16932         * jka-compr.el (jka-compr-verbose): New variable, and use
16933         throughout (bug#8971).
16935         * info.el (Info-find-file): Fall back on the installation
16936         directory if we can't find the info node anywhere else.
16938 2011-07-13  Sergei Organov  <osv@javad.com>  (tiny change)
16940         * vc/vc.el (vc-revert-file):
16941         Don't set file time-stamp in the past.  (Bug#5181)
16943 2011-07-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16945         * files.el (after-find-file): Give a better error message when
16946         trying to find a symlink that points to a file that doesn't exist
16947         (bug#4398).
16949         * progmodes/cc-vars.el: Remove (probably) misleading comment
16950         (bug#4396).
16952 2011-07-12  Johan BockgĂ¥rd  <bojohan@gnu.org>
16954         * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
16956 2011-07-12  Chong Yidong  <cyd@stupidchicken.com>
16958         * mouse-sel.el: Hack restoring functionality, while keeping
16959         compatibility with 2010-07-03 changes to mouse selection.
16960         (mouse-sel-primary-overlay): New var.
16961         (mouse-sel-selection-alist): Use it.
16962         (mouse-sel-mode): Doc fix; remove points that are default features
16963         of mouse.el.
16965 2011-07-12  Johan BockgĂ¥rd  <bojohan@gnu.org>
16967         * progmodes/compile.el (compilation-error-regexp-alist-alist):
16968         Fix previous fix (bug#2490).
16970 2011-07-12  Roland Winkler  <winkler@gnu.org>
16972         * textmodes/bibtex.el (bibtex-initialize):
16973         Use pop-to-buffer-same-window.
16974         (bibtex-search-entries): Fix interactive call.
16976 2011-07-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16978         * progmodes/compile.el (compilation-error-regexp-alist-alist):
16979         Fontise bytecomp Error lines more correctly (bug#2490).
16980         Fix suggested by Johan BockgĂ¥rd.
16982         * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
16984         * dired-x.el (dired-guess-default): Use `delete-dups'.
16986 2011-07-12  Chong Yidong  <cyd@stupidchicken.com>
16988         * dired.el (dired-mark-prompt):
16989         * dired-aux.el (dired-read-shell-command): Doc fix.
16991 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16993         * mail/sendmail.el (sendmail-query-once):
16994         Use `customize-save-variable' unconditionally, now that it works under
16995         emacs -Q.
16997         * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
16999         * cus-edit.el (custom-file): Take an optional no-error variable.
17000         (customize-save-variable): Set the variable, and give a warning if
17001         running under "emacs -q".
17003 2011-07-11  Juanma Barranquero  <lekktu@gmail.com>
17005         * loadhist.el (unload-feature-special-hooks):
17006         Add `auto-coding-functions', `fill-nobreak-predicate' and
17007         `find-directory-functions' (bug#5327).
17009 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17011         * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
17013         * cus-edit.el (custom-guess-name-alist): -alist variables should
17014         use the `alist' type (bug#3120).  Suggested by Drew Adams.
17016         * printing.el: Add documentation to all the `pr-toggle-' commands.
17018 2011-07-11  Leo Liu  <sdl.web@gmail.com>
17020         * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
17021         backends where it makes sense (bug#2623).
17023 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17025         * dired-x.el (dired-guess-default): Remove duplicate shell command
17026         entries (bug#2028).
17027         (dired-guess-default): Fix grammar in doc string (bug#2028).
17028         (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
17030         * subr.el (remove-duplicates): New conveniency function.
17032 2011-07-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17034         * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
17035         (bug#1526).
17037 2011-07-10  Martin Rudalics  <rudalics@gmx.at>
17039         * window.el (display-buffer-normalize-default): Don't invert
17040         meaning of even-window-heights.  Reported by Eli Zaretskii
17041         <eliz@gnu.org>.
17043 2011-07-10  Bob Rogers  <rogers@rgrjr.dyndns.org>
17045         * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
17047 2011-07-10  Chong Yidong  <cyd@stupidchicken.com>
17049         * window.el (display-buffer): Fix arguments to
17050         display-buffer-reuse-window in last change.
17052         * faces.el (link): Use a less saturated blue on light backgrounds.
17054         * startup.el (fancy-startup-text, fancy-about-text)
17055         (fancy-startup-tail): Use font-lock faces, for background safety.
17057 2011-07-09  Bob Nnamtrop  <bobnnamtrop@gmail.com>  (tiny change)
17059         * emulation/viper-cmd.el (viper-change-state-to-vi):
17060         Limit triggering of abbrev expansion (Bug#9038).
17062 2011-07-09  Martin Rudalics  <rudalics@gmx.at>
17064         * window.el (display-buffer-default-specifiers): Remove.
17065         (display-buffer-macro-specifiers): Remove default specifiers.
17066         (display-buffer-alist): Default to nil.
17067         (display-buffer-reuse-window): New optional argument other-window.
17068         (display-buffer-pop-up-window): Allow splitting internal
17069         windows.  Check whether a live window was created.
17070         (display-buffer-other-window-means-other-frame)
17071         (display-buffer-normalize-arguments): Rename to
17072         display-buffer-normalize-argument and rewrite.  Set the
17073         other-window specifier.
17074         (display-buffer-normalize-special): New function.
17075         (display-buffer-normalize-options): Rename to
17076         display-buffer-normalize-default and rewrite.
17077         (display-buffer-normalize-options-inhibit): Remove.
17078         (display-buffer-normalize-specifiers): Rewrite.
17079         (display-buffer): Process other-window specifier and call
17080         display-buffer-reuse-window with it.  Emulate Emacs 23 behavior
17081         more faithfully.
17082         (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
17083         (display-buffer-alist-set): Don't handle 'unset default values.
17084         (display-buffer-in-window, display-buffer-alist-set):
17085         Replace symbol "dedicated" by "dedicate".  Reported by Tassilo Horn
17086         <tassilo@member.fsf.org>.
17088 2011-07-09  Leo Liu  <sdl.web@gmail.com>
17090         * register.el (insert-register): Restore accidental change on
17091         2011-06-26.  (Bug#9028)
17093 2011-07-09  Glenn Morris  <rgm@gnu.org>
17095         * subr.el (remq): Handle the empty list.  (Bug#9024)
17097 2011-07-08  Andreas Schwab  <schwab@linux-m68k.org>
17099         * mail/sendmail.el (send-mail-function): No longer delay custom
17100         initialization.
17101         * custom.el (custom-initialize-delay): Doc fix.
17103 2011-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
17105         * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
17107 2011-07-08  Michael Albinus  <michael.albinus@gmx.de>
17109         * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
17110         human-friendly prompt.
17112 2011-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
17114         * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
17115         provided by a particular plugin.
17117 2011-07-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17119         * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
17120         save customizations (with "emacs -Q"), just set the variable
17121         instead of erroring out.
17123         * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
17125 2011-07-08  Juri Linkov  <juri@jurta.org>
17127         * arc-mode.el (archive-zip-expunge, archive-zip-update)
17128         (archive-zip-update-case): Use 7z if found by `executable-find'.
17129         The order of searching the available programs is the same as in
17130         `archive-zip-extract' (bug#8968).
17132 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
17134         * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
17135         (menu-bar-options-menu): Tweak descriptions.
17137 2011-07-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17139         * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
17140         menu items into verb phrases (bug#1421).  Also refill to fit under
17141         80 columns.
17143 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
17145         * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
17146         (Info-read-node-name): Doc fix (Bug#1084).
17148         * thingatpt.el (forward-thing, bounds-of-thing-at-point)
17149         (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
17150         (end-of-sexp, beginning-of-sexp)
17151         (thing-at-point-bounds-of-list-at-point, forward-whitespace)
17152         (forward-symbol, forward-same-syntax, word-at-point)
17153         (sentence-at-point): Doc fix (Bug#1144).
17155 2011-07-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17157         * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
17158         should cover it (bug#1281).
17160         * cus-edit.el (custom-show): Mark as obsolete.
17162         * net/network-stream.el (network-stream-open-starttls): If GnuTLS
17163         negotiation fails, then possibly try again with a non-encrypted
17164         connection (bug#9017).
17166         * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
17167         be used.
17169 2011-07-07  Richard Stallman  <rms@gnu.org>
17171         * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
17172         property, and handle its changed format.
17173         Look for the correct line number.
17174         Use file's line contents (but not past first =) to find
17175         correct line in message.
17177 2011-07-07  Kenichi Handa  <handa@m17n.org>
17179         * international/characters.el (build-unicode-category-table):
17180         Delete it.
17181         (unicode-category-table): Set it by unicode-property-table-internal.
17183         * international/mule-cmds.el (char-code-property-alist): Move to
17184         to src/chartab.c.
17185         (get-char-code-property): Call unicode-property-table-internal to
17186         load a file.  Call get-unicode-property-internal where necessary.
17187         (put-char-code-property): Call unicode-property-table-internal to
17188         load a file.  Call put-unicode-property-internal where necessary.
17189         put-unicode-property-internal where necessary.
17190         (char-code-property-description):
17191         Call unicode-property-table-internal to load a file.
17193         * international/charprop.el:
17194         * international/uni-bidi.el:
17195         * international/uni-category.el:
17196         * international/uni-combining.el:
17197         * international/uni-comment.el:
17198         * international/uni-decimal.el:
17199         * international/uni-decomposition.el:
17200         * international/uni-digit.el:
17201         * international/uni-lowercase.el:
17202         * international/uni-mirrored.el:
17203         * international/uni-name.el:
17204         * international/uni-numeric.el:
17205         * international/uni-old-name.el:
17206         * international/uni-titlecase.el:
17207         * international/uni-uppercase.el: Regenerate.
17209         * loadup.el: Load international/charprop.el before
17210         international/characters.
17212 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
17214         * window.el (next-buffer, previous-buffer): Signal an error if
17215         called from a minibuffer window.
17217         * bindings.el: Revert 2011-07-04 change.
17219 2011-07-06  Richard Stallman  <rms@gnu.org>
17221         * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
17222         (rmail-mime-insert-bulk, rmail-mime-insert-text):
17223         Treat markers like ints.
17224         (rmail-mime-entity): Doc fix.
17226 2011-07-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17228         * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
17229         defcustom again for backwards compatibility.
17231         * simple.el (shell-command-on-region): Fill.
17233         * dired-aux.el (dired-kill-line): Add a doc string.
17235         * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
17236         to "\\sw\\|\\s_" (bug#358).
17238         * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
17239         (dired-unmark-backward): Ditto.
17240         (dired-flag-backup-files): Ditto.
17242         * dired-x.el (dired-mark-sexp): Ditto.
17244 2011-07-06  Richard Stallman  <rms@gnu.org>
17246         * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
17247         (rmail-mime-entity): New arg TRUNCATED.
17248         (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
17249         New functions.
17250         (rmail-mime-save): Warn if entity is truncated.
17251         (rmail-mime-toggle-hidden): Likewise, for showing.
17252         (rmail-mime-process-multipart): Record when an entity is truncated.
17254         * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
17255         if ENTITY is a string.
17257 2011-07-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17259         * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
17260         of faces when `M-C-x'-ing their definitions (bug#8378).
17261         Also clean up the code slightly.
17263         * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
17264         because that makes the colors go away.
17266         * mail/sendmail.el (send-mail-function): Change the default to
17267         `sendmail-query-once'.
17268         (sendmail-query-once): Add an autoload cookie.
17270         * net/network-stream.el (network-stream-open-starttls): Try using
17271         a plain connection even if the server offered STARTTLS, and we
17272         kinda wanted to use it, if Emacs doesn't have any STARTTLS
17273         capability.  This should make smtpmail.el work in slightly more
17274         configurations.
17276 2011-07-06  Michael Albinus  <michael.albinus@gmx.de>
17278         * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
17279         New defun.
17280         * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
17282 2011-07-06  Michael R. Mauger  <mmaug@yahoo.com>
17284         * progmodes/sql.el: Version 3.0
17285         (sql-product-alist): Add product :completion-object,
17286         :completion-column, and :statement attributes.
17287         (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
17288         (sql-mode-syntax-table): Mark all punctuation.
17289         (sql-font-lock-keywords-builder): Temporarily remove fallback on
17290         ansi keywords.
17291         (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
17292         (sql-mode-oracle-font-lock-keywords): Improve.
17293         (sql-oracle-show-reserved-words): New function for development.
17294         (sql-product-font-lock): Simplify for source code buffers.
17295         (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
17296         New functions.
17297         (sql-highlight-product): Set product specific syntax table.
17298         (sql-mode-map): Add statement movement functions.
17299         (sql-ansi-statement-starters, sql-oracle-statement-starters):
17300         New variable.
17301         (sql-statement-regexp, sql-beginning-of-statement)
17302         (sql-end-of-statement, sql-signum): New functions.
17303         (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
17304         (sql-show-sqli-buffer): Bug fix.
17305         (sql-interactive-mode): Store connection data as buffer local.
17306         (sql-connect): Add NEW-NAME parameter.  Redesign interaction
17307         with sql-interactive-mode.
17308         (sql-save-connection): Save buffer local settings.
17309         (sql-connection-menu-filter): Change menu entry name.
17310         (sql-product-interactive): Bug fix.
17311         (sql-preoutput-hold): New variable.
17312         (sql-interactive-remove-continuation-prompt): Bug fixes.
17313         (sql-debug-redirect): New variable.
17314         (sql-str-literal): New function.
17315         (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
17316         Redesign.
17317         (sql-oracle-save-settings, sql-oracle-restore-settings)
17318         (sql-oracle-list-all, sql-oracle-list-table): New functions.
17319         (sql-completion-object, sql-completion-column)
17320         (sql-completion-sqlbuf): New variables.
17321         (sql-build-completions-1, sql-build-completions)
17322         (sql-try-completion): New functions.
17323         (sql-read-table-name): Use them.
17324         (sql-contains-names): New buffer local variable.
17325         (sql-list-all, sql-list-table): Use it.
17326         (sql-oracle-completion-types): New variable.
17327         (sql-oracle-completion-object, sql-sqlite-completion-object)
17328         (sql-postgres-completion-object): New functions.
17330 2011-07-06  Glenn Morris  <rgm@gnu.org>
17332         * window.el (pop-to-buffer): Doc fix.
17334 2011-07-06  Markus Heiser  <markus.heiser@darmarit.de>  (tiny change)
17336         * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
17338 2011-07-06  Chong Yidong  <cyd@stupidchicken.com>
17340         * window.el (special-display-popup-frame): Doc fix (Bug#8853).
17342         * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
17344 2011-07-05  Chong Yidong  <cyd@stupidchicken.com>
17346         * button.el (button): Inherit from link face.  Suggested by Dan
17347         Nicolaescu.
17349 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
17351         * progmodes/gdb-mi.el: Fit in 80 columns.
17352         (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
17353         switch-to-buffer.
17355         * progmodes/which-func.el (which-func-ff-hook): Don't output a message
17356         if imenu is simply not configured (bug#8941).
17358 2011-07-05  Ken Manheimer  <ken.manheimer@gmail.com>
17360         * allout.el (allout-post-undo-hook): New allout outline-change
17361         event hook to signal undo activity.
17362         (allout-post-command-business): Run allout-post-undo-hook if an
17363         undo just occurred.
17364         (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
17365         * allout-widgets.el (allout-widgets-after-undo-function):
17366         Ensure the integrity of the current item's decoration after it has been
17367         in the vicinity of an undo.
17368         (allout-widgets-mode): Include allout-widgets-after-undo-function
17369         on the new allout-post-undo-hook.
17371 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
17373         * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
17374         Let define-derived-mode define it.
17375         * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
17376         cycles of abbrev-table inheritance (bug#8998).
17378 2011-07-05  Roland Winkler  <winkler@gnu.org>
17380         * textmodes/bibtex.el: Add support for biblatex.
17381         (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
17382         (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
17383         (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
17384         (bibtex-entry-alist, bibtex-field-alist): New variables.
17385         (bibtex-entry-field-alist): Obsolete alias for
17386         bibtex-BibTeX-entry-alist.
17387         (bibtex-entry-alist, bibtex-field-alist): New widgets.
17388         (bibtex-set-dialect): New command.
17389         (bibtex-entry-type, bibtex-entry-head)
17390         (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
17391         Bind via bibtex-set-dialect.
17392         (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
17393         (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
17394         (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
17395         (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
17396         Define via bibtex-set-dialect.
17397         (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
17398         Obey bibtex-no-opt-remove-re.
17399         (bibtex-vec-push, bibtex-vec-incr): New functions.
17400         (bibtex-format-entry, bibtex-field-list)
17401         (bibtex-print-help-message, bibtex-validate)
17402         (bibtex-search-entries): Use new format of bibtex-entry-alist.
17404 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
17406         * progmodes/compile.el (compilation-goto-locus):
17407         * net/tramp-cmds.el (tramp-append-tramp-buffers):
17408         * bs.el (bs-cycle-next, bs-cycle-previous):
17409         * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
17410         * bindings.el (mode-line-other-buffer):
17411         * autoinsert.el (auto-insert):
17412         * arc-mode.el (archive-extract):
17413         * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
17415 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
17417         * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
17418         Fix check of `emacs-lock-unlockable-modes'.
17419         Coerce true values of `emacs-lock--try-unlocking' to t.
17421 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
17423         * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
17424         * emacs-lock.el: New file.
17426 2011-07-05  Julien Danjou  <julien@danjou.info>
17428         * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
17429         than `boundp' to check if face is set.
17431 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
17433         * register.el (registerv-make):
17434         * window.el (window-min-height): Fix typos in docstrings.
17436 2011-07-05  Jan Djärv  <jan.h.d@swipnet.se>
17438         * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
17439         Update doc string.
17441 2011-07-04  Juanma Barranquero  <lekktu@gmail.com>
17443         * server.el (server-execute): Catch quit and call
17444         `server-return-error' to pass the error back to emacsclient and
17445         close the connection (bug#8942).
17447 2011-07-04  Ken Manheimer  <ken.manheimer@gmail.com>
17449         * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
17450         insecure exception for current topic.  Also note that auto-saves
17451         are handled differently.
17453         (allout-auto-save-temporarily-disabled, allout-just-did-undo):
17454         State variables for tracking auto-save inhibition situation.
17456         (allout-write-contents-hook-handler): Rename from
17457         'allout-write-file-hook-handler', and describe how it depends on
17458         write-contents-functions sensitivity to non-nil value to prevent
17459         file write.
17461         (allout-auto-save-hook-handler): Remove.  auto-save does not check
17462         this in individual buffers, only in the starting buffer, so this
17463         is not the right way for us to inhibit auto-save in a buffer
17464         according to its condition.
17466         (allout-mode): Use new allout-write-contents-hook-handler, and
17467         only with write-contents-functions.  Remove auto-save provisions -
17468         they're implemented elsewhere.
17470         (allout-before-change-handler): If undo is in progress, note that
17471         for attention of allout-post-command-business.
17473         (allout-post-command-business): If the command we're following was
17474         an undo, check for change in the status of encrypted items and
17475         adjust auto-save inhibitions accordingly.
17477         (allout-toggle-subtree-encryption): Adjust auto-save inhibition
17478         according to whether there are or aren't any plain-text topics
17479         pending encryption.
17481         (allout-inhibit-auto-save-info-for-decryption):
17482         Adjust buffer-saved-size and some allout state to inhibit auto-saves
17483         if there are plain-text topics pending encryption.
17485         (allout-maybe-resume-auto-save-info-after-encryption): Adjust
17486         buffer-saved-size and some allout state to not inhibit auto-saves
17487         if there are no longer any plain-text topics pending encryption.
17489         (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
17490         No longer provide for exemption of the current topic.
17492 2011-07-04  Juri Linkov  <juri@jurta.org>
17494         Add 7z operations to delete and save changed members (bug#8968).
17495         * arc-mode.el (archive-7z-expunge, archive-7z-update):
17496         New defcustoms.
17497         (archive-7z-write-file-member): New function.
17498         (archive-7z-summarize): Fix the number of dashes in the
17499         listing output.
17501 2011-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
17503         * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
17504         (bug#8958).
17506 2011-07-04  Chong Yidong  <cyd@stupidchicken.com>
17508         * bindings.el: Ignore next-buffer and previous-buffer in
17509         minibuffer-local-map.
17511         * font-lock.el (font-lock-builtin-face): Change light background
17512         color to dark slate blue (Bug#6693).
17514 2011-07-04  Wang Diancheng  <dcwang@kingbase.com.cn>  (tiny change)
17516         * progmodes/gdb-mi.el (gdb): Use completion-at-point.
17518 2011-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
17520         * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
17521         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
17522         Add switch-to-buffer.
17524 2011-07-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17526         * isearch.el (isearch-search-fun-function): Clarify further the
17527         meaning of the function returned.
17529 2011-07-04  Michael Albinus  <michael.albinus@gmx.de>
17531         * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
17533         * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
17534         (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
17535         Use it.
17536         (tramp-remote-path): Add "/bin" and "/usr/bin".  On busyboxes,
17537         `tramp-default-remote-path' does not exist.
17538         (tramp-send-command-and-read): New optional argument NOERROR.
17539         (tramp-open-connection-setup-interactive-shell)
17540         (tramp-get-remote-path, tramp-get-remote-stat): Use it.
17541         (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
17542         (tramp-process-sentinel): Flush also process' connection property.
17543         (tramp-sh-handle-start-file-process): Do not set process
17544         sentinel.  It is done now ...
17545         (tramp-maybe-open-connection): ... here.  (Bug#8929)
17547 2011-07-04  MON KEY  <monkey@sandpframing.com>
17549         * play/animate.el (animate-string): Doc fixes and allow changing
17550         the buffer name (bug#5417).
17552 2011-07-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17554         * play/animate.el (animation-buffer-name): Rename from *animate*.
17556 2011-07-04  Paul Eggert  <eggert@cs.ucla.edu>
17558         * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
17559         This is simpler and helps future-proof the code.
17560         (timer-until): Use time-subtract and float-time.
17561         (timer--time-less-p): Use time-less-p.
17563 2011-07-04  Juanma Barranquero  <lekktu@gmail.com>
17565         * type-break.el (timep): Use the value of `float-time' to avoid a
17566         byte-compiler warning.
17568         * server.el (server-eval-and-print): Return any result, even nil.
17570 2011-07-03  Paul Eggert  <eggert@cs.ucla.edu>
17572         * type-break.el: Accept time formats that the builtins accept.
17573         (timep, type-break-time-difference): Accept any format that
17574         float-time accepts, rather than insisting on (HIGH LOW USECS) format.
17575         This is simpler and helps future-proof the code.
17576         (type-break-time-difference): Round rather than ignoring
17577         subseconds components.
17579 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17581         * info.el (Info-apropos-matches): Make non-interactive, since it
17582         doesn't seem to do anything useful as a command (bug#8829).
17584 2011-07-03  Chong Yidong  <cyd@stupidchicken.com>
17586         * frame.el (frame-background-mode, frame-set-background-mode):
17587         Move from faces.el.
17588         (frame-default-terminal-background): New function.
17590         * custom.el (custom-push-theme): Don't record faces in `changed'
17591         theme; this doesn't work correctly for per-frame face settings.
17592         (disable-theme): Use face-set-after-frame-default to reset faces.
17593         (custom--frame-color-default): New function.
17595 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17597         * dired.el (dired-flagging-regexp): Remove unused variable
17598         (bug#8769).
17600 2011-03-29  Kevin Ryde  <user42@zip.com.au>
17602         * progmodes/compile.el (compilation-error-regexp-alist-alist):
17603         `perl-Test2' extend to match possible "fail #N" rep count
17604         (bug#8377).
17606 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17608         * mail/feedmail.el (feedmail-buffer-to-smtpmail):
17609         `smtpmail-via-smtp' now returns the error instead of nil.
17611         * isearch.el (isearch-search-fun-function): Clarify the doc string
17612         (bug#8101).
17614 2011-07-03  Richard Kim  <emacs18@gmail.com>  (tiny change)
17616         * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
17617         unnecessary spaces (bug#8987).
17619 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17621         * net/network-stream.el (open-network-stream): Use the
17622         :end-of-capability command thoughout.
17624 2011-07-03  Wolfgang Jenkner  <wjenkner@inode.at>  (tiny change)
17626         * net/network-stream.el (open-network-stream): Add the
17627         :end-of-capability command parameter, used by pop3.el.
17629 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17631         * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
17633         * fringe.el (fringe-query-style): Remove redundant text " (type ?
17634         for list)" (bug#6475).
17636         * files.el (file-expand-wildcards): Ignore non-readable
17637         sub-directories while trying to find matches instead of signaling
17638         an error (bug#6297).
17640         * man.el (Man-reference-regexp): Allow matching possible
17641         word-wrapped references (bug#6289).
17643         * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
17644         for consistency with the other vc buffers (bug#6197).
17645         (vc-checkin): Ditto.
17647         * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
17649         * longlines.el (longlines-mode): Document what ARG does (bug#6150).
17651 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17653         * custom.el (defcustom): Clarify that :set is only used in the
17654         Customize user interface (bug#6089).
17656         * progmodes/flymake.el (flymake-mode): If the buffer isn't
17657         associated with a file, refuse to run instead of erroring out
17658         (bug#6084).
17660         * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
17661         the doc string, since it appears that using `fill-column' always
17662         controls the width (bug#7845).
17664         * simple.el (shell-command-on-region): Say where the error output
17665         went if `shell-command-default-error-buffer' is set (bug#6857).
17667 2011-07-02  Ken Manheimer  <ken.manheimer@gmail.com>
17669         * allout.el (allout-yank-processing): Adjust cursor position for
17670         backwards-deleted space.
17672         (allout-rebullet-heading): Register changes with
17673         allout-exposure-changed-hook, so the modified topic is properly
17674         decorated.
17676 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17678         * minibuffer.el (completion-in-region): Document PREDICATE
17679         (bug#7136).
17681         * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
17682         of keyword/argument pairs (bug#6904).
17684         * replace.el (multi-occur):
17685         Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
17687 2011-07-02  Drew Adams  <drew.adams@oracle.com>
17689         * dired.el (dired-mark-if): Make the message about whether it's
17690         marking or unmarking clearer (bug#8523).
17692 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17694         * disp-table.el (display-table-print-array): New function.
17695         (describe-display-table): Use it to print the vectors more pretty
17696         (Bug#8859).
17698 2011-07-02  Martin Rudalics  <rudalics@gmx.at>
17700         * window.el (window-state-get-1): Don't assign clone numbers.
17701         Add clone-of item to list of window parameters.
17702         (window-state-put-2): Don't process clone numbers.
17703         (display-buffer-alist): Fix doc-string.
17705 2011-07-02  Stefan Monnier  <monnier@iro.umontreal.ca>
17707         * subr.el (remq): Don't allocate if it's not needed.
17708         (keymap--menu-item-binding, keymap--menu-item-with-binding)
17709         (keymap--merge-bindings): New functions.
17710         (keymap-canonicalize): Use them to refine the canonicalization.
17711         * minibuffer.el (minibuffer-local-completion-map)
17712         (minibuffer-local-must-match-map): Move initialization from C.
17713         (minibuffer-local-filename-completion-map): Move initialization from C;
17714         don't inherit from anything here.
17715         (minibuffer-local-filename-must-match-map): Make obsolete.
17716         (completing-read-default): Use make-composed-keymap to combine
17717         minibuffer-local-filename-completion-map with either
17718         minibuffer-local-must-match-map or
17719         minibuffer-local-filename-completion-map.
17721 2011-07-01  Glenn Morris  <rgm@gnu.org>
17723         * type-break.el (type-break-time-sum): Use dolist.
17725         * textmodes/flyspell.el (flyspell-word-search-backward):
17726         Replace CL function.
17728 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
17730         * mouse.el (mouse--strip-first-event): New function.
17731         (function-key-map): Use it to map fringe clicks to normal clicks
17732         by default.
17734         * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
17735         (vc-bzr-revision-completion-table): Add support for annotate and date.
17737         * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
17738         inherit from parent.
17740 2011-07-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17742         * dired-aux.el (dired-diff): Doc fixup (bug#8816).
17743         (dired-show-file-type): Doc fixup (bug#8818).
17745         * dired.el (dired-mode): Fix up the doc string as suggested by
17746         Drew Adams (bug#8817).
17748         * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
17749         cookie, since the manual says that it should be possible to add
17750         this function to `find-file-hook' (bug#8709).
17752 2011-07-01  Teodor Zlatanov  <tzz@lifelogs.com>
17754         * progmodes/cfengine.el: Moved all cfengine3.el functionality
17755         here.  Noted Ted Zlatanov as the maintainer.
17756         (cfengine-common-settings, cfengine-common-syntax): New functions
17757         to set up common things between `cfengine-mode' and
17758         `cfengine3-mode'.
17759         (cfengine3-mode): New mode.
17760         (cfengine3-defuns cfengine3-defuns-regex
17761         (cfengine3-class-selector-regex cfengine3-category-regex)
17762         (cfengine3-vartypes cfengine3-font-lock-keywords)
17763         (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
17764         (cfengine3-indent-line): Add from cfengine3.el.
17766 2011-07-01  Michael Albinus  <michael.albinus@gmx.de>
17768         * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
17770         * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
17772 2011-07-01  Martin Rudalics  <rudalics@gmx.at>
17774         * window.el (same-window-buffer-names, same-window-regexps)
17775         (same-window-p, special-display-frame-alist)
17776         (special-display-popup-frame, special-display-function)
17777         (special-display-buffer-names, special-display-regexps)
17778         (special-display-p, pop-up-frame-alist, pop-up-frame-function)
17779         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
17780         (split-window-preferred-function, split-height-threshold)
17781         (split-width-threshold, even-window-heights)
17782         (display-buffer-mark-dedicated, window-splittable-p)
17783         (split-window-sensibly, window-safely-shrinkable-p):
17784         Un-obsolete.
17785         (display-buffer): Don't spread args with function specifier
17786         because special-display-popup-frame won't like it.
17788 2011-07-01  Paul Eggert  <eggert@cs.ucla.edu>
17790         Time-stamp simplifications and fixes.
17791         These improve accuracy slightly, and future-proof the code
17792         against some potential changes to current-time format.
17794         * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
17795         by using time-since and float-time.
17797         * vc/ediff-util.el (ediff-calc-command-time): Use time-since
17798         and float-time.  Say "NNN.NNN seconds" rather than "NNN seconds
17799         + NNN microseconds".
17801         * type-break.el (type-break-time-sum): Rewrite using time-add.
17803         * play/hanoi.el (hanoi-current-time-float): Remove.
17804         All uses replaced by float-time.
17806         * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
17807         This yields a more-accurate answer.
17808         (rng-time-to-float): Remove; no longer needed.
17810         * emacs-lisp/timer.el (timer-relative-time): Use time-add.
17812         * calendar/timeclock.el (timeclock-seconds-to-time):
17813         Defalias to seconds-to-time, since they're the same thing.
17815         * emacs-lisp/elp.el (elp-elapsed-time):
17816         * emacs-lisp/benchmark.el (benchmark-elapse):
17817         * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
17819 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
17821         * window.el (bury-buffer): Don't iconify the only frame.
17822         (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
17823         to pop-to-buffer.  Use pop-to-buffer-same-frame if you don't like that.
17825 2011-07-01  Chong Yidong  <cyd@stupidchicken.com>
17827         * eshell/em-smart.el (eshell-smart-display-navigate-list):
17828         Add mouse-yank-primary.
17830 2011-07-01  Teodor Zlatanov  <tzz@lifelogs.com>
17832         * progmodes/cfengine3.el: New file to support CFEngine 3.x.
17834 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
17836         * emacs-lisp/find-func.el (find-library--load-name): New fun.
17837         (find-library-name): Use it to find relative load names when provided
17838         absolute file name (bug#8803).
17840 2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17842         * textmodes/flyspell.el (flyspell-word): Consider words that
17843         differ only in case as potential doublons (bug#5687).
17845         * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
17846         Remove two rather uninteresting debugging-like messages to make
17847         debbugs.el more silent.
17849         * comint.el (comint-password-prompt-regexp): Accept "Response" as
17850         a password-like phrase.
17852 2011-06-30  Masatake YAMATO  <yamato@redhat.com>
17854         * progmodes/cc-guess.el: New file.
17856         * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
17858         * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
17859         derived from `c-basic-common-init'.
17861         * progmodes/cc-mode.el (top-level): Require cc-guess.
17862         (c-basic-common-init): Use `cc-choose-style-for-mode'.
17864 2011-06-30  Lawrence Mitchell  <wence@gmx.li>
17866         * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
17868 2011-06-30  Alan Mackenzie  <acm@muc.de>
17870         * progmodes/cc-engine.el (c-guess-continued-construct):
17871         Correct the handling of template-args-cont, particularly for when font
17872         lock is disabled.  Name this case as "CASE G".
17874 2011-06-30  Ken Manheimer  <ken.manheimer@gmail.com>
17876         * allout.el (allout-yank-processing): Fix injection of extra space
17877         between bullet and non-whitespace character in first topic when
17878         pasting, ensuring that the actual spacing in the pasted topic
17879         following the bullet char is preserved.  This extra space was
17880         causing pasted encrypted topics to get a decrypted status even
17881         when the content was actually still encrypted.  Now the decryption
17882         status from before the paste is preserved.
17884         (allout-flag-region): Set all allout overlays so they evaporate
17885         when reduced to zero length (evanescent), to prevent overlay
17886         leakage.
17888 2011-06-30  Glenn Morris  <rgm@gnu.org>
17890         * w32-fns.el (w32-charset-info-alist): Declare.
17892         * find-dired.el (find-grep-options): Simplify.
17894         * term/ns-win.el (ns-set-resource): Declare.
17896         * ses.el (row, col): Declare dynamic variables honestly.
17898         * textmodes/reftex-parse.el (index-tags): Declare.
17900 2011-06-30  Chong Yidong  <cyd@stupidchicken.com>
17902         * cus-edit.el (customize-push-and-save): New function.
17904         * files.el (hack-local-variables-confirm): Use it.
17906         * custom.el (load-theme): New arg NO-CONFIRM.
17907         Use customize-push-and-save (Bug#8720).
17908         (custom-enabled-themes): Doc fix.
17910         * cus-theme.el (customize-create-theme)
17911         (custom-theme-merge-theme): Callers to load-theme changed.
17913 2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17915         * thingatpt.el (thing-at-point-short-url-regexp): Require that
17916         short URLs have at least one dot in them (bug #7614).
17918         * progmodes/grep.el (rgrep): Bind `process-connection-type' to
17919         nil, because using a pty is apparently too slow (bug #895).
17921 2011-06-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17923         * mail/sendmail.el (sendmail-query-once): New function.
17924         (sendmail-query-once-function): New variable.
17926 2011-06-29  Glenn Morris  <rgm@gnu.org>
17928         * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
17930         * ses.el (top-level): Require cl when compiling.
17931         (ses-set-localvars): Fix error statement.
17932         Call it at compile time to silence a storm of warnings.
17934 2011-06-29  Martin Rudalics  <rudalics@gmx.at>
17936         * window.el (normalize-live-buffer): Rename to
17937         window-normalize-buffer.
17938         (normalize-live-frame): Rename to window-normalize-frame.
17939         (normalize-any-window): Rename to window-normalize-any-window.
17940         (normalize-live-window): Rename to window-normalize-live-window.
17941         (make-window-atom): Rename to window-make-atom.
17942         (window-resize-reset): Rename to window--resize-reset.
17943         (window-resize-reset-1): Rename to window--resize-reset-1.
17944         (resize-mini-window): Rename to window--resize-mini-window.
17945         (resize-subwindows-skip-p): Rename to
17946         window--resize-subwindows-skip-p.
17947         (resize-subwindows-normal): Rename to
17948         window--resize-subwindows-normal.
17949         (resize-subwindows): Rename to window--resize-subwindows.
17950         (resize-other-windows): Rename to window--resize-siblings.
17951         (resize-this-window): Rename to window--resize-this-window.
17952         (resize-root-window): Rename to window--resize-root-window.
17953         (resize-root-window-vertically): Rename to
17954         window--resize-root-window-vertically.
17955         (normalize-buffer-to-display): Rename to
17956         window-normalize-buffer-to-display.
17957         (normalize-buffer-to-switch-to): Rename to
17958         window-normalize-buffer-to-switch-to.
17959         Correspondingly update all callers of the functions listed
17960         above.
17961         (display-buffer-alist, display-buffer-normalize-arguments)
17962         (display-buffer-normalize-options, display-buffer)
17963         (display-buffer-alist-set): Use "function" instead of
17964         "fun-with-args".
17966 2011-06-28  Chong Yidong  <cyd@stupidchicken.com>
17968         * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
17969         addresses more clearly.  Add hyperlinks for bug-gnu-emacs and
17970         debbugs.gnu.org.  Mention acknowledgment email.
17972 2011-06-28  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17974         * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
17975         buffer multibyteness, since it shouldn't matter.
17977 2011-06-28  Martin Rudalics  <rudalics@gmx.at>
17979         * window.el (display-buffer-in-side-window): Handle dedicated
17980         windows as in display-buffer-reuse-window.
17981         (display-buffer-normalize-alist): Use value of override
17982         specifier.
17983         (display-buffer-normalize-specifiers): Use value of
17984         other-window-means-other-frame specifier.
17985         (display-buffer-alist): Rewrite some texts in widgets.
17986         (display-buffer): Spread arguments when calling function
17987         specified by fun-with-args.
17989 2011-06-28  Deniz Dogan  <deniz@dogan.se>
17991         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
17992         Unnest `let'.
17994         * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
17995         selectors (Bug#5732).
17996         (css-proprietary-nmstart-re): Use `regexp-opt'.
17998 2011-06-27  Jari Aalto  <jari.aalto@cante.net>
18000         * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
18001         (eshell-ls-date-format): New defcustom.
18002         (eshell-ls-file): Use it.
18004 2011-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
18006         * help-fns.el (describe-variable): Fix message for terminal-local vars.
18008 2011-06-27  Katsumi Yamaoka  <yamaoka@jpl.org>
18010         * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
18011         (ange-ftp-make-tmp-name): New arg.
18012         (ange-ftp-file-local-copy): Use it.
18014 2011-06-27  Jambunathan K  <kjambunathan@gmail.com>
18016         * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
18017         no-conversion (Bug#8870).
18019 2011-06-27  Martin Rudalics  <rudalics@gmx.at>
18021         * window.el (window-right, window-left, window-child)
18022         (window-child-count, window-last-child)
18023         (window-iso-combination-p, walk-window-tree-1)
18024         (window-atom-check-1, window-tree-1, delete-window)
18025         (window-state-get-1, display-buffer-even-window-sizes): Adapt to
18026         new naming conventions - window-vchild, window-hchild,
18027         window-next and window-prev are now called window-top-child,
18028         window-left-child, window-next-sibling and window-prev-sibling
18029         respectively.
18030         (resize-window-reset): Rename to window-resize-reset.
18031         (resize-window-reset-1): Rename to window-resize-reset-1.
18032         (resize-window): Rename to window-resize.
18033         (window-min-height, window-min-width)
18034         (resize-mini-window, resize-this-window, resize-root-window)
18035         (resize-root-window-vertically, adjust-window-trailing-edge)
18036         (enlarge-window, shrink-window, maximize-window)
18037         (minimize-window, delete-window, quit-restore-window)
18038         (split-window, balance-windows, balance-windows-area-adjust)
18039         (balance-windows-area, window-state-put-2)
18040         (display-buffer-even-window-sizes, display-buffer-set-height)
18041         (display-buffer-set-width, set-window-text-height)
18042         (fit-window-to-buffer): Rename all "resize-window" prefixed
18043         calls to use the "window-resize" prefix convention.
18044         (display-buffer-alist): Fix symbol for label specifier.
18045         (display-buffer-reuse-window): Set reuse-dedicated to cdr of
18046         corresponding specifier.
18047         Reported by Juanma Barranquero <lekktu@gmail.com>.
18049 2011-06-27  Vincent BelaĂ¯che  <vincentb1@users.sourceforge.net>
18051         * ses.el (ses-destroy-cell-variable-range): Fix heading comment
18052         convention.
18053         (ses-call-printer): Does not pass an empty string to formatter when the
18054         cell is empty to keep from barking printer Calc math-format-value.
18056 2011-06-27  Richard Stallman  <rms@gnu.org>
18058         * battery.el (battery-mode-line-limit): New variable.
18059         (battery-update): Handle it.
18061         * mail/rmailmm.el (rmail-mime-process-multipart):
18062         Handle truncated messages.
18064 2011-06-27  Glenn Morris  <rgm@gnu.org>
18066         * progmodes/flymake.el (flymake-err-line-patterns):
18067         Allow for column numbers in the ant/javac pattern.  (Bug#8866)
18069 2011-06-27  Vincent BelaĂ¯che  <vincentb1@users.sourceforge.net>
18071         * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
18072         (ses--clean-!, ses--clean-_): New functions.
18073         (ses-range): Add configurability of readout order, and conversion
18074         to Calc vector.
18076         * ses.el (ses-repair-cell-reference-all): New function.
18077         (ses-cell-symbol): Set macro as safe, so that it can be used in
18078         formulas.
18080         * ses.el: Update cycle detection algorithm.
18081         (ses-localvars): Add ses--Dijkstra-attempt-nb and
18082         ses--Dijkstra-weight-bound, and initial values thereof when applicable.
18083         (ses-set-localvars): New function.
18084         (ses-make-cell): Add property-list as a cell element.
18085         (ses-cell-property-get-fun, ses-cell-property-get)
18086         (ses-cell-property-delq-fun, ses-cell-property-set-fun)
18087         (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
18088         New functions.
18089         (ses-cell-property-set, ses-cell-property-pop)
18090         (ses-cell-property-get-handle): New macro.
18091         (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
18092         New aliases, used for code readability.
18093         (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
18094         cycle detection.
18095         (ses-self-reference-early-detection): New defcustom.
18096         (ses-formula-references): Robustify against self-referring cells.
18097         (ses-mode): Use ses-set-localvars.
18098         (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
18099         before lauching the update processing.
18100         (ses-initialize-Dijkstra-attempt): New function.
18101         (ses-recalculate-cell): Update for cycle detection based on
18102         Dijkstra algorithm.
18104         * ses.el: Fix commenting and indenting convention.
18106 2011-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
18108         * bs.el (bs-cycle-next): Complete last change.
18110 2011-06-27  Drew Adams  <drew.adams@oracle.com>
18112         * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
18114 2011-06-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18116         * net/network-stream.el (network-stream-open-starttls):
18117         Don't re-get capabilities unless we've reestablished connection.
18118         (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
18120         * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
18121         to binary to possibly avoid line encoding issues on Windows (among
18122         other things).
18124 2011-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18126         * net/network-stream.el (open-network-stream): Return an :error
18127         saying what the problem was, if possible.
18129         * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
18130         server.
18132         * net/network-stream.el (network-stream-open-starttls): If we
18133         wanted to use STARTTLS, and the server offered it, but we weren't
18134         able to because we had no STARTTLS support, then close the connection.
18135         (open-network-stream): Return an :error element, if present.
18137 2011-06-26  Chong Yidong  <cyd@stupidchicken.com>
18139         * hl-line.el (hl-line-sticky-flag): Doc fix.
18140         (global-hl-line-sticky-flag): New option (Bug#8323).
18141         (global-hl-line-highlight): Obey it.
18143         * vc/vc.el (vc-revert-show-diff): Default to t.
18145 2011-06-26  Ken Manheimer  <ken.manheimer@gmail.com>
18147         * allout-widgets.el (allout-widgets-post-command-business):
18148         Stop decorating intermediate isearch matches.  They're not being
18149         undecorated when an isearch is continued past, and isearch
18150         automatically collapses them.  This leads to "widget leaks", where
18151         decorated items accumulate in collapsed areas.  Lines with lots of
18152         hidden widgets can slow down cursor travel, substantially.
18153         Too much complicated machinery would be needed to ensure undecoration,
18154         so we're doing without this nicety.
18156         (allout-widgets-tally-string): Don't try to do a hash-table-count
18157         of allout-widgets-tally when it's nil.  This eliminates spurious "Error
18158         during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
18159         *Messages* when allout-widgets-maintain-tally is t.
18161 2011-06-26  Martin Rudalics  <rudalics@gmx.at>
18163         * window.el (display-buffer-normalize-argument): Rename to
18164         display-buffer-normalize-arguments.  Handle special meaning of
18165         LABEL argument.  Respect special-display-function when popping up
18166         a new frame.  Fix code searching for a window showing the buffer
18167         on another frame.
18168         (display-buffer-normalize-specifiers):
18169         Call display-buffer-normalize-arguments.
18170         (display-buffer-in-window): Don't undedicate the window if its
18171         buffer remains the same.
18172         Reported by Drew Adams <drew.adams@oracle.com>.
18173         (display-buffer-alist): Add choice for same-window macro
18174         specfier.
18175         (display-buffer): Mention special meaning of LABEL argument in
18176         doc-string.  Fix quoting.  Don't pop up a new frame even as
18177         fallback.
18179 2011-06-26  Juanma Barranquero  <lekktu@gmail.com>
18181         * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
18182         avoid deleting the current window in some cases (bug#8911).
18184 2011-06-26  Andreas Schwab  <schwab@linux-m68k.org>
18186         * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
18187         (Bug#8934)
18189 2011-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18191         * net/network-stream.el (network-stream-open-starttls):
18192         Use built-in TLS support if `gnutls-available-p' is true.
18193         (network-stream-open-tls): Ditto.
18195 2011-06-26  Leo Liu  <sdl.web@gmail.com>
18197         * register.el (registerv): New struct.
18198         (registerv-make): New function.
18199         (jump-to-register, describe-register-1, insert-register):
18200         Support the jump-func, print-func and insert-func slot of a registerv
18201         struct.  (Bug#8415)
18203 2011-06-26  Chong Yidong  <cyd@stupidchicken.com>
18205         * vc/vc.el (vc-revert-show-diff): New defcustom.
18206         (vc-diff-internal): New arg specifying diff buffer.
18207         (vc-revert): Obey vc-revert-show-diff.  If we show a diff, don't
18208         reuse an existing *vc-diff* buffer (Bug#8927).
18210         * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
18212 2011-06-26  Glenn Morris  <rgm@gnu.org>
18214         * progmodes/f90.el (f90-critical-indent): New option.
18215         (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
18216         (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
18217         (f90-mode): Doc fix.
18218         (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
18219         (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
18220         (f90-beginning-of-block, f90-next-block, f90-indent-region)
18221         (f90-match-end): Handle block, critical.
18223 2011-06-25  Glenn Morris  <rgm@gnu.org>
18225         * calendar/diary-lib.el (diary-included-files): Doc fix.
18226         (diary-include-files): New function, extracted from
18227         diary-include-other-diary-files and diary-mark-included-diary-files.
18228         (diary-include-other-diary-files, diary-mark-included-diary-files):
18229         Just call diary-include-files.
18230         (diary-mark-entries): Reset diary-included-files on first call.
18232         * calendar/diary-lib.el (diary-mark-entries)
18233         (diary-mark-included-diary-files):
18234         Visit included diary-files in temp buffers.
18236         * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
18237         (f90-blocks-re, f90-program-block-re, f90-end-block-re)
18238         (f90-start-block-re, f90-imenu-generic-expression)
18239         (f90-looking-at-program-block-start, f90-no-block-limit):
18240         Add support for submodules.
18242         * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
18243         (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
18245 2011-06-25  Eli Zaretskii  <eliz@gnu.org>
18247         * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
18248         buffer-file-type before setting its value, to avoid disastrous
18249         global effects on decoding files for DOS/Windows systems.  (Bug#8780)
18251 2011-06-25  Juanma Barranquero  <lekktu@gmail.com>
18253         * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
18255         * ses.el (ses-unload-function):
18256         * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
18258         * proced.el (proced-unload-function):
18259         * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
18261 2011-06-25  Andreas Rottmann  <a.rottmann@gmx.at>
18263         * server.el (server-create-window-system-frame): Add parameters arg.
18264         (server-process-filter): Doc fix.  Handle frame-parameters.
18266 2011-06-25  Juanma Barranquero  <lekktu@gmail.com>
18268         Fix bug#8730, bug#8781.
18270         * loadhist.el (unload--set-major-mode): New function.
18271         (unload-feature): Use it.
18273         * progmodes/python.el (python-after-info-look): Add autoload cookie.
18274         (python-unload-function): New function.
18276 2011-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
18278         * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
18280 2011-06-25  Giuseppe Scrivano  <gscrivano@gnu.org>
18282         * net/browse-url.el (browse-url-firefox-program): Add icecat to
18283         the candidates list.
18285 2011-06-24  Juanma Barranquero  <lekktu@gmail.com>
18287         * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
18289 2011-06-23  Richard Stallman  <rms@gnu.org>
18291         * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
18292         (rmail-variables): Set next-error-move-function.
18293         (rmail-what-message): Take argument POS.
18294         (rmail-next-error-move): New function.
18296 2011-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
18298         * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
18299         messages for adjacent non-terminals.
18301 2011-06-23  Richard Stallman  <rms@gnu.org>
18303         * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
18304         (rmail-show-message-1): Preserve buffer modified flag.
18305         (rmail-start-mail): Don't specify use of rmail-mail-return;
18306         that's done by mail-bury now.
18307         (rmail-mail-return): Handle arg NEWBUF.
18309 2011-06-23  Michael Albinus  <michael.albinus@gmx.de>
18311         * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
18312         SIZE is a number.
18314 2011-06-23  Martin Rudalics  <rudalics@gmx.at>
18316         * window.el (get-lru-window, get-mru-window)
18317         (get-largest-window): Never return a minibuffer window.
18318         (display-buffer-pop-up-window): Fix a bug that could lead to
18319         reusing the minibuffer window.
18320         (display-buffer): Pass original specifier argument to
18321         display-buffer-function instead of the normalized one.
18322         Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
18324 2011-06-22  Leo Liu  <sdl.web@gmail.com>
18326         * minibuffer.el (completing-read-function)
18327         (completing-read-default): Move from minibuf.c.
18329 2011-06-22  Richard Stallman  <rms@gnu.org>
18331         * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
18332         to Rmail even if not started by a special Rmail command.
18334         * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
18335         Copy the buffer currently showing just one message.
18337 2011-06-22  Roland Winkler  <winkler@gnu.org>
18339         * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
18340         (bibtex-clean-entry): First delete the old key so that a
18341         customized algorithm for generating the new key does not get
18342         confused by the old key.
18343         (bibtex-url): Obey regexp of first step.
18344         (bibtex-search-entries): Do not use add-to-list with local
18345         list-var.
18347 2011-06-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18349         * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
18350         stored a user name, then query for the password first, instead of
18351         waiting for SMTP to give an error message and the trying again.
18353 2011-06-22  Lawrence Mitchell  <wence@gmx.li>
18355         * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
18356         BUFFER in call-process.
18358 2011-06-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18360         * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
18361         QUIT twice.
18362         (smtpmail-try-auth-methods): Require user name and password from
18363         auth-source.
18365 2011-06-22  Martin Rudalics  <rudalics@gmx.at>
18367         * window.el (display-buffer-default-specifiers)
18368         (display-buffer-alist): Remove entries for pop-up-frame-alist.
18369         Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
18370         (split-window): Normalize SIDE argument (Bug#8916).
18372         * frame.el (pop-up-frame-alist, pop-up-frame-function)
18373         (special-display-frame-alist, special-display-popup-frame):
18374         Remove duplicate declarations.  These are now in window.el.
18376 2011-06-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18378         * mail/smtpmail.el (smtpmail-via-smtp):
18379         Set :use-starttls-if-possible so that we always use STARTTLS if the
18380         server supports it.  SMTP servers that support STARTTLS commonly
18381         require it.
18383         * net/network-stream.el (network-stream-open-starttls): Support
18384         upgrading to STARTTLS always, even if we don't have built-in support.
18385         (open-network-stream): Add the :always-query-capabilities keyword.
18387         * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
18388         upgrades with `open-network-stream', and rely solely on
18389         auth-source for all credentials.  Big changes throughout the file,
18390         but in particular:
18391         (smtpmail-auth-credentials): Remove.
18392         (smtpmail-starttls-credentials): Remove.
18393         (smtpmail-via-smtp): Check for servers saying they want AUTH after
18394         MAIL FROM, too.
18396         * net/network-stream.el (network-stream-open-starttls):
18397         Provide support for client certificates both for external and built-in
18398         STARTTLS.
18399         (auth-source): Require.
18400         (open-network-stream): Document the :client-certificate keyword.
18401         (network-stream-certificate): Change cert-cert to cert and
18402         cert-key to key.
18404 2011-06-21  Michael Albinus  <michael.albinus@gmx.de>
18406         * net/tramp-cache.el (top): Don't load the persistency file when
18407         "emacs -Q" has been called.
18409 2011-06-21  Tim Harper  <timcharper@gmail.com>
18411         * term/ns-win.el (ns-initialize-window-system):
18412         Set application-specific `ApplePressAndHoldEnabled' system
18413         resource to NO as it is not yet supported by the NS port.
18415 2011-06-21  Juanma Barranquero  <lekktu@gmail.com>
18417         * misc.el (list-dynamic-libraries--refresh): Compute header here...
18418         (list-dynamic-libraries): ...not here.
18420 2011-06-21  Leo Liu  <sdl.web@gmail.com>
18422         * subr.el (sha1): Implement sha1 using secure-hash.
18424 2011-06-21  Martin Rudalics  <rudalics@gmx.at>
18426         * window.el (display-buffer-alist): In default value do not
18427         enforce searching a window on any but the selected frame.
18428         Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
18429         (display-buffer-select-window): Remove function.
18430         (display-buffer-in-window): When a window on another frame gets
18431         reused, do not select it any more but just raise its frame if
18432         necessary (Bug#8851) and (Bug#8856).
18433         (display-buffer-normalize-options): Handle pop-up-frames related
18434         options more faithfully.
18435         (pop-to-buffer): Don't rely on `display-buffer' selecting the
18436         window if it is on another frame.
18437         (display-buffer-alist, display-buffer-default-specifiers):
18438         Don't make new frame unsplittable by default.
18439         (display-buffer-normalize-argument): Fix doc-string typo and use
18440         'same-frame-other-window instead of 'other-window when associating
18441         with display-buffer-macro-specifiers.
18443 2011-06-21  Vincent BelaĂ¯che  <vincent.b.1@hotmail.fr>
18445         * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
18446         New functions.
18447         (5x5-mode-map, 5x5-mode-menu): Bind them.
18448         (5x5-draw-grid): Tweak the solver's rendering.
18450 2011-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
18452         * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
18453         `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
18455 2011-06-21  Drew Adams  <drew.adams@oracle.com>
18457         * menu-bar.el: Use function variable instead of switch-to-buffer.
18458         (menu-bar-select-buffer-function): New variable.
18459         (menu-bar-update-buffers): Use it (bug#8876).
18461 2011-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
18463         * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
18464         variable's status.
18466 2011-06-20  Jan Djärv  <jan.h.d@swipnet.se>
18468         * x-dnd.el (x-dnd-version-from-flags)
18469         (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
18470         and long as number (Bug#8899).
18471         (x-dnd-handle-xdnd): Call functions above (Bug#8899).
18473 2011-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
18475         * minibuffer.el (completion-metadata): Add `metadata' to the alist.
18476         (completion-try-completion, completion-all-completions): Compute the
18477         metadata argument if it's missing; make it optional (bug#8795).
18479         * wid-edit.el: Use lex-bind and move towards completion-at-point.
18480         (widget-complete): Use new :completion-function property.
18481         (widget-completions-at-point): New function.
18482         (default): Use :completion-function instead of :complete.
18483         (widget-default-completions): Rename from widget-default-complete;
18484         Rewrite.
18485         (widget-string-complete, widget-file-complete, widget-color-complete):
18486         Remove functions.
18487         (file, symbol, function, variable, coding-system, color):
18488         * international/mule-cmds.el (default-input-method, charset)
18489         (language-info-custom-alist):
18490         * cus-edit.el (face): Use new property :completions.
18492         * progmodes/pascal.el (pascal-completions-at-point): New function.
18493         (pascal-mode): Use it.
18494         (pascal-mode-map): Use completion-at-point.
18495         (pascal-toggle-completions): Make obsolete.
18496         (pascal-complete-word, pascal-show-completions):
18497         * progmodes/octave-mod.el (octave-complete-symbol):
18498         Redefine as obsolete alias.
18499         * progmodes/octave-inf.el (inferior-octave-completion-at-point):
18500         Signal absence of completion info for old Octave,
18501         (inferior-octave-complete): Redefine as obsolete alias.
18502         * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
18503         (meta-completions-at-point): Rename from meta-complete-symbol and
18504         adapt it for use on completion-at-point-functions.
18505         (meta-common-mode): Use it.
18506         (meta-looking-at-backward, meta-match-buffer): Remove.
18507         (meta-complete-symbol): Redefine as obsolete alias.
18508         (meta-common-mode-map): Use completion-at-point.
18509         * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
18510         (makefile-mode-map): Use completion-at-point.
18511         (makefile-completions-at-point): Rename from makefile-complete and
18512         adapt it for use on completion-at-point-functions.
18513         (makefile-mode): Use it.
18514         (makefile-complete): Redefine as obsolete alias.
18516 2011-06-20  Deniz Dogan  <deniz@dogan.se>
18518         * net/rcirc.el: Delete trailing whitespaces once and for all.
18520 2011-06-20  Daniel Colascione  <dan.colascione@gmail.com>
18522         * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
18524 2011-06-19  Chong Yidong  <cyd@stupidchicken.com>
18526         * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
18528         * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
18530 2011-06-19  Martin Rudalics  <rudalics@gmx.at>
18532         * window.el (display-buffer-other-window-means-other-frame):
18533         Call display-buffer-normalize-alist.
18534         (display-buffer-normalize-specifiers-1): Rename to
18535         display-buffer-normalize-argument.  New argument other-frame.
18536         Rewrite.
18537         (display-buffer-normalize-specifiers-2): Rename to
18538         display-buffer-normalize-options.
18539         (display-buffer-normalize-alist-1): New function.
18540         (display-buffer-normalize-specifiers-3): Rename to
18541         display-buffer-normalize-alist.
18542         Call display-buffer-normalize-alist-1.
18543         (display-buffer-normalize-options-inhibit): New variable.
18544         (display-buffer-normalize-specifiers): Rewrite calling
18545         display-buffer-normalize-alist,
18546         display-buffer-normalize-argument, and
18547         display-buffer-normalize-options.  Don't call the latter if
18548         display-buffer-normalize-options-inhibit is non-nil.
18549         (frame-auto-delete): New option.
18550         (window-deletable-p): Use frame-auto-delete.
18551         (window-list-no-nils, window-state-ignored-parameters)
18552         (window-state-get-1, window-state-get, window-state-put-list)
18553         (window-state-put-1, window-state-put-2, window-state-put):
18554         New functions.
18555         (display-buffer-normalize-options): Move special-display-p group
18556         after pop-up-frame group (Bug#8851) and (Bug#8856).
18558 2011-06-18  Chong Yidong  <cyd@stupidchicken.com>
18560         * emacs-lisp/rx.el (rx-constituents): Add support for numbered
18561         groups (Bug#8776).
18562         (rx-submatch-n): New function.
18563         (rx): Document it.
18565         * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
18566         (Bug#8768).
18568         * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
18570         * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
18572         * cus-face.el (custom-declare-face): Call custom-theme-recalc face
18573         anytime existing face settings are present (Bug#8889).
18575         * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
18576         (delphi-mode): Use define-derived-mode to inherit from prog-mode.
18577         Remove unused argument.
18579 2011-06-18  Martin Rudalics  <rudalics@gmx.at>
18581         * window.el (display-buffer-default-specifiers):
18582         Remove pop-up-frame.  Add pop-up-window-min-height,
18583         pop-up-window-min-width, and another reuse-window specifier
18584         (Bug#8882).  Reported by Dan Nicolaescu <dann@gnu.org>.
18585         (display-buffer-normalize-specifiers-2):
18586         Handle split-height-threshold and split-width-threshold also when
18587         pop-up-windows is unset.  Add a reuse-window specifier for the
18588         case popping up a new window fails.
18589         (special-display-popup-frame): Remove double quoting.
18590         (display-buffer-normalize-specifiers-1): Fix thinko.
18592 2011-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
18594         * shell.el (shell-completion-vars): Set pcomplete-termination-string
18595         according to comint-completion-addsuffix.
18597         * pcomplete.el: Convert to lexical binding and fix bug#8819.
18598         (pcomplete-suffix-list): Mark as obsolete.
18599         (pcomplete-completions-at-point): Capture pcomplete-norm-func and
18600         pcomplete-seen in the closure.
18601         (pcomplete-comint-setup): Setup completion-at-point as well.
18602         (pcomplete--entries): New function.
18603         (pcomplete--env-regexp): New var.
18604         (pcomplete-entries): Rewrite to work with partial-completion and
18605         without relying on pcomplete-suffix-list.
18606         (pcomplete-pare-list): Remove, unused.
18608 2011-06-17  Martin Rudalics  <rudalics@gmx.at>
18610         * window.el (display-buffer-alist): Set pop-up-window-min-height
18611         and pop-up-window-min-width in default value.  Reported by
18612         Thierry Volpiatto <thierry.volpiatto@gmail.com>.  New specifier
18613         other-window-means-other-frame.
18614         (display-buffer-macro-specifiers): Comment out entry for
18615         other-window specifier.
18616         (display-buffer-other-window-means-other-frame): New function.
18617         (display-buffer-normalize-specifiers-1): New arguments
18618         buffer-name and label.  Treat other-window case specially.
18619         (display-buffer-normalize-specifiers-2): Treat other-window case
18620         specially.
18621         (display-buffer-normalize-specifiers-3): New function.
18622         (display-buffer-normalize-specifiers):
18623         Call display-buffer-normalize-specifiers-3.
18625 2011-06-17  Martin Rudalics  <rudalics@gmx.at>
18627         * window.el (same-window-p): Fix two typos introduced when
18628         adding with-no-warnings.
18629         (display-buffer-normalize-specifiers-1): Don't check
18630         pop-up-frames for 'unset initialization.
18631         (display-buffer-normalize-specifiers-2): Major rewrite using
18632         special-display-p and same-window-p (Bug#8851) and (Bug#8856).
18633         (pop-up-frames, display-buffer-reuse-frames)
18634         (display-buffer-mark-dedicated): Don't initialize to 'unset.
18635         Suggested by David Engster <deng@randomsample.de>.
18636         (even-window-heights): Initialize to 'unset.
18637         (display-buffer-alist-set): Handle new 'unset initializations.
18638         (display-buffer-macro-specifiers): Don't pop up a new frame in the
18639         other window case.
18641 2011-06-16  Martin Rudalics  <rudalics@gmx.at>
18643         * window.el (display-buffer-normalize-specifiers-1):
18644         Respect current value of pop-up-frames for most reasonable values of
18645         second argument of display-buffer (Bug#8865).
18646         (switch-to-buffer-same-frame, switch-to-buffer-other-window)
18647         (switch-to-buffer-other-window-same-frame)
18648         (switch-to-buffer-other-frame): Fix doc-strings.  Reported by Drew
18649         Adams (Bug#8875).
18650         (display-buffer): Don't check noninteractive when calling
18651         display-buffer-pop-up-frame.
18652         (display-buffer-pop-up-frame): Never pop up a frame in
18653         noninteractive mode (Bug#8857).
18654         (enlarge-window, shrink-window): Don't report an error when the
18655         window can't be resized as requested (Bug#8862).
18657 2011-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
18659         * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
18661         * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
18663         * abbrev.el (define-abbrev-table): Don't add a table multiple times.
18665 2011-06-15  Alan Mackenzie  <acm@muc.de>
18667         * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
18668         for declarators, disable knr checking to speed up for normal files.
18669         2: Refactor, replacing a sequence of nested if forms by a cond form.
18671 2011-06-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18673         * net/network-stream.el (open-network-stream): Add the keyword
18674         :always-query-capabilities for the case where you want to force a
18675         `plain' network connection, but the protocol still requires the
18676         capabilitiy command (i.e., SMTP and EHLO).
18678         * subr.el (process-live-p): Rename from `process-alive-p' for
18679         consistency with other `-live-p' functions.
18681 2011-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
18683         * window.el (same-window-buffer-names, same-window-regexps)
18684         (special-display-frame-alist, special-display-popup-frame)
18685         (special-display-function, special-display-buffer-names)
18686         (special-display-regexps, pop-up-frame-alist)
18687         (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
18688         (pop-up-windows, split-window-preferred-function)
18689         (split-height-threshold, split-width-threshold, even-window-heights)
18690         (display-buffer-mark-dedicated): Don't encourage the use of
18691         display-buffer-alist from Elisp code.
18693 2011-06-15  Dan Nicolaescu  <dann@ics.uci.edu>
18695         * progmodes/python.el (python-mode): Derive from prog-mode.
18696         * progmodes/ps-mode.el (ps-mode):
18697         * progmodes/mixal-mode.el (mixal-mode):
18698         * progmodes/cfengine.el (cfengine-mode):
18699         * progmodes/ld-script.el (ld-script-mode): Likewise.
18701 2011-06-15  Martin Rudalics  <rudalics@gmx.at>
18703         * window.el (display-buffer-alist): Trim default value to avoid
18704         popping up a new frame (Bug#8857) or reusing an arbitrary window
18705         on another frame.
18706         (display-buffer): Do not fall back on popping up a new frame in
18707         batch mode (Bug#8857).
18709 2011-06-14  Chong Yidong  <cyd@stupidchicken.com>
18711         * cus-theme.el (describe-theme-1): Use custom-theme-p.
18712         (custom-theme-summary): New function.
18713         (customize-themes): Use it.
18715 2011-06-13  Glenn Morris  <rgm@gnu.org>
18717         * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
18719 2011-06-13  Martin Rudalics  <rudalics@gmx.at>
18721         * help.el (help-window): Remove variable.
18722         (help-window-point-marker, temp-buffer-max-height)
18723         (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
18724         (help-print-return-message): Don't set help-window.
18725         (resize-temp-buffer-window): Rewrite cod eand doc-string.
18726         (help-window-setup-finish): Remove.
18727         (help-window-display-message, help-window-setup)
18728         (with-help-window): Major rewrite based on new
18729         display-buffer-window variable.
18731         * help-mode.el (help-mode-finish): Remove help-window related
18732         code.
18734         * view.el (view-exits-all-viewing-windows): Remove reference to
18735         view-return-to-alist in doc-string.
18736         (view-return-to-alist): Make obsolete.
18737         (view-buffer): Call pop-to-buffer-same-window and remove
18738         undo-window code.
18739         (view-buffer-other-window): Call pop-to-buffer-other-window and
18740         simplify code.  Ignore second argument.
18741         (view-buffer-other-frame): Call pop-to-buffer-other-frame and
18742         simplify code.  Ignore second argument.
18743         (view-return-to-alist-update): Make obsolete.
18744         (view-mode-enter): Rename second argument to QUIT-RESTORE.
18745         Rewrite using quit-restore window parameters.
18746         (view-mode-exit): Rename second argument to EXIT-ONLY.
18747         Rewrite using quit-restore-window.
18748         (View-exit, View-exit-and-edit, View-leave, View-quit)
18749         (View-quit-all, View-kill-and-leave): Call view-mode-exit with
18750         appropriate arguments.
18751         (view-end-message): Use quit-restore window parameter.
18753         * window.el (display-buffer-function): Rewrite doc-string.
18754         (display-buffer-window, display-buffer-alist): New variables.
18755         (display-buffer-split-specifiers)
18756         (display-buffer-side-specifiers)
18757         (display-buffer-macro-specifiers): New constants.
18758         (display-buffer-even-window-sizes, display-buffer-set-height)
18759         (display-buffer-set-width, display-buffer-select-window)
18760         (display-buffer-in-window, display-buffer-reuse-window)
18761         (display-buffer-split-window-1, display-buffer-split-window)
18762         (display-buffer-split-atom-window, display-buffer-pop-up-window)
18763         (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
18764         (display-buffer-in-side-window, normalize-buffer-to-display)
18765         (display-buffer-normalize-specifiers-1)
18766         (display-buffer-normalize-specifiers-2)
18767         (display-buffer-normalize-specifiers, display-buffer-frame):
18768         New functions.
18769         (display-buffer): Major rewrite.
18770         (display-buffer-other-window, display-buffer-other-frame)
18771         (pop-to-buffer, switch-to-buffer-other-window)
18772         (switch-to-buffer-other-frame): Rewrite.
18773         (display-buffer-same-window, display-buffer-same-frame)
18774         (display-buffer-same-frame-other-window)
18775         (pop-to-buffer-same-window, pop-to-buffer-same-frame)
18776         (pop-to-buffer-other-window)
18777         (pop-to-buffer-same-frame-other-window)
18778         (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
18779         (switch-to-buffer-other-window-same-frame): New functions.
18780         (same-window-p, special-display-p): Rewrite disabling warnings.
18781         Make obsolete.
18782         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
18783         (display-buffer-mark-dedicated): Initialize to symbol 'unset.
18784         Make obsolete
18785         (same-window-buffer-names, same-window-regexps)
18786         (special-display-frame-alist, special-display-popup-frame)
18787         (special-display-function, special-display-buffer-names)
18788         (special-display-regexps, pop-up-frame-alist)
18789         (pop-up-frame-function, split-window-preferred-function)
18790         (split-height-threshold, split-width-threshold)
18791         (even-window-heights): Make obsolete.
18793 2011-06-12  Glenn Morris  <rgm@gnu.org>
18795         * term/xterm.el (terminal-init-xterm): `version' may be nil.  (Bug#8838)
18796         Misc simplifications.
18798 2011-06-12  Martin Rudalics  <rudalics@gmx.at>
18800         * window.el (window-safely-shrinkable-p): Restore function which
18801         was inadvertently removed in change from 2011-06-11.  Declare as
18802         obsolete.
18804         * calendar/calendar.el (calendar-generate-window):
18805         Use window-iso-combined-p instead of combination of one-window-p and
18806         window-safely-shrinkable-p.
18808 2011-06-12  Glenn Morris  <rgm@gnu.org>
18810         * progmodes/fortran.el (fortran-mode-syntax-table):
18811         * progmodes/f90.el (f90-mode-syntax-table):
18812         Set % to punctuation.  (Bug#8820)
18813         (f90-find-tag-default): Remove, no longer needed.
18815 2011-06-12  Daniel Colascione  <dan.colascione@gmail.com>
18817         * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
18819 2011-06-11  Chong Yidong  <cyd@stupidchicken.com>
18821         * image.el (image-animated-p): Return animation delay in seconds.
18822         Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
18823         (image-animate-timeout): Remove DELAY argument.  Don't assume
18824         every subimage has the same delay; get it from image-animated-p.
18825         (image-animate): Caller changed.
18827 2011-06-11  Michael Albinus  <michael.albinus@gmx.de>
18829         * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
18830         to ignored backtrace functions.
18832 2011-06-11  Glenn Morris  <rgm@gnu.org>
18834         * calendar/appt.el (appt-disp-window-function): Doc fix.
18835         (appt-check): Handle overlapping appointments.  (Bug#8337)
18837 2011-06-11  Martin Rudalics  <rudalics@gmx.at>
18839         * window.el (window-tree-1, window-tree): New functions, moving
18840         the latter to window.el.
18841         (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
18842         (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
18843         (bw-refresh-edges): Remove.
18844         (balance-windows-1, balance-windows-2): New functions.
18845         (balance-windows): Rewrite in terms of window tree functions,
18846         balance-windows-1 and balance-windows-2.
18847         (bw-adjust-window): Remove.
18848         (balance-windows-area-adjust): New function with functionality of
18849         bw-adjust-window but using resize-window.
18850         (set-window-text-height): Rewrite doc-string.
18851         Use normalize-live-window and resize-window.
18852         (enlarge-window-horizontally, shrink-window-horizontally):
18853         Rename argument to DELTA.
18854         (window-buffer-height): New function.
18855         (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
18856         Rewrite using new window resize routines.
18857         (kill-buffer-and-window, mouse-autoselect-window-select):
18858         Use ignore-errors instead of condition-case.
18859         (quit-window): Call delete-frame instead of delete-windows-on
18860         for the only buffer on frame.
18862 2011-06-10  Martin Rudalics  <rudalics@gmx.at>
18864         * loadup.el (top-level): Load window before files for the sake
18865         of replace-buffer-in-windows.
18867         * files.el (read-buffer-to-switch)
18868         (switch-to-buffer-other-window)
18869         (switch-to-buffer-other-frame, display-buffer-other-frame):
18870         Move to window.el.
18872         * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
18873         (previous-buffer): Move to window.el.
18875         * bindings.el (unbury-buffer): Move to window.el.
18877         * window.el (delete-other-windows-vertically): Move after
18878         definition of delete-other-windows.
18879         (other-window, delete-windows-on, replace-buffer-in-windows):
18880         Move here from window.c.
18881         (record-window-buffer, unrecord-window-buffer)
18882         (set-window-buffer-start-and-point, switch-to-prev-buffer)
18883         (switch-to-next-buffer): New functions.
18884         (get-next-valid-buffer, last-buffer, next-buffer): Move here
18885         from simple.el.  Call switch-to-next-buffer.
18886         (previous-buffer): Move here from simple.el.
18887         Call switch-to-prev-buffer.
18888         (bury-buffer): Move here from buffer.c.  Switch to previous
18889         buffer when window cannot be deleted.
18890         (unbury-buffer): Move here from bindings.el.
18891         (ctl-x-map): Move binding for other-window from window.c to
18892         here.
18893         (read-buffer-to-switch, switch-to-buffer-other-window)
18894         (switch-to-buffer-other-frame): Move here from files.el.
18895         (normalize-buffer-to-switch-to): New functions.
18896         (switch-to-buffer): Move here from buffer.c.
18897         Use read-buffer-to-switch and normalize-buffer-to-switch-to.
18899 2011-06-10  Martin Rudalics  <rudalics@gmx.at>
18901         * window.el (window-min-height, window-min-width): Move here
18902         from window.c.  Add defcustoms and rewrite doc-strings.
18903         (resize-mini-window, resize-window): New functions.
18904         (adjust-window-trailing-edge, enlarge-window, shrink-window):
18905         Move here from window.c.
18906         (maximize-window, minimize-window): New functions.
18907         (delete-window, delete-other-windows, split-window): Move here
18908         from window.c.
18909         (window-split-min-size): New function.
18910         (split-window-keep-point): Mention split-window-above-each-other
18911         instead of split-window-vertically.
18912         (split-window-above-each-other, split-window-vertically):
18913         Rename split-window-vertically to split-window-above-each-other
18914         and provide defalias for old definition.
18915         (split-window-side-by-side, split-window-horizontally):
18916         Rename split-window-horizontally to split-window-side-by-side
18917         and provide defalias for the old definition.
18918         (ctl-x-map): Move bindings for delete-window,
18919         delete-other-windows and enlarge-window here from window.c.
18920         Replace bindings for split-window-vertically and
18921         split-window-horizontally by bindings for
18922         split-window-above-each-other and split-window-side-by-side.
18924         * cus-start.el (all): Remove entries for window-min-height and
18925         window-min-width.  Add entries for window-splits and
18926         window-nest.
18928 2011-06-09  Glenn Morris  <rgm@gnu.org>
18930         * calendar/appt.el (appt-mode-line): New function.
18931         (appt-check, appt-disp-window): Use it.
18933         * files.el (hack-one-local-variable-eval-safep):
18934         Allow minor-modes with explicit +/-1 arguments.
18936 2011-06-09  Teodor Zlatanov  <tzz@lifelogs.com>
18938         * term/xterm.el (xterm): Add defgroup.
18939         (xterm-extra-capabilities): Add defcustom to supply known xterm
18940         capabilities, skip querying them, or query them (default).
18941         (terminal-init-xterm): Use it.
18942         (terminal-init-xterm-modify-other-keys): New function to set up
18943         modifyOtherKeys support to simplify `terminal-init-xterm'.
18945 2011-06-09  Martin Rudalics  <rudalics@gmx.at>
18947         * window.el (resize-window-reset, resize-window-reset-1)
18948         (resize-subwindows-skip-p, resize-subwindows-normal)
18949         (resize-subwindows, resize-other-windows, resize-this-window)
18950         (resize-root-window, resize-root-window-vertically)
18951         (window-deletable-p, window-or-subwindow-p)
18952         (frame-root-window-p): New functions.
18954 2011-06-09  Glenn Morris  <rgm@gnu.org>
18956         * net/ange-ftp.el (ange-ftp-switches-ok): New function.
18957         (ange-ftp-get-files): Use it.
18959 2011-06-09  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
18961         * mail/sendmail.el (mail-recover-1, mail-recover):
18962         * files.el (recover-file, recover-session):
18963         Handle dired-listing-switches not being just a single short option.
18965 2011-06-09  Glenn Morris  <rgm@gnu.org>
18967         * calendar/appt.el (appt-display-message, appt-disp-window):
18968         Handle lists of appointments.
18970 2011-06-08  Martin Rudalics  <rudalics@gmx.at>
18972         * window.el (one-window-p): Move down in code.
18973         Rewrite doc-string.
18974         (window-current-scroll-bars): Rewrite doc-string.
18975         Normalize live window argument.
18976         (walk-windows, get-window-with-predicate, count-windows):
18977         Rewrite doc-string.  Use window-list-1.
18978         (window-in-direction-2, window-in-direction, get-mru-window):
18979         New functions.
18981 2011-06-08  Reuben Thomas  <rrt@sc3d.org>
18983         * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
18984         Doc fix (Bug#8713).
18986 2011-06-08  Chong Yidong  <cyd@stupidchicken.com>
18988         * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
18990 2011-06-08  Juanma Barranquero  <lekktu@gmail.com>
18992         * loadhist.el (unload-feature-special-hooks):
18993         Add `comint-output-filter-functions'.
18995 2011-06-08  Ivan Kanis  <gnu@kanis.fr>
18997         * calendar/appt.el (appt-check): Move some initializations into the let.
18999 2011-06-08  Martin Rudalics  <rudalics@gmx.at>
19001         * window.el (window-height): Defalias to window-total-height.
19002         (window-width): Defalias to window-body-width.
19004 2011-06-07  Chong Yidong  <cyd@stupidchicken.com>
19006         * image-mode.el (image-toggle-animation): New command.
19007         (image-mode-map): Bind it to RET.
19008         (image-mode): Update message.
19009         (image-toggle-display-image): Avoid a spurious cache flush.
19010         (image-transform-rotation): Doc fix.
19011         (image-transform-properties): Return quickly in the normal case.
19012         (image-animate-loop): Rename from image-animate-max-time.
19014         * image.el (image-animate-max-time): Move to image-mode.el.
19015         (create-animated-image): Remove unnecessary function.
19016         (image-animate): Rename from image-animate-start.  New arg.
19017         (image-animate-stop): Remove; just use image-animate-timer.
19018         (image-animate-timer): Use car-safe.
19019         (image-animate-timeout): Rename argument.
19021 2011-06-07  Martin Rudalics  <rudalics@gmx.at>
19023         * window.el (get-lru-window, get-largest-window): Move here from
19024         window.c.  Rename first argument to ALL-FRAMES.
19025         Rephrase doc-strings.
19026         (get-buffer-window-list): Rewrite using window-list-1.
19027         Rephrase doc-string.
19028         (window-safe-min-height, window-safe-min-width): New constants.
19029         (window-size-ignore, window-min-size, window-min-size-1)
19030         (window-sizable, window-sizable-p, window-size-fixed-1)
19031         (window-size-fixed-p, window-min-delta-1, window-min-delta)
19032         (window-max-delta-1, window-max-delta, window-resizable)
19033         (window-resizable-p, window-total-height, window-total-width)
19034         (window-body-width): New functions.
19035         (window-full-height-p, window-full-width-p): Rewrite using
19036         window-total-size.
19037         (window-body-height): Rewrite using window-body-size.
19039 2011-06-06  Martin Rudalics  <rudalics@gmx.at>
19041         * window.el (window-right, window-left, window-child)
19042         (window-child-count, window-last-child, window-any-p)
19043         (normalize-live-buffer, normalize-live-frame)
19044         (normalize-any-window, normalize-live-window)
19045         (window-iso-combination-p, window-iso-combined-p)
19046         (window-iso-combinations)
19047         (walk-window-tree-1, walk-window-tree, walk-window-subtree)
19048         (windows-with-parameter, window-with-parameter)
19049         (window-atom-root, make-window-atom, window-atom-check-1)
19050         (window-atom-check, window-side-check, window-check):
19051         New functions.
19052         (ignore-window-parameters, window-sides, window-sides-vertical)
19053         (window-sides-slots): New variables.
19054         (window-size-fixed): Move down in code.  Minor doc-string fix.
19056 2011-06-05  Andreas Schwab  <schwab@linux-m68k.org>
19058         * comint.el (comint-dynamic-complete-as-filename)
19059         (comint-dynamic-complete-filename): Correctly call
19060         completion-in-region.
19062 2011-06-05  Deniz Dogan  <deniz@dogan.se>
19064         * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
19065         in last change.
19067 2011-06-05  Deniz Dogan  <deniz@dogan.se>
19069         * net/rcirc.el (rcirc-prompt-for-encryption): New function.
19070         (rcirc): Use it to prompt for encryption.
19072 2011-06-05  Roland Winkler  <winkler@gnu.org>
19074         * textmodes/bibtex.el (bibtex-search-buffer): New variable.
19075         (bibtex-search-entries): New command bound to C-c C-a.
19076         (bibtex-display-entries): New function.
19078 2011-06-05  Roland Winkler  <winkler@gnu.org>
19080         * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
19081         (bibtex-insert-kill): After yanking insert newline if necessary.
19082         (bibtex-initialize): Call bibtex-string-files-init only once.
19083         (bibtex-mode): Do not call easy-menu-add.
19084         (bibtex-validate-globally): Use save-excursion in bibtex buffers.
19085         (bibtex-yank): Set arg properly if nil.
19087 2011-06-05  Roland Winkler  <winkler@gnu.org>
19089         * textmodes/bibtex.el (bibtex-search-entry-globally):
19090         New variable.
19091         (bibtex-search-entry): Use it.
19093 2011-06-05  Roland Winkler  <winkler@gnu.org>
19095         * textmodes/bibtex.el (bibtex-entry-format): New option
19096         sort-fields.
19097         (bibtex-format-entry, bibtex-reformat): Honor this option.
19098         (bibtex-parse-entry): Return fields in proper order.
19100 2011-06-05  Juanma Barranquero  <lekktu@gmail.com>
19102         * doc-view.el (doc-view-remove-if): Move computation of result out
19103         of `dolist' to silence misleading lexical-binding warning.
19105 2011-06-04  Chong Yidong  <cyd@stupidchicken.com>
19107         * emacs-lisp/timer.el (timer-activate): Remove unused arg.
19108         (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
19110 2011-06-04  Michael Albinus  <michael.albinus@gmx.de>
19112         * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
19113         "SunOS 5.10".
19115 2011-06-04  Michael Albinus  <michael.albinus@gmx.de>
19117         * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
19118         (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
19119         (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
19120         (tramp-parse-putty):
19121         * net/tramp-sh.el (tramp-completion-function-alist-rsh)
19122         (tramp-completion-function-alist-ssh)
19123         (tramp-completion-function-alist-telnet)
19124         (tramp-completion-function-alist-su)
19125         (tramp-completion-function-alist-putty): Set `tramp-autoload'
19126         cookie.
19128         * net/tramp-ftp.el:
19129         * net/tramp-sh.el:
19130         * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
19131         load "tramp.el" `tramp-set-completion-function'.
19133 2011-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
19135         * shell.el: Require and use pcomplete.
19136         (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
19137         (shell-completion-vars): Set pcomplete-default-completion-function.
19139 2011-06-04  Deniz Dogan  <deniz@dogan.se>
19141         * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
19142         `memq' (Bug#8799).
19144 2011-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
19146         * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
19148 2011-06-02  Juanma Barranquero  <lekktu@gmail.com>
19150         * bs.el (bs--mark-unmark, bs--nth-wrapper):
19151         * mpc.el (mpc-select-extend, mpc-songpointer-context):
19152         * vc/log-view.el (log-view-beginning-of-defun):
19153         * vc/smerge-mode.el (smerge-apply-resolution-patch)
19154         (smerge-refine-forward, smerge-refine-chopup-region):
19155         Silence warning for unused `dotimes' counter variables.
19157 2011-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
19159         * net/tramp.el (tramp-with-progress-reporter): Rename from
19160         with-progress-reporter.  Use `declare'.
19161         * net/tramp-smb.el:
19162         * net/tramp-sh.el:
19163         * net/tramp-gvfs.el: Update all uses.
19165 2011-06-02  Jay Belanger  <jay.p.belanger@gmail.com>
19167         * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
19168         buffer isn't killed before making it current.
19170 2011-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
19172         Silence various byte-compiler warnings.
19173         * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
19174         `access-type' and new obsolescence format.
19175         * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
19176         new format.
19177         (byte-compile-check-variable): New `access-type' argument.
19178         Only warn if the access-type is obsolete.
19179         (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
19180         (byte-compile-variable-set): Adjust callers.
19181         * help-fns.el (describe-variable): Adjust to new obsolescence format.
19182         * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
19183         setting it as obsolete.
19184         * simple.el (minibuffer-completing-symbol):
19185         * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
19186         access as obsolete.
19187         * minibuffer.el (minibuffer-completing-file-name): Don't make it
19188         obsolete yet.
19189         * international/quail.el (quail-mouse-choose-completion): Remove unused
19190         code referring to obsolete var.
19191         (quail-choose-completion-string): Remove.
19192         * server.el (server-clients-with, server-kill-buffer-query-function)
19193         (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
19194         * proced.el (proced-send-signal):
19195         * emacs-lisp/lisp.el (lisp-complete-symbol):
19196         Replace completion-annotate-function with completion-extra-properties.
19198 2011-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
19200         * simple.el (goto-line): Use read-number.
19201         (overriding-map-is-bound): Remove.
19202         (saved-overriding-map): Change default.
19203         (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
19204         Take the map as argument.
19205         (universal-argument, negative-argument, digit-argument): Use it.
19206         (restore-overriding-map): Adjust.
19207         (do-auto-fill): Use fill-forward-paragraph.
19208         (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
19210         * minibuffer.el (minibuffer-inactive-mode-map): New var.
19211         (minibuffer-inactive-mode): New major mode.
19212         * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
19213         the *Messages* buffer" hack.
19214         (mouse-popup-menubar): Don't burp if the event is a normal key.
19216         Miscellaneous tweaks.
19217         * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
19218         lexical scoping as in subr.el's dolist and dotimes.
19219         * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
19220         Silence compiler warning.
19221         * thingatpt.el (forward-whitespace): Trivial coding style fix.
19222         * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
19223         * international/ccl.el (ccl-compile): Trivial simplification.
19224         * help-fns.el (help-do-arg-highlight): Silence compiler warning.
19225         * emacs-lisp/testcover.el (testcover-end): Remove spurious
19226         `printflag' argument.
19227         * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
19228         Purecopy the whole obsolescence data.
19230 2011-06-01  Leo Liu  <sdl.web@gmail.com>
19232         * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
19233         improve doc-string as suggested by Marco Pessotto
19234         <melmothx@gmail.com>.
19235         (rcirc-print): Fix last change.
19237 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
19239         * minibuffer.el (complete-with-action): Return nil for the metadata and
19240         boundaries of non-functional tables.
19241         (completion-table-dynamic): Return nil for the metadata.
19242         (completion-table-with-terminator): Add default case, using
19243         complete-with-action.
19244         (completion--metadata): New function.
19245         (completion-all-sorted-completions, minibuffer-completion-help): Use it
19246         to try and avoid pathological performance problems.
19247         (completion--embedded-envvar-table): Return `category' metadata.
19249 2011-05-31  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19251         * subr.el (process-alive-p): New tiny convenience function.
19253 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
19255         * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
19256         content but also its previous major mode.
19258 2011-05-31  Helmut Eller  <eller.helmut@gmail.com>
19260         * emacs-lisp/debug.el (debug): Restore the previous content of the
19261         *Backtrace* buffer when we exit with C-M-c.
19263 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
19265         * minibuffer.el: Add metadata method to completion tables.
19266         (completion-category-overrides): New defcustom.
19267         (completion-metadata, completion--field-metadata)
19268         (completion-metadata-get, completion--styles)
19269         (completion--cycle-threshold): New functions.
19270         (completion-try-completion, completion-all-completions):
19271         Add `metadata' argument to choose completion-styles.
19272         (completion--do-completion): Use metadata to choose cycling.
19273         (completion-all-sorted-completions): Use metadata for sorting.
19274         Remove :completion-cycle-penalty which is not needed any more.
19275         (completion--try-word-completion): Add `metadata' argument.
19276         (minibuffer-completion-help): Check metadata for annotation function
19277         and sorting.
19278         (completion-file-name-table): Return `category' metadata.
19279         (minibuffer-completing-file-name): Make obsolete.
19280         * simple.el (minibuffer-completing-symbol): Make obsolete.
19281         * icomplete.el (icomplete-completions): Pass new `metadata' param to
19282         completion-try-completion.
19284 2011-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
19286         * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
19288 2011-05-30  Leo Liu  <sdl.web@gmail.com>
19290         * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
19291         (rcirc-print): Decode all incoming messages (bug#8744).
19292         (rcirc-decode-coding-system): Allow value nil for automatic coding
19293         system detection.
19295 2011-06-01  Glenn Morris  <rgm@gnu.org>
19297         * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
19299 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
19301         * image.el (image-animate-max-time): Allow nil and t values.
19302         Default to nil.
19303         (create-animated-image): Doc fix.
19304         (image-animate-start): Remove second arg; just use
19305         image-animate-max-time.
19306         (image-animate-timeout): Doc fix.  Args changed.
19308         * image-mode.el (image-toggle-display-image): Ensure that the
19309         image spec passed to the animate timer is the same object as in
19310         the buffer's display property (Bug#6981).
19311         (image-transform-properties): Doc fix.
19313         * image.el (image-animate-max-time): Default to nil.
19315 2011-05-29  Martin Rudalics  <rudalics@gmx.at>
19317         * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
19318         entire buffer list (Bug#8184).
19320 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
19322         * image.el (imagemagick-types-inhibit)
19323         (imagemagick-register-types): Doc fix.
19325 2011-05-29  Deniz Dogan  <deniz@dogan.se>
19327         * net/rcirc.el (rcirc): Use the user's stored encryption method by
19328         default.
19330 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
19332         * select.el: Don't perform clipboard-manager saving in hooks;
19333         leave the hooks empty.
19335 2011-05-28  Leo Liu  <sdl.web@gmail.com>
19337         * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
19338         (occur-mode-map): Bind occur-edit-mode.  Use occur-menu-map.
19339         (occur-edit-mode): New major mode (Bug#8463).
19340         (occur-after-change-function): New function.
19341         (occur-engine): Give Occur tags a read-only property.
19343 2011-05-28  Kevin Ryde  <user42@zip.com.au>
19345         * subr.el (def-edebug-spec): Doc fix (Bug#8430).
19347 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
19349         * bindings.el (help-echo): Make the initial non-indicator dash
19350         empty on graphical terminals (Bug#7295).
19352         * files.el (auto-mode-alist): Move config rule after the
19353         in-stripping one (Bug#8547).
19355         * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
19357         * startup.el (normal-splash-screen): Remove gratuitous mode-line
19358         setting (Bug#8740).
19360 2011-05-28  Alp Aker  <aker@pitt.edu>  (tiny change)
19362         * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
19363         (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
19364         (Bug#8539).
19366 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
19368         * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
19370 2011-05-28  Dima Kogan  <dkogan@cds.caltech.edu>  (tiny change)
19372         * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
19373         (hs-hide-block-at-point, hs-find-block-beginning)
19374         (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
19375         (Bug#8279).
19377 2011-05-28  Glenn Morris  <rgm@gnu.org>
19379         * startup.el (fancy-about-screen): Use standard mode line.  (Bug#8740)
19381 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
19383         * help-fns.el (describe-function-1): If the function is a derived
19384         major mode, print the parent mode.
19386         * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
19387         (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
19389 2011-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
19391         * minibuffer.el (completion--capf-wrapper): Check applicability before
19392         returning non-nil for non-exclusive completion data.
19393         * progmodes/etags.el (tags-completion-at-point-function):
19394         * info-look.el (info-lookup-completions-at-point): Mark as
19395         non-exclusive.
19396         (info-complete): Adjust accordingly.
19398         * info-look.el: Convert to lexical-binding and completion-at-point.
19399         (info-lookup-completions-at-point): New function.
19400         (info-complete): Use it and completion-in-region.
19402 2011-05-28  Drew Adams  <drew.adams@oracle.com>
19404         * isearch.el: Let M-e start with point at the first mismatched char.
19405         (isearch-fail-pos): New function.
19406         (isearch-edit-string): Use it.
19408 2011-05-28  Dmitry Kurochkin  <dmitry.kurochkin@gmail.com>  (tiny change)
19410         * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
19412 2011-05-27  Toby Cubitt  <toby-predictive@dr-qubit.org>
19414         * emacs-lisp/avl-tree.el: New avl-tree-stack datatype.  Add new
19415         traversal functions for avl-trees.
19416         (avl-tree--stack): New struct.
19417         (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
19418         (avl-tree-enter): Add optional `updatefun' arg.
19419         (avl-tree--do-enter): Add optional `updatefun' arg.
19420         Change return value.
19421         (avl-tree-delete): Add optional `test' and `nilflag' args.
19422         (avl-tree--do-delete): Add `test' and `nilflag' args.
19423         Change return value.
19424         (avl-tree-member): Add optional `nilflag'
19425         (avl-tree-member-p): New function.
19426         (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
19427         (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
19428         (avl-tree-stack-empty-p): New functions.
19430         * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
19431         avl-tree--del-balance1 and make it work both ways.
19432         (avl-tree--del-balance2): Remove.
19433         (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
19434         make it work both ways.
19435         (avl-tree--enter-balance2): Remove.
19436         (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
19437         New macros.
19438         (avl-tree--mapc, avl-tree-map): Add direction argument.
19440 2011-05-27  David Michael  <fedora.dm0@gmail.com>  (tiny change)
19442         * files.el (interpreter-mode-alist): Add rbash (bug#8745).
19444 2011-05-27  Chong Yidong  <cyd@stupidchicken.com>
19446         * select.el: Support clipboard managers with built-in function
19447         x-clipboard-manager-save, via delete-frame-functions and
19448         kill-emacs-hook.
19449         (xselect-convert-to-targets): Add MULTIPLE target to list.
19450         (xselect-convert-to-save-targets): New function.
19452 2011-05-27  Kenichi Handa  <handa@m17n.org>
19454         * mail/sendmail.el (mail-encode-header): Avoid double encoding by
19455         let-binding rfc2047-encode-encoded-words to nil.
19457 2011-05-27  Glenn Morris  <rgm@gnu.org>
19459         * mail/emacsbug.el: Don't require url-util.
19461         * shell.el (shell-directory-tracker): Case matters.  (Bug#8735)
19463         * files.el (set-auto-mode):
19464         Also respect mode: entries at the end of the file.  (Bug#8586)
19466 2011-05-26  Glenn Morris  <rgm@gnu.org>
19468         * files.el (hack-local-variables-prop-line, hack-local-variables):
19469         Downcase mode names, as seems to be traditional.
19470         (hack-local-variables, hack-local-variables-apply): Doc fixes.
19472         * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
19473         (report-emacs-bug-hook): Try to validate the From address.  (Bug#8038)
19475 2011-05-25  Julien Danjou  <julien@danjou.info>
19477         * textmodes/rst.el (rst-define-level-faces): Do not define face
19478         symbol if it is already defined.
19480 2011-05-24  Vincent BelaĂ¯che  <vincentb1@users.sourceforge.net>
19482         * play/5x5.el (5x5-new-game, 5x5-randomize):
19483         Reset 5x5-solver-output to nil when a new grid is cast.
19484         (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
19485         these debugging traces, as defmacro breaks the compiled code.
19487 2011-05-24  Dmitry Kurochkin  <dmitry.kurochkin@gmail.com>  (tiny change)
19489         * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
19491 2011-05-24  Leo Liu  <sdl.web@gmail.com>
19493         * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
19494         (vc-bzr-sha1): Adapt.
19496         * sha1.el: Remove.  Function `sha1' is now builtin.
19498         * bindings.el: Provide sha1 feature.
19500 2011-05-24  Kenichi Handa  <handa@m17n.org>
19502         * mail/sendmail.el: Require `rfc2047'.
19503         (mail-insert-from-field): Do not perform RFC2047 encoding.
19504         (mail-encode-header): New function.
19505         (sendmail-send-it): Set buffer-file-coding-system of the work
19506         buffer to the return value of select-message-coding-system.
19507         Call mail-encode-header.
19509         * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
19511 2011-05-24  Sean Neakums  <sneakums@zork.net>  (tiny change)
19513         * mail/supercite.el (sc-default-cite-frame):
19514         Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
19516 2011-05-24  Glenn Morris  <rgm@gnu.org>
19518         * progmodes/python.el (brm-menu): Declare.
19520         * emulation/viper.el (viper-set-hooks): Declare.
19522         * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
19523         (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
19524         (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
19525         (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
19526         (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
19527         (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
19529 2011-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
19531         Add an :exit-function for completion-at-point.
19533         * minibuffer.el (completion--done): New fun.
19534         (completion--do-completion): Use it.  New arg `expect-exact'.
19535         (minibuffer-complete, minibuffer-complete-word): Don't output message,
19536         since completion--do-completion does it for us now.
19537         (minibuffer-force-complete): Use completion--done and
19538         completion--replace.  Handle sole-completion case with more care.
19539         (minibuffer-complete-and-exit): Use new `expect-exact' arg.
19540         (completion-extra-properties): New var.
19541         (completion-annotate-function): Make obsolete.
19542         (minibuffer-completion-help): Adjust accordingly.
19543         Use completion-list-insert-choice-function.
19544         (completion-at-point, completion-help-at-point):
19545         Bind completion-extra-properties.
19546         (completion-pcm-word-delimiters): Add | (for uniquify, for example).
19547         * simple.el (completion-list-insert-choice-function): New var.
19548         (completion-setup-function): Preserve it.
19549         (choose-completion): Pay attention to it, shuffle the code a bit.
19550         (choose-completion-string): New arg `insert-function'.
19552         * textmodes/bibtex.el: Convert to lexical binding.
19553         (bibtex-mode-map): Use completion-at-point.
19554         (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
19555         (bibtex-completion-at-point-function): New fun, from bibtex-complete.
19556         (bibtex-complete): Define as obsolete alias.
19557         (bibtex-complete-internal): Remove.
19558         (bibtex-format-entry): Remove unused sub-group in regexp.
19559         * shell.el (shell--command-completion-data)
19560         (shell-environment-variable-completion):
19561         * pcomplete.el (pcomplete-completions-at-point):
19562         * comint.el (comint--complete-file-name-data): Use :exit-function
19563         instead of completion-table-with-terminator so it also works for
19564         choose-completion.
19566 2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
19568         * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
19570         * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
19571         (bug#8710).
19573         * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
19575 2011-05-23  Ken Manheimer  <ken.manheimer@gmail.com>
19577         * allout.el (allout-inhibit-auto-fill-on-headline): Create new
19578         customization variable and implement: If non-nil, auto-fill will
19579         be inhibited while on topic's header line.
19581 2011-05-23  Vincent BelaĂ¯che  <vincentb1@users.sourceforge.net>
19583         * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
19584         click on.  II/ Make 5x5 multisession.  III/ Ensure that random grids
19585         always have a solution in grid size = 5 cases.
19586         (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
19587         (5x5-solver-output, 5x5-log-buffer): New vars.
19588         (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
19589         Make these variables buffer local to achieve 5x5 multi-session-ness.
19590         (5x5): Set 5x5-grid-size only if SIZE is non-negative.
19591         (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
19592         (5x5-solve-suggest): New funs.
19593         (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
19594         randomize a grid so that we ensure that there is always a solution.
19595         (5x5-make-random-grid): Allow other movement than flipping.
19597 2011-05-23  Kevin Ryde  <user42@zip.com.au>
19599         * emacs-lisp/advice.el (ad-read-advised-function):
19600         Use `function-called-at-point' as the default, if it has
19601         advice and passes PREDICATE.
19603 2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
19605         * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
19606         byte-compile-lambda if it's actually a lambda.
19608         * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
19609         Fix function quoting.  Use backquote better.
19611 2011-05-22  Yuanle Song  <sylecn@gmail.com>
19613         * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
19614         matching (Bug#8516).
19616 2011-01-22  Jari Aalto  <jari.aalto@cante.net>
19618         * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
19619         different face (Bug#8178).
19621 2011-05-22  Chong Yidong  <cyd@stupidchicken.com>
19623         * vc/diff-mode.el (diff-changed): Don't use terminal specs for
19624         defface (Bug#8144).
19626 2011-05-22  Stefan Monnier  <monnier@iro.umontreal.ca>
19628         * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
19629         funcall as well (bug#8712).  Warn when performing those conversions.
19630         * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
19632         * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
19634 2011-05-22  Glenn Morris  <rgm@gnu.org>
19636         * files.el (hack-local-variables-prop-line): Small simplifications.
19637         (hack-local-variables, hack-local-variables-prop-line):
19638         If MODE-ONLY, return the mode, rather than just `t'.
19640 2011-05-21  Stefan Monnier  <monnier@iro.umontreal.ca>
19642         * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
19644 2011-05-21  Glenn Morris  <rgm@gnu.org>
19646         * files.el (hack-local-variables-prop-line, hack-local-variables):
19647         If only interested in the mode, don't bother doing the other stuff.
19649         * image-mode.el (image-after-revert-hook):
19650         Redraw all frames on which the image is visible.  (Bug#8567)
19652         * dired-aux.el (dired-touch-initial): Just use current-time.  (Bug#6887)
19654         * wid-edit.el (widget-checklist-match-inline):
19655         Fix 2011-04-19 change.  (Bug#8649)
19657 2011-05-20  Stefan Monnier  <monnier@iro.umontreal.ca>
19659         * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
19660         Also allow singlespace after single-letter capitals followed by a dot.
19662         * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
19663         enabled.  Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
19665 2011-05-20  Nix  <nix@esperi.org.uk>
19667         * files.el (basic-save-buffer-2):
19668         Fix handling of break-hardlink-on-save with non-existent files.
19670 2011-05-19  Deniz Dogan  <deniz@dogan.se>
19672         * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
19673         (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
19675 2011-05-19  Glenn Morris  <rgm@gnu.org>
19677         * progmodes/f90.el (f90-type-def-re):
19678         Handle "type, bind(c)".  (Bug#8691)
19680         * emacs-lisp/autoload.el (batch-update-autoloads):
19681         Set autoload-excludes by parsing loadup.el rather than Makefiles.
19683 2011-05-18  Michael Albinus  <michael.albinus@gmx.de>
19685         * net/tramp.el (tramp-process-actions): Set "first-password-request"
19686         property for the correct connection in case of multihops.
19688 2011-05-18  Glenn Morris  <rgm@gnu.org>
19690         * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
19691         * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
19693         Rationalize calendar handling of day and month abbrev-arrays.
19694         * calendar/calendar.el (calendar-customized-p): New function.
19695         (calendar-abbrev-construct, calendar-make-alist): Change what it does.
19696         (calendar-day-name-array, calendar-month-name-array): Doc fix.
19697         Add :set function.
19698         (calendar-abbrev-length, calendar-day-abbrev-array)
19699         (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
19700         (calendar-day-abbrev-array, calendar-month-abbrev-array):
19701         Elements may no longer be nil.
19702         (calendar-day-name, calendar-month-name):
19703         Update for changed nature of abbrev arrays.
19704         * calendar/diary-lib.el (diary-name-pattern):
19705         Update for changed nature of abbrev arrays.
19706         (diary-mark-entries-1): Update calendar-make-alist calls.
19707         (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
19708         * calendar/cal-html.el (cal-html-day-abbrev-array):
19709         Simply inherit from calendar-day-abbrev-array.
19711 2011-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
19713         * progmodes/grep.el (grep-mode): Disable default
19714         compilation-directory-matcher setting (bug#8684).
19716 2011-05-17  Michael Albinus  <michael.albinus@gmx.de>
19718         * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
19719         instead of "head" and "tail".  There were problems with SunOS 5.9,
19720         and it performs better.
19722 2011-05-17  Glenn Morris  <rgm@gnu.org>
19724         * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
19726         * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
19727         Replace obsolete function.
19729         * shell.el (pcomplete-parse-arguments-function): Declare.
19731         * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
19732         (appt-display-diary, appt-display-interval, appt-prev-comp-time)
19733         (appt-check): Doc fixes.
19734         (appt-disp-window-function, appt-delete-window-function):
19735         Remove needless special case in custom :type.
19736         (appt-display-count): Default to 0, not nil.
19737         (appt-check): Reset appt-display-count to 0, not nil.
19739 2011-05-17  Juanma Barranquero  <lekktu@gmail.com>
19741         * progmodes/python.el (python-font-lock-keywords):
19742         Add the Python 3.X keyword "nonlocal" (bug#8639).
19744 2011-05-16  Stefan Monnier  <monnier@iro.umontreal.ca>
19746         * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
19748 2011-05-16  Kevin Ryde  <user42@zip.com.au>
19750         * info-look.el (makefile-automake-mode): New setups, looking in
19751         automake manual, then makefile-mode.
19752         (makefile-mode): Remove automake manual, have it just in
19753         makefile-automake-mode since there's various things different or
19754         not relevant to plain make.
19755         (makefile-mode): Remove "other-modes" non-existent automake-mode,
19756         believe a hypothetical automake-mode would go to makefile-mode,
19757         not the other way around.
19759 2011-05-15  Chong Yidong  <cyd@stupidchicken.com>
19761         * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
19762         hunk-end tags (Bug#8672).
19764         * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
19765         vc-annotate-show-diff-revision-at-line (Bug#8671).
19767 2011-05-14  Glenn Morris  <rgm@gnu.org>
19769         * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
19770         in the middle of an existing one with multiple authors.  (Bug#8645)
19771         (change-log-font-lock-keywords): Also handle multiple author lines
19772         with leading tabs.  (Bug#8644)
19774         * calendar/appt.el (appt-check): Rename some local variables.
19775         Some simplification/reordering.
19777         * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
19778         (feedmail-sendmail-f-doesnt-sell-me-out)
19779         (feedmail-queue-slug-suspect-regexp, feedmail-debug)
19780         (feedmail-debug-sit-for, feedmail-queue-express-hook)
19781         (feedmail-queue-runner-message-sender): Set :version.
19782         (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
19783         (bbdb-dwim-net-address, vm-mail): Declare.
19784         (feedmail-binmail-gnulinuxish-template):
19785         Rename from feedmail-binmail-linuxish-template.
19786         (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
19787         Use insert-buffer-substring.
19789 2011-05-14  Bill Carpenter  <bill@carpenter.org>
19791         * mail/feedmail.el (feedmail-patch-level): Increase.
19792         (feedmail-debug): New custom group.
19793         (feedmail-confirm-outgoing-timeout)
19794         (feedmail-sendmail-f-doesnt-sell-me-out)
19795         (feedmail-queue-slug-suspect-regexp, feedmail-debug)
19796         (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
19797         (feedmail-sender-line, feedmail-from-line)
19798         (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
19799         (feedmail-spray-this-address)
19800         (feedmail-spray-address-fiddle-plex-list)
19801         (feedmail-queue-use-send-time-for-date)
19802         (feedmail-queue-use-send-time-for-message-id)
19803         (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
19804         (feedmail-buffer-eating-function):
19805         Doc fixes.
19806         (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
19807         (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
19808         (feedmail-message-action-scroll-down): New functions.
19809         (feedmail-queue-directory, feedmail-queue-draft-directory):
19810         Use expand-file-name.
19811         (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
19812         Remove C-v help entry.
19813         (feedmail-queue-buffer-file-name): New variable.
19814         (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
19815         (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
19816         (feedmail-message-action-send-strong, feedmail-message-action-edit)
19817         (feedmail-message-action-draft, feedmail-message-action-draft-strong)
19818         (feedmail-message-action-queue, feedmail-message-action-queue-strong)
19819         (feedmail-message-action-toggle-spray)
19820         (feedmail-run-the-queue-no-prompts)
19821         (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
19822         (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
19823         (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
19824         (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
19825         (feedmail-envelope-deducer, feedmail-fiddle-from)
19826         (feedmail-fiddle-sender, feedmail-default-date-generator)
19827         (feedmail-fiddle-date, feedmail-fiddle-message-id)
19828         (feedmail-fiddle-spray-address)
19829         (feedmail-fiddle-list-of-spray-fiddle-plexes)
19830         (feedmail-fiddle-list-of-fiddle-plexes)
19831         (feedmail-fill-to-cc-function, feedmail-fill-this-one)
19832         (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
19833         (feedmail-queue-runner-message-sender, feedmail-binmail-template):
19834         Change default.  Doc fix.
19835         (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
19836         (feedmail-binmail-linuxish-template): New constant.
19837         (feedmail-buffer-to-sendmail): Doc fix.  Add debug call.
19838         Respect feedmail-sendmail-f-doesnt-sell-me-out.
19839         (feedmail-send-it): Add debug call.
19840         Use feedmail-queue-buffer-file-name, and
19841         feedmail-send-it-immediately-wrapper.
19842         (feedmail-message-action-send): Add debug call.
19843         Use feedmail-send-it-immediately-wrapper.
19844         (feedmail-queue-express-to-queue): Add debug call.
19845         Run feedmail-queue-express-hook.
19846         (feedmail-message-action-help): Add debug call.  Use feedmail-p-h-b-n.
19847         (feedmail-message-action-help-blat):
19848         Rename from feedmail-queue-send-edit-prompt-help-first.
19849         (feedmail-run-the-queue): Add debug call.  Set buffer-file-type.
19850         Check line-endings.  Handle errors better.
19851         (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
19852         Doc fix.  Add debug call.
19853         (feedmail-queue-send-edit-prompt): Doc fix.  Add debug call.
19854         Use feedmail-queue-send-edit-prompt-inner.
19855         (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
19856         (feedmail-queue-send-edit-prompt-inner): New function, extracted
19857         from feedmail-queue-send-edit-prompt.
19858         (feedmail-queue-send-edit-prompt-help)
19859         (feedmail-queue-send-edit-prompt-help-later): Remove functions.
19860         (feedmail-tidy-up-slug): Add debug call.
19861         Respect feedmail-queue-slug-suspect-regexp.
19862         (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
19863         (feedmail-dump-message-to-queue): Add debug call.
19864         Expand queue-directory.
19865         (feedmail-dump-message-to-queue): Change message slightly.
19866         Use feedmail-say-chatter.
19867         (feedmail-rfc822-date): Add debug call.  Bind system-time-locale.
19868         (feedmail-send-it-immediately-wrapper): New function.
19869         (feedmail-send-it-immediately): Add debug calls.  Use let not let*.
19870         Insert empty string rather than newline.  Handle full-frame case.
19871         Use catch/throw.  Use feedmail-say-chatter.
19872         (feedmail-fiddle-from): Try mail-host-address.
19873         (feedmail-default-message-id-generator): Doc fix.
19874         Bind system-time-locale.  Handle missing end.
19875         (feedmail-fiddle-x-mailer): Add debug call.
19876         Handle feedmail-x-mailer-line being nil.
19877         (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
19878         Add debug call.  Use buffer-substring-no-properties.
19879         (feedmail-say-debug, feedmail-say-chatter): New functions.
19880         (feedmail-find-eoh): Give an explicit error.
19882 2011-05-13  Ulf Jasper  <ulf.jasper@web.de>
19884         * net/newst-treeview.el (newsticker-treeview-face): Change default
19885         family from helvetica to sans.
19886         (newsticker-treeview-tool-bar-map): Move tool-bar icons to
19887         etc/images/newsticker.
19889         * net/newst-reader.el (newsticker-feed-face): Change default
19890         family from helvetica to sans.
19892         * net/newst-plainview.el (newsticker-new-item-face)
19893         (newsticker-old-item-face, newsticker-immortal-item-face)
19894         (newsticker-obsolete-item-face, newsticker-date-face)
19895         (newsticker-statistics-face): Change default family from
19896         helvetica to sans.
19897         (newsticker--plainview-tool-bar-map): Move tool-bar icons to
19898         etc/images/newsticker.
19900         * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
19901         (newsticker--process-auto-mark-filter-match): Tell user about
19902         auto-marking.
19904 2011-05-13  Didier Verna  <didier@xemacs.org>
19906         Common Lisp indentation improvements on defmethod and lambda-lists.
19907         * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
19908         TODO entries.
19909         (lisp-lambda-list-keyword-parameter-indentation)
19910         (lisp-lambda-list-keyword-parameter-alignment)
19911         (lisp-lambda-list-keyword-alignment): New customizable user options.
19912         (lisp-indent-defun-method): Improve docstring.
19913         (extended-loop-p): Fix comment.
19914         (lisp-indent-lambda-list-keywords-regexp): New variable.
19915         (lisp-indent-lambda-list): New function.
19916         (lisp-indent-259): Use it.
19917         (lisp-indent-defmethod): Support for more than one
19918         method qualifier and properly indent methods lambda-lists.
19919         (defgeneric): Provide a missing common-lisp-indent-function property.
19921 2011-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
19923         * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
19924         bounds for the empty string (bug#8667).
19926 2011-05-13  Glenn Morris  <rgm@gnu.org>
19928         * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
19930         * mail/sendmail.el (sendmail-program): Try executable-find first.
19931         (sendmail-send-it): `sendmail-program' cannot be unbound.
19933         * calendar/appt.el (appt-make-list): Simplify.
19934         (appt-time-msg-list): Doc fix.
19935         (appt-check): Change mode-line message at the time of the appointment.
19937 2011-05-12  Andreas Schwab  <schwab@linux-m68k.org>
19939         * progmodes/ld-script.el (ld-script-keywords)
19940         (ld-script-builtins): Update keywords list.
19942 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
19944         * progmodes/grep.el (grep-filter): Don't trip on partial lines.
19946         * shell.el (shell-completion-vars): New function.
19947         (shell-mode):
19948         * simple.el (read-shell-command): Use it.
19949         (blink-matching-open): No need for " [...]" in minibuffer-message.
19951 2011-05-12  Glenn Morris  <rgm@gnu.org>
19953         * calendar/appt.el (appt-now-displayed): Remove pointless variable.
19954         (appt-check): Simplify.
19956 2011-05-12  Eli Zaretskii  <eliz@gnu.org>
19958         * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
19959         literal "/dev/null".
19961 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
19963         * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
19964         Fix typo.
19966 2011-05-12  Ralph Schleicher  <rs@ralph-schleicher.de>
19968         * progmodes/which-func.el (which-function):
19969         Use add-log-current-defun instead of add-log-current-defun-function,
19970         which might not be defined (Bug#8260).
19972 2011-05-12  Glenn Morris  <rgm@gnu.org>
19974         * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
19975         Let byte-compile-initial-macro-environment always take precedence.
19977 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
19979         * net/rcirc.el: Add support for SSL/TLS connections.
19980         (rcirc-server-alist): New field `encryption'.
19981         (rcirc): Check `encryption' settings.
19982         (rcirc-connect): New arg `encryption'.  Use open-network-stream.
19983         Merge make-local-variable into `set'.
19984         (rcirc--connection-open-p): New function.
19985         (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
19986         the process is not a network process (e.g. running gnutls-cli).
19987         (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
19988         Make rcirc-(en|de)code-coding-system local here.
19989         (rcirc-mode): Merge make-local-variable into `set'.
19990         (rcirc-parent-buffer): Make permanent buffer-local.
19991         (rcirc-multiline-minor-mode): Don't do it here.
19992         (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
19993         there's no server buffer.
19995 2011-05-11  Glenn Morris  <rgm@gnu.org>
19997         * newcomment.el (comment-kill): Prefix "unused" local.
19999         * term/w32console.el (get-screen-color): Declare.
20001         * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
20002         Handle symbol elements of byte-compile-initial-macro-environment.
20004 2011-05-10  Leo Liu  <sdl.web@gmail.com>
20006         * bookmark.el (bookmark-bmenu-mode-map):
20007         Bind bookmark-bmenu-search to `/'.
20009         * mail/footnote.el: Convert to utf-8 encoding.
20010         (footnote-unicode-string, footnote-unicode-regexp): New variable.
20011         (Footnote-unicode): New function.
20012         (footnote-style-alist): Add unicode style to the list.
20013         (footnote-style): Doc fix.
20015 2011-05-10  Jim Meyering  <meyering@redhat.com>
20017         Fix doubled-word typos.
20018         * international/quail.el (quail-insert-kbd-layout): and and -> and
20019         * kermit.el: and and -> and
20020         * net/ldap.el (ldap-search-internal): to to -> to
20021         * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
20022         * progmodes/js.el (js-mode): and and -> and
20023         * textmodes/artist.el (artist-move-to-xy): at at -> at
20024         (artist-draw-region-trim-line-endings): if if -> if
20025         And Safetyc -> Safety.
20026         * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
20028 2011-05-10  Glenn Morris  <rgm@gnu.org>
20029             Stefan Monnier  <monnier@iro.umontreal.ca>
20031         * files.el (hack-one-local-variable-eval-safep):
20032         Consider "eval: (foo-mode)" to be safe.  (Bug#8613)
20034 2011-05-10  Glenn Morris  <rgm@gnu.org>
20036         * calendar/diary-lib.el (diary-list-entries-hook)
20037         (diary-mark-entries-hook, diary-nongregorian-listing-hook)
20038         (diary-nongregorian-marking-hook, diary-list-entries)
20039         (diary-include-other-diary-files, diary-mark-entries)
20040         (diary-mark-included-diary-files): Doc fixes.
20042 2011-05-09  Juanma Barranquero  <lekktu@gmail.com>
20044         * misc.el: Require tabulated-list.el during compilation.
20046 2011-05-09  Chong Yidong  <cyd@stupidchicken.com>
20048         * progmodes/compile.el (compilation-start):
20049         Run compilation-filter-hook for the async case too.
20050         (compilation-filter-hook): Doc fix.
20052 2011-05-09  Deniz Dogan  <deniz@dogan.se>
20054         * wdired.el: Remove outdated installation comment.  Fix usage
20055         comment.
20057 2011-05-09  Juanma Barranquero  <lekktu@gmail.com>
20059         * misc.el: Implement new command `list-dynamic-libraries'.
20060         (list-dynamic-libraries--loaded-only-p): New variable.
20061         (list-dynamic-libraries--refresh): New function.
20062         (list-dynamic-libraries): New command.
20064 2011-05-09  Chong Yidong  <cyd@stupidchicken.com>
20066         * progmodes/compile.el (compilation-error-regexp-alist-alist):
20067         Fix the ant regexp to handle end-line and end-column info from jikes.
20068         Re-introduce maven regexp.  Give the ruby-Test::Unit regexp a
20069         higher priority to avoid clobbering by gnu.
20071 2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
20073         * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
20074         if the face has existing theme settings (Bug#8454).
20076 2011-05-08  Ralph Schleicher  <rs@ralph-schleicher.de>
20078         * progmodes/perl-mode.el (perl-imenu-generic-expression):
20079         Only match variables declared via `my' or `our' (Bug#8261).
20081         * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
20082         special file names `.' and `..' (Bug#8259).
20084 2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
20086         * progmodes/grep.el (grep-mode-font-lock-keywords):
20087         Remove buffer-changing entries.
20088         (grep-filter): New function.
20089         (grep-mode): Add it to compilation-filter-hook.
20091         * progmodes/compile.el (compilation-filter-hook)
20092         (compilation-filter-start): New defvars.
20093         (compilation-filter): Call compilation-filter-hook prior to
20094         updating the process mark.
20096 2011-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
20098         * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
20100 2011-05-07  Eli Zaretskii  <eliz@gnu.org>
20102         * mail/sendmail.el (send-mail-function): On MS-Windows, default to
20103         mailclient-send-it even if window-system is nil.  (Bug#8595)
20105         * term/w32console.el (terminal-init-w32console):
20106         Call get-screen-color and use its output to set the frame
20107         background-mode.  (Bug#8597)
20109 2011-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
20111         Make bytecomp.el understand that defmethod defines funs (bug#8631).
20112         * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
20113         New functions.
20114         (defgeneric, eieio--defmethod): Use them.
20115         (eieio-defgeneric): Remove.
20116         (defmethod): Call defgeneric in a way visible to the byte-compiler.
20118 2011-05-07  Glenn Morris  <rgm@gnu.org>
20120         * calendar/timeclock.el (timeclock-log-data): Remove unused local.
20121         Use let rather than let*.
20122         (timeclock-find-discrep): Remove unused local.
20124         * calendar/diary-lib.el (diary-comment-start): Doc fix.
20126         * calendar/appt.el (appt-time-msg-list): Doc fix.
20128 2011-05-06  Noah Friedman  <friedman@splode.com>
20130         * apropos.el (apropos-print-doc): Only use
20131         emacs-lisp-docstring-fill-column when it is bound to an integer,
20132         per that variable's documentation.
20134 2011-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
20136         * lpr.el (print-region-1): Echo lpr-program's output, so error messages
20137         and warnings are not silently discarded (e.g. use -d instead of -P).
20139 2011-05-06  Glenn Morris  <rgm@gnu.org>
20141         * calendar/appt.el (appt-message-warning-time): Doc fix.
20142         (appt-warning-time-regexp): New option.
20143         (appt-make-list): Respect appt-message-warning-time.
20145         * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
20146         New options.
20147         (diary-add-to-list): Strip comments from the displayed string.
20148         (diary-mode): Set comment-start and comment-end.
20150         * vc/diff-mode.el (smerge-refine-subst): Declare.
20151         (diff-refine-hunk): Don't require smerge-mode when compiling.
20153 2011-05-06  Juanma Barranquero  <lekktu@gmail.com>
20155         * simple.el (list-processes): Return nil as the docstring says.
20157 2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
20159         * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
20160         to "".
20161         (ange-ftp-write-region, ange-ftp-insert-file-contents)
20162         (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
20163         determining of binary transfer.  (Bug#7383)
20165 2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
20167         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
20168         Fix port computation bug.  (Bug#8618)
20170 2011-05-05  Glenn Morris  <rgm@gnu.org>
20172         * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
20174         * simple.el (shell-dynamic-complete-functions)
20175         (comint-dynamic-complete-functions): Declare.
20177         * net/network-stream.el (gnutls-negotiate):
20178         * simple.el (tabulated-list-print): Fix declarations.
20180         * progmodes/gud.el (syntax-symbol, syntax-point):
20181         Remove unnecessary and incorrect declarations.
20183         * emacs-lisp/check-declare.el (check-declare-scan):
20184         Handle byte-compile-initial-macro-environment in bytecomp.el.
20186 2011-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
20188         Fix earlier half-done eieio-defmethod change (bug#8338).
20189         * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
20190         Streamline and change calling convention.
20191         (defmethod): Adjust accordingly and simplify.
20192         (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
20193         new eieio--defmethod.
20194         (slot-boundp): Minor CSE simplification.
20196 2011-05-05  Milan Zamazal  <pdm@zamazal.org>
20198         * progmodes/glasses.el (glasses-separate-capital-groups): New option.
20199         (glasses-make-readable): Use glasses-separate-capital-groups.
20201 2011-05-05  Juanma Barranquero  <lekktu@gmail.com>
20203         * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
20204         (warning-series): Doc fix.
20205         (display-warning): Don't try to create the buffer if we just found it.
20207 2011-05-04  Chong Yidong  <cyd@stupidchicken.com>
20209         * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
20210         (autoload-find-generated-file): New function.
20211         (generate-file-autoloads): Bind generated-autoload-file to
20212         buffer-file-name.
20213         (update-file-autoloads, update-directory-autoloads):
20214         Use autoload-find-generated-file.  If called interactively, prompt for
20215         output file (Bug#7989).
20216         (batch-update-autoloads): Doc fix.
20218 2011-05-04  Juanma Barranquero  <lekktu@gmail.com>
20220         * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
20222 2011-05-04  Glenn Morris  <rgm@gnu.org>
20224         * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
20225         function, so it follows changes in calendar-date-style.
20226         (diary-fancy-date-matcher): New function.
20227         (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
20228         (diary-fancy-font-lock-fontify-region-function):
20229         Use diary-fancy-date-pattern as a function.
20231         * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
20232         non-numbers for `year' etc pseudo-variables.  (Bug#8583)
20234 2011-05-04  Teodor Zlatanov  <tzz@lifelogs.com>
20236         * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
20237         instead of positional arguments.  Allow :keylist and :crlfiles
20238         arguments.
20239         (open-gnutls-stream): Call it.
20241         * net/network-stream.el (network-stream-open-starttls): Adjust to
20242         call `gnutls-negotiate' with :process and :hostname arguments.
20244 2011-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
20246         * minibuffer.el (completion--message): New function.
20247         (completion--do-completion, minibuffer-complete)
20248         (minibuffer-force-complete, minibuffer-complete-word): Use it.
20249         (completion--do-completion): Don't ignore completion-auto-help when in
20250         icomplete-mode.
20252         * whitespace.el (whitespace-trailing-regexp): Don't rely on the
20253         internal encoding (e.g. tibetan zero is not whitespace).
20254         (global-whitespace-mode): Prefer save-current-buffer.
20255         (whitespace-trailing-regexp): Remove useless save-match-data.
20256         (whitespace-empty-at-bob-regexp): Minor simplification.
20258 2011-05-03  Chong Yidong  <cyd@stupidchicken.com>
20260         * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
20262 2011-05-03  AgustĂ­n MartĂ­n Domingo  <agustin.martin@hispalinux.es>
20264         * textmodes/ispell.el (ispell-add-per-file-word-list):
20265         Use `concat' to create string for insertion.
20267 2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
20269         * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
20270         Avoid open-line which runs post-self-insert-hook.
20271         (bibtex-fill-entry): Remove unused `end' var.
20273 2011-05-03  Dirk Ullrich  <dirk.ullrich@googlemail.com>  (tiny change)
20275         * textmodes/ispell.el (ispell-add-per-file-word-list):
20276         Protect against `nil' value of `comment-start' (Bug#8579).
20278 2011-05-03  Leo Liu  <sdl.web@gmail.com>
20280         * isearch.el (isearch-yank-pop): New command.
20281         (isearch-mode-map): Bind it to `M-y'.
20282         (isearch-forward): Mention it.
20284 2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
20286         * simple.el (minibuffer-complete-shell-command): Remove.
20287         (minibuffer-local-shell-command-map): Use completion-at-point.
20288         (read-shell-command): Setup completion vars here instead.
20289         (read-expression-map): Bind TAB to symbol completion.
20291         * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
20292         error directly rather via storing it into `results'.
20294 2011-05-02  Leo Liu  <sdl.web@gmail.com>
20296         * vc/diff.el: Fix description.
20298 2011-05-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
20300         * server.el (server-eval-at): New function.
20302 2011-05-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
20304         * net/network-stream.el (open-network-stream): Take a :nowait
20305         parameter and pass it on to `make-network-process'.
20306         (network-stream-open-plain): Ditto.
20308 2011-04-30  Andreas Schwab  <schwab@linux-m68k.org>
20310         * faces.el (face-spec-set-match-display): Don't match toolkit
20311         options on terminal frames.
20313 2011-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
20315         * progmodes/pascal.el: Use lexical binding.
20316         (pascal-mode-map): Remove author preferences.
20318         * pcomplete.el (pcomplete-std-complete): Don't abuse
20319         completion-at-point.
20321 2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
20323         * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
20324         removing code that has been dead since 1991 or so.
20326         * startup.el (command-line): When warning about "_emacs", use a
20327         delayed warning to allow the user to filter it out.
20329 2011-04-28  Deniz Dogan  <deniz@dogan.se>
20331         * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
20332         user has not joined.
20334 2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
20336         * pcomplete.el (pcomplete-completions-at-point): Return nil if there
20337         aren't any completions at point.
20339 2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
20341         * subr.el (display-delayed-warnings): New function.
20342         (delayed-warnings-hook): New variable.
20344 2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
20346         * minibuffer.el (completion-at-point, completion-help-at-point):
20347         Don't presume that a given completion-at-point-function will always
20348         use the same calling convention.
20350         * pcomplete.el (pcomplete-completions-at-point):
20351         Obey pcomplete-ignore-case.  Don't call pcomplete-norm-func unless
20352         pcomplete-seen is non-nil.
20353         (pcomplete-comint-setup): Also recognize the new comint/shell
20354         completion functions.
20355         (pcomplete-do-complete): Don't call pcomplete-norm-func unless
20356         pcomplete-seen is non-nil.
20358 2011-04-27  Niels Giesen  <niels.giesen@gmail.com>
20360         * calendar/icalendar.el (diary-lib): Add require statement.
20361         (icalendar--create-uid): Read out a uid from a text-property on
20362         the first character in the entry.  This allows for code to add its
20363         own uid to the entry.
20364         (icalendar--convert-float-to-ical): Add export of
20365         `diary-float'-entries save for those with the optional DAY
20366         argument.
20368 2011-04-27  Daniel Colascione  <dan.colascione@gmail.com>
20370         * subr.el (shell-quote-argument): Use alternate escaping strategy
20371         when we spot a variable reference in a string.
20373 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
20375         * cus-start.el (all): Define customization for debug-on-event.
20377 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
20379         * subr.el (shell-quote-argument): Escape correctly under Windows.
20381 2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
20383         * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
20385 2011-04-25  Michael Albinus  <michael.albinus@gmx.de>
20387         * net/tramp.el (tramp-process-actions): Add POS argument.
20388         Delete region between POS and (pos).
20390         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
20391         Use `nil' position in `tramp-process-actions' call.
20392         (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
20394         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
20395         position in `tramp-process-actions' call.
20397         * net/trampver.el: Update release number.
20399 2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
20401         * custom.el (defcustom): Obey lexical-binding.
20403         Fix octave-inf completion problems reported by Alexander Klimov.
20404         * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
20405         Inherit from octave-mode-syntax-table.
20406         (inferior-octave-mode): Set info-lookup-mode.
20407         (inferior-octave-completion-at-point): New function.
20408         (inferior-octave-complete): Use it and completion-in-region.
20409         (inferior-octave-dynamic-complete-functions): Use it as well, and use
20410         comint-filename-completion.
20411         * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
20412         symbol elements which shouldn't be word elements.
20413         (octave-font-lock-keywords, octave-beginning-of-defun)
20414         (octave-function-header-regexp): Adjust regexps accordingly.
20415         (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
20417 2011-04-25  Juanma Barranquero  <lekktu@gmail.com>
20419         * net/gnutls.el (gnutls-errorp): Declare before first use.
20421 2011-04-24  Teodor Zlatanov  <tzz@lifelogs.com>
20423         * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
20424         verify-error, and verify-hostname-error parameters.  Check whether
20425         default trustfile exists before going to use it.  Add missing
20426         argument to gnutls-message-maybe call.  Return value.
20427         Reported by Claudio Bley <claudio.bley@gmail.com>.
20428         (open-gnutls-stream): Add usage example.
20430         * net/network-stream.el (network-stream-open-starttls): Give host
20431         parameter to `gnutls-negotiate'.
20432         (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
20433         * subr.el (shell-quote-argument): Escape correctly under Windows.
20435 2011-04-24  Daniel Colascione  <dan.colascione@gmail.com>
20437         * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
20438         Use correct match group (bug#8438).
20440 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
20442         * emacs-lisp/package.el (package-built-in-p): Fix typo.
20443         (package-menu--generate): New arg specifying packages to show.
20444         (package-menu-refresh, package-menu-execute, list-packages):
20445         Callers changed.
20446         (package-show-package-list): New function, replacing deleted
20447         package--list-packages (renamed because it is non-internal).
20449         * finder.el (finder-list-matches): Use package-show-package-list
20450         instead of deleted package--list-packages.
20452         * vc/vc-annotate.el (vc-annotate-goto-line): New command.
20453         Based on a previous implementation by Juanma Barranquero (Bug#8366).
20454         (vc-annotate-mode-map): Bind it to RET.
20456 2011-04-24  Uday S Reddy  <u.s.reddy@cs.bham.ac.uk>  (tiny change)
20458         * progmodes/etags.el (next-file): Don't use set-buffer to change
20459         buffers (Bug#8478).
20461 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
20463         * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
20465         * apropos.el (apropos-label-face): Avoid variable-pitch face.
20466         (apropos-accumulator): Doc fix.
20467         (apropos-function, apropos-macro, apropos-command)
20468         (apropos-variable, apropos-face, apropos-group, apropos-widget)
20469         (apropos-plist): Add face property.
20470         (apropos-symbols-internal): Fix indentation.
20471         (apropos-print): Simplify help, and recognize apropos-multi-type.
20472         (apropos-print-doc): Use button-type-get to extract the button's
20473         face property.  Fill docstring (Bug#8352).
20475 2011-04-23  Juanma Barranquero  <lekktu@gmail.com>
20477         * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
20479         * play/mpuz.el (mpuz-silent): Doc fix.
20480         (mpuz-mode-map): Use mapc.
20481         (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
20482         (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
20483         Fix typos in docstrings.
20485         * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
20486         (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
20488         * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
20490 2011-04-23  Chong Yidong  <cyd@stupidchicken.com>
20492         * minibuffer.el (completion--do-completion): Avoid the "Next char
20493         not unique" prompt if icomplete-mode is enabled (Bug#5849).
20495         * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
20496         mouse-2 into unread-command-events, it is interpreted correctly.
20498         * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
20499         (image-toggle-display): Doc fix.
20501 2011-04-23  Stephen Berman  <stephen.berman@gmx.net>
20503         * textmodes/page.el (what-page): Use line-number-at-pos to
20504         calculate line number (Bug#6825).
20506 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
20508         * eshell/esh-mode.el (find-tag-interactive): Declare function.
20509         (eshell-find-tag): Remove `with-no-warnings', unneeded now.
20510         Pass argument NO-DEFAULT to `find-tag-interactive'.
20512 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
20514         Lexical-binding cleanup.
20516         * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
20517         (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
20518         * progmodes/ada-prj.el (ada-prj-initialize-values)
20519         (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
20520         (ada-prj-show-value):
20521         * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
20522         * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
20523         (antlr-invalidate-context-cache, antlr-options-menu-filter)
20524         (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
20525         * progmodes/bug-reference.el (bug-reference-push-button):
20526         * progmodes/fortran.el (fortran-line-length):
20527         * progmodes/glasses.el (glasses-change):
20528         * progmodes/octave-mod.el (octave-fill-paragraph):
20529         * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
20530         (python-pdbtrack-grub-for-buffer, python-sentinel):
20531         * progmodes/sql.el (sql-save-connection):
20532         * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
20533         * progmodes/xscheme.el (xscheme-enter-debugger-mode):
20534         Mark unused parameters.
20536         * progmodes/compile.el (compilation--flush-directory-cache)
20537         (compilation--flush-parse, compile-internal): Mark unused parameters.
20538         (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
20539         (compilation-next-error-function): Remove unused variable `timestamp'.
20541         * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
20542         (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
20544         * progmodes/dcl-mode.el (dcl-end-of-command):
20545         Remove unused variable `start'.
20546         (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
20547         (dcl-option-value-basic, dcl-option-value-offset)
20548         (dcl-option-value-margin-offset, dcl-option-value-comment-line):
20549         Mark unused parameters.
20550         (dcl-save-local-variable): Remove unused variable `val'.
20551         (mode): Declare.
20553         * progmodes/delphi.el (delphi-save-state, delphi-after-change):
20554         Mark unused parameters.
20555         (delphi-ignore-changes): Move before first use.
20556         (delphi-charset-token-at): Remove unused variable `start'.
20557         (delphi-else-start): Remove unused variable `if-count'.
20558         (delphi-comment-block-start, delphi-comment-block-end):
20559         Remove unused variable `kind'.
20560         (delphi-indent-line): Remove unused variable `new-point'.
20562         * progmodes/ebrowse.el (ebrowse-files-list)
20563         (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
20564         Mark unused parameters.  Don't quote `lambda'.
20565         (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
20566         Don't quote `lambda'.
20567         (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
20568         (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
20569         (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
20570         (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
20571         Use `ignore-errors'.
20572         (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
20573         (ebrowse-view/find-file-and-search-pattern)
20574         (ebrowse-view/find-member-declaration/definition):
20575         Rename parameter TAGS-FILE-NAME to TAGS-FILE.
20576         (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
20577         Rename parameter PREFIX-ARG to PREFIX.
20578         (ebrowse-tags-read-name): Remove unused variables `start' and
20579         `member-info'.
20580         (ebrowse-display-member-buffer): Rename variable `tags-file-name'
20581         to `tags-file'.
20583         * progmodes/etags.el (local-find-tag-hook): Declare.
20584         (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
20585         Mark unused parameters.
20587         * progmodes/executable.el (compilation-error-regexp-alist): Declare.
20588         (executable-interpret): Mark unused parameter.
20590         * progmodes/flymake.el (flymake-process-sentinel)
20591         (flymake-after-change-function)
20592         (flymake-create-temp-with-folder-structure)
20593         (flymake-get-include-dirs-dot): Mark unused parameters.
20594         (flymake-safe-delete-directory): Remove unused variable `err'.
20596         * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
20597         (speedbar-timer-fn, speedbar-line-text)
20598         (speedbar-change-expand-button-char, speedbar-delete-subblock)
20599         (speedbar-center-buffer-smartly): Declare functions.
20600         (gdb-find-watch-expression): Remove unused variable `array'.
20601         (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
20602         (gdb-starting): Mark unused parameters.
20603         (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
20604         (gdb-table-string): Remove unused variable `res'.
20605         (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
20606         (gdb-disassembly-handler-custom): Remove unused variable `pos'.
20607         (gdb-display-buffer): Remove unused variable `cur-size'.
20609         * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
20610         allow lexical-binding compilation.
20611         (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
20612         (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
20613         (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
20614         Mark unused parameters.
20615         (gud-gdb-marker-filter): Remove unused variable `match'.
20616         (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
20617         lambda expressions and funcall them, instead of using `fset'.
20619         * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
20620         HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
20622         * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
20623         variable `header-beg'; use `let'.
20625         * progmodes/icon.el (indent-icon-exp): Remove unused variables
20626         `restart', `last-sexp' and `at-do'.
20628         * progmodes/js.el (js--debug): Mark unused parameter.
20629         (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
20630         (js--splice-into-items): Remove unused variable `item'.
20631         (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
20633         * progmodes/make-mode.el (makefile-make-font-lock-keywords):
20634         Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
20635         (makefile-complete): Remove unused variable `try'.
20636         (makefile-fill-paragraph, makefile-match-function-end):
20637         Mark unused parameters.
20639         * progmodes/octave-inf.el (inferior-octave-complete):
20640         Remove unused variable `proc'.
20641         (inferior-octave-output-digest): Mark unused parameter.
20643         * progmodes/perl-mode.el (perl-calculate-indent):
20644         Remove unused variable `err'.
20646         * progmodes/prolog.el (prolog-mode-keybindings-inferior)
20647         (prolog-indent-line): Mark unused parameters.
20648         (prolog-indent-line): Remove unused variable `beg'.
20650         * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
20651         (reporter-dont-compact-list): Declare.
20653         * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
20654         Remove unused variable `char'.
20655         (sh-debug): Mark unused parameter.
20656         (sh-get-indent-info): Remove unused variable `start'.
20657         (sh-calculate-indent): Remove unused variable `var'.
20659         * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
20660         (simula-electric-keyword): Remove unused variable `null'.
20661         (simula-search-backward, simula-search-forward): Remove unused
20662         variables `begin' and `end'.
20664         * progmodes/vera-mode.el (vera-guess-basic-syntax):
20665         Remove unused variable `pos'.
20666         (vera-electric-tab, vera-comment-uncomment-region):
20667         Mark unused parameters.
20668         (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
20670 2011-04-22  Chong Yidong  <cyd@stupidchicken.com>
20672         * emacs-lisp/package.el (package--builtins, package-alist)
20673         (package-load-descriptor, package-built-in-p, package-activate)
20674         (define-package, package-installed-p)
20675         (package-compute-transaction, package-buffer-info)
20676         (package--push): Doc fix.  Distinguish more clearly between
20677         version strings and version lists.
20679 2011-04-21  Juanma Barranquero  <lekktu@gmail.com>
20681         Lexical-binding cleanup.
20683         * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
20684         (5x5-make-mutate-best):
20685         * play/fortune.el (fortune-in-buffer):
20686         * play/gomoku.el (gomoku-init-display):
20687         * play/solitaire.el (solitaire, solitaire-do-check):
20688         * play/tetris.el (tetris-default-update-speed-function):
20689         Mark unused parameters.
20691         * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
20692         (bubbles--shift): Remove unused variable `char-org'.
20693         (bubbles--set-faces): Remove unused variable `fg-col'.  Simplify.
20694         (bubbles--show-images): Remove unused variable `char'.
20696         * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
20697         (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
20698         (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
20699         (decipher-analyze-buffer): Use ?\s.
20700         (decipher-make-checkpoint): Remove unused variable `mapping'.
20702         * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
20704         * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
20705         Remove unused variable `result'; use `let'.
20707         * play/gametree.el (gametree-current-layout, gametree-apply-layout):
20708         Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
20709         (gametree-children-shown-p, gametree-compute-reduced-score):
20710         Use `ignore-errors'.
20712         * play/handwrite.el (ps-lpr-switches): Declare.
20713         (handwrite): Remove unused variables `pmin' and `lastp'.
20715         * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
20717         * play/landmark.el (landmark-init-display)
20718         (landmark-update-naught-weights): Mark unused parameters.
20719         (landmark-y): Remove unused variable `noise'.  Simplify.
20720         (landmark-human-plays): Remove unused variable `score'.
20722         * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
20723         (mpuz-try-proposal): Remove unused variable `game'.
20725         * play/zone.el (life-patterns): Declare.
20727 2011-04-20  Juanma Barranquero  <lekktu@gmail.com>
20729         * vc/vc.el (ediff-vc-internal): Declare function.
20731 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
20733         * shell.el: Use lexical-binding and std completion UI.
20734         (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
20735         (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
20736         comint-preoutput-filter-functions rather than on
20737         comint-output-filter-functions.
20738         (shell-command-completion, shell--command-completion-data)
20739         (shell-filename-completion, shell-environment-variable-completion)
20740         (shell-c-a-p-replace-by-expanded-directory): New functions.
20741         (shell-dynamic-complete-functions, shell-dynamic-complete-command)
20742         (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
20743         (shell-dynamic-complete-environment-variable): Use them.
20744         (shell-dynamic-complete-as-environment-variable)
20745         (shell-dynamic-complete-as-command): Remove.
20746         (shell-match-partial-variable): Match past point.
20747         * comint.el: Clean up use of completion-at-point-functions.
20748         (comint-completion-at-point): New function.
20749         (comint-mode): Use it completion-at-point-functions.
20750         (comint-dynamic-complete): Make it obsolete.
20751         (comint-replace-by-expanded-history-before-point): Add dry-run arg.
20752         (comint-c-a-p-replace-by-expanded-history): New function.
20753         (comint-dynamic-complete-functions)
20754         (comint-replace-by-expanded-history): Use it.
20755         * minibuffer.el (completion-table-with-terminator): Allow dynamic
20756         termination strings.  Try harder to avoid second try-completion.
20757         (completion-in-region-mode-map): Disable bindings that don't work yet.
20759         * comint.el: Use lexical-binding.  Require CL.
20760         (comint-dynamic-complete-functions): Use comint-filename-completion.
20761         (comint-completion-addsuffix): Tweak custom type.
20762         (comint-filename-completion, comint--common-suffix)
20763         (comint--common-quoted-suffix, comint--table-subvert)
20764         (comint--complete-file-name-data): New functions.
20765         (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
20766         (comint-dynamic-list-filename-completions): Use them.
20767         (comint-dynamic-simple-complete): Make obsolete.
20769         * minibuffer.el (completion-in-region-mode):
20770         Keep completion-in-region-mode--predicate global.
20771         (completion-in-region--postch):
20772         Assume completion-in-region-mode--predicate is not null.
20774         * progmodes/flymake.el (flymake-start-syntax-check-process):
20775         Obey `dir'.  Simplify.
20777         * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
20778         we're in VC after all.
20780 2011-04-20  Christoph Scholtes  <cschol2112@googlemail.com>
20782         * vc/vc.el (vc-diff-build-argument-list-internal)
20783         (vc-version-ediff, vc-ediff): New commands.
20784         (vc-version-diff): Use vc-diff-build-argument-list-internal.
20786 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
20788         * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
20789         add sanity check.
20791         * obsolete/erc-hecomplete.el: Make obsolete.
20792         * obsolete/: Standardize obsolescence info in the header.
20794 2011-04-20  Glenn Morris  <rgm@gnu.org>
20796         * calendar/solar.el (solar-horizontal-coordinates):
20797         Use the longitude argument rather than `calendar-longitude'.
20798         (solar-date-next-longitude): Remove unused locals.
20800 2011-04-20  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
20802         * whitespace.el: New version 13.2.1.
20804 2011-04-20  felix  <EmacsWiki>  (tiny change)
20806         * whitespace.el (global-whitespace-mode): Keep highlight when
20807         switching between major modes on a file.
20809 2011-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
20811         * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
20812         (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
20813         multi-line comments as well.
20815 2011-04-19  Juanma Barranquero  <lekktu@gmail.com>
20817         Lexical-binding cleanup.
20819         * arc-mode.el (archive-mode-revert):
20820         * cmuscheme.el (scheme-interactively-start-process):
20821         * custom.el (custom-initialize-delay):
20822         * dnd.el (dnd-open-local-file, dnd-open-remote-url):
20823         * dos-w32.el (direct-print-region-helper, direct-print-region-function):
20824         * emacs-lock.el (emacs-lock-clear-sentinel):
20825         * ezimage.el (defezimage):
20826         * follow.el (follow-avoid-tail-recenter):
20827         * fringe.el (set-fringe-mode-1):
20828         * generic-x.el (bat-generic-mode-compile):
20829         * help-mode.el (help-info-variable, help-do-xref)
20830         (help-mode-revert-buffer):
20831         * help.el (view-emacs-todo):
20832         * iswitchb.el (iswitchb-completion-help):
20833         * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
20834         * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
20835         (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
20836         * locate.el (locate-update):
20837         * longlines.el (longlines-encode-region)
20838         (longlines-after-change-function):
20839         * outline.el (outline-isearch-open-invisible):
20840         * ps-def.el (declare-function, charset-dimension, char-width)
20841         (encode-char):
20842         * ps-mule.el (ps-mule-plot-string):
20843         * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
20844         (recentf-edit-list-select, recentf-edit-list-validate)
20845         (recentf-open-files-action):
20846         * rect.el (delete-whitespace-rectangle-line)
20847         (rectangle-number-line-callback):
20848         * register.el (window-configuration-to-register)
20849         (frame-configuration-to-register):
20850         * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
20851         * select.el (xselect-convert-to-string, xselect-convert-to-length)
20852         (xselect-convert-to-targets, xselect-convert-to-delete)
20853         (xselect-convert-to-filename, xselect-convert-to-charpos)
20854         (xselect-convert-to-lineno, xselect-convert-to-colno)
20855         (xselect-convert-to-os, xselect-convert-to-host)
20856         (xselect-convert-to-user, xselect-convert-to-class)
20857         (xselect-convert-to-name, xselect-convert-to-integer)
20858         (xselect-convert-to-atom, xselect-convert-to-identity):
20859         * subr.el (declare, ignore, process-kill-without-query)
20860         (text-clone-maintain):
20861         * terminal.el (te-get-char, te-tic-sentinel):
20862         * tool-bar.el (tool-bar-make-keymap):
20863         * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
20864         * type-break.el (type-break-mode, type-break-noninteractive-query):
20865         * view.el (View-back-to-mark):
20866         * wid-browse.el (widget-browse-action, widget-browse-widget)
20867         (widget-browse-widgets, widget-browse-sexp):
20868         * widget.el (define-widget-keywords):
20869         * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
20870         Mark unused parameters.
20872         * align.el (align-adjust-col-for-rule): Mark unused parameter.
20873         (align-areas): Remove unused variable `look'.
20874         (align-region): Remove unused variables `real-end' and `pos-list'.
20876         * apropos.el (apropos-score-doc): Remove unused variable `i'.
20878         * bindings.el (mode-line-modified, mode-line-remote):
20879         Mark unused parameters.
20880         (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
20882         * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
20883         (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
20885         * comint.el (comint-history-isearch-pop-state)
20886         (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
20887         (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
20888         (comint-substitute-in-file-name): Doc fix.
20890         * completion.el (cmpl-statistics-block): Mark unused parameter.
20891         (add-completions-from-tags-table, add-completions-from-lisp-buffer)
20892         (save-completions-to-file, load-completions-from-file):
20893         Remove unused local variable `e'.
20895         * composite.el (compose-chars): Remove unused variable `len'.
20896         (lgstring-insert-glyph): Remove unused variable `g'.
20897         (compose-glyph-string): Remove unused variables `ascent',
20898         `descent', `lbearing' and `rbearing'.
20899         (compose-glyph-string-relative): Remove unused variables
20900         `lbearing', `rbearing' and `wadjust'.
20901         (compose-gstring-for-graphic): Remove unused variables `header',
20902         `wadjust', `xoff' and `yoff'.  Use `let', not `let*'.
20903         (compose-gstring-for-terminal): Remove unused variables `header'
20904         and `nchars'.  Use `let', not `let*'.
20906         * cus-edit.el (Custom-set, Custom-save, custom-reset)
20907         (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
20908         (Custom-buffer-done, custom-buffer-create-internal)
20909         (custom-browse-visibility-action, custom-browse-group-tag-action)
20910         (custom-browse-variable-tag-action, custom-browse-face-tag-action)
20911         (widget-magic-mouse-down-action, custom-toggle-parent)
20912         (custom-add-parent-links, custom-toggle-hide-variable)
20913         (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
20914         (custom-toggle-hide-face, face, hook, custom-group-link-action)
20915         (custom-face-menu-create, custom-variable-menu-create, get)
20916         (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
20917         (custom-reset-standard-save-and-update): Remove unused variable `value'.
20918         (customize-apropos): Remove unused variable `tests'.
20919         (custom-group-value-create): Remove unused variable `hidden-p'.
20920         (sort-fold-case): Declare.
20922         * cus-theme.el (custom-reset-standard-faces-list)
20923         (custom-reset-standard-variables-list): Declare.
20924         (customize-create-theme, custom-theme-revert, custom-theme-write)
20925         (custom-theme-choose-mode, customize-themes, custom-theme-save):
20926         Mark unused parameters.
20928         * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
20930         * delim-col.el (delimit-columns-max): Move defvar before first use.
20932         * descr-text.el (describe-char-categories): Don't quote `lambda'.
20933         (describe-char): Don't quote `lambda'.  Mark unused parameter.
20935         * desktop.el (desktop-save-buffer-p): Mark unused parameter.
20936         (auto-insert): Declare.
20937         (desktop-restore-file-buffer): Rename desktop-* parameters;
20938         mark unused ones.
20939         (desktop-create-buffer): Rename desktop-* parameters and bind them.
20940         (desktop-buffer): Rename desktop-* parameters.
20942         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
20943         (dframe-reposition-frame-xemacs, dframe-help-echo)
20944         (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
20945         Mark unused parameters.
20947         * dired-aux.el (backup-extract-version-start, overwrite-query)
20948         (overwrite-backup-query, rename-regexp-query)
20949         (rename-non-directory-query): Declare.
20950         (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
20951         (dired-add-entry): Remove unused variable `orig-file-name'.
20952         (dired-copy-file-recursive): Remove unused variable `dirfailed'.
20953         Use parameter PRESERVE-TIME instead of accessing dynamic variable
20954         `dired-copy-preserve-time' directly.
20955         (dired-do-create-files-regexp): Remove unused variable `fn-count'.
20956         (dired-insert-subdir-newpos): Rename unused variable `pos'.
20958         * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
20959         (dired-virtual-revert, dired-make-relative-symlink):
20960         Mark unused parameters.
20961         (manual-program): Declare.
20962         (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
20963         (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
20964         wrapped in `with-no-warnings' to avoid replacing one warning by another.
20966         * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
20968         * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
20970         * echistory.el (electric-history-in-progress, Helper-return-blurb):
20971         Declare.
20973         * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
20975         * electric.el (Electric-command-loop): Rename parameter
20976         INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
20978         * expand.el (expand-in-literal): Remove unused variable `here'.
20980         * facemenu.el (facemenu-add-new-color):
20981         Remove unused variable `docstring'.
20983         * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
20984         (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
20985         (face-attr-construct): Mark unused parameter.  Doc fix.
20986         (read-color): Remove unused variable `hex-string'.
20988         * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
20989         (locate-dominating-file): Remove unused vars `prev-file' and `user'.
20990         (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
20991         (display-buffer-other-frame): Remove unused variable `old-window'.
20992         (kill-buffer-hook): Declare.
20993         (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
20994         Mark unused parameters.
20995         (after-find-file): Pass 1 to `auto-save-mode', not t.
20997         * files-x.el (auto-insert): Declare.
20998         (modify-file-local-variable-prop-line): Remove unused variable `val'.
21000         * find-lisp.el (find-lisp-find-dired-internal): Remove unused
21001         variable `buf'.  Mark unused parameter.
21002         (find-lisp-insert-directory): Mark unused parameter.
21004         * format.el (format-decode-run-method): Mark unused parameter; doc fix.
21005         (format-encode-region): Remove unused variables `cur-buf' and `result'.
21006         (format-common-tail): Remove, unused.
21007         (format-deannotate-region): Remove unused variable `loc'.
21008         (format-annotate-region): Remove unused variable `p'.
21009         (format-annotate-single-property-change): Remove unused variables
21010         `default' and `tail'.
21012         * forms.el (read-file-filter): Declare.
21013         (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
21015         * frame.el (frame-creation-function-alist): Mark unused parameter.
21016         (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
21018         * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
21019         Remove unused parameters.
21020         (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
21021         (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
21023         * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
21024         (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
21025         (hfy-prepare-tag-map): Mark unused parameters.
21026         (htmlfontify-buffer): Use `called-interactively-p'.
21028         * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
21029         (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
21030         (ibuffer-do-occur): Mark unused parameters.
21031         (ibuffer-forward-next-marked): Remove unused variable `curmark'.
21032         (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
21034         * ibuffer.el: Don't quote `lambda'.
21035         (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
21036         (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
21037         Mark unused parameters.
21039         * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
21040         (ido-completing-read): Mark unused parameters.
21041         (ido-copy-current-word): Mark unused parameters;
21042         remove unused variable `name'.
21043         (ido-sort-merged-list): Remove unused parameter `dirs'.
21045         * ielm.el (ielm-input-sender): Mark unused parameter.
21046         (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
21047         (ielm-output, ielm-wbuf, ielm-pmark): Declare.
21048         (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
21049         `ielm-string' as a dynamic variable accessible from the IELM prompt.
21050         Bind `ielm-string' to INPUT-STRING.  Remove unused variable `err'.
21052         * image-dired.el (image-dired-display-thumbs): Remove unused
21053         variables `curr-file' and `count'.
21054         (image-dired-remove-tag): Remove unused variable `start'.
21055         (image-dired-tag-files, image-dired-create-thumbs): Remove unused
21056         variable `curr-file'
21057         (image-dired-rotate-original): Remove unused variable `temp-file'.
21058         (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
21059         Remove unused variable `file'.
21060         (image-dired-gallery-generate): Remove unused variable `curr'.
21061         (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
21063         * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
21065         * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
21067         * informat.el (texinfo-command-start, texinfo-command-end): Declare.
21069         * isearch.el (minibuffer-history-symbol): Declare.
21070         (isearch-edit-string): Remove unused variable `err'.
21071         (isearch-message-prefix, isearch-message-suffix):
21072         Mark unused parameters.
21074         * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
21076         * macros.el (insert-kbd-macro): Remove unused variable `mods'.
21078         * makesum.el (double-column): Remove unused variable `cnt'.
21080         * misearch.el (multi-isearch-pop-state): Mark unused parameter.
21081         (ido-ignore-item-temp-list): Declare.
21083         * mouse-drag.el (mouse-drag-throw): Remove unused variables
21084         `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
21085         `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
21086         (mouse-drag-drag): Remove unused variables `mouse-delta' and
21087         `mouse-col-delta'.
21089         * mouse-sel.el (mouse-extend-internal):
21090         Remove unused variable `orig-window-frame'.
21092         * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
21093         (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
21094         Move declarations before first use.
21095         (pcomplete-opt): Mark unused parameters; doc fix.
21097         * proced.el (proced-revert): Mark unused parameter.
21098         (proced-send-signal): Remove unused variable `err'.
21100         * ps-print.el (ps-print-preprint-region, ps-print-preprint):
21101         Rename parameter PREFIX-ARG to ARG.
21102         (ps-basic-plot-string, ps-basic-plot-whitespace):
21103         Mark unused parameters.
21105         * replace.el (replace-count): Define.
21106         (occur-revert-function): Mark unused parameters.
21107         (ido-ignore-item-temp-list, isearch-error, isearch-forward)
21108         (isearch-case-fold-search, isearch-string): Declare.
21109         (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
21110         bind `case-fold-search'.  Remove unused variables `beg' and `end',
21111         and simplify.
21112         (replace-eval-replacement): Rename parameter REPLACE-COUNT to
21113         COUNT and bind `replace-count'.
21114         (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
21115         to COUNT.
21117         * savehist.el (print-readably, print-string-length): Declare.
21119         * shadowfile.el (shadow-expand-cluster-in-file-name):
21120         Remove unused variable `cluster'.
21121         (shadow-copy-file): Remove unused variable `i'.
21122         (shadow-noquery, shadow-clusters, shadow-site-cluster)
21123         (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
21124         (shadow-define-literal-group, shadow-define-regexp-group)
21125         (shadow-make-group, shadow-shadows-of): Clean up docstrings.
21127         * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
21128         (shell): Use `called-interactively-p'.
21129         (shell-directory-tracker): Remove unused variable `chdir-failure'.
21131         * simple.el (compilation-context-lines, comint-file-name-quote-list)
21132         (comint-file-name-chars, comint-delimiter-argument-list): Declare.
21133         (delete-backward-char): Remove unused variable `ocol'.
21134         (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
21135         (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
21136         (event-apply-hyper-modifier, event-apply-shift-modifier)
21137         (event-apply-control-modifier, event-apply-meta-modifier):
21138         Mark unused parameters.
21139         (undo-make-selective-list): Remove duplicate variable `undo-elt'.
21140         (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
21142         * speedbar.el (speedbar-ignored-directory-expressions)
21143         (speedbar-supported-extension-expressions, speedbar-directory-buttons)
21144         (speedbar-find-file, speedbar-dir-follow)
21145         (speedbar-directory-buttons-follow, speedbar-tag-find)
21146         (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
21147         (speedbar-buffers-line-directory, speedbar-buffer-click):
21148         Mark unused parameters.
21149         (speedbar-tag-file): Remove unused variable `mode'.
21150         (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
21152         * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
21154         * talk.el (talk): Remove unused variable `display'.
21156         * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
21157         (tar-write-region-annotate): Mark unused parameter.
21159         * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
21160         (minutes, seconds, time-zone, day, year, monthname, month, dayname):
21161         Declare them, wrapped in `with-no-warnings' to avoid replacing one
21162         warning by another.
21164         * time-stamp.el (time-stamp-string-preprocess):
21165         Remove unused variable `require-padding'.
21167         * tree-widget.el (widget-glyph-enable): Declare.
21168         (tree-widget-action): Mark unused parameter.
21170         * w32-fns.el (x-get-selection): Mark unused parameter.
21171         (autoload-make-program, generated-autoload-file): Declare.
21173         * wdired.el (wdired-revert): Mark unused parameters.
21174         (wdired-xcase-word): Remove unused variable `err'.
21176         * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
21177         (whitespace-help-scroll): Remove unused variable `data-help'.
21179         * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
21180         (widget-image-insert, widget-after-change, default)
21181         (widget-default-format-handler, widget-default-notify)
21182         (widget-default-prompt-value, widget-info-link-action)
21183         (widget-url-link-action, widget-function-link-action)
21184         (widget-variable-link-action, widget-file-link-action)
21185         (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
21186         (widget-field-prompt-internal, widget-field-action, widget-field-match)
21187         (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
21188         (widget-insert-button-action, widget-delete-button-action, visibility)
21189         (widget-documentation-link-action, widget-documentation-string-action)
21190         (widget-const-prompt-value, widget-regexp-match, symbol)
21191         (widget-coding-system-prompt-value)
21192         (widget-key-sequence-value-to-external, sexp)
21193         (widget-sexp-value-to-internal, character, vector, cons)
21194         (widget-choice-prompt-value, widget-boolean-prompt-value)
21195         (widget-color--choose-action): Mark unused parameters.
21196         (widget-item-match-inline, widget-choice-match-inline)
21197         (widget-checklist-match, widget-checklist-match-inline)
21198         (widget-group-match): Rename parameter VALUES to VALS.
21199         (widget-field-value-set): Remove unused variable `size'.
21200         (widget-color-action): Remove unused variables `value' and `start'.
21202         * windmove.el (windmove-wrap-loc-for-movement): Remove unused
21203         variable `dir'.  Doc fix.
21204         (windmove-find-other-window): Don't pass it.
21206         * window.el (count-windows): Mark unused parameter.
21207         (bw-adjust-window): Remove unused variable `err'.
21209         * woman.el (woman-file-name): Remove unused variable `default'.
21210         (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
21211         WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
21212         (global-font-lock-mode): Declare.
21213         (woman-decode-region): Mark unused parameter.
21214         (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
21216         * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
21217         (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
21218         (x-dnd-handle-moz-url): Remove unused variable `title'.
21219         (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
21221         * xml.el (xml-parse-tag, xml-parse-attlist):
21222         Remove unused variable `pos'.
21224 2011-04-19  Glenn Morris  <rgm@gnu.org>
21226         * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
21227         (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
21228         (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
21229         (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
21230         * calendar/cal-html.el (cal-html-insert-minical):
21231         * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
21232         (calendar-mark-date-pattern):
21233         Prefix "unused" locals.
21235         * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
21236         optional argument `style'.
21238         * calendar/appt.el (appt-make-list):
21239         * calendar/cal-china.el (calendar-chinese-date-string):
21240         * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
21241         (diary-hebrew-yahrzeit):
21242         * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
21243         * calendar/calendar.el (calendar-generate-window):
21244         * calendar/time-date.el (time-to-days):
21245         Remove unused local variables.
21247 2011-04-18  Chong Yidong  <cyd@stupidchicken.com>
21249         * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
21250         glyphless-char-display table.
21251         (tabulated-list-glyphless-char-display): New var.
21253 2011-04-18  Sam Steingold  <sds@gnu.org>
21255         * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
21256         to acknowledgments.
21258 2011-04-17  Glenn Morris  <rgm@gnu.org>
21260         * calendar/diary-lib.el (diary-sexp-entry):
21261         * calendar/holidays.el (holiday-sexp):
21262         Set debug-on-error rather than the removed stack-trace-on-error.
21264 2011-04-16  Glenn Morris  <rgm@gnu.org>
21266         * progmodes/f90.el: Use lexical-binding.
21267         (f90-get-correct-indent): Remove unnecessary local variable `cont'.
21269 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
21271         * mail/sendmail.el (mail-mode-map): Use completion-at-point.
21272         (mail-mode): Setup mailalias completion here instead.
21273         * mail/mailalias.el: Use lexical-binding.
21274         (pattern, mailalias-done): Declare dynamic.
21275         (mail-completion-at-point-function): New function, from mail-complete.
21276         (mail-complete): Use it.
21277         (mail-completion-expand): New function.
21278         (mail-get-names): Use it.
21279         (mail-directory, mail-directory-process, mail-directory-stream):
21280         Don't use `pattern' for lexically bound arg.
21282         * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
21284         * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
21285         (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
21286         (hfy-etags-cmd-alist): Don't eval-and-compile any more.
21288         * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
21289         (byte-save-window-excursion, byte-temp-output-buffer-setup)
21290         (byte-interactive-p): Define them again, for use when inlining
21291         old code.
21293 2011-04-15  Juanma Barranquero  <lekktu@gmail.com>
21295         * loadup.el: Use `string-to-number', not `string-to-int'.
21297 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
21299         * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
21300         gud-gdb-complete-command.
21301         (gud-gdb-completions): New function, from gud-gdb-complete-command.
21302         (gud-gdb-completion-at-point): New function.
21303         (gud-gdb-completions): Remove.
21305 2011-04-14  Michael Albinus  <michael.albinus@gmx.de>
21307         * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
21308         when the scripts fail.  Use `tramp-do-file-attributes-with-ls' then.
21309         (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
21310         whether `executable-find' is bound.
21312         * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
21314 2011-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
21316         * minibuffer.el (completion-in-region-mode-predicate)
21317         (completion-in-region-mode--predicate): New vars.
21318         (completion-in-region, completion-in-region--postch)
21319         (completion-in-region-mode): Use them.
21320         (completion--capf-wrapper): Also return the hook function.
21321         (completion-at-point, completion-help-at-point):
21322         Adjust and provide a predicate.
21324         Preserve arg names for advice of subr and lexical functions (bug#8457).
21325         * help-fns.el (help-function-arglist): Consolidate the subr and
21326         new-byte-code cases.  Add argument `preserve-names' to extract names
21327         from the docstring when needed.
21328         * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
21329         (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
21330         (ad-arglist): Use help-function-arglist's new arg.
21331         (ad-definition-type): Use cond.
21333 2011-04-13  Juanma Barranquero  <lekktu@gmail.com>
21335         * autorevert.el (auto-revert-handler):
21336         Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
21337         which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
21338         Don't quote lambda.
21340         * image-mode.el (image-transform-set-scale):
21341         Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
21343 2011-04-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
21345         * net/network-stream.el (network-stream-open-starttls): Only do
21346         opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
21347         Upgrades via gnutls-cli are too slow to be done opportunistically.
21349 2011-04-12  Juanma Barranquero  <lekktu@gmail.com>
21351         * dframe.el (dframe-current-frame): Remove spurious quote.
21353 2011-04-12  Glenn Morris  <rgm@gnu.org>
21355         * calendar/cal-tex.el (cal-tex-end-document):
21356         Try to automatically use latin1 input if needed.
21358         * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
21359         Don't try to cons a mark onto an empty element.
21361 2011-04-11  Leo Liu  <sdl.web@gmail.com>
21363         * ido.el (ido-buffer-internal): Allow method 'kill for virtual
21364         buffers.
21365         (ido-kill-buffer-at-head): Support killing virtual buffers.
21367 2011-04-10  Chong Yidong  <cyd@stupidchicken.com>
21369         * minibuffer.el (completion-show-inline-help): New var.
21370         (completion--do-completion, minibuffer-complete)
21371         (minibuffer-force-complete, minibuffer-complete-word):
21372         Inhibit minibuffer messages if completion-show-inline-help is nil.
21374         * icomplete.el (icomplete-mode): Bind completion-show-inline-help
21375         to avoid interference from inline help (Bug#5849).
21377 2011-04-10  Leo Liu  <sdl.web@gmail.com>
21379         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
21380         Fix typo.
21382 2011-04-09  Chong Yidong  <cyd@stupidchicken.com>
21384         * image-mode.el (image-toggle-display-image): Signal an error if
21385         not in Image mode.
21386         (image-transform-mode, image-transform-resize)
21387         (image-transform-set-rotation): Doc fix.
21388         (image-transform-set-resize): Delete.
21389         (image-transform-set-scale, image-transform-fit-to-height)
21390         (image-transform-fit-to-width): Handle image-toggle-display-image
21391         and image-transform-resize directly.
21393 2011-04-08  Sho Nakatani  <lay.sakura@gmail.com>
21395         * doc-view.el (doc-view-fit-width-to-window)
21396         (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
21397         New functions for fitting the shown image to the Emacs window size.
21398         (doc-view-mode-map): Add bindings for the new functions.
21400 2011-04-08  Juanma Barranquero  <lekktu@gmail.com>
21402         * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
21403         Fix typo in docstring.
21405 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
21407         * files.el (file-size-human-readable): Produce one digit after
21408         decimal, like "ls -lh" does.
21410         * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
21411         the file size representation.
21413         * simple.el (list-processes): If async subprocesses are not
21414         available, error out with a clear error message.
21416 2011-04-08  Chong Yidong  <cyd@stupidchicken.com>
21418         * help.el (help-form-show): New function, to be called from C.
21419         Put help-form output in a buffer named differently than *Help*.
21421 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
21423         * files.el (file-size-human-readable): New function.
21425         * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
21426         computing the representation inline.  Don't require `cl'.
21428 2011-04-08  Glenn Morris  <rgm@gnu.org>
21430         * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
21432         * net/browse-url.el (browse-url-firefox):
21433         Test system-type, not system-configuration.
21435         * vc/log-edit.el (log-edit-empty-buffer-p): New function.
21436         (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
21437         Use log-edit-empty-buffer-p.  (Bug#7598)
21439         * net/rlogin.el (rlogin-process-connection-type): Simplify.
21440         (rlogin-mode-map): Initialize in the defvar.
21441         (rlogin): Use ignore-errors.
21443         * replace.el (occur-mode-map): Some fixes for menu items.
21445 2011-04-07  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
21447         * play/morse.el (denato-region): Handle varying case.  (Bug#8386)
21449 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
21451         * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
21452         issuing unused warnings.
21454         * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
21455         macro directly.
21457         * simple.el: Lisp reimplement of list-processes.  Based on an
21458         earlier reimplementation by Leo Liu, but using tabulated-list.el.
21459         (process-menu-mode): New major mode.
21460         (list-processes--refresh, list-processes):
21461         (process-menu-visit-buffer): New functions.
21463         * files.el (save-buffers-kill-emacs): Don't assume any return
21464         value of list-processes, which is undocumented anyway.
21466 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
21468         * emacs-lisp/tabulated-list.el: New file.
21470         * emacs-lisp/package.el: Use Tabulated List mode.
21471         (package-menu-mode-map): Inherit from tabulated-list-mode-map.
21472         (package-menu-mode): Derive from tabulated-list-mode.  Set up the
21473         table format using Tabulated List mode variables.
21474         (package--push): New macro, replacing package-list-maybe-add.
21475         (package-menu--generate): Use package--push.  Renamed from
21476         package--generate-package-list.
21477         (package-menu-refresh, list-packages): Use it.
21478         (package-menu--print-info): Rename from package-print-package.
21479         Return insertion data instead of inserting it directly.
21480         (package-menu-describe-package, package-menu-execute):
21481         Use tabulated-list-get-id.
21482         (package-menu-mark-delete, package-menu-mark-install)
21483         (package-menu-mark-unmark, package-menu-backup-unmark)
21484         (package-menu-mark-obsolete-for-deletion):
21485         Use tabulated-list-put-tag.
21486         (package--list-packages, package-menu-revert)
21487         (package-menu-get-package, package-menu-get-version)
21488         (package-menu-sort-by-column): Functions deleted.
21489         (package-menu-package-list, package-menu-sort-key): Vars deleted.
21490         (package-menu--status-predicate, package-menu--version-predicate)
21491         (package-menu--name-predicate)
21492         (package-menu--description-predicate): Handle arguments in the
21493         Tabulated List format.
21494         (package-list-packages-no-fetch): Call list-packages.
21496 2011-04-06  Juanma Barranquero  <lekktu@gmail.com>
21498         * files.el (after-find-file-from-revert-buffer): Remove variable.
21499         (after-find-file): Don't bind it.
21500         (revert-buffer-in-progress-p): New variable.
21501         (revert-buffer): Bind it.
21502         Pass nil for `after-find-file-from-revert-buffer'.
21504         * saveplace.el (save-place-find-file-hook): Use new variable
21505         `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
21507 2011-04-06  Glenn Morris  <rgm@gnu.org>
21509         * Makefile.in (AUTOGEN_VCS): New variable.
21510         (autoloads): Use $AUTOGEN_VCS.
21512         * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
21513         * calendar/calendar.el (calendar-mode-map):
21514         Check for toolkit scroll bars.  (Bug#8305)
21516 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
21518         * minibuffer.el (completion-in-region--postch)
21519         (completion-in-region-mode): Remove unnecessary messages.
21521 2011-04-05  Juanma Barranquero  <lekktu@gmail.com>
21523         * font-lock.el (font-lock-refresh-defaults):
21524         Don't bind `hi-lock--inhibit-font-lock-hook', removed in
21525         2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
21527         * info.el (Info-directory-list, Info-read-node-name-2)
21528         (Info-split-parameter-string): Doc fixes.
21529         (Info-virtual-nodes): Reflow docstring.
21530         (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
21531         (Info-apropos-toc-nodes, info-finder, Info-get-token)
21532         (Info-find-emacs-command-nodes, Info-speedbar-key-map):
21533         Fix typos in docstrings.
21534         (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
21535         (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
21536         (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
21537         (Info-restore-desktop-buffer): Mark unused parameters.
21538         (Info-directory-find-file, Info-directory-find-node)
21539         (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
21540         (Info-virtual-index-find-node, Info-apropos-find-file)
21541         (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
21542         Mark unused parameters; fix typos in docstrings.
21543         (Info-virtual-index): Remove unused local variable `nodename'.
21545 2011-04-05  Deniz Dogan  <deniz@dogan.se>
21547         * net/rcirc.el: Update my e-mail address.
21548         (rcirc-mode-map): Remove M-o binding.
21550 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
21552         * startup.el (command-line): Save the cursor's theme-face
21553         directly, instead of using face-override-spec.
21555         * custom.el (load-theme): Minor optimization in assigning faces.
21557 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
21559         * help-fns.el (describe-variable): Complete all variables having
21560         documentation, including keywords.
21561         http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
21563 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
21565         Convert to lexical-binding.
21567         * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
21568         (bs--get-marked-string, bs--get-modified-string)
21569         (bs--get-readonly-string, bs--get-size-string, bs--get-name)
21570         (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
21571         (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
21573         * ehelp.el (electric-help-execute-extended)
21574         (electric-help-ctrl-x-prefix):
21575         * hexl.el (hexl-revert-buffer-function):
21576         * linum.el (linum-after-change, linum-after-scroll):
21577         * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
21579         * help-fns.el (help-describe-category-set): Remove unused ERR variable.
21581 2011-04-04  Daiki Ueno  <ueno@unixuser.org>
21583         * epa-dired.el:
21584         * epa-mail.el:
21585         * epa-hook.el:
21586         * epa-file.el:
21587         * epa.el:
21588         * epg.el: Use lexical binding.
21590 2011-04-03  Chong Yidong  <cyd@stupidchicken.com>
21592         * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
21594         * textmodes/flyspell.el (flyspell-word): Recognize default
21595         dictionary case for flyspell-mark-duplications-exceptions.
21596         Use regexp matching for languages.
21597         (flyspell-mark-duplications-exceptions): Add "that" and "had" for
21598         default dictionary (Bug#7926).
21600 2011-04-02  Chong Yidong  <cyd@stupidchicken.com>
21602         * emacs-lisp/package.el (package--with-work-buffer):
21603         Recognize https URLs.
21605         * net/network-stream.el: Move from gnus/proto-stream.el.
21606         Change prefix to network-stream throughout.
21607         (open-protocol-stream): Merge into open-network-stream, leaving
21608         open-protocol-stream as an alias.  Handle nil BUFFER args.
21610         * subr.el (open-network-stream): Move to net/network-stream.el.
21612 2011-04-02  Glenn Morris  <rgm@gnu.org>
21614         * find-dired.el (find-exec-terminator): New option.
21615         (find-ls-option): Test for -ls support.
21616         (find-ls-subdir-switches): Test for -b in find-ls-option.
21617         (find-dired, find-grep-dired): Doc fixes.
21618         (find-dired): Use find-exec-terminator.
21620         * find-dired.el (find-ls-option, find-ls-subdir-switches)
21621         (find-grep-options): Do not autoload these defcustoms, remove purecopy.
21622         (find-name-arg): Remove purecopy.
21624         * progmodes/grep.el (grep-find-use-xargs): Doc fix.
21625         (grep-compute-defaults): Check for `-exec COMMAND +' support.
21626         Set grep-find-use-xargs, grep-find-command, and grep-find-template
21627         accordingly.  Don't add the null-device if not needed.
21629         * files.el (save-some-buffers): Doc fix.
21631 2011-04-02  Eli Zaretskii  <eliz@gnu.org>
21633         * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
21635 2011-04-01  Juanma Barranquero  <lekktu@gmail.com>
21637         * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
21638         Use `dolist' rather than `mapcar'.
21640 2011-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>
21642         Add lexical binding.
21644         * subr.el (apply-partially): Use new closures rather than CL.
21645         (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
21646         (dolist, dotimes): Use slightly different expansion for lexical code.
21647         (functionp): Move to C.
21648         (letrec): New macro.
21649         (with-wrapper-hook): Use it and apply-partially instead of CL.
21650         (eval-after-load): Preserve lexical-binding.
21651         (save-window-excursion, with-output-to-temp-buffer): Turn them
21652         into macros.
21654         * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
21656         * help-fns.el (help-split-fundoc): Return nil if there's nothing else
21657         than the arglist.
21658         (help-add-fundoc-usage): Don't add `Not documented'.
21659         (help-function-arglist): Handle closures, subroutines, and new
21660         byte-code-functions.
21661         (help-make-usage): Remove leading underscores.
21662         (describe-function-1): Handle closures.
21663         (describe-variable): Use special-variable-p for completion.
21665         * files.el (lexical-binding): Declare safe.
21667         * emacs-lisp/pcase.el: Don't use destructuring-bind.
21668         (pcase--memoize): Rename from pcase-memoize.  Change weakness.
21669         (pcase): Add `let' pattern.
21670         Change memoization so it actually works.
21671         (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
21672         (pcase--u1) <guard, pred>: Fix possible shadowing problem.
21673         <let>: New case.
21675         * emacs-lisp/macroexp.el: Use lexical binding.
21676         (macroexpand-all-1): Check obsolete macros.  Expand compiler-macros.
21677         Don't convert ' to #' without checking that it's indeed quoting
21678         a lambda.
21680         * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
21681         Use eval-sexp-add-defvars.
21682         (eval-sexp-add-defvars): New fun.
21684         * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
21686         * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
21687         Don't autoload.
21688         (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
21689         than the internal `byte-compile-lambda'.
21690         (defmethod): Don't hide code under quotes.
21691         (eieio-defmethod): New `code' argument.
21693         * emacs-lisp/eieio-comp.el: Remove.
21695         * emacs-lisp/edebug.el (edebug-eval-defun)
21696         (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
21697         (edebug-toggle): Avoid `eval'.
21699         * emacs-lisp/disass.el (disassemble-internal): Handle new
21700         `closure' objects.
21701         (disassemble-1): Handle new byte codes.
21703         * emacs-lisp/cl.el (pushnew): Silence warning.
21705         * emacs-lisp/cl-macs.el (cl-byte-compile-block)
21706         (cl-byte-compile-throw): Remove.
21707         (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
21709         * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
21710         closures.
21712         * emacs-lisp/cconv.el: New file.
21714         * emacs-lisp/bytecomp.el: Use lexical binding instead of
21715         a "bytecomp-" prefix.  Macroexpand everything as a separate phase.
21716         (byte-compile-initial-macro-environment):
21717         Handle declare-function here.
21718         (byte-compile--lexical-environment): New var.
21719         (byte-stack-ref, byte-stack-set, byte-discardN)
21720         (byte-discardN-preserve-tos): New lap codes.
21721         (byte-interactive-p): Don't use any more.
21722         (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
21723         New macros.
21724         (byte-compile-lapcode): Use them and handle new lap codes.
21725         (byte-compile-obsolete): Remove.
21726         (byte-compile-arglist-signature): Handle new byte-code arg"lists".
21727         (byte-compile-arglist-warn): Check late def of inlinable funs.
21728         (byte-compile-cl-warn): Don't silence warnings for compiler-macros
21729         since they should have been expanded by now.
21730         (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
21731         (byte-compile-from-buffer): Remove unused second arg.
21732         (byte-compile-preprocess): New function.
21733         (byte-compile-toplevel-file-form): New function to distinguish
21734         file-form calls from outside from file-form calls from hunk-handlers.
21735         (byte-compile-file-form): Simplify.
21736         (byte-compile-file-form-defsubst): Remove.
21737         (byte-compile-file-form-defmumble): Simplify now that
21738         byte-compile-lambda always returns a byte-code-function.
21739         (byte-compile): Preprocess.
21740         (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
21741         Remove, not used any more.
21742         (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
21743         (byte-compile-make-args-desc): New funs.
21744         (byte-compile-lambda): Handle lexical functions.  Always return
21745         a byte-code-function.
21746         (byte-compile-reserved-constants): New var, to make up room for
21747         closed-over variables.
21748         (byte-compile-constants-vector): Obey it.
21749         (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
21750         (byte-compile-macroexpand-declare-function): New function.
21751         (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
21752         byte-code-functions.
21753         (byte-compile-form): Check obsolescence here.
21754         (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
21755         (byte-compile-variable-ref): Remove.
21756         (byte-compile-dynamic-variable-op): New fun.
21757         (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
21758         (byte-compile-variable-set): New funs.
21759         (byte-compile-discard): Add 2 args.
21760         (byte-compile-stack-ref, byte-compile-stack-set)
21761         (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
21762         (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
21763         macroexpand-all instead.
21764         (byte-compile-quote-form): Remove.
21765         (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
21766         (byte-compile-bind, byte-compile-unbind): New funs.
21767         (byte-compile-let): Handle let* and lexical binding.
21768         (byte-compile-let*): Remove.
21769         (byte-compile-catch, byte-compile-unwind-protect)
21770         (byte-compile-track-mouse, byte-compile-condition-case):
21771         Handle a new :fun-body form, used for lexical scoping.
21772         (byte-compile-save-window-excursion)
21773         (byte-compile-with-output-to-temp-buffer): Remove.
21774         (byte-compile-defun): Simplify.
21775         (byte-compile-stack-adjustment): New fun.
21776         (byte-compile-out): Use it.
21777         (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
21779         * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
21780         handler any more.
21782         * emacs-lisp/byte-opt.el: Use lexical binding.
21783         (byte-inline-lapcode): Remove (to bytecomp).
21784         (byte-compile-inline-expand): Pay attention to inlining to/from
21785         lexically bound code.
21786         (byte-compile-unfold-lambda): Don't handle byte-code-functions
21787         any more.
21788         (byte-optimize-form-code-walker): Don't handle save-window-excursion
21789         any more and don't call compiler-macros.
21790         (byte-compile-splice-in-already-compiled-code): Remove.
21791         (byte-code): Don't inline any more.
21792         (disassemble-offset): Receive `bytes' as argument rather than via
21793         dynamic scoping.
21794         (byte-compile-tag-number): Declare before first use.
21795         (byte-decompile-bytecode-1): Handle new byte-codes, don't change
21796         `return' even if make-spliceable.
21797         (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
21798         obsolete interactive-p.
21799         (byte-optimize-lapcode): Optimize new lap-codes.
21800         Don't trip up on new form of `byte-constant' lap code.
21802         * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
21804         * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
21806         * custom.el (custom-initialize-default, custom-declare-variable):
21807         Use `defvar'.
21809         * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
21810         New variables.
21811         (compile-onefile, .el.elc, compile-calc, recompile): Use them.
21812         (COMPILE_FIRST): Add macroexp and cconv.
21813         * makefile.w32-in: Mirror changes in Makefile.in.
21815         * vc/cvs-status.el:
21816         * vc/diff-mode.el:
21817         * vc/log-edit.el:
21818         * vc/log-view.el:
21819         * vc/smerge-mode.el:
21820         * textmodes/bibtex-style.el:
21821         * textmodes/css-mode.el:
21822         * startup.el:
21823         * uniquify.el:
21824         * minibuffer.el:
21825         * newcomment.el:
21826         * reveal.el:
21827         * server.el:
21828         * mpc.el:
21829         * emacs-lisp/smie.el:
21830         * doc-view.el:
21831         * dired.el:
21832         * abbrev.el: Use lexical binding.
21834 2011-04-01  Eli Zaretskii  <eliz@gnu.org>
21836         * info.el (info-display-manual): New function.
21838 2011-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
21840         * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
21842 2011-03-31  Tassilo Horn  <tassilo@member.fsf.org>
21844         * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
21845         an entry for that server in rcirc-authinfo.  (Bug#8385)
21847 2011-03-31  Glenn Morris  <rgm@gnu.org>
21849         * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
21851         * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
21853 2011-03-30  Christoph Scholtes  <cschol2112@googlemail.com>
21855         * progmodes/python.el (python-default-interpreter)
21856         (python-python-command-args, python-jython-command-args)
21857         (python-which-shell, python-which-args, python-which-bufname)
21858         (python-file-queue, python-comint-output-filter-function)
21859         (python-toggle-shells, python-shell): Remove obsolete defcustoms,
21860         variables and functions.
21862 2011-03-30  Stefan Monnier  <monnier@iro.umontreal.ca>
21864         * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
21865         (completion-in-region-mode): New minor mode.
21866         (completion-in-region): Use it.
21867         (completion-in-region--data, completion-in-region-mode-map): New vars.
21868         (completion-in-region--postch): New function.
21869         (completion--capf-misbehave-funs, completion--capf-safe-funs):
21870         New vars.
21871         (completion--capf-wrapper): New function.
21872         (completion-at-point): Use it to track well-behavedness of
21873         hook functions.
21874         (completion-help-at-point): New command.
21876 2011-03-30  Jason Merrill  <jason@redhat.com>  (tiny change)
21878         * vc/add-log.el (add-change-log-entry): Don't use whitespace
21879         syntax class to search for whitespace on a single line
21880         (Message-ID: <4D938140.4030905@redhat.com>).
21882 2011-03-30  Leo Liu  <sdl.web@gmail.com>
21884         * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
21885         New commands.
21886         (edit-abbrevs-map): Bind them here.
21887         (write-abbrev-file): New optinal arg VERBOSE.  (Bug#5937)
21889 2011-03-29  Ken Manheimer  <ken.manheimer@gmail.com>
21891         * allout.el (allout-hide-by-annotation, allout-flag-region):
21892         Reduce possibility of overlay leakage by making them volatile.
21894         * allout-widgets.el (allout-widgets-tally): Define as nil so the
21895         hash is not shared between buffers.  Mode initialization is
21896         responsible for giving it a useful starting value.
21897         (allout-item-span): Reduce possibility of overlay leakage by
21898         making them volatile.
21899         (allout-widgets-count-buttons-in-region): Add diagnostic function
21900         for tracking down button overlay leaks.
21902 2011-03-29  Leo Liu  <sdl.web@gmail.com>
21904         * ido.el (ido-read-internal): Use the default history var
21905         minibuffer-history if no HISTORY is specified.
21907 2011-03-28  Brian T. Sniffen  <bsniffen@akamai.com>  (tiny change)
21909         * net/imap.el (imap-shell-open, imap-process-connection-type):
21910         Use imap-process-connection-type for 'shell' streams as well as
21911         Kerberos, SSL, other subprocesses.
21913 2011-03-28  Leo Liu  <sdl.web@gmail.com>
21915         * abbrev.el (abbrev-table-empty-p): New function.
21916         (prepare-abbrev-list-buffer): Place empty abbrev tables after
21917         nonempty ones.  (Bug#5937)
21919 2011-03-27  Jan Djärv  <jan.h.d@swipnet.se>
21921         * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
21923 2011-03-27  Leo Liu  <sdl.web@gmail.com>
21925         * ansi-color.el (ansi-color-names-vector): Allow cons cell value
21926         for foreground and background colors.
21927         (ansi-color-make-color-map): Adapt.
21929 2011-03-25  Leo Liu  <sdl.web@gmail.com>
21931         * midnight.el (midnight-time-float): Remove.  Note it calculates
21932         the microsecond component incorrectly and seconds-to-time does the
21933         same job.
21934         Remove redundant (require 'timer).
21936         * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
21937         (ido-completions): Remove unused arguments.  (Bug#8329)
21939 2011-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
21941         * minibuffer.el (completion--flush-all-sorted-completions):
21942         Remove itself from hook.
21943         (completion-at-point): Let the functions perform the completion
21944         immediately and return nil or t.
21945         * comint.el (comint-dynamic-complete-functions): Now identical to
21946         completion-at-point-functions.
21947         (comint-dynamic-list-input-ring): Remove unused var `index'.
21948         (comint--match-partial-filename, comint--unquote&expand-filename):
21949         New funs, split from comint-match-partial-filename.
21950         (comint-dynamic-complete): Use completion-at-point.
21951         (comint-dynamic-complete-filename): Use comint--match-partial-filename.
21953 2011-03-24  Drew Adams  <drew.adams@oracle.com>
21955         * thingatpt.el: Support `defun'.
21957 2011-03-23  Leo Liu  <sdl.web@gmail.com>
21959         * abbrevlist.el: Move to obsolete/abbrevlist.el.
21961         * help-mode.el (help-mode-finish): Tweak regexp.
21963 2011-03-23  Glenn Morris  <rgm@gnu.org>
21965         * eshell/esh-opt.el (eshell-eval-using-options):
21966         Do not bind unused local variable `eshell-option-stub'.
21968         * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
21970 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
21972         * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
21973         keymap variable in `with-no-warnings' to avoid a warning when the
21974         keymap has been already `defconst'ed.
21976 2011-03-22  Leo Liu  <sdl.web@gmail.com>
21978         * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
21979         encode all chars in abbrevs; otherwise use emacs-mule or
21980         utf-8-emacs.  (Bug#8308)
21982 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
21984         * simple.el (backward-delete-char-untabify):
21985         Avoid warning about using `delete-backward-char'.
21987         * image.el (image-type-file-name-regexps): Make it variable.
21988         `imagemagick-register-types' modifies it, and the user may want
21989         to add new extensions for known image types.
21990         (imagemagick-register-types): Throw error if not using ImageMagick.
21992 2011-03-22  Leo Liu  <sdl.web@gmail.com>
21994         * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
21995         located before rcirc-prompt-end-marker.
21996         (rcirc-complete): Error if point is not after rcirc prompt.
21997         Handle the case when table is nil.
21998         (rcirc-user-authenticated): Define to fix compiler warning.
22000 2011-03-22  Chong Yidong  <cyd@stupidchicken.com>
22002         * custom.el (custom--inhibit-theme-enable): Make it affect only
22003         custom-theme-set-variables and custom-theme-set-faces.
22004         (provide-theme): Ignore custom--inhibit-theme-enable.
22005         (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
22006         (custom-enabling-themes): Delete variable.
22007         (enable-theme): Accept only loaded themes as arguments.
22008         Ignore the special custom-enabled-themes variable.
22009         (custom-enabled-themes): Forbid themes from setting this.
22010         Eliminate use of custom-enabling-themes.
22011         (custom-push-theme): Quote "changed" custom var entry.
22013 2011-03-21  Leo Liu  <sdl.web@gmail.com>
22015         * ido.el (ido-read-internal): Add ido-selected to history instead
22016         of user input.
22018 2011-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
22020         * subr.el (deferred-action-list, deferred-action-function):
22021         Mark obsolete.
22023 2011-03-21  Leo Liu  <sdl.web@gmail.com>
22025         * vc/log-view.el: Remove (require 'wid-edit), not needed after the
22026         change on 2011-02-13 (bug#8309).
22028         * minibuffer.el (read-file-name-function): Change default value.
22029         (read-file-name--defaults): Rename from read-file-name-defaults.
22030         (read-file-name-default): Rename from read-file-name.
22031         (read-file-name): Call read-file-name-function.
22033 2011-03-21  Glenn Morris  <rgm@gnu.org>
22035         * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
22036         Doc fixes.
22038 2011-03-21  Chong Yidong  <cyd@stupidchicken.com>
22040         * cus-theme.el: Add missing provide statement.
22041         (customize-create-theme): Extract theme value correctly.
22042         (custom-theme-visit-theme): Autoload.
22043         (customize-create-theme): Prompt before inserting default faces.
22045 2011-03-20  Jay Belanger  <jay.p.belanger@gmail.com>
22047         * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
22048         units and musical notes.
22050 2011-03-20  Leo Liu  <sdl.web@gmail.com>
22052         * ido.el (ido-read-internal): Use completing-read-default.
22053         (ido-completing-read): Fix compatibility with completing-read.
22055 2011-03-20  Christian Ohler  <ohler@gnu.org>
22057         * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
22058         (ert-delete-all-tests): Use `called-interactively-p' rather than
22059         `interactive-p'.
22060         (ert--make-xrefs-region): Respect END.
22062 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
22064         * dired-aux.el (dired-create-directory): Signal an error if the
22065         directory already exists (Bug#8246).
22067         * facemenu.el (list-colors-display): Call list-faces-display
22068         inside with-help-window.
22069         (list-colors-print): Use display property to align the final
22070         column, instead of checking window-width.
22072 2011-03-19  Eli Zaretskii  <eliz@gnu.org>
22074         * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
22075         windows-nt systems.
22076         (emerge-protect-metachars): Quote correctly for ms-dos and
22077         windows-nt systems.
22079 2011-03-19  Ralph Schleicher  <rs@ralph-schleicher.de>
22081         * info.el (info-initialize): Replace all uses of `:' with
22082         path-separator for compatibility with non-Unix systems.
22083         Cache quoting of path-separator.  (Bug#8258)
22085 2011-03-19  Juanma Barranquero  <lekktu@gmail.com>
22087         * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
22088         (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
22089         (mouse-avoidance-mode): Fix typos in docstrings.
22091 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
22093         * startup.el (package-subdirectory-regexp): Move from package.el.
22094         Omit \\` and \\', and let callers add them.
22096         * emacs-lisp/package.el (package-strip-version)
22097         (package-load-all-descriptors): Add \\` and \\' to
22098         package-subdirectory-regexp before using it.
22099         (package-untar-buffer): New arg DIR; ensure that file untars only
22100         into this expected directory.  Remove superfluous delete-region.
22101         (package-unpack): Caller changed.
22102         (package-tar-file-info): Use package-subdirectory-regexp.
22104 2011-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
22106         * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
22107         diff-mode-shared-map (bug#8284).
22108         (diff-mode-shared-map): Re-introduce some bindings that were problematic.
22110 2011-03-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
22112         * calendar/time-date.el (format-seconds): Use assoc instead of
22113         assoc-string, since assoc-string doesn't exist in XEmacs.
22115 2011-03-17  Juanma Barranquero  <lekktu@gmail.com>
22117         * custom.el (custom-known-themes): Reflow docstring.
22118         (custom-theme-load-path): Fix typo in docstring.
22119         (load-theme): Fix typo in error message.
22120         (custom-available-themes, custom-variable-theme-value):
22121         Use `let', not `let*'.
22123 2011-03-17  Jay Belanger  <jay.p.belanger@gmail.com>
22125         * calc/README: Mention inclusion of musical notes.
22127         * calc/calc-units.el (calc-lu-quant): Rename from
22128         `calc-logunits-quantity'.
22129         (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
22130         (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
22131         (calc-db): Rename from `calc-dblevel'.
22132         (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
22133         (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
22134         (calc-np): Rename from `calc-nplevel'.
22135         (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
22136         (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
22137         (calc-lu-plus): Rename from `calc-logunits-add'.
22138         (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
22139         (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
22140         (calc-lu-minus): Rename from `calc-logunits-sub'.
22141         (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
22142         (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
22143         (calc-lu-times): Rename from `calc-logunits-mul'.
22144         (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
22145         (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
22146         (calc-lu-divide): Rename from `calc-logunits-div'.
22147         (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
22148         (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
22150         * calc/calc-ext.el (calc-init-extensions): Update the names of the
22151         functions being autoloaded.
22153         * calc/calc.el (calc-lu-power-reference): Rename from
22154         `calc-logunits-power-reference'.
22155         (calc-lu-field-reference): Rename from
22156         `calc-logunits-field-reference'.
22158         * calc/calc-help.el (calc-l-prefix-help):
22159         Mention musical note functions.
22161 2011-03-17  Stefan Monnier  <monnier@iro.umontreal.ca>
22163         * minibuffer.el (completion-all-sorted-completions):
22164         Use :completion-cycle-penalty text property if present.
22166 2011-03-16  Ken Manheimer  <ken.manheimer@gmail.com>
22168         * allout.el (allout-yank-processing): Adjust for new rebulleting
22169         regime so bullet being yanked is used without prompting the user
22170         for a choice.
22172 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
22174         * startup.el (command-line): Warn the user that _emacs is deprecated.
22176 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
22178         * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
22179         (delphi-verbose, delphi-comment-face, delphi-string-face)
22180         (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
22181         (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
22182         (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
22183         (delphi-new-comment-line, delphi-font-lock-defaults)
22184         (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
22185         Fix typos in docstrings.
22187 2011-03-15  Ken Manheimer  <ken.manheimer@gmail.com>
22189         * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
22190         Invert the roles of character and string values for INSTEAD, so a
22191         string is used for the more common case of a defaulting prompt.
22193 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
22195         * progmodes/ruby-mode.el (ruby-backward-sexp):
22196         * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
22197         * play/gamegrid.el (gamegrid-make-face):
22198         * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
22199         (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
22200         * notifications.el (notifications-notify):
22201         * net/xesam.el (xesam-search-engines):
22202         * net/quickurl.el (quickurl-list-insert):
22203         * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
22205 2011-03-15  Chong Yidong  <cyd@stupidchicken.com>
22207         * startup.el (command-line): Update package subdirectory regexp.
22209 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
22211         * allout.el (allout-abbreviate-flattened-numbering)
22212         (allout-mode-deactivate-hook): Fix up obsolescence "date".
22214         * subr.el (read-char-choice): Only show the cursor after the prompt,
22215         not after the answer.
22217 2011-03-15  Kevin Ryde  <user42@zip.com.au>
22219         * help-fns.el (variable-at-point): Skip leading quotes, if any
22220         (bug#8253).
22222 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
22224         * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
22225         warning message.
22227 2011-03-14  Michael Albinus  <michael.albinus@gmx.de>
22229         * shell.el (shell): When called interactively, offer to change the
22230         shell file name on remote hosts.
22232 2011-03-13  Teodor Zlatanov  <tzz@lifelogs.com>
22234         * net/ldap.el (ldap-search-internal): Add `auth-source-search'
22235         integration for LDAP parameters.  The host, base, user or binddn,
22236         and secret tokens can be specified in a netrc file, for instance.
22237         This is optional because an `auth-source' parameter must be
22238         specified in the search attributes.
22240 2011-03-13  Juanma Barranquero  <lekktu@gmail.com>
22242         * help.el (describe-mode): Link to the mode's definition (bug#8185).
22244 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
22246         * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
22247         into declaration.  Remove redundant and harmful binding.
22249 2011-03-12  Eli Zaretskii  <eliz@gnu.org>
22251         * files.el (file-ownership-preserved-p): Pass `integer' as an
22252         explicit 2nd argument to `file-attributes'.  If the file's owner
22253         is the Administrators group on Windows, and the current user is
22254         Administrator, consider that a match.
22256         * server.el (server-ensure-safe-dir): Consider server directory
22257         safe on MS-Windows if its owner is the Administrators group while
22258         the current Emacs user is Administrator.  Use `=' to compare
22259         numerical UIDs, since they could be integers or floats.
22261 2011-03-12  Juanma Barranquero  <lekktu@gmail.com>
22263         * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
22265 2011-03-12  Michael Albinus  <michael.albinus@gmx.de>
22267         Sync with Tramp 2.2.1.
22269         * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
22271         * net/trampver.el: Update release number.
22273 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
22275         * progmodes/compile.el (compilation--previous-directory): Fix up
22276         various nil/dead-marker mismatches (bug#8014).
22277         (compilation-directory-properties, compilation-error-properties):
22278         Don't call it at a position past the one we're about to change.
22280         * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
22281         Disable obsolescence warnings in the file that declares it.
22283 2011-03-11  Ken Manheimer  <ken.manheimer@gmail.com>
22285         * allout-widgets.el (allout-widgets-tally):
22286         Initialize allout-widgets-tally as a hash table rather than nil to
22287         prevent mode-line redisplay warnings.  Also, clarify the module
22288         description and fix a comment typo.
22290 2011-03-11  Juanma Barranquero  <lekktu@gmail.com>
22292         * help-fns.el (describe-variable): Don't complete keywords.
22293         Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
22295 2011-03-10  Chong Yidong  <cyd@stupidchicken.com>
22297         * emacs-lisp/package.el (package-version-join): Impose a standard
22298         string representation for pre/alpha/beta version lists.
22299         (package-unpack-single): Standardize the directory name by passing
22300         it through package-version-join.
22301         (package-strip-rcs-id): Accept any version string that does not
22302         signal an error in version-to-list.
22304 2011-03-10  Michael Albinus  <michael.albinus@gmx.de>
22306         * simple.el (delete-trailing-whitespace): Return nil for the
22307         benefit of `write-file-functions'.
22309 2011-03-10  Glenn Morris  <rgm@gnu.org>
22311         * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
22313         * vc/vc-git.el (vc-git-program): New option.
22314         (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
22315         (vc-git--call): Use it.
22317         * eshell/esh-util.el (eshell-condition-case): Doc fix.
22319         * cus-edit.el (Custom-newline): If no button at point, look
22320         for a subgroup button at start-of-line.  (Bug#2298)
22322         * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
22324 2011-03-10  Julien Danjou  <julien@danjou.info>
22326         * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
22327         `cursor-type' is nil.
22329 2011-03-09  Jay Belanger  <jay.p.belanger@gmail.com>
22331         * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
22333 2011-03-09  Ken Manheimer  <ken.manheimer@gmail.com>
22335         * allout.el: Change so yank of distinctive-bullet items
22336         preserves the existing header prefix, rebulleting it if necessary,
22337         rather than replacing it.  This is necessary for proper operation
22338         of cooperative addons like allout-widgets.
22339         (allout-make-topic-prefix, allout-rebullet-heading):
22340         Change SOLICIT arg to INSTEAD, and interpret additionally a string
22341         value as alternate bullet to be used, instead of prompting the user
22342         for a bullet character.
22344 2011-03-09  Michael Albinus  <michael.albinus@gmx.de>
22346         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
22347         Do not use `tramp-file-name-port', because this returns also
22348         `tramp-default-port'.
22350 2011-03-09  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
22352         * net/rcirc.el (rcirc-handler-001): Remove useless
22353         with-rcirc-process-buffer.
22354         (rcirc-check-auth-status): Swap arguments to string-match.
22356 2011-03-09  Glenn Morris  <rgm@gnu.org>
22358         * shell.el (shell-mode):
22359         Set comint-input-ring-size from HISTSIZE.  (Bug#7889)
22361         * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
22362         Check for GDBHISTFILE, HISTSIZE, etc.  (Bug#7889)
22364 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
22366         * emacs-lisp/package.el (package-refresh-contents)
22367         (package-menu-execute): Use condition-case-no-debug.
22369 2011-03-08  Michael Albinus  <michael.albinus@gmx.de>
22371         * simple.el (shell-command-to-string): Use `process-file'.
22373         * emacs-lisp/package.el (package-tar-file-info): Handle also
22374         remote files.
22376         * emacs-lisp/package-x.el (package-upload-buffer-internal):
22377         Use `equal' for upload base check.
22379 2011-03-08  Arni Magnusson  <arnima@hafro.is>  (tiny change)
22381         * textmodes/texinfo.el (texinfo-environments):
22382         Add deftypecv, deftypeivar, deftypemethod, deftypeop, html.  (Bug#2783)
22384 2011-03-08  Glenn Morris  <rgm@gnu.org>
22386         * cus-start.el (cursor-in-non-selected-windows):
22387         Fix :set quoting oddness.  (Bug#8192)
22389         * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
22390         in some setf expressions.  (Bug#2159)
22392 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
22394         * custom.el (custom-available-themes): Return themes in
22395         alphabetical order.
22397 See ChangeLog.15 for earlier changes.
22399 ;; Local Variables:
22400 ;; coding: utf-8
22401 ;; End:
22403   Copyright (C) 2011-2012  Free Software Foundation, Inc.
22405   This file is part of GNU Emacs.
22407   GNU Emacs is free software: you can redistribute it and/or modify
22408   it under the terms of the GNU General Public License as published by
22409   the Free Software Foundation, either version 3 of the License, or
22410   (at your option) any later version.
22412   GNU Emacs is distributed in the hope that it will be useful,
22413   but WITHOUT ANY WARRANTY; without even the implied warranty of
22414   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
22415   GNU General Public License for more details.
22417   You should have received a copy of the GNU General Public License
22418   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.