* lisp/emacs-lisp/eieio.el: Prettier object pretty-printing.
[emacs.git] / lisp / ChangeLog
blob49e129cd77ac5578b39a1cf8fa160b2eada54466
1 2012-12-12  Jonas Bernoulli  <jonas@bernoul.li>
3         * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
4         (eieio-override-prin1): Don't quote kewords and booleans.
5         (object-write) <eieio-default-superclass>: Don't put closing parens
6         on new line, avoid needless empty lines, align values that are objects
7         with the slot keyword (instead of beginning on the same line).
8         (eieio-list-prin1): Align value with slot keyword; increase
9         eieio-print-depth before printing members of the list.
11 2012-12-11  Stefan Monnier  <monnier@iro.umontreal.ca>
13         * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
14         a display text-property.
15         (report-emacs-bug-hook): Don't bother deleting it any more.
17         * hilit-chg.el (highlight-save-buffer-state): Delete.
18         Use with-silent-modifications instead.
19         (hilit-chg-set-face-on-change): Only fixup the text that's modified.
21         * button.el: Handle buttons in display text-properties.
22         (button--area-button-p, button--area-button-string):
23         Use (STRING . STRING-POS) representation instead of just STRING.
25 2012-12-11  Eli Zaretskii  <eliz@gnu.org>
27         * makefile.w32-in (compile4-SH): Fix a typo that caused term
28         subdirectory be skipped.
30 2012-12-11  Glenn Morris  <rgm@gnu.org>
32         * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
34         * progmodes/f90.el (f90-line-continued, f90-indent-region):
35         Treat preprocessor lines embedded in continuations like comments.
36         (f90-indent-line): Special-case preprocessor lines.  (Bug#13138)
38 2012-12-11  Jay Belanger  <jay.p.belanger@gmail.com>
40         * calc/calc.el (calc-standard-date-formats):  Add more date
41         formats.
42         * calc/calc-forms.el (math-parse-iso-date): New function.
43         (math-parse-date): Use `math-parse-iso-date' when appropriate.
44         (math-parse-iso-date-validate): Add extra error checking.
45         (calc-date-notation): Add ability to access new date formats.
47 2012-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
49         * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
50         font-lock as well as when there's no text-property.
52 2012-12-10  Jambunathan K  <kjambunathan@gmail.com>
54         * hi-lock.el: Refine the choice of default face.
55         (hi-lock-keyword->face): New function.  Use it wherever we used
56         cadadadr instead.
57         (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
58         (hi-lock--last-face): Remove var.
59         (hi-lock--unused-faces): New var to replace it.
60         (hi-lock-read-face-name): Use/maintain it.
61         (hi-lock-unface-buffer): Maintain it.  Fix error for the C-u case.
62         (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
63         if it has another face.
65 2012-12-10  Eli Zaretskii  <eliz@gnu.org>
67         * subr.el (w32notify-handle-event): New function.
68         (inotify-handle-event): Doc fix.
70 2012-12-10  RĂ¼diger Sonderfeld  <ruediger@c-plusplus.de>
72         * subr.el (inotify-event-p, inotify-handle-event): New functions.
74 2012-12-10  Dani Moncayo <dmoncayo@gmail.com>
76         * simple.el (just-one-space): Doc fix.
78 2012-12-10  Eli Zaretskii  <eliz@gnu.org>
80         * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
82 2012-12-10  Le Wang  <l26wang@gmail.com>
84         * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
85         narrowed buffer (bug#12361).
87 2012-12-10  Juanma Barranquero  <lekktu@gmail.com>
89         * vc/vc-hooks.el (vc-state): Doc fix.
91 2012-12-10  Glenn Morris  <rgm@gnu.org>
93         * mail/rmail.el (rmail-maybe-display-summary):
94         Preserve buffer, in case select-window changes it.  (Bug#13066)
96 2012-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
98         * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
99         cl-load-hook where they belong.
101 2012-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
103         * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
105 2012-12-09  Eli Zaretskii  <eliz@gnu.org>
107         Parallelize byte compilation on MS-Windows.
108         * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
109         (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
110         (WINS_BASIC): Define as concatenation of the above.
111         (compile): Subdivide into 4 separate and independent jobs that can
112         be run in parallel.
113         (compile0-CMD, compile0-SH): New targets for compiling
114         COMPILE_FIRST files, which are prerequisites for the rest of the
115         byte-compilation.
116         (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
117         New targets for parallel compilation with cmd.exe.
118         (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
119         compiling under a Unixy shell.
121 2012-12-09  Chong Yidong  <cyd@gnu.org>
123         * simple.el (set-mark-default-inactive): Delete this
124         accidentally-introduced option.
125         (set-mark-command, exchange-point-and-mark): Remove calls.
127 2012-12-09  Glenn Morris  <rgm@gnu.org>
129         * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
130         Respect a defcustom's :set function, if appropriate.  (Bug#109)
131         (eval-defun): Doc fix.
133 2012-12-08  Juri Linkov  <juri@jurta.org>
135         * info.el (Info-copy-current-node-name, Info-breadcrumbs)
136         (Info-fontify-node, Info-bookmark-make-record): Remove the
137         file extension from Info-current-file (Bug#13016).
139 2012-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
141         * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
142         point, still provide some default.
143         (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
144         names, since we don't use it right now.  Actually return the list.
145         (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
147 2012-12-07  Chong Yidong  <cyd@gnu.org>
149         * novice.el (disabled-command-function): Remove a spurious help
150         xref (Bug#13043).  Suggested by Kelly Dean.
152         * subr.el (text-clone-maintain): Fix clone overlay deletion when a
153         syntax is specified (Bug#13025).
155         * info.el (Info-set-mode-line): Remove the file extension from
156         Info-current-file if there is one (Bug#13016).
158 2012-12-07  Glenn Morris  <rgm@gnu.org>
160         * mail/rmail.el (rmail-mime-decoded): New permanent local.
161         (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
162         * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
163         and rmail-mime-decoded.  (Bug#9841)
165         * mail/unrmail.el (unrmail-mbox-format): New option.  (Bug#6574)
166         (batch-unrmail, unrmail): Doc fixes.
167         (unrmail): Respect unrmail-mbox-format.
168         * mail/rmail.el (rmail-mbox-format): New option.
169         (rmail-show-message-1): Respect rmail-mbox-format.
171 2012-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
173         * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
175 2012-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
177         Further cleanup of the "cl-" namespace.  Fit CL in 80 columns.
178         * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
179         (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
180         (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
181         (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
182         (cl-progv): Don't rely on dynamic scoping to find the body.
183         * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
184         (cl--proclaims-deferred): Rename from the "cl-" prefix.
185         (cl-declaim): Use backquotes.
186         * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
187         Use "cl--" prefix for the object's tag.
189         * ses.el: Use advice-add/remove.
190         (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
191         (copy-region-as-kill, yank): Use advice-add.
192         (ses-unload-function): Use advice-remove.
194 2012-12-06  Jonas Bernoulli  <jonas@bernoul.li>
196         * button.el: Make them work in header-lines (bug#12817).
197         (button-map): Add bindings for header-line and mode-line use.
198         (button-get, button-put, button-label): `button' may now be a string.
199         (button-activate): Don't make it a defsubst.
200         (button--area-button-p, button--area-button-string): New functions.
201         (make-text-button): Fix the return value when `beg' was a string.
202         (push-button): Handle the mode-line case.
204 2012-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
206         * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
207         (sql-signum): Remove.  Use `cl-signum' instead.
208         (sql-read-passwd): Remove; use read-passwd instread.
209         (sql-get-login-ext): Use read-string.
210         (sql-get-login): Use dolist and pcase.
211         (sql--completion-table): Rename from sql-try-completion.
212         Use complete-with-action.
213         (sql-mode): Don't change abbrev-all-caps globally.
214         (sql-connect): Don't rely on dynamic scoping for `new-name'.
215         (sql-postgres-completion-object): Initialize vars in their `let'.
216         (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
217         (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
218         (sql-comint-interbase): Use a single append, without setq.
219         (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
221         * hi-lock.el: Rework the default face and the serialize regexp code.
222         (hi-lock--auto-select-face-defaults): Remove.
223         (hi-lock-string-serialize-serial): Remove.
224         (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
225         make weak.
226         (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
227         equal string.
228         (hi-lock-set-pattern): Adjust accordingly.
229         (hi-lock--regexps-at-point): Simplify accordingly.
230         (hi-lock--auto-select-face-defaults): Remove.
231         (hi-lock--last-face): New var to replace it.
232         (hi-lock-read-face-name): Rewrite (bug#11095).
233         (hi-lock-unface-buffer): Arrange for the face to be the next default.
235 2012-12-06  Michael Albinus  <michael.albinus@gmx.de>
237         * net/tramp.el (tramp-replace-environment-variables):
238         Hide compiler warning.
239         (tramp-file-name-for-operation): Remove `executable-find',
240         `start-process', `call-process' and `call-process-region'.
242         * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
244         * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
245         compatibility.
247         * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
249 2012-12-06  Chong Yidong  <cyd@gnu.org>
251         * ffap.el (ffap-replace-file-component): Fix typo.
253 2012-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
255         * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
256         fix open-paren-like token test (bug#12785).
258 2012-12-06  Glenn Morris  <rgm@gnu.org>
260         * mail/rmailsum.el (rmail-new-summary): Tweak for
261         rmail-maybe-display-summary changing buffer.  (Bug#13066)
263 2012-12-06  Juri Linkov  <juri@jurta.org>
265         * info.el (Info-fontify-node): Don't hide the last newline.
266         (Bug#12272)
268 2012-12-06  Katsumi Yamaoka  <yamaoka@jpl.org>
270         * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
271         so as to enable message-read-from-minibuffer to expand mail aliases.
273 2012-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
275         * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
276         the `intangible' property.
277         Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
279 2012-12-05  Deniz Dogan  <deniz@dogan.se>
281         * net/rcirc.el (rcirc-urls): Update documentation.
282         (rcirc-condition-filter): New function.
283         (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
284         and exclude consecutive duplicate URLs (Bug#6082).
286 2012-12-05  Michael Albinus  <michael.albinus@gmx.de>
288         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
289         Check return code of copy command.
291         * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
292         Use group `tramp'.  Add version.
294 2012-12-05  Chong Yidong  <cyd@gnu.org>
296         * ffap.el (ffap-url-regexp): Don't require matching at front of
297         string (Bug#4952).
298         (ffap-url-p): If only a substring matches, return that.
299         (ffap-url-at-point): Use the return value of ffap-url-p.
300         (ffap-read-file-or-url, ffap-read-file-or-url-internal)
301         (find-file-at-point, dired-at-point, dired-at-point-prompter)
302         (ffap-guess-file-name-at-point): Likewise.
303         (ffap-replace-file-component): Fix typo.
305         * info.el (info-display-manual): Add existing Info buffers, whose
306         files may not be in Info-directory-list, to the completion.
307         (info--manual-names): New helper function.
309 2012-12-05  Glenn Morris  <rgm@gnu.org>
311         * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
312         New functions, for detecting and resolving conflicts.  (Bug#10709)
314 2012-12-04  Jambunathan K  <kjambunathan@gmail.com>
316         * hi-lock.el (hi-lock-auto-select-face): New user variable.
317         (hi-lock-auto-select-face-defaults): New buffer local variable.
318         (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
319         (hi-lock-unface-buffer): Prompt user with useful defaults.
320         With prefix arg, unhighlight all hi-lock patterns in buffer.
322 2012-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
324         * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
326 2012-12-04  Michael Albinus  <michael.albinus@gmx.de>
328         * Makefile.in (TRAMP_SRC):
329         * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
331 2012-12-04  Juergen Hoetzel  <juergen@archlinux.org>
333         * net/tramp-adb.el: New package.
335 2012-12-04  Chong Yidong  <cyd@gnu.org>
337         * terminal.el: Move to obsolete/.
339         * longlines.el: Move to obsolete/.
341         * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
342         Remove code referring to longlines mode.
344 2012-12-03  Juri Linkov  <juri@jurta.org>
346         * sort.el (delete-duplicate-lines): New command.  (Bug#13032)
348 2012-12-03  AgustĂ­n MartĂ­n Domingo  <agustin.martin@hispalinux.es>
350         * textmodes/ispell.el (ispell-init-process)
351         (ispell-start-process, ispell-internal-change-dictionary):
352         Make sure personal dictionary name is expanded after initial
353         `default-directory' value. Use expanded strings for
354         keep/restart checks and for value (Bug#13019).
356 2012-12-03  Jay Belanger  <jay.p.belanger@gmail.com>
358         * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
360 2012-12-03  Leo Liu  <sdl.web@gmail.com>
362         * files.el (dir-locals-read-from-file): Check file non-empty
363         before reading.  (Bug#13038)
365 2012-12-03  Glenn Morris  <rgm@gnu.org>
367         * jka-cmpr-hook.el (jka-compr-get-compression-info):
368         Remove any version extension before checking filename.  (Bug#13006)
369         (jka-compr-compression-info-list): Belated :version bump.
371 2012-12-03  Chong Yidong  <cyd@gnu.org>
373         * simple.el (transient-mark-mode): Doc fix (Bug#11523).
375         * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
376         (buffer-menu): Doc fix (Bug#12294).
378 2012-12-03  Roland Winkler  <winkler@gnu.org>
380         * calendar/diary-lib.el (diary-header-line-format): Use keybinding
381         of diary-show-all-entries in the diary buffer (Bug#12994).
383 2012-12-03  Michael Albinus  <michael.albinus@gmx.de>
385         * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
386         "<STDIN>".  This is binary safe.
388 2012-12-03  Jay Belanger  <jay.p.belanger@gmail.com>
390         * calc/calc-forms.el (math-absolute-from-iso-dt)
391         (math-date-to-iso-dt, math-parse-iso-date-validate)
392         (math-iso-dt-to-date): New functions.
393         (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
394         (math-fd-isoweekday): New variables.
395         (calc-date-notation, math-parse-standard-date, math-format-date)
396         (math-format-date-part): Add support for more formatting codes.
398 2012-12-02  Dmitry Gutov  <dgutov@yandex.ru>
400         * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
401         current buffer's file name when called interactively (Bug#12488).
403 2012-12-02  Juri Linkov  <juri@jurta.org>
405         * info.el (info-display-manual): Don't clobber an existing Info
406         buffer (Bug#10770).  Add completion (Bug#10771).
408 2012-12-01  Yuya Nishihara  <yuya@tcha.org>  (tiny change)
410         * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
411         before using it for comparison (Bug#5297).
413 2012-12-01  Jari Aalto  <jari.aalto@cante.net>
415         * textmodes/css-mode.el (css-current-defun-name): New function.
416         (css-mode): Use it.
418         * textmodes/sgml-mode.el (html-current-defun-name): New function.
419         (html-mode): Use it.
421 2012-12-01  Chong Yidong  <cyd@gnu.org>
423         Modularize add-log-current-defun (Bug#2224).
424         Suggested by Jari Aalto.
426         * vc/add-log.el (add-log-current-defun-function): Doc fix.
427         (add-log-current-defun): Move mode-specific code to other files.
428         (add-log-lisp-like-modes, add-log-c-like-modes)
429         (add-log-tex-like-modes): Variables deleted.
431         * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
432         (lisp-mode-variables): Use it.
434         * progmodes/cc-mode.el (c-common-init):
435         * progmodes/cperl-mode.el (cperl-mode): Set a value for
436         add-log-current-defun-function.
438         * progmodes/m4-mode.el (m4-current-defun-name): New function.
439         (m4-mode): Use it.
441         * progmodes/perl-mode.el (perl-current-defun-name): New.
442         (perl-mode): Use it.
444         * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
445         Use lisp-current-defun-name.
447         * textmodes/tex-mode.el (tex-current-defun-name): New.
448         (tex-common-initialization): Use it.
450         * textmodes/texinfo.el (texinfo-current-defun-name): New.
451         (texinfo-mode): Use it.
453 2012-12-01  Chong Yidong  <cyd@gnu.org>
455         * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
456         * progmodes/autoconf.el (autoconf-mode):
457         * progmodes/js.el (js-mode):
458         * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
459         (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
460         * progmodes/perl-mode.el (perl-mode):
461         * progmodes/sh-script.el (sh-mode, sh-set-shell):
462         * textmodes/css-mode.el (css-mode):
463         * textmodes/sgml-mode.el (html-mode, sgml-mode)
464         (sgml-tags-invisible, sgml-guess-indent):
465         * textmodes/tex-mode.el (tex-common-initialization)
466         (latex-complete-bibtex-keys, tex-shell, tex-main-file)
467         (doctex-mode, plain-tex-mode, latex-mode):
468         * textmodes/texinfo.el (texinfo-mode): Use setq-local.
470 2012-12-01  Kirk Kelsey  <kirk.kelsey@0x4b.net>
472         * vc/vc-hg.el (vc-hg-next-revision):
473         Ensure use of default "tip" output format.  (Bug#6968)
475 2012-12-01  Kim F. Storm  <storm@cua.dk>
477         * startup.el (fancy-startup-tail): Add a clickable link
478         (Bug#2176).
480 2012-12-01  Chong Yidong  <cyd@gnu.org>
482         * startup.el (fancy-startup-tail): Improve the message about
483         auto-save files (Bug#2176).
485         * files.el (recover-session): Improve the descriptive message, and
486         use substitute-command-keys.
488 2012-12-01  Glenn Morris  <rgm@gnu.org>
490         * ido.el (ido-file-internal):
491         Handle other-window, other-frame for dired.  (Bug#13036)
493 2012-11-30  Glenn Morris  <rgm@gnu.org>
495         * icomplete.el (icomplete-separator): Fix :version.
497 2012-11-30  Chong Yidong  <cyd@gnu.org>
499         * shell.el (shell): For C-u M-x shell, use an inactive shell
500         buffer as the default (Bug#1975).
501         (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
502         (shell-mode): Use them to reapply ansi colorization if Shell mode
503         is re-enabled.
505 2012-11-30  Yuriy Vostrikov  <delamonpansie@gmail.com>  (tiny change)
507         * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
509 2012-11-30  Samuel Bronson  <naesten@gmail.com>
511         * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
512         flag to xargs, for compatibility with BSD xargs (Bug#11703).
514 2012-11-30  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
516         * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
517         by move-to-column (Bug#3234).
519 2012-11-30  Chong Yidong  <cyd@gnu.org>
521         * longlines.el (longlines-wrap-line, longlines-encode-region):
522         Preserve text properties (Bug#1425).
524 2012-11-30  OKAZAKI Tetsurou  <okazaki.tetsurou@gmail.com>  (tiny change)
526         * vc/vc.el (vc-register): Allow registering a file which is
527         already registered with a different backend (Bug#10589).
529 2012-11-29  Jambunathan K  <kjambunathan@gmail.com>
530             Stefan Monnier  <monnier@iro.umontreal.ca>
532         * icomplete.el: Change separator; add ido-style commands.
533         (icomplete-show-key-bindings): Remove custom var.
534         (icomplete-get-keys): Remove function.
535         (icomplete-forward-completions, icomplete-backward-completions):
536         New commands.
537         (icomplete-minibuffer-map): New var.
538         (icomplete-minibuffer-setup): Use it.
539         (icomplete-exhibit): Don't delay if the list of completions is known.
540         (icomplete-separator): New custom.
541         (icomplete-completions): Use it.
542         * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
543         (minibuffer-force-complete-and-exit): New command.
544         (minibuffer--complete-and-exit): New function extracted from
545         minibuffer-complete-and-exit.
546         (minibuffer-complete-and-exit): Use it.
548         * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
549         error message when the file doesn't exist (bug#12974).
551 2012-11-29  Kelly Dean  <kellydeanch@yahoo.com>  (tiny change)
553         * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
555 2012-11-29  Glenn Morris  <rgm@gnu.org>
557         * files.el (hack-dir-local-variables): Warn if try to set
558         coding via dir-locals, since it doesn't work.  (Bug#7169)
560         Add desktop support for restoring vc-dir buffers.  (Bug#10606)
561         * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
562         Set buffer-local value of desktop-save-buffer.
563         (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
564         New functions.
565         (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
566         * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
568         * files.el (inhibit-local-variables-ignore-case): New.  (Bug#10610)
569         (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
570         Doc fix.
571         (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
572         Doc fixes.
574 2012-11-28  Jay Belanger  <jay.p.belanger@gmail.com>
576         * calc/calc-forms.el (calc-date-notation): Fix regexp
577         used to find time codes.  Fix symbol for seconds.
579 2012-11-27  Glenn Morris  <rgm@gnu.org>
581         * emacs-lisp/derived.el (derived-mode-make-docstring):
582         Don't mention "abbrev" or "syntax" if nil.  (Bug#11277)
584 2012-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
586         * textmodes/table.el (table-insert): Don't use `symbol-name' on
587         lexically scoped variables (bug#13005).
589 2012-11-27  Glenn Morris  <rgm@gnu.org>
591         * vc/vc-hooks.el (vc-mistrust-permissions):
592         Default to t, to avoid data-loss.  (Bug#11490)
594 2012-11-27  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
596         * progmodes/python.el (python-indent-guess-indent-offset):
597         If indentation is guessed make python-indent-offset buffer-local.
599         Fix Imenu regression.
600         * progmodes/python.el (python-nav-beginning-of-defun):
601         Fix forward movement when statement(s) separates point from defun.
602         (python-imenu-prev-index-position): New function.
604 2012-11-27  Eli Zaretskii  <eliz@gnu.org>
606         * subr.el (buffer-file-type): Declare with defvar-local.  Doc fix.
608         * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
609         Don't set buffer-file-type.  Return nil.  (Bug#12989)
611 2012-11-27  Glenn Morris  <rgm@gnu.org>
613         * hippie-exp.el (hippie-expand-try-functions-list):
614         Re-autoload it.  (Bug#12982)
616 2012-11-27  Eli Zaretskii  <eliz@gnu.org>
618         * descr-text.el (describe-char-padded-string):
619         Call internal-char-font only on GUI frames.  (Bug#11964)
621 2012-11-27  Andreas Schwab  <schwab@linux-m68k.org>
623         * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
624         and obsoletion message.
626 2012-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
628         * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
629         the constructs to keep outside of the `cl-block' (bug#12977).
631 2012-11-27  Chong Yidong  <cyd@gnu.org>
633         * mouse.el (mouse-drag-line): Even if the line is not draggable,
634         keep reading until we get the up-event anyway, in order to process
635         the up-event for mouse-1-click-follows-link (Bug#12971).
637 2012-11-26  Stefan Monnier  <monnier@iro.umontreal.ca>
639         * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
640         base function is not yet defined (bug#12965).
641         (ad-activate-advised-definition): Use ad-compile-function.
642         (ad-activate): Use cond.
644 2012-11-25  Leo Liu  <sdl.web@gmail.com>
646         * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
647         (Bug#12979)
649 2012-11-24  Vincent BelaĂ¯che  <vincentb1@users.sourceforge.net>
651         * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
652         reftex-section-info-function in order to be compatible with
653         Texinfo integration.
655         * textmodes/reftex.el (reftex-section-pre-regexp)
656         (reftex-section-post-regexp, reftex-section-info-function):
657         New variable.
658         (reftex-compile-variables): Use variables reftex-section-pre-regexp,
659         reftex-section-post-regexp, and reftex-section-info-function in order
660         to be compatible with Texinfo integration.
662         * textmodes/reftex-toc.el (reftex-toc-promote-action):
663         use reftex-section-pre-regexp variable in order to be compatible with
664         Texinfo integration.
666 2012-11-25  Chong Yidong  <cyd@gnu.org>
668         * faces.el: Make face-spec-set more analogous to setq.
669         (face-spec-set): Change the third arg to specify whether this
670         function is being called via defface, customize, or a third party.
671         Set the appropriate symbol properties.  Clear the override spec if
672         setting via Custom.  Initialize face if necessary.  (Bug#4988)
673         (face-spec-recalc): Allow theme faces to completely replace the
674         defface spec, in the same way as custom faces (Bug#8454).
676         * cus-face.el (custom-declare-face): Move face initialization to
677         face-spec-set.
678         (custom-theme-set-faces): Don't initialize the face name here, as
679         that is now done in face-spec-set.
681         * cus-edit.el (custom-face-set, custom-face-mark-to-save)
682         (custom-face-reset-saved, custom-face-mark-to-reset-standard):
683         Simplify by using the new arg to face-spec-set.
685         * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
686         reset face-override-spec too, and use custom-declare-face.
688 2012-11-24  Jan Djärv  <jan.h.d@swipnet.se>
690         * term/ns-win.el (ns-initialize-window-system): Move creation of
691         fontsets here (Bug#11964).
693 2012-11-24  Vincent BelaĂ¯che  <vincentb1@users.sourceforge.net>
695         * ses.el (ses-rename-cell): Correct bug on mode-line update after
696         cell renaming.
698 2012-11-24  Chong Yidong  <cyd@gnu.org>
700         * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
701         obsolete.
703         * custom.el (custom-theme-set-variables): Use a topological sort
704         for ordering by custom dependencies (Bug#12952).
705         (custom--sort-vars, custom--sort-vars-1): New functions.
707 2012-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
709         * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
710         lexical-binding (bug#12938).
712 2012-11-24  Wolfgang Jenkner  <wjenkner@inode.at>
714         * image-mode.el (image-transform-check-size): Use assertions only
715         for images of type imagemagick.
717         Otherwise no error, image-transform-fit-to-{width,height} is
718         silently ignored, as before.  Doc fix.
720 2012-11-24  Chong Yidong  <cyd@gnu.org>
722         * faces.el (color-defined-p): Doc fix (Bug#12853).
724 2012-11-24  Juri Linkov  <juri@jurta.org>
726         * dired.el (dired-mark): Add optional arg `interactive'.
727         Check for `use-region-p' if `interactive' is non-nil.
728         (dired-unmark, dired-flag-file-deletion): Add optional arg
729         `interactive'.  Call `dired-mark' with the arg `interactive'.
730         (Bug#10624)
732         * wdired.el: Revert 2012-10-17 change partly and replace it with
733         Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
734         (wdired-finish-edit): Add marks for new file names to
735         `wdired-old-marks'.  Restore marks using `dired-mark-remembered'
736         after `revert-buffer'.
737         (wdired-do-renames): Remove calls to `dired-remove-file',
738         `dired-add-file', `dired-add-entry'.  (Bug#11795)
740 2012-11-24  Alan Mackenzie  <acm@muc.de>
742         * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
744         Fix bugs in the state cache.  Enhance a debugging mechanism.
745         * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
746         "brace at column zero" strategy for C++.
747         (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
748         (c-parse-state-point): New variable.
749         (c-record-parse-state-state): Record old parse state with
750         `copy-tree'.  Record previous value of point.
751         (c-debug-parse-state-double-cons): New debugging function.
752         (c-debug-parse-state): Call the above new function.
753         (c-toggle-parse-state-debug): Output a confirmatory message.
755         * progmodes/cc-mode.el (c-before-change, c-after-change):
756         Call c-invalidate-state-cache from `c-before-change' instead of
757         `c-after-change'.
759 2012-11-23  Chong Yidong  <cyd@gnu.org>
761         * find-cmd.el (find-constituents): Add executable, ipath,
762         readable, samefile, writable, daystart, regextype (Bug#12856).
764 2012-11-23  Stefan Monnier  <monnier@iro.umontreal.ca>
766         * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
768 2012-11-22  Paul Eggert  <eggert@cs.ucla.edu>
770         * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
771         definition.  This fixes a bootstrap failure.
772         (calc-gregorian-switch): In menu, put dates before regions.
773         This is easier to follow, lines up better in the menu, and lets us
774         coalesce regions that switch at the same time.  Give country
775         names, not "Vatican", as that's better for non-expert users.
776         Use names that are stable between the date of switch and now, e.g.,
777         Bohemia and Moravia (which existed then and now) and not
778         Czechoslovakia (which didn't exist then and doesn't exist now).
779         What is now the U.S. mostly did not switch at the same time as
780         Britain, so omit the U.S.  Correct spelling of "Britain".
781         Catholic Switzerland was too much of a mess, so omit it.
783 2012-11-22  Jay Belanger  <jay.p.belanger@gmail.com>
785         * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
786         after the variable is changed.
788 2012-11-21  Daniel Colascione  <dancol@dancol.org>
790         * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
791         in SQL declarations for font-lock.
792         (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
794 2012-11-21  Glenn Morris  <rgm@gnu.org>
796         * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
797         (face-italic-p): Add optional argument "inherit".
799         * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
800         Remove -p suffix from names, for consistency with other set-face-*.
801         (set-face-inverse-video): Fix interactive spec.
802         * play/gamegrid.el (gamegrid-make-mono-tty-face):
803         * textmodes/table.el (table--update-cell-face):
804         Use set-face-inverse-video rather than now obsolete alias.
806 2012-11-21  Eli Zaretskii  <eliz@gnu.org>
808         * simple.el (line-move): Don't call line-move-partial if
809         scroll-conservatively is in effect.  (Bug#12927)
811 2012-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
813         * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
814         Fallback on completion-at-point rather than
815         pcomplete-expand-and-complete, and only if pcomplete actually failed.
816         (eshell-cmpl-initialize): Setup completion-at-point.
818         * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
820         * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
822 2012-11-21  Michael Albinus  <michael.albinus@gmx.de>
824         * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
825         are remote, check out-of-band property for both.
827 2012-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
829         * window.el (switch-to-buffer): Re-add the warning that was lost in the
830         code rewrite.
832 2012-11-21  Paul Eggert  <eggert@cs.ucla.edu>
834         More minor time fixes.
835         * calendar/time-date.el: Commentary fix.
836         * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
837         too much other code depends on (0 0) time stamps.
838         * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
839         Add a couple of FIXME comments.
841         Minor cleanup for times as lists of four integers.
842         * files.el (dir-locals-directory-cache):
843         * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
844         Doc fixes.
845         * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
846         * ps-bdf.el (bdf-file-newer-than-time):
847         Process four-integers time stamps, not two.  Doc fixes.
849 2012-11-20  Stefan Monnier  <monnier@iro.umontreal.ca>
851         * uniquify.el (uniquify-managed): Use defvar-local.
852         (rename-buffer, create-file-buffer): Advise with advice-add.
853         (uniquify-unload-function): Unadvise accordingly.
855         * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
856         (trace-buffer): Don't purecopy.
857         (trace-entry-message, trace-exit-message): Add `context' arg.
858         (trace--timer): New var.
859         (trace-make-advice): Adjust for use in nadvice.
860         Add `context' argument.  Delay `display-buffer' via a timer.
861         (trace-function-internal): Use advice-add.
862         (trace--read-args): New function.
863         (trace-function-foreground, trace-function-background): Use it.
864         (trace-function): Rename to trace-function-foreground and redefine as
865         an alias to that new name.
866         (untrace-function, untrace-all): Adjust to the use of nadvice.
868         * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
870         * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
872         * subr.el (called-interactively-p-functions): New var.
873         (internal--called-interactively-p--get-frame): New macro.
874         (called-interactively-p, interactive-p): Rewrite in Lisp.
875         * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
876         (called-interactively-p-functions): Use it.
877         * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
878         (called-interactively-p-functions): Use it.
879         * allout.el (allout-called-interactively-p): Don't assume
880         called-interactively-p is a subr.
882 2012-11-20  Glenn Morris  <rgm@gnu.org>
884         * profiler.el (profiler-report-mode-map): Add a menu.
885         No need to bind `q' because we derive from special-mode.
886         (profiler-report-find-entry): Handle calls from the menu-bar.
888 2012-11-19  Stefan Monnier  <monnier@iro.umontreal.ca>
890         * emacs-lisp/byte-run.el (defun-declarations-alist):
891         Allow a compiler-macro to be a lambda expression.
893         * progmodes/python.el: Use cl-lib.  Move var declarations outside of
894         eval-when-compile.
895         (python-syntax-context): Add compiler-macro.
896         (python-font-lock-keywords): Simplify with De Morgan.
898         * vc/diff-mode.el (diff-hunk): Don't make useless timers.
900         * files.el (load-file): Require match in minibuffer selection, as was
901         the case in Emacs-20 before we changed the spec to allow .elc files
902         (bug#12935).
904         * json.el: Don't require cl since we don't use it.
905         * color.el: Don't require cl.
906         (color-complement): `caddr' -> `nth 2'.
908         * calendar/time-date.el (time-to-seconds): De-obsolete.
910 2012-11-19  Jay Belanger  <jay.p.belanger@gmail.com>
912         * calc/calc-forms.el (math-leap-year-p):  Fix formula for negative
913         year numbers.
914         (math-date-to-julian-dt): Adjust the initial approximation for the
915         year to deal with the new definition of the DATE.
917 2012-11-19  Daniel Colascione  <dancol@dancol.org>
919         * term/w32-win.el (cygwin-convert-path-from-windows):
920         Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
922 2012-11-18  Chong Yidong  <cyd@gnu.org>
924         * filecache.el (file-cache--read-list): New function.
925         (file-cache-add-directory-list, file-cache-add-file-list)
926         (file-cache-delete-file-list, file-cache-delete-directory-list):
927         Use it to read a list of files or directories (Bug#12846).
928         (file-cache-add-file, file-cache-add-directory)
929         (file-cache-delete-file-list, file-cache-delete-file-regexp)
930         (file-cache-delete-directory): Print an message.
932 2012-11-18  Jay Belanger  <jay.p.belanger@gmail.com>
934         * calc/calc-forms.el (math-date-to-dt): Use integer date when
935         calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
937 2012-11-18  Glenn Morris  <rgm@gnu.org>
939         * image.el (insert-image, insert-sliced-image): Doc fix.
941 2012-11-18  Chong Yidong  <cyd@gnu.org>
943         * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
944         (Bug#12810).
946 2012-11-18  OKAZAKI Tetsurou  <okazaki.tetsurou@gmail.com>  (tiny change)
948         * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
949         response when the target file is in a subdirectory (Bug#12757).
951 2012-11-18  Chong Yidong  <cyd@gnu.org>
953         * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
955 2012-11-18  Glenn Morris  <rgm@gnu.org>
957         * emacs-lisp/cl-lib.el (face-underline-p):
958         Use set-face-underline rather than the alias set-face-underline-p.
960         * window.el (with-temp-buffer-window): Doc fix.
961         * subr.el (with-output-to-temp-buffer):
962         Add doc xref to with-temp-buffer-window.
964 2012-11-18  Juanma Barranquero  <lekktu@gmail.com>
966         * woman.el (woman-non-underline-faces): Use `set-face-underline'.
967         * calc/calc.el (math-format-date-cache): Declare.
969 2012-11-17  Paul Eggert  <eggert@cs.ucla.edu>
971         Calc by default uses the Gregorian calendar for all dates (Bug#12633).
972         It also uses January 1, 1 AD as its day number 1.
973         * calc/calc-forms.el (math-julian-date-beginning)
974         (math-julian-date-beginning-int): Implement this.
976 2012-11-17  Juanma Barranquero  <lekktu@gmail.com>
978         * descr-text.el (quail-find-key):
979         * dired.el (desktop-file-name):
980         * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
981         * generic-x.el (comint-mode, comint-exec):
982         * image-dired.el (widget-forward):
983         * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
984         (speedbar-change-expand-button-char)
985         (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
986         (speedbar-make-specialized-keymap, speedbar-make-tag-line):
987         * printing.el (easy-menu-add-item, easy-menu-remove-item)
988         (widget-field-action, widget-value-set):
989         * speedbar.el (imenu--make-index-alist):
990         * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
991         (ring-length, ring-insert):
992         * vcursor.el (compare-windows-skip-whitespace):
993         * woman.el (dired-get-filename):
994         Declare functions.
996         * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
998 2012-11-17  Jay Belanger  <jay.p.belanger@gmail.com>
1000         * calc/calc.el (calc-gregorian-switch): New variable.
1002         * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
1003         (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
1004         (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
1005         (math-leap-year-p): Add option to distinguish between Julian
1006         and Gregorian calendars.
1007         (math-day-number): Use `math-day-in-year' to do the computations.
1008         (math-absolute-from-dt): Rename from `math-absolute-from-date'.
1009         Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
1010         to do the computations.
1011         (math-date-to-dt): Use `math-date-to-julian-dt' and
1012         `math-date-to-gregorian-dt' to do the computations.
1013         (calcFunc-weekday, math-format-date-part): Use the new version of
1014         the DATE to determine the weekday.
1015         (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
1016         when necessary.
1018 2012-11-17  Eli Zaretskii  <eliz@gnu.org>
1020         * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
1021         Cygwin; otherwise use 'file:'.  (Bug#12914)
1022         (cygwin-convert-path-from-windows): Declare, to avoid
1023         byte-compiler warnings.
1025 2012-11-17  Andreas Politz  <politza@fh-trier.de>
1027         * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
1028         (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
1029         prefix and negative numeric prefix args (Bug#12795).
1031 2012-11-17  Stephen Berman  <stephen.berman@gmx.net>
1033         * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
1034         Don't signal an error with a score that is too low to add to the
1035         list of top scores. (Bug#12779)
1037 2012-11-17  Chong Yidong  <cyd@gnu.org>
1039         * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
1041         * filecache.el (file-cache-add-file): Handle relative file name in
1042         the argument (Bug#12694).
1044 2012-11-16  JĂ¼rgen Hötzel  <juergen@archlinux.org>  (tiny change)
1046         * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
1048 2012-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
1050         * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
1052         * emacs-lisp/cl-lib.el: Set more meaningful version number.
1054 2012-11-16  Martin Rudalics  <rudalics@gmx.at>
1056         * window.el (enlarge-window, shrink-window): Don't mention return
1057         value in doc-string (Bug#12896).
1058         (window--display-buffer): Don't resize frames - it won't work
1059         with all window managers and defeat pop-up-frame-alist.
1060         (display-buffer-alist): In doc-string explain that CONDITION can
1061         be a function and which arguments are passed to it (Bug#12854).
1062         (display-buffer-assq-regexp): New argument ACTION.  Handle lambda
1063         expressions (Bug#12854).
1064         (display-buffer): Pass ACTION argument to
1065         display-buffer-assq-regexp.
1067 2012-11-16  Glenn Morris  <rgm@gnu.org>
1069         * window.el (fit-frame-to-buffer-bottom-margin)
1070         (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
1072         * faces.el (face-underline-p): Use face-attribute-specified-or.
1074 2012-11-16  Juanma Barranquero  <lekktu@gmail.com>
1076         * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
1078 2012-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
1080         * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
1082 2012-11-16  Glenn Morris  <rgm@gnu.org>
1084         * eshell/em-cmpl.el (eshell-pcomplete): New command.  (Bug#12838)
1085         (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
1087         * faces.el (face-underline-p): Doc fix.  Handle :underline being
1088         things other than `t' (a string, a list).
1089         (face-inverse-video-p): Doc fix.
1090         (set-face-underline): Rename it back from set-face-underline-p.
1091         Doc fix.  Allow interactive input of values other than t.
1092         (read-face-attribute): Apply formatting to :underline,
1093         since like :box and :stipple it can take list values.
1095         * term.el (ansi-term): Don't let C-x escape-char binding
1096         clobber the more standard C-c binding.  (Bug#12842)
1098         * subr.el (set-temporary-overlay-map): Doc fix.
1100 2012-11-16  Martin Rudalics  <rudalics@gmx.at>
1102         * window.el (record-window-buffer)
1103         (display-buffer-record-window): When copying the markers to
1104         window-point preserve window-point-insertion-type. (Bug#12588)
1106 2012-11-16  Glenn Morris  <rgm@gnu.org>
1108         * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
1109         * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
1110         Use new names for hooks rather than obsolete aliases.
1112 2012-11-15  Daniel Colascione  <dancol@dancol.org>
1114         * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
1115         prefix instead of "file:" so that when FILE-NAME begins with "//",
1116         as it does when the target file is on a network share, url-handler
1117         isn't confused.
1119 2012-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>
1121         * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
1122         a preactivated advice from an old advice.el; they're not compatible!
1124 2012-11-15  Katsumi Yamaoka  <yamaoka@jpl.org>
1126         * emacs-lisp/nadvice.el (advice--make-interactive-form):
1127         Fix string-spec case.
1129         * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
1131 2012-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>
1133         * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
1134         (advice--buffer-local-function-sample): New var.
1135         (advice--set-buffer-local, advice--buffer-local): New functions.
1136         (add-function, remove-function): Use them.
1138 2012-11-15  Drew Adams  <drew.adams@oracle.com>
1140         * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
1142 2012-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>
1144         * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
1145         potential binding of print-gensym to t, and prettify (back)quotes in
1146         case they appear in args's default values (bug#12884).
1148 2012-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
1150         * emacs-lisp/nadvice.el: Add around advice for interactive specs.
1151         (advice-eval-interactive-spec): New function.
1152         (advice--make-interactive-form): Support around advice (bug#12844).
1154 2012-11-14  Dmitry Gutov  <dgutov@yandex.ru>
1156         * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
1157         more strict.  Add docstring.
1158         (ruby-expression-expansion-re): Extract from
1159         `ruby-match-expression-expansion'.
1160         (ruby-syntax-propertize-function): After everything else, search
1161         for expansions in string literals, mark their insides as
1162         whitespace syntax and save match data for font-lock.
1163         (ruby-font-lock-keywords): Use the 2nd group from expression
1164         expansion matches.
1165         (ruby-match-expression-expansion): Use the match data saved to the
1166         text property in ruby-syntax-propertize-function.
1168 2012-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
1170         * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
1171         (bug#12879).
1173 2012-11-13  Dmitry Gutov  <dgutov@yandex.ru>
1175         * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
1176         start/end keyword a bit harder.  Works with different values of N.
1177         Add more comments.
1178         (ruby-end-of-block): Update accordingly.
1180 2012-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
1182         * woman.el (woman-file-name): Don't mess with unread-command-events
1183         (bug#12861).
1185         * emacs-lisp/advice.el: Layer on top of nadvice.el.
1186         Remove out of date self-require hack.
1187         (ad-do-advised-functions): Use simple `dolist'.
1188         (ad-advice-name, ad-advice-protected, ad-advice-enabled)
1189         (ad-advice-definition): Redefine as functions.
1190         (ad-advice-classes): Move before first use.
1191         (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
1192         (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
1193         (ad--defalias-fset): Remove functions.
1194         (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
1195         (ad-get-orig-definition): Rewrite.
1196         (ad-make-advised-definition-docstring): Change base docstring.
1197         (ad-real-orig-definition): Rewrite.
1198         (ad-map-arglists): Change name of called function.
1199         (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
1200         (ad-make-advised-definition): Simplify.
1201         (ad-assemble-advised-definition): Tweak for new calling context.
1202         (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
1203         (ad--defalias-fset): Rename from ad-handle-definition.  Make it set the
1204         function and call ad-activate if needed.
1205         (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
1206         (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
1207         (ad-compile-function): Compile ad-Advice-*.
1208         (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
1209         (ad-start-advice, ad-stop-advice): Remove.
1211 2012-11-13  Dmitry Gutov  <dgutov@yandex.ru>
1213         * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
1214         period before class method names, not after.  Remove handling of
1215         one impossible case.  Add comments.
1217 2012-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
1219         * emacs-lisp/advice.el: Remove support for freezing.
1220         (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
1221         (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
1222         Remove support for `freeze'.
1224         * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
1225         override the default.
1226         * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
1227         cl--dotimes/dolist.
1228         * subr.el (dolist, dotimes, declare): Redefine them normally, even when
1229         `cl' is loaded.
1231         * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
1232         from add-advice.
1233         (advice--strip-macro): New function.
1234         (advice--defalias-fset): Use them to handle macros.
1235         (advice-add): Use them.
1236         (advice-member-p): Correctly handle macros.
1238 2012-11-13  Dmitry Gutov  <dgutov@yandex.ru>
1240         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1241         Never font-lock the beginning of singleton class as heredoc.
1243 2012-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
1245         * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
1247 2012-11-13  Wolfgang Jenkner  <wjenkner@inode.at>
1249         * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
1250         39 and 49 (bug#12792).  Also, treat unimplemented parameters as 0,
1251         thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
1253 2012-11-13  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
1255         Fix end-of-defun misbehavior.
1256         * progmodes/python.el (python-nav-beginning-of-defun): Rename from
1257         python-beginning-of-defun-function.  Handle nested defuns
1258         correctly.
1259         (python-nav-end-of-defun): Rename from
1260         python-end-of-defun-function.  Ensure forward movement.
1261         (python-info-current-defun): Reimplement to work as intended
1262         with new fixed python-nav-{end,beginning}-of-defun.  Stop scanning
1263         parent defuns as soon as possible.
1265 2012-11-13  Glenn Morris  <rgm@gnu.org>
1267         * progmodes/flymake.el (flymake-error-bitmap)
1268         (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
1269         (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
1271 2012-11-13  Dmitry Gutov  <dgutov@yandex.ru>
1273         * progmodes/ruby-mode.el (ruby-move-to-block): When moving
1274         backward, always stop at indentation.  Reverts the change from
1275         2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
1277 2012-11-13  Glenn Morris  <rgm@gnu.org>
1279         * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
1280         Add ibuffer-filter-by-derived-mode.
1282         * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
1283         the same name shadowing each other.
1285         * window.el (with-temp-buffer-window): Doc tweak.
1287         * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
1289         * help.el (temp-buffer-max-height):
1290         * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
1291         * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
1293 2012-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
1295         * emacs-lisp/nadvice.el: New package.
1296         * subr.el (special-form-p): New function.
1297         * emacs-lisp/elp.el: Use lexical-binding and advice-add.
1298         (elp-all-instrumented-list): Remove var.
1299         (elp-not-profilable): Remove elp-wrapper.
1300         (elp-profilable-p): Use autoloadp and special-form-p.
1301         (elp--advice-name): New const.
1302         (elp-instrument-function): Use advice-add.
1303         (elp--instrumented-p): New predicate.
1304         (elp-restore-function): Use advice-remove.
1305         (elp-restore-all, elp-reset-all): Use mapatoms.
1306         (elp-set-master): Use elp--instrumented-p.
1307         (elp--make-wrapper): Rename from elp-wrapper, return a function
1308         suitable for advice-add.  Use cl-inf.
1309         (elp-results): Use mapatoms+elp--instrumented-p.
1310         * emacs-lisp/debug.el: Use lexical-binding and advice-add.
1311         (debug-function-list): Remove var.
1312         (debug): Rename arg, and then let-bind it explicitly inside.
1313         (debugger-setup-buffer): Rename arg.
1314         (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
1315         (debugger-frame-number): Adjust to new debug-on-entry setup.
1316         (debug--implement-debug-on-entry): Rename from
1317         implement-debug-on-entry, add argument.
1318         (debugger-special-form-p): Remove, use special-form-p instead.
1319         (debug-on-entry): Use advice-add.
1320         (debug--function-list): New function.
1321         (cancel-debug-on-entry): Use it, along with advice-remove.
1322         (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
1323         (debugger-list-functions): Use debug--function-list instead of
1324         debug-function-list.
1325         * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
1326         (ad-special-form-p): Remove, use special-form-p instead.
1327         (ad-set-advice-info): Use add-function and remove-function.
1328         (ad--defalias-fset): Adjust accordingly.
1330 2012-11-10  Glenn Morris  <rgm@gnu.org>
1332         * mail/emacsbug.el (report-emacs-bug-tracker-url)
1333         (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
1334         (report-emacs-bug-create-existing-bugs-buffer)
1335         (report-emacs-bug-parse-query-results)
1336         (report-emacs-bug-query-existing-bugs): Remove.  (Bug#7449)
1338         * term.el (term-default-fg-color, term-default-bg-color):
1339         Make obsolete, rather than just saying "deprecated" in the doc.
1341         * term.el (term): Rename from `term-face'.
1342         (term-current-face, ansi-term-color-vector)
1343         (term-default-fg-color, term-default-bg-color, term-ansi-reset):
1344         Update all users.
1346 2012-11-10  Jan Djärv  <jan.h.d@swipnet.se>
1348         * server.el (server-create-window-system-frame): Handle Nextstep
1349         specially (Bug#12780).
1351 2012-11-10  Glenn Morris  <rgm@gnu.org>
1353         * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
1354         Unautoload, and make obsolete.  (Bug#7449)
1356 2012-11-10  Chong Yidong  <cyd@gnu.org>
1358         * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
1359         rename from diff-remove-trailing-whitespace (Bug#12831).
1361 2012-11-10  Stefan Monnier  <monnier@iro.umontreal.ca>
1363         * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
1364         miscompilation of trace.el.
1366 2012-11-10  Glenn Morris  <rgm@gnu.org>
1368         * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
1370 2012-11-10  Stefan Monnier  <monnier@iro.umontreal.ca>
1372         * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
1373         (bug#12812).
1375 2012-11-10  Chong Yidong  <cyd@gnu.org>
1377         * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
1378         a defcustom with an appropriate :set function.
1379         (minibuffer-default--in-prompt-regexps): New function.
1381 2012-11-10  Glenn Morris  <rgm@gnu.org>
1383         * emacs-lisp/cl.el (define-setf-expander, defsetf)
1384         (define-modify-macro): Doc fixes.
1386         * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
1387         (gv-define-simple-setter): Update doc of `fix-return'.
1389 2012-11-10  Stefan Monnier  <monnier@iro.umontreal.ca>
1391         * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
1392         twice when `fix-return' is set (bug#12813).
1394         * emacs-lisp/cl.el (defsetf): Pass the third arg to
1395         gv-define-simple-setter (bug#12812).
1397         * woman.el (woman-decode-region): Disable adaptive-fill when rendering
1398         (bug#12756).
1400 2012-11-10  Glenn Morris  <rgm@gnu.org>
1402         * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
1404         * emacs-lisp/cl-extra.el (cl-prettyexpand):
1405         * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
1406         * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
1407         (cl-the, cl-compiler-macroexpand): Add basic doc strings.
1409         * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
1411 2012-11-10  Leo Liu  <sdl.web@gmail.com>
1413         * ido.el (ido-set-matches-1): Improve flex matching performance by
1414         removing backtracking in the regexp (suggested by Stefan).  (Bug#12796)
1416 2012-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
1418         * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
1419         (ad--defalias-fset): New function.
1420         (ad-safe-fset): Remove.
1421         (ad-make-freeze-definition): Use cl-letf*.
1423 2012-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
1425         * subr.el (dolist): Don't bind VAR in RESULT.
1427         * emacs-lisp/advice.el: Miscellaneous cleanup.  Use lexical-binding.
1428         (fset, documentation): Don't save real def since we don't advise.
1429         (ad-do-advised-functions): Remove problematic `result-form'.
1430         (ad-safe-fset): `ad-real-fset' => `fset'.
1431         (ad-read-advised-function): Don't assume that ad-do-advised-functions
1432         uses CL's dolist internally.
1433         (ad-arglist): Remove unused arg `name'.
1434         (ad-docstring, ad-make-advised-docstring):
1435         `ad-real-documentation' => `documentation'.
1436         (warning-suppress-types): Declare.
1437         (ad-set-arguments): Simple CSE.
1438         (ad-recover-normality): Sanity check.
1440         * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
1441         (funcall '(lambda ..) ..) into ((lambda ..) ..).
1443 2012-11-09  Vincent BelaĂ¯che  <vincentb1@users.sourceforge.net>
1445         * ses.el: symbol to coordinate mapping is made by symbol property
1446         `ses-cell'.  This means that the same mapping is done for all SES
1447         sheets.  That is good enough for cells with standard A1 names, but
1448         not for named cell.  So a hash map is added for the latter.
1449         (defconst ses-localvars): Add local variable ses--named-cell-hashmap
1450         (ses-sym-rowcol): Use hashmap for named cell.
1451         (ses-is-cell-sym-p): New defun.
1452         (ses-decode-cell-symbol): New defun.
1453         (ses-create-cell-variable): Add cell to hashmap when name is not
1454         A1-like.
1455         (ses-rename-cell): Check that cell new name is not already in
1456         spreadsheet with the use of ses-is-cell-sym-p
1457         (ses-rename-cell): Use hash map for named cells, but accept also
1458         renaming back to A1-like.
1460 2012-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
1462         * emacs-lisp/advice.el: Use new dynamic docstrings.
1463         (ad-make-advised-definition-docstring, ad-advised-definition-p):
1464         Use dynamic-docstring-function instead of ad-advice-info.
1465         (ad--make-advised-docstring): New function extracted from
1466         ad-make-advised-docstring.
1467         (ad-make-advised-docstring): Use it.
1468         * progmodes/sql.el (sql--make-help-docstring): New function, extracted
1469         from sql-help.
1470         (sql-help): Use it with dynamic-docstring-function.
1472         * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
1474 2012-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1476         * files.el (hack-one-local-variable--obsolete): New function.
1477         (hack-one-local-variable): Use it for obsolete settings.
1479         * subr.el (locate-user-emacs-file): If both old and new name exist, use
1480         the new name.
1482         * progmodes/js.el (js--filling-paragraph): New var.
1483         (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
1484         (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
1485         less sneaky.
1487 2012-11-08  Julien Danjou  <julien@danjou.info>
1489         * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
1490         `auto-mode-alist' (Bug#12835).
1492 2012-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1494         * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
1495         (perl--prettify-symbols-alist): New const.
1496         (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
1497         New functions.
1498         (perl-font-lock-keywords-2): Use them.
1499         (perl-electric-noindent-p): New function.
1500         (perl-mode): Use it to set up electric-indent-mode.
1501         (perl-electric-terminator, perl-indent-command): Mark obsolete.
1502         (perl-mode-map): Remove bindings for them.
1503         (perl-imenu-generic-expression, perl-outline-level):
1504         Match functions&packages in column>0.
1506         * env.el (env--substitute-vars-regexp): New const.
1507         (substitute-env-vars): Use it.  Add `only-defined' arg.
1508         * net/tramp.el (tramp-replace-environment-variables): Use it.
1510         * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
1511         Byte-compile *before* eval in eval-and-compile.
1512         (byte-compile-log-warning): Remove redundant inhibit-read-only.
1513         (byte-compile-file-form-autoload): Don't hide actual definition.
1514         (byte-compile-maybe-guarded): Accept `functionp' as well.
1516         * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
1518 2012-11-07  Michael Albinus  <michael.albinus@gmx.de>
1520         * notifications.el (notifications-get-server-information-method):
1521         New defconst.
1522         (notifications-get-capabilities): Fix docstring.
1523         (notifications-get-server-information): New defun.
1525 2012-11-06  AgustĂ­n MartĂ­n Domingo  <agustin.martin@hispalinux.es>
1527         * textmodes/ispell.el (ispell-region): Standard re-indent for better
1528         readability.
1530         * textmodes/ispell.el: Experimental support for support debugging.
1531         (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
1532         buffer for ispell.
1533         (ispell-print-if-debug): New function to print stuff to
1534         `ispell-debug-buffer' if debugging is enabled.
1535         (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
1536         show some debugging info.
1537         (ispell-buffer-with-debug): New function that creates a debugging
1538         buffer and calls `ispell-buffer' with debugging enabled.
1540         * textmodes/ispell.el (ispell-region): Do not prefix sent string by
1541         comment in autoconf mode. (Bug#12768)
1543 2012-11-06  Dmitry Antipov  <dmantipov@yandex.ru>
1545         * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
1546         frame-first-window, frame-root-window, frame-selected-window,
1547         minibuffer-selected-window, minibuffer-window,
1548         window-absolute-pixel-edges, window-at, window-body-height,
1549         window-body-width, window-display-table, window-combination-limit,
1550         window-frame, window-fringes, window-inside-absolute-pixel-edges,
1551         window-inside-edges, window-inside-pixel-edges, window-left-child,
1552         window-left-column, window-margins, window-next-buffers,
1553         window-next-sibling, window-new-normal, window-new-total,
1554         window-normal-size, window-parameter, window-parameters, window-parent,
1555         window-pixel-edges, window-point, window-prev-buffers,
1556         window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
1557         window-start, window-text-height, window-top-child, window-top-line,
1558         window-total-height, window-total-width and window-use-time to the list
1559         of functions without side-effects.
1560         (toplevel): Add window-valid-p to the list of error-free functions
1561         without side-effects.
1563 2012-11-05  AgustĂ­n MartĂ­n Domingo  <agustin.martin@hispalinux.es>
1565         * textmodes/ispell.el (ispell-program-name):
1566         Update spellchecker parameters when customized.
1568 2012-11-04  Glenn Morris  <rgm@gnu.org>
1570         * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn.  (Bug#7850)
1572 2012-11-04  Chong Yidong  <cyd@gnu.org>
1574         * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
1575         same-window-* variables.
1577 2012-11-04  Juri Linkov  <juri@jurta.org>
1579         * isearch.el (isearch-help-for-help, isearch-describe-bindings)
1580         (isearch-describe-key, isearch-describe-mode): Use a display
1581         action instead of binding same-window-* variables (Bug#10040).
1583 2012-11-03  Glenn Morris  <rgm@gnu.org>
1585         * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
1586         Rename handler properties back from cl-- to cl-.  (Bug#12788)
1588         * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
1590 2012-11-03  Eli Zaretskii  <eliz@gnu.org>
1592         * term/pc-win.el: Don't load term/internal from here.
1594         * loadup.el: Load term/internal from here.
1596 2012-11-03  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
1598         * progmodes/python.el (inferior-python-mode): Fix hang in
1599         jit-lock (Bug#12645).
1601 2012-11-03  Martin Rudalics  <rudalics@gmx.at>
1603         * window.el (switch-to-visible-buffer)
1604         (switch-to-buffer-preserve-window-point): Fix doc-strings.
1606 2012-11-03  Glenn Morris  <rgm@gnu.org>
1608         * emacs-lisp/cl-lib.el (cl--random-time):
1609         Rename from cl-random-time.  (Bug#12773)
1610         (cl--gensym-counter, cl--random-state): Update callers.
1611         * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
1613 2012-11-03  Chong Yidong  <cyd@gnu.org>
1615         * cus-start.el: Make cursor-type customizable (Bug#11633).
1617 2012-11-02  Glenn Morris  <rgm@gnu.org>
1619         * filecache.el: No need to load find-lisp when compiling.
1620         (find-lisp-find-files): Autoload it.
1621         (file-cache-add-directory-recursively): Don't require find-lisp.
1623         * image.el (image-type-from-file-name): Trivial simplification.
1625         * emacs-lisp/bytecomp.el (byte-compile-eval):
1626         Decouple "noruntime" and "cl-functions" warnings.
1628 2012-11-01  Stephen Berman  <stephen.berman@gmx.net>
1630         * play/gomoku.el (gomoku-display-statistics): Update mode line
1631         only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
1633 2012-10-31  Martin Rudalics  <rudalics@gmx.at>
1635         * window.el (quit-restore-window): If the window has been
1636         created on an existing frame and ended up as the sole window on
1637         that frame, do not delete it (Bug#12764).
1639 2012-10-31  Stefan Monnier  <monnier@iro.umontreal.ca>
1641         * progmodes/sh-script.el (sh--inside-noncommand-expression):
1642         Rename from sh--inside-arithmetic-expression, handle more cases
1643         (bug#11263).
1645         * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
1646         (sh-font-lock-open-heredoc): Use it (bug#12770).
1648 2012-10-30  Glenn Morris  <rgm@gnu.org>
1650         * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie.  Doc fix.
1652         * emacs-lisp/cl.el (letf): Doc fix.  (Bug#12760)
1654 2012-10-29  Chong Yidong  <cyd@gnu.org>
1656         * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
1657         function key is stored in a keyboard macro (Bug#4894).
1659         * thingatpt.el (number-at-point): Apply a thing-at-point property.
1661 2012-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
1663         * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
1664         header comments".
1665         (diff-unified->context, diff-context->unified)
1666         (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
1668         * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
1670         * files.el (find-alternate-file): Only ask one question (bug#12487).
1672 2012-10-29  Chong Yidong  <cyd@gnu.org>
1674         * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
1675         Suggested by Dan Nicolaescu (Bug#6326).
1677         * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
1679         * startup.el (fancy-about-screen): Don't message (Bug#12680).
1681         * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
1683         * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
1685         * face-remap.el (face-remap-add-relative): Handle the case where a
1686         face-remapping-alist entry is a cons cell (Bug#12762).
1688 2012-10-29  Kevin Ryde  <user42@zip.com.au>
1690         * woman.el (woman-parse-numeric-value): Handle picas correctly
1691         (Bug#12639).
1693 2012-10-29  Glenn Morris  <rgm@gnu.org>
1695         * emacs-lisp/cl.el (defsetf): Doc fix.
1697 2012-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
1699         * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
1700         syntax to the matching opener, if any (bug#12547).
1701         (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
1702         matching open as a "case-(".
1703         (sh-smie-rc-grammar): Add a corresponding rule for it.
1705 2012-10-28  Daniel Hackney  <dan@haxney.org>
1707         * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
1708         "PKGNAME-autoloads.el" in case we created it.
1710 2012-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1712         * minibuffer.el (completion--sifn-requote): Rewrite to handle things
1713         like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
1714         (completion--twq-all): Disable too-strict assertions.
1716         * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
1718 2012-10-27  Eli Zaretskii  <eliz@gnu.org>
1720         * profiler.el (profiler-report-make-entry-part): Fix help-echo
1721         text to match the real keybindings.
1723 2012-10-27  Juri Linkov  <juri@jurta.org>
1725         * wdired.el (wdired-keep-marker-rename): New defcustom.
1726         (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
1727         (Bug#11795)
1729         * dired.el (dired-keep-marker-rename): Add reference to
1730         `wdired-keep-marker-rename' in the docstring.
1731         Add default character value ?R to display initially in
1732         Customization UI instead of ?@.
1734 2012-10-27  Martin Rudalics  <rudalics@gmx.at>
1736         * window.el (display-buffer): In doc-string describe
1737         window-height and window-width alist entries.
1739         * time.el (display-time-world): Restore fit-window-to-buffer
1740         behavior.
1742 2012-10-27  Chong Yidong  <cyd@gnu.org>
1744         * subr.el (insert-buffer-substring-as-yank): Doc fix.
1746 2012-10-26  Jambunathan K  <kjambunathan@gmail.com>
1748         * minibuffer.el (completion-category-overrides): New completion
1749         category `bookmark' (bug#11131).
1751 2012-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
1753         * emacs-lisp/advice.el (ad-assemble-advised-definition):
1754         Silence bogus compiler warnings for ad-do-it.
1756         * bookmark.el (bookmark-completing-read): Set the completion category
1757         to `bookmark' (bug#11131).
1759 2012-10-26  Bastien  <bzg@altern.org>
1760             Stefan Monnier  <monnier@iro.umontreal.ca>
1762         * face-remap.el: Use lexical-binding.
1763         (text-scale-adjust): Improve docstring.  Use itself for the temporary
1764         overlay-map bindings, so as to repeat the "Use..." message each time.
1766 2012-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
1768         * emacs-lisp/macroexp.el (macroexp--expand-all):
1769         Obey byte-compile-warning-enabled-p (bug#12486).
1771         * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
1772         (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
1774 2012-10-26  Martin Rudalics  <rudalics@gmx.at>
1776         * mouse.el (mouse-drag-line): Move last form into preceding when
1777         clause (Bug#12731).
1779         * help.el (resize-temp-buffer-window): Fix doc-string.
1781 2012-10-25  David Engster  <deng@randomsample.de>
1783         * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
1784         Remove.  This feature is already integrated in imenu.
1786         * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
1787         always loaded.  Require `speedbar' unconditionally.
1789 2012-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
1791         * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
1793         * minibuffer.el (minibuffer-force-complete): Fix thinko.
1795         * net/ldap.el (ldap-search-internal): The official ldif format starts
1796         with a "version: 1" header (bug#12724).
1798         * emacs-lisp/package.el (package-installed-p): Warn if not ready
1799         (bug#12721).
1801 2012-10-25  Glenn Morris  <rgm@gnu.org>
1803         * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
1805 2012-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
1807         * minibuffer.el (minibuffer-force-complete): Use one more marker
1808         for the temporary-overlay-map command (bug#12619).
1810 2012-10-24  Chong Yidong  <cyd@gnu.org>
1812         * time.el (display-time-world-mode): Derive from special-mode.
1813         (display-time-world): Use display-buffer (Bug#12708).
1814         (display-time-world-mode-map): Variable deleted.
1815         (display-time-world-display): Wrap the final delete-char inside
1816         inhibit-read-only.
1818 2012-10-24  Chong Yidong  <cyd@gnu.org>
1820         * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
1821         Doc fix.
1823         * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
1825 2012-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
1827         * minibuffer.el (completion--all-sorted-completions-location): New var.
1828         (completion--cache-all-sorted-completions)
1829         (completion--flush-all-sorted-completions): Use it.
1830         (completion-in-region, completion-in-region--postch)
1831         (completion-at-point, completion-help-at-point): Use markers in
1832         completion-in-region--data (bug#12619).
1834 2012-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
1836         * progmodes/compile.el (compilation-start): Try to handle common
1837         quoting of `cd' argument (bug#12640).
1839         * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
1840         (bug#12671).
1842 2012-10-23  Glenn Morris  <rgm@gnu.org>
1844         * progmodes/gud.el (gud-menu-map):
1845         Check gdb-active-process is bound.  (Bug#12358)
1847 2012-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
1849         * repeat.el (repeat): Set real-this-command (bug#12232).
1851         * htmlfontify.el (hfy-post-html-hook):
1852         * filesets.el (filesets-cache-fill-content-hook):
1853         * arc-mode.el (archive-extract-hook):
1854         * progmodes/cc-mode.el (c-prepare-bug-report-hook):
1855         * net/rcirc.el (rcirc-sentinel-functions)
1856         (rcirc-receive-message-functions, rcirc-activity-functions)
1857         (rcirc-print-functions):
1858         * net/dbus.el (dbus-event-error-functions):
1859         * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
1860         * emacs-lisp/checkdoc.el (checkdoc-style-functions)
1861         (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
1862         * term/sun.el (sun-raw-prefix-hooks):
1863         * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
1865 2012-10-23  Michael Albinus  <michael.albinus@gmx.de>
1867         * net/tramp-smb.el (tramp-smb-maybe-open-connection):
1868         Set `tramp-chunksize' to 1.  This improves the performance.
1869         (tramp-smb-wait-for-output): Add timeout to
1870         `tramp-accept-process-output' calls.
1872 2012-10-23  Chong Yidong  <cyd@gnu.org>
1874         * faces.el (font-list-limit): Define as an obsolete variable.
1876         * startup.el (command-line):
1877         * cus-start.el: Don't refer to font-list-limit.
1879         * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
1881 2012-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
1883         * subr.el (internal-temp-output-buffer-show): Rename from
1884         temp-output-buffer-show, since previously compiled files expect this name.
1886 2012-10-23  Glenn Morris  <rgm@gnu.org>
1888         * image.el (image-type-from-file-name): If multiple types match,
1889         return the first one that is supported.  (Bug#9045)
1891 2012-10-22  Glenn Morris  <rgm@gnu.org>
1893         * image.el (imagemagick-enabled-types): Doc fix.
1895 2012-10-22  Takafumi Arakaki  <aka.tkf@gmail.com>  (tiny change)
1897         * progmodes/which-func.el (which-func-current): The hash-table may have
1898         an explicit nil (bug#12338).
1900 2012-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
1902         * electric.el (electric-pair-delete-selection-self-insert-function):
1903         Rename to electric-pair-will-use-region, return a boolean.
1904         (electric-pair-mode): Adjust accordingly.  Don't require delsel.
1906         * delsel.el (delete-selection-helper): Use a function instead of a hook.
1907         (delete-selection-pre-hook): Use use-region-p.
1908         (delete-selection-self-insert-function): Remove.
1909         (self-insert-command): Obey self-insert-uses-region-functions.
1910         (self-insert-iso): Revert to previous setting, since we don't actually
1911         know what that command does.
1912         (delete-selection-self-insert-hooks): Remove.
1914 2012-10-22  Simon Law  <sfllaw@sfllaw.ca>  (tiny change)
1916         * delsel.el (delete-selection-helper): New function, extracted from
1917         delete-selection-pre-hook.
1918         (delete-selection-pre-hook): Use it.
1919         (delete-selection-self-insert-function): New function.
1920         (delete-selection-self-insert-hooks): New hook.
1921         (self-insert-command, self-insert-iso): Use it.
1922         * electric.el (electric-pair-syntax): New function, extracted from
1923         electric-pair-post-self-insert-function.
1924         (electric-pair-post-self-insert-function): Use it.
1925         (electric-pair-delete-selection-self-insert-function): New function.
1926         (electric-pair-mode): Require delsel and setup
1927         delete-selection-self-insert-hooks (bug#11520).
1929 2012-10-20  Chong Yidong  <cyd@gnu.org>
1931         * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
1932         no changes to show (Bug#12586).
1934         * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
1935         list explicitly (Bug#12571).
1937 2012-10-20  Arne Jørgensen  <arne@arnested.dk>
1939         * progmodes/flymake.el (flymake-create-temp-inplace):
1940         Use file-truename.
1942 2012-10-20  Eli Zaretskii  <eliz@gnu.org>
1944         * loadup.el: Update comment about uncompiled Lisp files.  (Bug#12395)
1946 2012-10-20  Jay Belanger  <jay.p.belanger@gmail.com>
1948         * calc/calc-units.el (math-extract-units): Properly extract powers
1949         of units.
1951 2012-10-20  Daniel Colascione  <dancol@dancol.org>
1953         * frame.el (make-frame): Set x-display-name as we used to in order
1954         to unbreak creating an X11 frame from an Emacs daemon started
1955         without a display.
1957 2012-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
1959         * minibuffer.el (minibuffer-force-complete): Make the next completion use
1960         the same completion-field (bug#12221).
1962 2012-10-19  Martin Rudalics  <rudalics@gmx.at>
1964         * emacs-lisp/debug.el (debug): Record height of debugger window
1965         also when debugger will be back (Bug#8789).
1967 2012-10-18  Chong Yidong  <cyd@gnu.org>
1969         * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
1970         Convert to defcustom.
1971         (gdb-get-source-file): Don't bind pop-up-windows.
1973         * progmodes/gud.el (gud-display-line): Don't specially re-use
1974         other frames for the gdb-mi case (Bug#12648).
1976 2012-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
1978         * emacs-lisp/advice.el: Clean up commentary a bit.
1979         (ad-do-advised-functions, ad-with-originals): Use `declare'.
1980         (byte-code-function-p): Never redefine.
1982         * emacs-lisp/gv.el (cond): Same fix as before for `if'.
1984 2012-10-18  Glenn Morris  <rgm@gnu.org>
1986         * dired.el (dired-sort-toggle): Some ls implementations only allow
1987         a single option string.  (Bug#12666)
1989         * minibuffer.el (completion-cycle-threshold): Doc fix.
1991 2012-10-17  Kenichi Handa  <handa@gnu.org>
1993         * international/mule.el (set-keyboard-coding-system):
1994         Recover input meta mode when the new coding system doesn not use 8-bit.
1995         Supply TERMINAL arg to set-input-meta-mode.
1997 2012-10-17  Michael Heerdegen <michael_heerdegen@web.de>
1999         * wdired.el (wdired-old-marks): New variable.
2000         (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
2001         (wdired-do-renames): Move point with renamed file and don't lose
2002         mark status (Bug#11795).
2004 2012-10-16  Juri Linkov  <juri@jurta.org>
2006         * replace.el (query-replace-help): Mention multi-buffer replacement
2007         keys in the Help message.  (Bug#12655)
2009 2012-10-15  Chong Yidong  <cyd@gnu.org>
2011         * emacs-lisp/byte-run.el (defsubst): Doc fix.
2013 2012-10-14  Eli Zaretskii  <eliz@gnu.org>
2015         * window.el (display-buffer): Doc fix.
2017         * progmodes/compile.el (compilation-error-regexp-alist-alist):
2018         Adjust the msft regexp to the output of Studio 2010, and move msft
2019         before edg-1.  See the discussion on emacs-devel,
2020         http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
2021         for the details.
2023 2012-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
2025         * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
2026         (oset): Move uses of object-class-fast macro after its definition.
2028         * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
2030 2012-10-13  Chong Yidong  <cyd@gnu.org>
2032         * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
2033         enabled, re-enable it (Bug#11963).
2035 2012-10-13  Martin Rudalics  <rudalics@gmx.at>
2037         * emacs-lisp/debug.el (debug): When debugger-will-be-back is
2038         non-nil, restore window configuration (Bug#12623).
2040 2012-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
2042         * help-fns.el (describe-variable, describe-function-1):
2043         * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
2045         * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
2047 2012-10-12  Glenn Morris  <rgm@gnu.org>
2049         * mail/rmailsum.el (rmail-header-summary):
2050         Fix 2010-11-26 test for multiline Subject: field.  (Bug#12625)
2052 2012-10-12  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
2054         * progmodes/python.el (python-mode-map):
2055         Replace subtitute-key-definition with proper command remapping.
2056         (python-nav--up-list): Fix behavior for blocks on the same level.
2058 2012-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
2060         * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
2062         * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
2063         changes to the format of load-history.
2065         * international/mule-cmds.el (read-char-by-name): Move let-binding of
2066         completion-ignore-case in case that var is buffer-local (bug#12615).
2068 2012-10-11  Kenichi Handa  <handa@gnu.org>
2070         * international/eucjp-ms.el: Re-generated.
2072 2012-10-10  Kenichi Handa  <handa@gnu.org>
2074         * select.el (xselect--encode-string): If a coding is specified for
2075         selection, and that is compatible with COMPOUND_TEXT, use it.
2077 2012-10-10  Martin Rudalics  <rudalics@gmx.at>
2079         * window.el (switch-to-buffer-preserve-window-point): New option.
2080         (switch-to-buffer):
2081         Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
2083 2012-10-09  Stefan Monnier  <monnier@iro.umontreal.ca>
2085         * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
2086         Don't document nil as a useful value (bug#12583).
2088 2012-10-09  Michael Albinus  <michael.albinus@gmx.de>
2090         * net/tramp.el (tramp-debug-message):
2091         Remove "tramp-with-progress-reporter" from regexp of ignored functions.
2092         (with-tramp-progress-reporter): Rename from
2093         `tramp-with-progress-reporter'.
2094         (with-tramp-file-property, with-tramp-connection-property):
2095         Move from tramp-cache.el, rename from `with-file-property' and
2096         `with-connection-property', respectively.
2098         * net/tramp-cache.el: Remove `with-file-property' and
2099         `with-connection-property'.
2101         * net/tramp.el:
2102         * net/tramp-gvfs.el:
2103         * net/tramp-sh.el:
2104         * net/tramp-smb.el: Adapt callees.
2106         * net/trampver.el: Update release number.
2108 2012-10-09  Glenn Morris  <rgm@gnu.org>
2110         * w32-fns.el (set-message-beep):
2111         * term/w32-win.el (set-message-beep): Update declarations.
2113 2012-10-09  Stefan Monnier  <monnier@iro.umontreal.ca>
2115         * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
2116         (mode-line-widen, mode-line-input-method-map)
2117         (mode-line-coding-system-map, mode-line-remote)
2118         (mode-line-unbury-buffer, mode-line-bury-buffer)
2119         (mode-line-next-buffer, mode-line-previous-buffer):
2120         Replace save-selected-window+select-window => with-selected-window.
2122         * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
2123         * progmodes/cc-vars.el (bq-process): Remove, unused.
2125         * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
2127 2012-10-09  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
2129         Implemented `backward-up-list'-like navigation.
2130         * progmodes/python.el (python-nav-up-list)
2131         (python-nav-backward-up-list): New functions.
2132         (python-mode-map): Define substitute key for backward-up-list to
2133         python-nav-backward-up-list.
2135 2012-10-08  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
2137         * progmodes/python.el (python-fill-paragraph): Rename from
2138         python-fill-paragraph-function.  Fixed fill-paragraph for
2139         decorators (Bug#12605).
2141 2012-10-08  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
2143         * progmodes/python.el (python-shell-output-filter): Handle extra
2144         carriage return in OSX (Bug#12409).
2146 2012-10-08  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
2148         Fix shell handling of unbalanced quotes and parens in output.
2149         * progmodes/python.el (python-rx-constituents): Add string-delimiter.
2150         (python-syntax-propertize-function): Use it.
2151         (python-shell-output-syntax-table): New var.
2152         (inferior-python-mode): Prevent unbalanced parens/quotes from
2153         previous output mess with current input context.
2155 2012-10-08  Juanma Barranquero  <lekktu@gmail.com>
2157         * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
2158         Make obsolete aliases of js-mode and js-mode-hook (from js.el).
2160 2012-10-08  Michael Albinus  <michael.albinus@gmx.de>
2162         * ffap.el (ffap-replace-file-component): Support Tramp file name
2163         syntax, not only ange-ftp's one.
2165 2012-10-08  Glenn Morris  <rgm@gnu.org>
2167         * cus-start.el (message-log-max): Set :version.
2169         * calendar/calendar.el (calendar-intermonth-header): Doc fix.
2171 2012-10-08  Martin Rudalics  <rudalics@gmx.at>
2173         * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
2174         the minibuffer window (Bug#10851).
2176 2012-10-08  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
2178         Enhancements on forward-sexp movement.
2179         * progmodes/python.el (python-nav-beginning-of-statement)
2180         (python-nav-end-of-statement): Return point-marker.
2181         (python-nav-forward-sexp): lisp-like forward-sexp behavior.
2182         (python-info-current-symbol)
2183         (python-info-statement-starts-block-p): Rename from
2184         python-info-beginning-of-block-p.
2185         (python-info-statement-ends-block-p): Rename from
2186         python-info-end-of-block-p.
2187         (python-info-beginning-of-statement-p)
2188         (python-info-end-of-statement-p)
2189         (python-info-beginning-of-block-p, python-info-end-of-block-p):
2190         New functions.
2192 2012-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2194         * comint.el (comint-preinput-scroll-to-bottom): Preserve the
2195         frame-selected-windows.
2197 2012-10-08  Daniel Colascione  <dancol@dancol.org>
2199         * battery.el (battery-status-function): Check for
2200         w32-battery-status itself, not system-time windows-nt.
2202         * frame.el: Require cl-lib.
2203         (display-format-alist): New variable mapping frame types to
2204         functions that initialize them.
2205         (window-system-for-display): New function: interprets
2206         display-format-alist.
2207         (make-frame-on-display): Remove existing display-selection logic
2208         and just forward to make-frame, which will now DTRT.
2209         (make-frame): Restructure to use window-system-for-display to
2210         figure out how to create a frame on a given display.
2211         (display-mouse-p): Look for frame-type w32, not a particular
2212         system-type.
2214         * loadup.el: Load w32 lisp code when we have the w32 feature.
2216         * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
2217         system-type windows-nt.
2219         * server.el (server-create-window-system-frame): Look for window
2220         type.
2221         (server-proces-filter): Only force a window system when windows-nt
2222         _and_ w32.  Explain why.
2224         * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
2225         of window systems we configure for the mode.
2227         * startup.el (command-line): Mark window system is initialized
2228         after we've done it.
2230         * common-win.el (x-select-text): Look for w32, not windows-nt.
2232         * ns-win.el: Require cl-lib.  Add ourselves to
2233         display-format-alist.
2234         (ns-initialize-window-system): Assert we're not initialized twice.
2236         * w32-win.el: Enable lexical binding; require cl-lib; add
2237         ourselves to display-format-alist.
2238         (w32-handle-dropped-file): Convert incoming dropped files from
2239         Windows paths to Cygwin ones before passing them on to the rest of
2240         Emacs.
2241         (w32-drag-n-drop): New paramter new-frame.  Simplify logic.
2242         (w32-initialize-window-system): Assert we're not initialized twice.
2244         * x-win.el: Require cl-lib; add ourselves to display-format-alist.
2245         (x-initialize-window-system): Assert we're not initialized twice.
2247         * w32-common-fns.el: New File.
2248         (w32-version, w32-using-nt, w32-get-clipboard-data)
2249         (w32-set-clipboard-data, x-set-selection, x-get-selection)
2250         (w32-charset-info-alist, x-last-selected, text)
2251         (x-get-selection-value, x-selection-value): Move here.
2253         * w32-fns.el: Require w32-common-fns.
2254         (w32-version, w32-using-nt, w32-get-clipboard-data)
2255         (w32-set-clipboard-data, x-set-selection, x-get-selection)
2256         (w32-charset-info-alist, x-last-selected, text)
2257         (x-get-selection-value, x-selection-value): Move to
2258         w32-common-fns.
2260         * w32-vars.el:
2261         (w32-allow-system-shell, w32-system-shells): Define only in
2262         non-cygwin case.
2264 2012-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
2266         * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
2267         (read-passwd): Remove a few more potential sources of leaks.
2269 2012-10-07  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
2271         * progmodes/python.el (inferior-python-mode)
2272         (python-shell-make-comint): Fix initialization of local
2273         variables copied from parent buffer.
2275 2012-10-07  Jan Djärv  <jan.h.d@swipnet.se>
2277         * term/ns-win.el (ns-read-file-name): Update declaration to match
2278         nsfns.m.
2279         (ns-respond-to-change-font): Change fontsize separatly so we are sure
2280         it is set when font is acted upon.
2282 2012-10-07  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
2284         Enhancements to indentation.
2285         * progmodes/python.el (python-indent-context): Give priority to
2286         inside-string context.  Make comments indentation markers.
2287         (python-indent-region): Do not mess with strings, unless it's the
2288         enclosing set of quotes.
2290 2012-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
2292         * window.el (internal--before-save-selected-window)
2293         (internal--after-save-selected-window): New functions extracted from
2294         save-selected-window.  Make sure we return the `alist' we construct.
2295         (save-selected-window): Use them.
2297         * textmodes/tex-mode.el (tex-recenter-output-buffer):
2298         Use with-selected-window.
2300         * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
2301         forms that define macros (bug#12593).
2303 2012-10-07  Kenichi Handa  <handa@gnu.org>
2305         * international/mule-conf.el (compound-text-with-extensions):
2306         Add :mime-charset property as x-ctext.
2308 2012-10-07  Stefan Merten  <smerten@oekonux.de>
2310         * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
2311         (rst-indent-literal-normal, rst-indent-literal-minimized)
2312         (rst-indent-comment): Correct :version tag.
2313         (rst-official-cvs-rev): Correct version string.
2315 2012-10-07  Glenn Morris  <rgm@gnu.org>
2317         * mail/rmailmm.el (rmail-mime-process-multipart):
2318         Do not confuse a multipart message with an epilogue
2319         with a "truncated" one; fixes 2011-06-27 change.  (Bug#10101)
2321 2012-10-07  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
2323         Fix shell output retrieval and comint-prompt-regexp init.
2324         * progmodes/python.el (inferior-python-mode):
2325         (python-shell-make-comint): Fix initialization of
2326         comint-prompt-regexp from copied file local variables.
2327         (python-shell-fetched-lines): Remove var.
2328         (python-shell-output-filter-in-progress): Rename from
2329         python-shell-fetch-lines-in-progress.
2330         (python-shell-output-filter-buffer): Rename from
2331         python-shell-fetch-lines-string.
2332         (python-shell-fetch-lines-filter): Delete function.
2333         (python-shell-output-filter): New function.
2334         (python-shell-send-string-no-output): Use them.
2336 2012-10-07  Glenn Morris  <rgm@gnu.org>
2338         * hi-lock.el (hi-lock-process-phrase):
2339         Try to make it less fragile.  (Bug#7161)
2341         * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
2343 2012-10-06  Glenn Morris  <rgm@gnu.org>
2345         * ehelp.el (electric-help-mode): Use help-mode rather than
2346         non-existent mode `help'.
2347         (electric-help-map): Use button-buffer-map.  (Bug#10917)
2349         * textmodes/reftex-vars.el (reftex-create-bibtex-header)
2350         (reftex-create-bibtex-footer): Fix custom types.
2352         * progmodes/sh-script.el (sh-indent-after-continuation):
2353         Add explicit :group.
2355         * textmodes/rst.el (rst-preferred-decorations)
2356         (rst-shift-basic-offset): Clarify obsolescence versions.
2358         * profiler.el (profiler): Add missing group :version tag.
2359         * avoid.el (mouse-avoidance-banish-position):
2360         * proced.el (proced-renice-command):
2361         * calc/calc.el (calc-ensure-consistent-units):
2362         * calendar/icalendar.el (icalendar-import-format-uid):
2363         * net/tramp.el (tramp-save-ad-hoc-proxies):
2364         * progmodes/bug-reference.el (bug-reference-bug-regexp):
2365         * progmodes/flymake.el (flymake-error-bitmap)
2366         (flymake-warning-bitmap, flymake-fringe-indicator-position):
2367         * progmodes/sh-script.el (sh-indent-after-continuation):
2368         * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
2369         (verilog-before-save-font-hook, verilog-after-save-font-hook):
2370         * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
2371         (vhdl-array-index-record-field-in-sensitivity-list)
2372         (vhdl-indent-comment-like-next-code-line):
2373         * textmodes/reftex-vars.el (reftex-ref-style-alist)
2374         (reftex-ref-macro-prompt, reftex-ref-style-default-list)
2375         (reftex-cite-key-separator, reftex-create-bibtex-header)
2376         (reftex-create-bibtex-footer):
2377         * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
2378         (rst-indent-literal-normal, rst-indent-literal-minimized)
2379         (rst-indent-comment): Add missing custom :version tags.
2381         * calendar/timeclock.el (timeclock-modeline-display):
2382         Add missing obsolete alias for renamed user option.
2384         * strokes.el (strokes-modeline-string):
2385         * emulation/crisp.el (crisp-mode-modeline-string):
2386         * eshell/esh-mode.el (eshell-status-in-modeline):
2387         Aliases to defcustoms must come before the defcustom.
2389         * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
2390         (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
2391         (cal-tex-cursor-week-monday): Doc fixes.
2392         (cal-tex-cursor-week2-summary): Doc fix.
2393         Rename from cal-tex-cursor-week-at-a-glance.
2395         * calendar/cal-menu.el (cal-menu-context-mouse-menu):
2396         Tweak week descriptions.  Add cal-tex-cursor-week2-summary.
2398         * calendar/calendar.el (calendar-mode-map):
2399         Add cal-tex-cursor-week2-summary.
2401 2012-10-06  Stefan Monnier  <monnier@iro.umontreal.ca>
2403         * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
2405         * subr.el (read-passwd-map): New var.
2406         (read-passwd): Use `read-string' again.
2407         * minibuffer.el (delete-minibuffer-contents): Make it interactive.
2409 2012-10-06  Jambunathan K  <kjambunathan@gmail.com>
2411         * register.el (append-to-register, prepend-to-register):
2412         Deactivate mark, as does `copy-to-register' (bug#12389).
2414 2012-10-06  Chong Yidong  <cyd@gnu.org>
2416         * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
2418 2012-10-06  Ikumi Keita  <ikumi@ikumi.que.jp>  (tiny change)
2420         * international/characters.el: Fix simple mistake ((car chars) ->
2421         elt), delete duplicated code.
2423 2012-10-06  Glenn Morris  <rgm@gnu.org>
2425         * subr.el (read-passwd): Allow C-u to erase entry.  (Bug#12570)
2427 2012-10-06  Julian Scheid  <julians37@gmail.com>  (tiny change)
2429         * color.el (color-hsl-to-rgb): Fix incorrect results for
2430         small and large hue values.  (Bug#12559)
2432 2012-10-05  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
2434         Enhancements to docstring formatting when filling paragraphs.
2435         * progmodes/python.el (python-fill-docstring-style): Rename from
2436         python-fill-string-style.  Added new style.
2437         (python-fill-string): Use new style.  Better checks for
2438         docstrings.
2440 2012-10-05  Glenn Morris  <rgm@gnu.org>
2442         * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
2444         * color.el (color-name-to-rgb, color-rgb-to-hex)
2445         (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
2446         (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
2447         (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
2448         (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
2450         * emacs-lisp/timer.el (with-timeout): Add missing progn.  (Bug#12577)
2452 2012-10-05  Juanma Barranquero  <lekktu@gmail.com>
2454         * ido.el (ido-directory-too-big-p): Pass dir through file-truename
2455         to get the correct size across symlinks.
2457         * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
2459 2012-10-04  Juri Linkov  <juri@jurta.org>
2461         * replace.el (query-replace-interactive): Declare obsolete.
2462         (query-replace-read-from): Add the last incremental search string
2463         to the list of default values accessible via M-n.
2464         (map-query-replace-regexp): Use `read-regexp'.
2465         (query-replace, query-replace-regexp, query-replace-regexp-eval)
2466         (map-query-replace-regexp, replace-string, replace-regexp):
2467         Fix docstrings to replace mentions of `query-replace-interactive'
2468         with alternatives.  (Bug#12526)
2470 2012-10-04  Juri Linkov  <juri@jurta.org>
2472         * dired.el (dired-shrink-to-fit): Declare obsolete.  (Bug#1806)
2473         (dired-pop-to-buffer): Declare obsolete.
2474         (dired-mark-pop-up): Doc fix.
2476 2012-10-04  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
2478         Allow user to set docstring style for fill-paragraph.
2479         * progmodes/python.el
2480         (python-fill-comment-function, python-fill-string-function)
2481         (python-fill-decorator-function, python-fill-paren-function):
2482         Remove :safe for defcustoms.
2483         (python-fill-string-style): New defcustom
2484         (python-fill-paragraph-function): Enhance context detection.
2485         (python-fill-string): Honor python-fill-string-style settings.
2487 2012-10-04  Martin Rudalics  <rudalics@gmx.at>
2489         * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
2490         after setting its buffer (Bug#10805).
2492 2012-10-03  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
2494         Fix cornercase for string syntax.
2495         * progmodes/python.el (python-syntax-propertize-function):
2496         Simplify and enhance the regexp for unescaped quotes.  Now it also
2497         matches quotes in weird situations like the single quote in
2498         "something\"'".
2499         (python-syntax-stringify): Simplify num-quotes detecting code.
2501 2012-10-03  Glenn Morris  <rgm@gnu.org>
2503         * help-macro.el (three-step-help):
2504         Revert 2012-09-29 change.  (Bug#12567)
2506 2012-10-03  Martin Rudalics  <rudalics@gmx.at>
2508         * menu-bar.el (kill-this-buffer): Don't do anything when
2509         `menu-frame' is not alive or visible (Bug#8184).
2511         * emacs-lisp/debug.el (debug): When quitting the debugger window
2512         restore current buffer (Bug#12502).
2514 2012-10-02  Chong Yidong  <cyd@gnu.org>
2516         * progmodes/hideif.el (hif-lookup, hif-defined):
2517         Handle semantic-c-takeover-hideif.
2519 2012-10-02  Paul Eggert  <eggert@cs.ucla.edu>
2521         Change sampling interval units from ms to ns.
2522         * profiler.el (profiler-sampling-interval): Change units
2523         from ms to ns, multiplying the default by 1000000 so that
2524         it remains 1 ms.
2525         (profiler-report-cpu-line-format): Give enough room for
2526         the maximum counters on 64-bit hosts.
2527         (profiler-report-render-calltree-1): Call them "CPU samples",
2528         not "Time (ms)", since they are not milliseconds now (and
2529         never really were).
2531 2012-10-02  Sergio Durigan Junior  <sergiodj@riseup.net>  (tiny change)
2533         * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
2534         Fix querying BBDB for entries without a last name (Bug#11580).
2536 2012-10-02  Chong Yidong  <cyd@gnu.org>
2538         * emacs-lisp/eieio.el: Restore Version header.
2540 2012-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
2542         * vc/diff-mode.el (diff--auto-refine-data): New var.
2543         (diff-hunk): Use it to delay refinement.
2544         (diff-mode): Remove overlays when we turn off font-lock.
2546         * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
2547         (table-initialize-table-fixed-width-mode)
2548         (table-set-table-fixed-width-mode): Remove functions.
2549         (table-command-list): Move initialization into declaration.
2550         (table--tweak-menu-for-xemacs): Move defun outside mapcar.
2551         (table-with-cache-buffer): Use `declare'.
2552         (table-span-cell): Simplify via CSE.
2553         (table-fixed-width-mode): Use define-minor-mode.
2554         (table-call-interactively, table-funcall, table-apply): Remove.
2555         (table-function): New function, to replace them.
2557         * bookmark.el (bookmark-search-pattern): Remove var.
2558         (bookmark-read-search-input): Remove function.
2559         (bookmark-bmenu-search): Reimplement using a minibuffer.
2561         * faces.el (modeline): Remove obsolete face name.
2563         * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
2564         and give a non-nil default value.
2565         (add-change-log-entry): Simplify accordingly.
2567 2012-10-01  Dmitry Gutov  <dgutov@yandex.ru>
2569         * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
2570         (vc-git-log-edit-toggle-amend): New function.
2571         (vc-git-log-edit-toggle-signoff): New function.
2572         (vc-git-log-edit-mode): New major mode.
2573         (vc-git-log-edit-mode-map): Keymap for it.
2574         (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
2576         * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
2577         header names.
2578         (log-edit-toggle-header): New function.
2579         (log-edit-extract-headers): Accept function values in HEADERS alist.
2581 2012-10-01  David Engster  <deng@randomsample.de>
2583         * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
2584         from symbol property and change message to be more consistent with
2585         Emacs proper.
2586         (eieio-describe-generic): Add filename for each implementation.
2587         Fix indices for generic and normal methods.
2588         (eieio-method-def, eieio-class-def): New buttons.
2589         (eieio-help-find-method-definition)
2590         (eieio-help-find-class-definition): New functions.
2591         (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
2592         class, constructor and method definitions.
2594         * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
2595         information in symbol property.
2596         (scoped-class): Remove.
2597         (eieio-slot-name-index, call-next-method): Check if it is bound.
2599 2012-10-01  Leo P. White  <lpw25@cam.ac.uk>
2601         * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
2602         (eieio-custom-mode): New major mode.
2603         (eieio-customize-object): Use it.
2605 2012-10-01  Eric Ludlam  <zappo@gnu.org>
2607         * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
2608         specifying the expected class, and whether subclassing is allowed.
2609         (eieio-persistent-convert-list-to-object):
2610         (eieio-persistent-validate/fix-slot-value)
2611         (eieio-persistent-slot-type-is-class-p): New functions.
2612         (eieio-named::slot-missing): Doc fix.
2614         * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
2615         Stop using unused publd variable.
2617         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
2618         (eieio-speedbar-description, eieio-speedbar-derive-line-path)
2619         (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
2620         (eieio-speedbar-handle-click): Do not specify a class for the
2621         method.  Fixes method invocation order problems with EDE.
2623 2012-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
2625         * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
2626         (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
2628 2012-10-01  Karl Fogel  <kfogel@red-bean.com>
2630         * bookmark.el (bookmark-version-control): Give tags in the
2631         :type choices (Bug#12309), and improve doc string.
2632         (bookmark-write-file): Bind `print-circle' to `t' to allow
2633         circular custom bookmark types.  (Bug#12503)
2635 2012-10-01  Paul Eggert  <eggert@cs.ucla.edu>
2637         Revert the FOLLOW-SYMLINKS change for file-attributes.
2638         * files.el (remote-file-name-inhibit-cache, after-find-file):
2639         * time.el (display-time-file-nonempty-p): Undo last change.
2641         * profiler.el (profiler-sampling-interval): Change default back to 1.
2642         See Stefan Monnier in
2643         <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
2645 2012-10-01  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
2647         Shell output catching a la gud-gdb.
2648         * progmodes/python.el (python-shell-fetch-lines-in-progress)
2649         (python-shell-fetch-lines-string, python-shell-fetched-lines):
2650         New Vars.
2651         (python-shell-fetch-lines-filter): New function.
2652         (python-shell-send-string-no-output): Use them.
2654 2012-09-30  Tomohiro Matsuyama  <tomo@cx4a.org>
2656         * profiler.el (profiler-sampling-interval): Rename from
2657         profiler-sample-interval.
2658         (profiler-sampling-interval): Default to 10.
2659         (profiler-find-profile): New command (was profiler-find-log).
2660         (profiler-find-profile-other-window): New command.
2661         (profiler-find-profile-other-frame): New command.
2662         (profiler-profile): Introduce API-level data structure.
2664 2012-09-30  Paul Eggert  <eggert@cs.ucla.edu>
2666         file-attributes has a new optional arg FOLLOW-SYMLINKS.
2667         * files.el (remote-file-name-inhibit-cache):
2668         * time.el (display-time-file-nonempty-p): Use it.
2669         * files.el (after-find-file): Don't chase links before calling
2670         file-exists-p, as file-exists-p already does the right thing.
2672 2012-09-30  Ralf Angeli  <angeli@caeruleus.net>
2674         Merge from standalone RefTeX repository.
2676         The following ChangeLog entries are shortened versions of the
2677         original ones with file paths adapted.  A not so strongly edited
2678         version of the original ChangeLog can be found in the commit log.
2680         * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
2681         (reftex-arg-cite): Use `reftex-cite-key-separator'.
2682         Correctly handle new value type returned by `reftex-citation'.
2684         * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
2685         that entries with whitespace at various places are found.
2686         Doc fix. Include entries that are cross-referenced from cited entries.
2687         Include @String definitions in the resulting bib file.  Add header
2688         and footer defined in `reftex-create-bibtex-header' and
2689         `reftex-create-bibtex-footer'.
2690         (reftex-do-citation): Make it possible again to insert
2691         non-existent entries.  Save match data when asking for optional
2692         arguments. Return all keys, not just the first one.
2693         (reftex-all-used-citation-keys): Fix regexp to correctly extract
2694         all citations in the same line.
2695         (reftex-parse-bibtex-entry): Accept additional optional argument
2696         `raw' and keep quotes or braces if it is non-nil.  Match fields
2697         containing hyphens besides word constituents.
2698         (reftex-get-string-refs): New function.
2699         (reftex-extract-bib-entries): Check if BibTeX file changed on disk
2700         and ask if it should be reread in case it did.
2701         (reftex-pop-to-bibtex-entry)
2702         (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
2703         entries with spaces or tabs in front of arguments.
2704         (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
2705         (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
2706         Match entries containing numbers and symbol constituents.
2707         (reftex-do-citation, reftex-figure-out-cite-format):
2708         Use `reftex-cite-key-separator'.
2710         * textmodes/reftex-dcr.el: Move provide statement to end of file.
2711         (reftex-mouse-view-crossref): Explain why point is set.
2713         * textmodes/reftex-global.el: Whitespace changes.
2715         * textmodes/reftex-index.el: Move provide statement to end of
2716         file.
2717         (reftex-index-selection-or-word): Use `reftex-region-active-p'.
2718         (reftex-index-visit-phrases-buffer): Set marker when visiting
2719         buffer.  This allows for returning from the phrases file to the
2720         file one was just editing instead of the file where the last
2721         phrases was added from.
2722         (reftex-index-phrases-syntax-table): New variable.  Give ?\"
2723         punctuation syntax as it usually is not used as string quote in
2724         TeX-related modes and may occur unmatched.  The change also
2725         prevents fontification of quoted content.
2726         (reftex-index-phrases-mode): Use it.
2728         * textmodes/reftex-parse.el (reftex-parse-from-file):
2729         Move backward one char if a `\' was matched after a section macro.
2730         (reftex-parse-from-file): Use beginning of match instead of end as
2731         bound.
2733         * textmodes/reftex-ref.el: Adapt creation of
2734         `reftex-<package>-<macro>' functions to new structure of
2735         `reftex-ref-style-alist'.
2736         (reftex-reference): Use `reftex-ref-style-list' function.
2737         Adapt to new structure of `reftex-ref-style-alist'.  Prompt for a
2738         reference macro if `reftex-ref-macro-prompt' is non-nil.
2739         (reftex-reference): Pass refstyle to `reftex-format-special'.
2740         Determine reference macro by looking at
2741         `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
2742         Use only one special format function.
2743         (reftex-varioref-vref, reftex-fancyref-fref)
2744         (reftex-fancyref-Fref): Remove definitions.  The functions are now
2745         generated from `reftex-ref-style-alist'.
2746         (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
2747         Remove.
2748         (reftex-format-special): New function.
2750         * textmodes/reftex-sel.el
2751         (reftex-select-cycle-ref-style-internal): Adapt to new structure
2752         of `reftex-ref-style-alist'. Remove code for testing macro type.
2753         (reftex-select-toggle-varioref)
2754         (reftex-select-toggle-fancyref): Remove.
2755         (reftex-select-cycle-ref-style-internal)
2756         (reftex-select-cycle-ref-style-forward)
2757         (reftex-select-cycle-ref-style-backward): New functions.
2758         (reftex-select-label-map): Use `v' and `V' for general cycling
2759         through reference styles.  Add `p' for switching between number
2760         and page reference types.
2762         * textmodes/reftex-toc.el (reftex-re-enlarge):
2763         Call `enlarge-window' only if there is something to do because in Emacs
2764         the horizontal version throws an error even if the parameter is 0.
2766         * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
2767         (reftex-plug-into-AUCTeX): Doc fix.
2768         (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
2769         string.  Adapt to new name.
2770         (reftex-ref-style-alist): Change structure so that it is not
2771         possible to use multiple different package names within a style.
2772         Remove the symbols for symbols for macro type distinction.
2773         Add characters for macro selection.
2774         (reftex-ref-macro-prompt, reftex-create-bibtex-header)
2775         (reftex-create-bibtex-footer): New variables.
2776         (reftex-format-ref-function): Mention third argument of special
2777         format function.
2778         (reftex-ref-style-alist, reftex-ref-style-default-list):
2779         New variables.
2780         (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
2781         to new implementation.  Mark as obsolete.  Add compatibility code
2782         for honoring the variable values in case they are set.
2783         (reftex-cite-format-builtin, reftex-bibliography-commands):
2784         Add support for ConTeXt.
2785         (reftex-format-ref-function, reftex-format-cite-function):
2786         Fix custom type.
2787         (reftex-cite-key-separator): New variable.
2789         * textmodes/reftex.el (reftex-syntax-table-for-bib)
2790         (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
2791         `reftex-syntax-table' because parens have to retain their paren
2792         syntax in order for parsing of BibTeX entries like @book(...) to
2793         work.
2794         (reftex-in-comment): Do not error out if `comment-start-skip' is
2795         not set.  Deal correctly with escaped comment characters.
2796         (reftex-tie-multifile-symbols): Add doc string.
2797         Initialize `reftex-ref-style-list'.
2798         (reftex-untie-multifile-symbols): Add doc string.
2799         (reftex-add-index-macros): Doc fix.
2800         (reftex-ref-style-activate, reftex-ref-style-toggle)
2801         (reftex-ref-style-list): New functions.
2802         (reftex-mode-menu): Use them.  Adapt to new structure of
2803         `reftex-ref-style-alist'.
2804         (reftex-select-with-char): Kill the RefTeX Select buffer when
2805         done.
2806         (reftex-remove-if): New function.
2807         (reftex-erase-all-selection-and-index-buffers)
2808         (reftex-mode-menu): Reference styles are now computed from
2809         `reftex-ref-style-alist'.  Fix typo.
2810         (reftex-report-bug): New function.
2811         (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
2812         algorithms with O(n log n).  Introduce optional argument SORT (not
2813         yet used).
2815 2012-09-30  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
2817         Enhancements for triple-quote string syntax.
2818         * progmodes/python.el (python-syntax-propertize-function):
2819         Match both quote cases in one regexp.
2820         (python-syntax-stringify): Handle matches properly.
2822 2012-09-30  Juri Linkov  <juri@jurta.org>
2824         * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
2825         to nil around the call to `insert' to prevent
2826         directory time modification by lock_file.  (Bug#2295)
2827         * tar-mode.el (tar-summarize-buffer): Idem.
2829 2012-09-30  Juri Linkov  <juri@jurta.org>
2831         * facemenu.el (list-colors-sort): Add option "Luminance".
2832         (list-colors-sort-key): Implement it.
2834         * vc/diff-mode.el (diff-refine-removed):
2835         * vc/ediff-init.el (ediff-fine-diff-A):
2836         * vc/smerge-mode.el (smerge-refined-removed):
2837         Change background color "#ffaaaa" to "#ffbbbb".  (Bug#10181)
2839 2012-09-30  Jan Djärv  <jan.h.d@swipnet.se>
2841         * term/ns-win.el (x-file-dialog): New function.
2843 2012-09-30  Juanma Barranquero  <lekktu@gmail.com>
2845         * ido.el (ido-max-directory-size): Default to nil; the current
2846         default is small for POSIX systems, and impractical on Windows 7
2847         now that lstat returns directory sizes for NTFS.
2849 2012-09-30  Martin Rudalics  <rudalics@gmx.at>
2851         In buffer display functions handle window-height/window-width
2852         alist entries.  Suggested by Juri Linkov as fix for Bug#1806.
2853         * window.el (window--display-buffer): New argument ALIST.
2854         Obey window-height and window-width alist entries.
2855         (window--try-to-split-window): New argument ALIST.
2856         Bind window-combination-limit to t when the window's size shall be
2857         changed and window-combination-limit equals `window-size'.
2858         (display-buffer-in-atom-window)
2859         (display-buffer-in-major-side-window)
2860         (display-buffer-in-side-window, display-buffer-same-window)
2861         (display-buffer-reuse-window, display-buffer-pop-up-frame)
2862         (display-buffer-pop-up-window, display-buffer-below-selected)
2863         (display-buffer-at-bottom, display-buffer-in-previous-window)
2864         (display-buffer-use-some-window): Adjust all callers of
2865         window--display-buffer and window--try-to-split-window.
2866         (fit-frame-to-buffer): New option.
2867         (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
2868         is non-nil.
2869         (display-buffer-in-major-side-window): Evaluate window-height /
2870         window-width alist entries.
2872         * help.el (temp-buffer-resize-frames)
2873         (temp-buffer-resize-regexps): Remove options.
2874         (temp-buffer-resize-mode): Adjust doc-string.
2875         (resize-temp-buffer-window): Don't consult
2876         temp-buffer-resize-regexps.  Use fit-frame-to-buffer instead of
2877         temp-buffer-resize-frames.
2879         * dired.el (dired-mark-pop-up):
2880         Call display-buffer-below-selected with a fit-window-to-buffer alist
2881         entry.
2883 2012-09-30  Chong Yidong  <cyd@gnu.org>
2885         * server.el (server-host): Document the security implications.
2886         (server-auth-key): Doc fix.
2888         * startup.el (initial-buffer-choice): Doc fix.
2890         * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
2892         * simple.el (delete-trailing-whitespace): Avoid an unnecessary
2893         restriction change.
2895         * bindings.el (goto-map): Bind M-g TAB to move-to-column.
2897         * help-fns.el (help-fns--obsolete): Fix last change.
2899 2012-09-30  Stefan Monnier  <monnier@iro.umontreal.ca>
2901         * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
2902         (minor-mode-map-alist): Remove redundant code.
2904         * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
2905         visited in a buffer.
2906         (cvs-insert-visited-file): New function.
2907         (find-file-hook): Use it.
2909         * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
2911         * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
2912         chose face.
2913         (log-edit-empty-buffer-p): Don't require a space after a header.
2915         * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
2917         * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
2919         * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
2920         a proper minor-mode.
2922         * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
2924 2012-09-29  Glenn Morris  <rgm@gnu.org>
2926         * winner.el (winner-mode): Remove variable (let define-minor-mode
2927         handle it).
2928         (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
2929         Doc fixes.
2930         (winner-mode-leave-hook): Rename to winner-mode-off-hook.
2931         (winner-mode): Use define-minor-mode.
2933         * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
2934         the full definition in loaddefs, rather than duplicating it.
2936         * help-macro.el (three-step-help): No need to autoload defcustom.
2938         * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
2939         (inferior-lisp-program, inferior-lisp-load-command)
2940         (inferior-lisp-prompt, inferior-lisp-mode-hook):
2941         No need to autoload defcustoms.
2943         * hippie-exp.el (hippie-expand-try-functions-list)
2944         (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
2945         (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
2946         (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
2947         (hippie-expand-only-buffers): No need to autoload defcustoms.
2948         * progmodes/vhdl-mode.el (vhdl-line-expand):
2949         Explicitly load hippie-exp, so it does not get autoloaded
2950         while hippie-expand-try-functions-list is let-bound.
2952 2012-09-28  Glenn Morris  <rgm@gnu.org>
2954         * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
2956         * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
2957         Only "cl.el" counts as cl these days.
2959 2012-09-28  Juri Linkov  <juri@jurta.org>
2961         Display archive errors in the echo area instead of inserting
2962         to the file buffer.
2964         * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
2965         to STDERR-TEST that can be a regexp matching a successful output.
2966         Create a temporary file and redirect stderr to it.  Search for
2967         STDERR-TEST in the stderr output and display it in the echo area
2968         if no match is found.
2969         (archive-extract-by-file): New function like
2970         `archive-extract-by-stdout' but extracting archives to files
2971         and looking for successful matches in stdout.  Function body is
2972         mostly copied from `archive-rar-extract'.
2973         (archive-rar-extract): Use `archive-extract-by-file'.
2974         (archive-7z-extract): Use `archive-extract-by-stdout'.  (Bug#10347)
2976 2012-09-28  Leo Liu  <sdl.web@gmail.com>
2978         * pcomplete.el (pcomplete-show-completions):
2979         Use minibuffer-message to make pcomplete usable in minibuffer.
2981         * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
2983 2012-09-28  Stefan Monnier  <monnier@iro.umontreal.ca>
2985         * type-break.el: Use lexical-binding.
2986         (type-break-mode): Use define-minor-mode.
2988         * emacs-lisp/pcase.el (pcase--mark-used): New.
2989         (pcase--u1): Use it (bug#12512).
2991         * custom.el (load-theme): Set buffer-file-name so the load is recorded
2992         in load-history with the right file name.
2994 2012-09-28  Tassilo Horn  <tsdh@gnu.org>
2996         * doc-view.el (doc-view-current-cache-doc-pdf): New function.
2997         (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
2998         (doc-view-get-bounding-box): Make bounding box slicing work for
2999         ODF and DVI documents.
3001 2012-09-28  Glenn Morris  <rgm@gnu.org>
3003         * type-break.el (type-break-mode, type-break-interval)
3004         (type-break-good-rest-interval, type-break-keystroke-threshold):
3005         No need to autoload.
3006         (type-break-good-rest-interval, type-break-keystroke-threshold):
3007         Add :set-after.
3009 2012-09-28  Chong Yidong  <cyd@gnu.org>
3011         * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
3012         Add :version tag.
3014 2012-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
3016         * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
3018 2012-09-27  Glenn Morris  <rgm@gnu.org>
3020         * faces.el (x-display-name): Declare (for without-x builds).
3022         * linum.el (linum-format): Don't autoload it.  Improve :type.
3024         * progmodes/tcl.el: Don't require outline when compiling.
3025         (outline-regexp, outline-level): Declare.
3026         * textmodes/sgml-mode.el: Don't require outline when compiling.
3027         (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
3029         * term.el (term-ansi-reset):
3030         Try setting term-ansi-face-already-done to nil.  (Bug#11785)
3032         * vc/vc.el (vc-next-action): Only gripe about committing read-only
3033         files for RCS and SCCS.  (Bug#9781)
3035 2012-09-27  Chong Yidong  <cyd@gnu.org>
3037         * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
3038         change; value should be t.
3040 2012-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
3042         * image-mode.el: Use lexical-binding.
3043         (image-mode-winprops): Use t to stand for the window of
3044         a buffer that's not displayed.
3045         * doc-view.el (doc-view-new-window-function): Handle the new
3046         t in winprops.
3047         (doc-view-enlarge): Make it a real nop if the size is not changed.
3048         (doc-view-display): Handle the case where the buffer is not (yet?)
3049         displayed in any window.
3050         (doc-view-saved-settings): New var.
3051         (doc-view-mode): Use it.
3052         (doc-view-fallback-mode): Set it.
3054         * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
3055         Set lexical-binding.
3056         (minibuffer-eldef-shorten-default): New var.
3057         (minibuffer-default-in-prompt-regexps): Use it for new default.
3058         (minibuf-eldef-setup-minibuffer): Add replacement functionality.
3060 2012-09-26  Juanma Barranquero  <lekktu@gmail.com>
3062         * international/uni-bidi.el:
3063         * international/uni-category.el:
3064         * international/uni-name.el:
3065         * international/uni-numeric.el: Regenerate.
3067 2012-09-26  Tomohiro Matsuyama  <tomo@cx4a.org>
3068             Stefan Monnier  <monnier@iro.umontreal.ca>
3070         * profiler.el: New file.
3072 2012-09-26  Stefan Monnier  <monnier@iro.umontreal.ca>
3074         * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
3075         (testcover-reinstrument): Simplify with CSE.
3077 2012-09-26  Juanma Barranquero  <lekktu@gmail.com>
3079         * window.el (temp-buffer-window-setup): Fix typo in docstring.
3081 2012-09-25  Wilson Snyder  <wsnyder@wsnyder.org>
3083         * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
3084         (verilog-auto-input, verilog-auto-insert-lisp)
3085         (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
3086         (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
3087         (verilog-auto-unused, verilog-auto-wire)
3088         (verilog-forward-or-insert-line): Fix AUTOs with no trailing
3089         newline.  Reported by Andrew Jones.
3090         (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
3091         Reported by Brad Dobbie.
3092         (verilog-batch-delete-trailing-whitespace):
3093         Create verilog-batch-delete-trailing-whitespace.
3094         Reported by Brad Dobbie.
3095         (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
3096         parameters from another module.  Reported by Dan Katz.
3097         (verilog-auto, verilog-auto-assign-modport)
3098         (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
3099         AUTOINOUTMODPORT for UVM interface module shell generation.
3100         Reported by Brad Dobbie.
3101         (verilog-auto-inst-interfaced-ports): Make default nil, as more
3102         standard behavior.
3103         (verilog-auto): Fix AUTO parameters with parenthesis arguments.
3104         Reported by Matt Martin.
3106 2012-09-25  Martin Rudalics  <rudalics@gmx.at>
3108         * window.el (window--resize-child-windows): When resizing child
3109         windows proportionally, process them in reverse order to
3110         preserve the "when splitting a window the new one gets the odd
3111         line" behavior.
3112         (window--resize-root-window-vertically): When resizing the
3113         minibuffer window try to affect only windows at the bottom of the
3114         frame.  (Bug#12419)
3116 2012-09-25  Chong Yidong  <cyd@gnu.org>
3118         * subr.el (declare): Doc fix.
3120         * help-fns.el (help-fns--obsolete): Handle macros properly.
3122 2012-09-25  Chong Yidong  <cyd@gnu.org>
3124         * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
3125         this function obsolete.
3127         * calendar/cal-x.el (calendar-two-frame-setup)
3128         (calendar-only-one-frame-setup, calendar-one-frame-setup):
3129         * calendar/calendar.el (american-calendar, european-calendar)
3130         (calendar-for-loop):
3131         * comint.el (comint-dynamic-simple-complete)
3132         (comint-dynamic-complete-as-filename, comint-unquote-filename):
3133         * desktop.el (desktop-load-default):
3134         * dired-x.el (dired-omit-here-always)
3135         (dired-hack-local-variables, dired-default-directory):
3136         * emacs-lisp/derived.el (derived-mode-class):
3137         * emacs-lisp/timer.el (timer-set-time-with-usecs):
3138         * emacs-lock.el (toggle-emacs-lock):
3139         * epa.el (epa-display-verify-result):
3140         * epg.el (epg-sign-keys, epg-start-sign-keys)
3141         (epg-passphrase-callback-function):
3142         * eshell/esh-util.el (eshell-for):
3143         * eshell/eshell.el (eshell-remove-from-window-buffer-names)
3144         (eshell-add-to-window-buffer-names):
3145         * files.el (locate-file-completion):
3146         * imenu.el (imenu-example--create-c-index)
3147         (imenu-example--create-lisp-index)
3148         (imenu-example--lisp-extract-index-name)
3149         (imenu-example--name-and-position):
3150         * international/mule-cmds.el (princ-list):
3151         * international/mule-diag.el (decode-codepage-char):
3152         * international/mule-util.el (detect-coding-with-priority):
3153         * iswitchb.el (iswitchb-read-buffer):
3154         * mail/mailalias.el (mail-complete):
3155         * mail/sendmail.el (mail-sent-via):
3156         * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
3157         (mouse-major-mode-menu):
3158         * password-cache.el (password-read-and-add):
3159         * pcomplete.el (pcomplete-parse-comint-arguments):
3160         * progmodes/sh-script.el (sh-maybe-here-document):
3161         * replace.el (query-replace-regexp-eval):
3162         * savehist.el (savehist-load):
3163         * simple.el (choose-completion-delete-max-match):
3164         * term.el (term-dynamic-simple-complete):
3165         * vc/ediff-init.el (ediff-check-version):
3166         * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
3167         * vc/vc.el (vc-diff-switches-list):
3168         * view.el (view-return-to-alist-update): Likewise.
3170         * subr.el (eval-next-after-load, makehash, insert-string)
3171         (assoc-ignore-representation, assoc-ignore-case): Use declare to
3172         mark obsolete.
3173         (mode-line-inverse-video): Variable deleted.
3175         * international/mule-util.el (string-to-sequence): Remove.
3177         * calendar/calendar.el (calendar-version):
3178         * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
3179         (icalendar-convert-diary-to-ical):
3180         * cus-edit.el (custom-mode):
3181         * ansi-color.el (ansi-color-unfontify-region):
3182         * international/latin1-disp.el (latin1-char-displayable-p):
3183         * progmodes/cwarn.el (turn-on-cwarn-mode):
3184         * progmodes/which-func.el (which-func-update-1):
3185         Use define-obsolete-function-alias.
3187         * net/newst-backend.el (newsticker-cache-filename):
3188         * net/newst-treeview.el (newsticker-groups-filename):
3189         Fix incorrect obsolescence declaration.
3191         * allout.el (allout-passphrase-hint-string): Likewise.
3192         (allout-init): Use a declare form to mark obsolete.
3194         * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
3195         this applies to functions.
3197         * iswitchb.el (iswitchb-read-buffer): Move code of
3198         iswitchb-define-mode-map here, and delete that obsolete function.
3200         * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
3201         font-lock-reference-face.
3203 2012-09-25  Glenn Morris  <rgm@gnu.org>
3205         * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
3206         Doc fixes.
3208         * eshell/em-term.el (eshell-term-name):
3209         Default to term-term-name.  (Bug#12485)
3211 2012-09-24  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
3213         * progmodes/python.el (python-shell-send-buffer): Better handling
3214         of "if __name__ == '__main__':" conditionals when sending the buffer.
3216 2012-09-24  Glenn Morris  <rgm@gnu.org>
3218         * eshell/esh-cmd.el (eshell-find-alias-function):
3219         Tighten up file-name regexp.  (Bug#12499)
3221 2012-09-24  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
3223         Enhancements for triple-quote string syntax.
3224         * progmodes/python.el (python-quote-syntax): Remove.
3225         (python-syntax-propertize-function): New value.
3226         (python-syntax-count-quotes, python-syntax-stringify):
3227         New functions.
3229 2012-09-24  Chong Yidong  <cyd@gnu.org>
3231         * mail/supercite.el (sc-version): Remove obsolete function.
3232         (sc-describe): Don't mark as obsolete, since it is bound.
3233         (sc-submit-bug-report): Remove.
3235         * vc/log-edit.el (cvs-changelog-full-paragraphs)
3236         (cvs-commit-buffer-require-final-newline): Remove.
3237         (log-edit-require-final-newline)
3238         (log-edit-changelog-full-paragraphs): Default to t.
3240         * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
3241         * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
3242         * vc/vc.el (vc-checkout-carefully): Likewise.
3244         * vc/emerge.el (emerge-mode): Make it an obsolete alias.
3245         (emerge-version): Remove.
3247         * progmodes/compile.el (compile-internal): Remove.
3248         (compilation-parse-errors-function): Fix typo.
3250         * international/mule.el (set-char-table-default): Remove.
3251         (set-coding-priority, make-coding-system, generic-char-p)
3252         (charset-list, charset-bytes, charset-id): Use declare to mark
3253         functions as obsolete.
3255         * vc/pcvs-defs.el (cvs-buffer-name-alist)
3256         (cvs-invert-ignore-marks): Remove references to obsolete vars.
3257         * vc/vc-hooks.el (vc-default-registered): Don't use
3258         vc-master-templates.
3260         * font-lock.el (font-lock-reference-face):
3261         Use define-obsolete-variable-alias.
3263         * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
3264         * calendar/calendar.el (calendar-font-lock-keywords):
3265         * calendar/diary-lib.el (diary-font-lock-keywords)
3266         (diary-fancy-font-lock-keywords):
3267         * textmodes/reftex-sel.el (reftex-insert-docstruct):
3268         * textmodes/reftex-index.el (reftex-insert-index):
3269         * textmodes/reftex-cite.el (reftex-format-bib-entry):
3270         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3271         * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
3272         * progmodes/prolog.el (prolog-font-lock-keywords):
3273         * progmodes/idlwave.el (idlwave-idl-keywords):
3274         * progmodes/ada-mode.el (ada-font-lock-keywords):
3275         * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
3277 2012-09-24  Glenn Morris  <rgm@gnu.org>
3279         * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
3281 2012-09-23  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
3283         * progmodes/python.el (python-indent-line): More consistent cursor
3284         movement behavior.
3286 2012-09-23  Stefan Merten  <smerten@oekonux.de>
3288         * textmodes/rst.el: Fix compiler warning.
3290 2012-09-23  Roland Winkler  <winkler@gnu.org>
3292         * textmodes/bibtex.el (bibtex-autokey-transcriptions):
3293         Transcribe also LaTeX hyphenation.
3294         (bibtex-reformat): Bug fix. Do not quote twice the elements of
3295         bibtex-reformat-previous-options.
3297 2012-09-23  Roland Winkler  <winkler@gnu.org>
3299         * proced.el (proced-renice-command): New variable.
3300         (proced-marked-processes): New function.
3301         (proced-with-processes-buffer): New macro.
3302         (proced-send-signal): Use them.
3303         (proced-renice): New command bound to r.
3305 2012-09-23  Roland Winkler  <winkler@gnu.org>
3307         * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
3308         ibuffer-saved-filter-groups has one element, shortcut the call of
3309         completing-read.  (Bug#12331)
3311 2012-09-23  Chong Yidong  <cyd@gnu.org>
3313         * bindings.el (mode-line-toggle-read-only):
3314         * bs.el (bs-toggle-readonly):
3315         * buff-menu.el (Buffer-menu-toggle-read-only):
3316         * dired.el (dired-toggle-read-only):
3317         * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
3319 2012-09-23  Chong Yidong  <cyd@gnu.org>
3321         * image.el (image-type-available-p): Adapt to init-image-library
3322         argument changes.
3324 2012-09-22  Juri Linkov  <juri@jurta.org>
3326         * dired.el (dired-mode-map): Add [remap read-only-mode] for
3327         `dired-toggle-read-only'.  (Bug#12462)
3329 2012-09-22  Martin Rudalics  <rudalics@gmx.at>
3331         * subr.el (temp-output-buffer-show): New function.
3332         (with-output-to-temp-buffer): Call temp-output-buffer-show
3333         instead of internal-temp-output-buffer-show.
3335 2012-09-22  Chong Yidong  <cyd@gnu.org>
3337         * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
3338         (Bug#12462).
3340         * repeat.el (repeat): Doc fix (Bug#12348).
3342         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
3343         (Bug#10909).
3345         * simple.el (shell-command-on-region): Doc fix.
3346         (read-only-mode): Doc fix.
3348 2012-09-22  Eli Zaretskii  <eliz@gnu.org>
3350         * emacs-lisp/timer.el (run-with-idle-timer)
3351         (timer-activate-when-idle): Warn against reinvoking an idle timer
3352         from within its own timer action.  (Bug#12447)
3354 2012-09-22  Martin Rudalics  <rudalics@gmx.at>
3356         * cus-start.el (window-combination-limit): Add new optional
3357         values.
3358         * window.el (temp-buffer-window-show)
3359         (window--try-to-split-window): Handle new values of
3360         window-combination-limit (Bug#1806).
3361         (split-window): Test window-combination-limit for t instead of
3362         non-nil.
3363         (display-buffer-at-bottom): New buffer display action function.
3364         * help.el (temp-buffer-resize-regexps): New option.
3365         (temp-buffer-resize-mode): Rewrite doc-string.
3366         (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
3367         Don't resize reused window.  Suggested by Glenn Morris.
3369 2012-09-22  Stefan Merten  <smerten@oekonux.de>
3371         * textmodes/rst.el: Revamp section title faces.
3372         (rst-official-version)
3373         (rst-package-emacs-version-alist): Sync with official version
3374         V1.4.0.
3375         (rst-faces-defaults, rst-set-level-default)
3376         (rst-level-face-max, rst-level-face-base-color)
3377         (rst-level-face-base-light, rst-level-face-format-light)
3378         (rst-level-face-step-light, rst-define-level-faces): Obsolete.
3379         (rst-adornment-faces-alist): Match new setup.
3380         (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
3381         (rst-level-5, rst-level-6): New faces.
3383 2012-09-22  Chong Yidong  <cyd@gnu.org>
3385         * simple.el (undo): Handle indirect buffers (Bug#8207).
3387 2012-09-21  Leo Liu  <sdl.web@gmail.com>
3389         IDO: Disable match re-ordering for buffer switching.
3390         * ido.el (ido-buffer-disable-smart-matches): New variable.
3391         (ido-set-matches-1): Use it.  (Bug#2042)
3393 2012-09-21  Jose Marino  <marinoj@nso.edu>  (tiny change)
3395         * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
3396         Fix 2011-05-17 change.  (Bug#12418)
3398 2012-09-21  Leo Liu  <sdl.web@gmail.com>
3400         * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
3402 2012-09-21  Glenn Morris  <rgm@gnu.org>
3404         * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
3405         Be more robust about locating simple.el.
3407 2012-09-21  Glenn Morris  <rgm@gnu.org>
3409         * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
3411 2012-09-21  Joel Bion  <jpbion@westvi.com>  (tiny change)
3413         * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz.  (Bug#12382)
3415 2012-09-20  Juri Linkov  <juri@jurta.org>
3417         * replace.el (query-replace-read-from): Use `read-regexp' instead
3418         of `read-from-minibuffer' when `regexp-flag' is non-nil.
3419         (occur-read-primary-args): Use `read-regexp' instead of
3420         `read-string'.
3421         (multi-occur-in-matching-buffers): Use `read-regexp' instead of
3422         `read-from-minibuffer'.
3423         * isearch.el (isearch-occur): Use `read-regexp' instead of
3424         `read-string'.
3425         * dired.el (dired-read-regexp): Use `read-regexp' instead of
3426         `read-from-minibuffer'.
3427         * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
3428         of `read-string'.  (Bug#7567)
3430         * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
3431         and allow accepting a list of strings prepended to a list of
3432         standard default values.  Doc fix.  (Bug#12321)
3434         * replace.el (read-regexp): Add HISTORY arg.  (Bug#7567)
3436         * replace.el (read-regexp): Don't add ": " when PROMPT already
3437         ends with a colon and space.  (Bug#12321)
3439 2012-09-20  Tassilo Horn  <tsdh@gnu.org>
3441         * doc-view.el (doc-view-display): Better fix for the cl-assertion
3442         error.
3444 2012-09-20  Stefan Merten  <smerten@oekonux.de>
3446         * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
3447         Fixes feature request bug#11711.
3448         (rst-mode): Create `imenu-create-index-function'.
3449         (rst-get-stripped-line): Delete after refactoring.
3450         (rst-section-tree, rst-section-tree-rec)
3451         (rst-section-tree-point): Refactor and document properly.
3452         (rst-imenu-find-adornments-for-position)
3453         (rst-imenu-convert-cell, rst-imenu-create-index):
3454         New function.
3456 2012-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
3458         * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
3459         (macroexp--expand-all): Use it.
3460         (macroexp--funcall-and-return): Remove by folding it into its sole
3461         caller (macroexp--warn-and-return).
3462         * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
3463         Use macroexp--obsolete-warning.
3465         * calc/calc.el: Fix last change by removing the whole chunk, since it
3466         was only needed back when Calc was not bundled.
3468 2012-09-20  Martin Rudalics  <rudalics@gmx.at>
3470         * emacs-lisp/debug.el (debug): Restore assignment to
3471         debugger-old-buffer removed on 2012-09-08.
3473 2012-09-20  Juri Linkov  <juri@jurta.org>
3475         * dired-aux.el (dired-diff): Remove (require 'diff) since
3476         `diff-latest-backup-file' is now autoloaded.
3478 2012-09-20  Chong Yidong  <cyd@gnu.org>
3480         * vc/diff.el (diff-latest-backup-file): Autoload.
3482 2012-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
3484         * calc/calc.el: Remove redundant autoload shape check.
3485         (sel-mode): Don't defvar.
3486         (calc-get-stack-element): Add `sel-mode' arg instead.
3487         (calc-top, calc-top-list): Pass it this additional argument.
3488         * calc/calc-store.el (calc-store-map):
3489         * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
3490         (calc-map-equation, calc-outer-product, calc-inner-product):
3491         * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
3493         * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
3495 2012-09-19  Juri Linkov  <juri@jurta.org>
3497         * dired-aux.el (dired-diff): Add (require 'diff) because
3498         `diff-latest-backup-file' is not autoloaded.
3499         (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
3500         of `dired-get-filename' to t to not report error when there is
3501         no default file on the current line.
3503 2012-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
3505         * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
3506         macroexp--eval-if-compile.
3507         (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
3508         (macroexp--expand-all): Use them (bug#12371).
3510         * doc-view.el (doc-view-guess-paper-size)
3511         (doc-view-scale-bounding-box): Fix unbound `caddr'.
3513 2012-09-19  Tassilo Horn  <tsdh@gnu.org>
3515         New feature: set optimal slice from BoundingBox information.
3516         * doc-view.el (doc-view-mode-map): Add keybinding.
3517         (doc-view-menu): Add menu entry.
3518         (doc-view-set-slice): Adapt docstring.
3519         (doc-view-get-bounding-box, doc-view-guess-paper-size)
3520         (doc-view-scale-bounding-box)
3521         (doc-view-set-slice-from-bounding-box): New functions.
3522         (doc-view-paper-sizes): New defvar.
3524 2012-09-19  Glenn Morris  <rgm@gnu.org>
3526         * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
3527         (byte-compile-log-warning): Autoload.  (Bug#12371)
3529         * calendar/calendar.el (calendar-american-month-header)
3530         (calendar-european-month-header, calendar-iso-month-header)
3531         (calendar-month-header): New options.
3532         (calendar-set-date-style): Set calendar-month-header.  Redraw calendar.
3533         (calendar-generate-month): Use calendar-month-header.  (Bug#9510)
3535 2012-09-19  Jan Djärv  <jan.h.d@swipnet.se>
3537         * startup.el (command-line-ns-option-alist): Add -g and --geometry.
3539 2012-09-18  Juri Linkov  <juri@jurta.org>
3541         * dired-aux.el (dired-diff): Restore original functionality of
3542         getting the default value, but keep new feature of using the
3543         latest existing backup file (`diff-latest-backup-file').
3545 2012-09-18  Juri Linkov  <juri@jurta.org>
3547         * dired.el (dired-mark): If the region is active in Transient Mark
3548         mode, mark all files in the active region.  Doc fix.
3549         (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
3550         Doc fix.  (Bug#10624)
3552 2012-09-18  Juri Linkov  <juri@jurta.org>
3554         * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
3555         attributes for M-n are pulled from the file at point.
3556         (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
3557         Suggested by Drew Adams.  (Bug#10624)
3559 2012-09-18  Dmitry Gutov  <dgutov@yandex.ru>
3561         * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
3562         whitespace after "end".
3563         (ruby-do-end-to-brace): Collapse block to one line if it fits
3564         within fill-column.
3566 2012-09-18  Martin Rudalics  <rudalics@gmx.at>
3568         * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
3569         value.
3570         (debug): Don't remove debugger window when debugger is expected
3571         to be back.
3573 2012-09-18  Chong Yidong  <cyd@gnu.org>
3575         * custom.el (defface): Doc fix.
3577         * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
3579 2012-09-18  Martin Blais  <blais@furius.ca>  (tiny change)
3581         * progmodes/compile.el (compilation-start): Use compilation-always-kill
3582         to initialize query-on-exit; then test that instead (bug#12288).
3584 2012-09-17  Stefan Merten  <smerten@oekonux.de>
3586         * textmodes/rst.el: Add support for `testcover'.
3587         (rst-defcustom-testcover, rst-testcover-add-compose)
3588         (rst-testcover-add-1value): New functions.
3589         (rst-portable-mark-active-p): Replace by `use-region-p'.
3590         (rst-update-section, rst-classify-adornment)
3591         (rst-find-title-line): Mark `1value' forms.
3592         (rst-classify-adornment): Remove superfluous form.
3593         (rst-update-section, rst-get-adornments-around)
3594         (rst-adornment-complete-p, rst-get-next-adornment)
3595         (rst-adjust, rst-promote-region)
3596         (rst-display-adornments-hierarchy, rst-straighten-adornments)
3597         (rst-find-pfx-in-region, rst-section-tree-rec)
3598         (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
3599         (rst-toc-node, rst-toc, rst-forward-section)
3600         (rst-iterate-leftmost-paragraphs)
3601         (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
3602         (rst-bullet-list-region)
3603         (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
3604         (rst-compile-find-conf, rst-compile)
3605         (rst-repeat-last-character): Fix style.
3607 2012-09-17  Chong Yidong  <cyd@gnu.org>
3609         * comint.el (comint--complete-file-name-data): Don't add a space
3610         if the status is `sole'; that adds a gratuitous space in the
3611         completion-cycling case (Bug#12092).
3613         * pcomplete.el (pcomplete-completions-at-point): Likewise.
3615 2012-09-17  Richard Stallman  <rms@gnu.org>
3617         * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
3618         only in the mime-shown mode, not in raw mode.
3619         (rmail-mime): Toggle off mime by displaying the message without
3620         mime processing.  (Bug#12305)
3622         * mail/rmail.el (rmail-retry-failure):
3623         Turn off mime processing first.  (Bug#12037)
3625         * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
3627 2012-09-17  Chong Yidong  <cyd@gnu.org>
3629         * shell.el (shell-file-name-chars, shell-file-name-quote-list)
3630         (shell-dynamic-complete-functions): Convert to defcustom.
3631         (shell-prompt-pattern, shell-completion-fignore): Doc fix.
3633         * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
3634         * comint.el (comint-prompt-read-only):
3635         * custom.el (defcustom):
3636         * hi-lock.el (hi-lock-mode):
3637         * ibuffer.el (ibuffer-formats):
3638         * ielm.el (ielm-prompt-read-only):
3639         * novice.el (disable-command):
3640         * saveplace.el (toggle-save-place):
3641         * speedbar.el (speedbar-supported-extension-expressions):
3642         * startup.el (auto-save-list-file-prefix, init-file-user)
3643         (after-init-hook, inhibit-startup-echo-area-message):
3644         * strokes.el (strokes-help):
3645         * time-stamp.el (time-stamp):
3646         * calendar/calendar.el (calendar, diary-file):
3647         * calendar/diary-lib.el (diary-mail-entries, diary)
3648         (diary-list-entries-hook):
3649         * calendar/holidays.el (holidays, calendar-holidays):
3650         * calendar/lunar.el (lunar-phases):
3651         * calendar/solar.el (sunrise-sunset):
3652         * emulation/edt.el (edt-load-keys):
3653         * emulation/viper.el (viper-mode):
3654         * eshell/em-alias.el (eshell-command-aliases-list):
3655         * eshell/esh-util.el (eshell-convert-numeric-arguments):
3656         * international/ogonek.el (ogonek-information):
3657         * net/tramp-cmds.el (tramp-bug):
3658         * net/quickurl.el (quickurl-reread-hook-postfix):
3659         * play/decipher.el (decipher-font-lock-keywords):
3660         * progmodes/cc-styles.el (c-set-style):
3661         * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
3662         * progmodes/inf-lisp.el (inferior-lisp-prompt):
3663         * progmodes/octave-mod.el (octave-mode):
3664         * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
3665         * progmodes/verilog-mode.el (verilog-read-defines):
3666         * textmodes/two-column.el (2C-mode): Likewise.
3668 2012-09-16  Katsumi Yamaoka  <yamaoka@jpl.org>
3670         * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
3671         that holds many addresses.
3673 2012-09-16  Chong Yidong  <cyd@gnu.org>
3675         * align.el (align-areas): Call the indication function with
3676         positions instead of markers for arguments (Bug#12343).
3678         * files.el (parse-colon-path): Use split-string (Bug#12351).
3680         * window.el (special-display-popup-frame): Doc fix (Bug#8853).
3681         (display-buffer-function): Mark as obsolete.
3683         * progmodes/compile.el (compilation-parse-errors): Accept list
3684         values similar to font-lock-keywords (Bug#12136).
3685         Suggested by Oleksandr Manzyuk.
3686         (compilation-error-regexp-alist): Doc fix.
3688 2012-09-15  Glenn Morris  <rgm@gnu.org>
3690         * version.el (emacs-bzr-version-bzr): New function.
3691         (emacs-bzr-get-version): Add optional EXTERNAL argument.
3693         * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
3694         checkouts, check the parent dirstate matches the branch.
3695         Add "--tree" to "bzr revno" arguments.  Don't try to shorten the
3696         empty string.
3698         * version.el (emacs-bzr-version): Doc fix.
3699         (emacs-bzr-version-dirstate): New function.
3700         (emacs-bzr-get-version): For lightweight checkouts, if the parent
3701         is local try and check that it matches the branch.  If not, just
3702         use dirstate information.  (Bug#12441)
3704 2012-09-14  Juri Linkov  <juri@jurta.org>
3706         * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
3707         (Bug#12399)
3709 2012-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
3711         * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
3713         * emacs-lisp/edebug.el: Miscellaneous cleanup.
3714         Remove obsolete byte-compiler hack that tried to silence some warnings.
3715         (edebug-submit-bug-report): Remove.
3716         (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
3717         Remove aliases, use the un-prefixed name instead.
3718         (edebug-pop-to-buffer): Consider other frames.
3719         (edebug-original-read):: Make it more obvious that it's always defined.
3720         (edebug--make-form-data-entry, edebug--form-data-name)
3721         (edebug--form-data-begin, edebug--form-data-end): Rename from the
3722         single-dashed name, and implement with cl-defstruct.
3723         (edebug-set-form-data-entry): Use the standard accessors.
3724         (edebug-make-top-form-data-entry): Use push.
3725         (edebug-no-match): Drop useless `funcall'.
3726         (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
3727         to functions.
3728         (defsubst, dont-compile, eval-when-compile, eval-and-compile)
3729         (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
3730         (with-syntax-table, push, pop, 1value, noreturn, defadvice)
3731         (easy-menu-define, with-custom-print): Remove redundant specs.
3732         (edebug-outside-overriding-local-map)
3733         (edebug-outside-overriding-terminal-local-map): Remove, unused.
3734         (edebug--display): Bind unread-command-events directly to nil rather
3735         than binding it to unread-command-events and later setting it to nil.
3736         (edebug--display): Kill edebug-eval-buffer here...
3737         (edebug--recursive-edit): ...rather than here.
3738         Bind standard-output and standard-input.
3739         (edebug-eval): Check cl-macroexpand-all is fboundp.
3740         (edebug-temp-display-freq-count): Fix last change.
3742         * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
3743         * subr.el (noreturn, 1value): Add `debug' spec.
3744         * emacs-lisp/advice.el: Require cl-lib.
3745         (ad-copy-tree): Remove, use copy-tree instead.
3746         (ad-dolist): Remove use dolist or cl-dolist instead.
3747         (ad-do-return): Remove, use cl-return instead.
3748         (defadvice): Add `debug' spec.
3750 2012-09-13  Juri Linkov  <juri@jurta.org>
3752         * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
3753         (Bug#12399)
3755 2012-09-13  Glenn Morris  <rgm@gnu.org>
3757         * calc/calc.el (math-compose-expr):
3758         * calc/calc-ext.el (math-compose-expr):
3759         * progmodes/cc-defs.el (cl-macroexpand-all):
3760         * progmodes/cc-langs.el (delete-duplicates, mapcan)
3761         (cl-macroexpand-all): Update declarations.
3763         * vc/vc.el: No need to require ediff.
3764         (ediff-load-version-control): Declare.
3765         (ediff-vc-internal): Fix declaration.
3766         (vc-version-ediff): Require ediff.
3768 2012-09-13  Paul Eggert  <eggert@cs.ucla.edu>
3770         Use a more backwards-compatible timer format (Bug#12430).
3771         * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
3772         being right after USECS, as that better supports old code that
3773         inadvisedly looked directly at the timer vector.
3775 2012-09-13  Kenichi Handa  <handa@gnu.org>
3777         * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
3778         ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
3779         `coding-priority' property of these language environment.
3781 2012-09-13  Paul Eggert  <eggert@cs.ucla.edu>
3783         Fix glitches caused by addition of psec to timers (Bug#12430).
3784         * image.el (image-animate-timer):
3785         * time.el (display-time-world-timer):
3786         Use timer--function and timer--args rather than raw access to
3787         timer vector.
3789 2012-09-13  Glenn Morris  <rgm@gnu.org>
3791         * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
3792         If not compiling a file, try using load-file-name.
3794 2012-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
3796         * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
3797         Fix last change.
3798         (edebug-update-eval-list): Use `push'.
3800         * emacs-lisp/edebug.el: Use lexical-binding.
3801         Remove the "edebug-" prefix from non-dynamically-scoped variables.
3802         Mark unused args with underscore.
3803         (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
3804         (edebug-form-data): Use defvar-local.
3805         (edebug-make-before-and-after-form, edebug-make-after-form):
3806         Use backquote.
3807         (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
3808         Not dynamically scoped any more.
3809         (edebug--enter-trace): Add arguments `function' and `args'.
3810         Rename from edebug-enter-trace.
3811         (edebug-enter): Call it accordingly.  Bind edebug-function explicitly.
3812         (edebug--update-coverage): Add `after-index' and `value' args.
3813         Rename from edebug-update-coverage.
3814         (edebug-slow-after): Call it accordingly.
3815         (edebug--recursive-edit): Add arg `arg-mode'.  Rename from
3816         edebug-recursive-edit.
3817         (edebug--display): Call it accordingly.  Add args `value',
3818         `offset-index', and `arg-mode'.  Rename from edebug-display.
3819         (edebug-debugger, edebug): Call it accordingly.
3820         (edebug-eval-display-list): Use dolist.
3822 2012-09-12  Juri Linkov  <juri@jurta.org>
3824         * info.el (Info-search): Don't check for isearch-mode and
3825         isearch-regexp before let-binding search-spaces-regexp to
3826         Info-search-whitespace-regexp.
3827         (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
3828         search-whitespace-regexp if isearch-lax-whitespace or
3829         isearch-regexp-lax-whitespace is non-nil.
3830         (Info-mode): Don't set local variable search-whitespace-regexp.
3831         http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
3833 2012-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3835         * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
3836         (debugger-env-macro): Remove support for unread-command-char.
3838         * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
3839         the temporary map re-appearing on emulation-mode-map-alists.
3841         * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
3842         since 22.1.
3844         * ehelp.el (with-electric-help): Accept functions in
3845         electric-help-form-to-execute.
3846         (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
3847         And replace unread-command-char -> unread-command-events.
3849 2012-09-12  Michael Albinus  <michael.albinus@gmx.de>
3851         Sync with Tramp 2.2.6.
3853         * net/tramp.el (tramp-accept-process-output): Don't use
3854         JUST-THIS-ONE in the XEmacs case.
3856         * net/trampver.el: Update release number.
3858 2012-09-12  Martin Rudalics  <rudalics@gmx.at>
3860         * emacs-lisp/debug.el (debugger-previous-window-height):
3861         New variable.
3862         (debug): When debugger-jumping-flag is non-nil try to restore
3863         height of debugger window.  (Bug#8789)
3865 2012-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3867         * emacs-lisp/edebug.el (edebug-enter): Don't mess with
3868         overriding-local-map and pre/post-command-hook here.
3869         (edebug-recursive-edit): Do it here instead (bug#12345).
3870         (edebug-outside-unread-command-char): Remove all uses of
3871         unread-command-char.
3873         * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
3874         inhibit-debugger is bound instead.
3876 2012-09-11  Bastien Guerry  <bzg@gnu.org>
3878         * subr.el (set-temporary-overlay-map): Add a docstring.
3879         (Bug#12346)
3881 2012-09-11  Bastien Guerry  <bzg@gnu.org>
3883         * minibuffer.el (completion-table-subvert): Fix docstring.
3884         (Bug#12347)
3886 2012-09-11  Bastien Guerry  <bzg@gnu.org>
3888         * help-fns.el (describe-variable): Fix typo.  (Bug#12346)
3890 2012-09-10  Michael R. Mauger  <mmaug@yahoo.com>
3892         * progmodes/sql.el: Version 3.1
3893         (sql-db2-escape-newlines): New variable.
3894         (sql-escape-newlines-filter): Use it.
3896 2012-09-10  Juanma Barranquero  <lekktu@gmail.com>
3898         * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
3900 2012-09-10  Dan Nicolaescu  <dann@gnu.org>
3902         * vc/diff-mode.el (diff-mode-menu):
3903         Bind diff-remove-trailing-whitespace.
3905 2012-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
3907         * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
3908         (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
3909         (emacs-lisp-byte-code-mode): New functions.
3910         (eval-sexp-add-defvars): Don't skip defvars in column >0.
3911         (eval-defun-2): Remove bogus interactive spec.
3912         (lisp-indent-line): Remove redundant whole-exp code, now done in
3913         indent-according-to-mode.
3914         (save-match-data): Remove redundant indent data.
3916         * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
3917         Use `declare'.
3919 2012-09-09  Juri Linkov  <juri@jurta.org>
3921         * replace.el (replace-regexp-lax-whitespace): New defcustom.
3922         (replace-lax-whitespace, query-replace-regexp)
3923         (query-replace-regexp-eval, replace-regexp): Doc fix.
3924         (perform-replace, replace-highlight): Let-bind
3925         isearch-lax-whitespace to replace-lax-whitespace and
3926         isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
3928         * isearch.el (isearch-query-replace): Let-bind
3929         replace-lax-whitespace to isearch-lax-whitespace and
3930         replace-regexp-lax-whitespace to
3931         isearch-regexp-lax-whitespace.  (Bug#10885)
3933 2012-09-09  Stefan Monnier  <monnier@iro.umontreal.ca>
3935         * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
3937 2012-09-09  Alan Mackenzie  <acm@muc.de>
3939         * progmodes/cc-engine.el (c-state-cache-init):
3940         Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
3941         (c-record-parse-state-state):
3942         Record c-state-semi-nonlit-pos-cache\(-limit\)?.
3944 2012-09-09  Andreas Schwab  <schwab@linux-m68k.org>
3946         * register.el (register-separator): Rename from
3947         separator-register.  All uses changed.  Doc fix.
3948         (register): Fix version.
3950 2012-09-09  Chong Yidong  <cyd@gnu.org>
3952         * replace.el (query-replace-map): Bind four new symbols for
3953         requesting window scrolling.
3955         * subr.el (y-or-n-p): Handle the window-scrolling bindings in
3956         query-replace-map (Bug#8948).
3958         * custom.el (custom-theme-load-confirm): Use y-or-n-p.
3960         * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
3961         since they are now in query-replace-map.
3963         * window.el (scroll-other-window-down): Make the arg optional.
3965 2012-09-09  Chong Yidong  <cyd@gnu.org>
3967         * files.el (hack-local-variables-confirm): Use quit-window to kill
3968         the *Local Variables* buffer.
3970 2012-09-08  Dmitry Gutov  <dgutov@yandex.ru>
3972         * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
3973         not just expect to be at its beginning.  Adjust callees.
3974         Succeed when do-end block has no space before the pipe character.
3975         (ruby-brace-to-do-end): When the original block is one-liner,
3976         convert to multiline.  Reindent the result.
3978 2012-09-08  Jambunathan K  <kjambunathan@gmail.com>
3980         * register.el (register): New group.
3981         (separator-register): New user option.
3982         (increment-register): Route it to `append-to-register', if
3983         register contains text.  Implication is that `C-x r +' can now be
3984         used for appending to a text register (bug#12217).
3985         (append-to-register, prepend-to-register): Add separator based on
3986         `separator-register'.
3988 2012-09-08  Alan Mackenzie  <acm@muc.de>
3990         AWK Mode: make auto-newline work when there's "==" in the pattern.
3991         * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
3992         correctly.
3993         * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
3994         Test more rigorously for "=" token.
3996 2012-09-08  Dmitry Gutov  <dgutov@yandex.ru>
3998         * progmodes/ruby-mode.el (ruby-match-expression-expansion):
3999         Only fail when reached LIMIT.
4001 2012-09-08  Chong Yidong  <cyd@gnu.org>
4003         * dired.el (dired-mode-map): Don't bind M-=.
4005         * dired-aux.el (dired-diff): Use backup file as default.
4007 2012-09-08  Drew Adams  <drew.adams@oracle.com>
4009         * subr.el (add-to-history): Fix delete usage (Bug#12314).
4011 2012-09-08  Chong Yidong  <cyd@gnu.org>
4013         * subr.el (syntax-after, syntax-class): Doc fix.
4015 2012-09-08  Martin Rudalics  <rudalics@gmx.at>
4017         * window.el (display-buffer-in-previous-window): New buffer
4018         display action function.
4020         * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
4021         (debugger-previous-window): New variable.
4022         (debug): Rewrite using display-buffer-in-previous-window,
4023         quit-restore-window and debugger-bury-or-kill.  (Bug#8789)
4025 2012-09-07  Stefan Monnier  <monnier@iro.umontreal.ca>
4027         * emacs-lisp/byte-run.el (defun): Tweak message.  Simplify code.
4029 2012-09-07  Matt McClure  <mlm@aya.yale.edu>  (tiny change)
4031         * progmodes/python.el (python-shell-send-string):
4032         When default-directory is remote, create temp file on remote
4033         filesystem.
4034         (python-shell-send-file): When file is remote, pass local view of
4035         file paths to remote Python interpreter.  (Bug#12340)
4037 2012-09-07  Chong Yidong  <cyd@gnu.org>
4039         * window.el (switch-to-buffer): Doc fix (Bug#12181).
4041         * files.el (after-find-file): Don't fail on a read-only buffer if
4042         require-final-newline is `visit' or `visit-save' (Bug#11156).
4044         * subr.el (read-char-choice): Allow quitting via ESC ESC.
4046         * userlock.el (ask-user-about-supersession-threat):
4047         Use read-char-choice (Bug#12093).
4049 2012-09-07  Chong Yidong  <cyd@gnu.org>
4051         * subr.el (buffer-narrowed-p): New function.
4053         * ses.el (ses-widen):
4054         * simple.el (count-words--buffer-message):
4055         * net/browse-url.el (browse-url-of-buffer): Use it.
4057         * simple.el (count-words-region): Don't signal an error if there
4058         is a non-nil prefix arg and the mark is not set.
4060         * help.el (describe-key-briefly): Allow the message to be seen
4061         when invoked from the minibuffer (Bug#7014).
4063 2012-09-07  Dmitry Gutov  <dgutov@yandex.ru>
4065         * progmodes/ruby-mode.el (ruby-end-of-defun)
4066         (ruby-beginning-of-defun): Simplify, allow indentation before
4067         block beginning and end keywords.
4068         (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
4069         (ruby-end-of-defun): Expect that the point is at the beginning of
4070         the defun.
4072 2012-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
4074         * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
4075         (bug#12367).
4076         (cl--make-usage-args): Strip _ from argument names.
4078 2012-09-06  RĂ¼diger Sonderfeld  <ruediger@c-plusplus.de>
4080         * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
4081         obsolete alias speedbar-key-map.
4082         (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
4083         (vhdl-index-menu-init): Don't use obsolete variable
4084         font-lock-maximum-size.
4086 2012-09-06  Chong Yidong  <cyd@gnu.org>
4088         * frame.el (window-system-version): Mark as obsolete.
4090         * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
4091         of obsolete variable speedbar-key-map.
4093 2012-09-06  Juri Linkov  <juri@jurta.org>
4095         * replace.el (replace-lax-whitespace): New defcustom.
4096         (query-replace, query-replace-regexp, query-replace-regexp-eval)
4097         (replace-string, replace-regexp): Mention it in docstrings.
4098         (perform-replace, replace-highlight): Let-bind
4099         isearch-lax-whitespace and isearch-regexp-lax-whitespace according
4100         to the values of replace-lax-whitespace and regexp-flag.
4101         Don't let-bind search-whitespace-regexp.  (Bug#10885)
4103         * isearch.el (isearch-query-replace): Let-bind
4104         replace-lax-whitespace instead of let-binding
4105         replace-search-function and replace-re-search-function.
4106         (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
4107         and isearch-regexp-lax-whitespace to lazy-highlight variables.
4108         (isearch-toggle-symbol): Set isearch-regexp to nil
4109         in isearch-word mode (like in isearch-toggle-word).
4111 2012-09-06  Juri Linkov  <juri@jurta.org>
4113         * replace.el (replace-search-function)
4114         (replace-re-search-function): Set default values to nil.
4115         (perform-replace): Let-bind isearch-related variables based on
4116         replace-related values, call `isearch-search-fun' and let-bind
4117         the result to `search-function'.  Remove code that sets
4118         `search-function' and `search-string' separately for
4119         `delimited-flag'.
4120         (replace-highlight): Add new argument `delimited-flag' and
4121         rename other arguments to the names used in `perform-replace'.
4122         Let-bind `isearch-word' to the argument `delimited-flag'.
4123         (Bug#10885, bug#10887)
4125 2012-09-07  Dmitry Gutov  <dgutov@yandex.ru>
4127         * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
4128         ruby-beginning-of-indent, simplify, allow all keywords to have
4129         indentation before them.
4130         (ruby-beginning-of-indent): Adjust for above.  Search until the
4131         found point is not inside a string or comment.
4132         (ruby-font-lock-keywords): Allow symbols to start with "@"
4133         character, give them higher priority than variables.
4134         (ruby-syntax-propertize-function)
4135         (ruby-font-lock-syntactic-keywords): Remove the "not comments"
4136         matchers.  Expression expansions are not comments when inside a
4137         string, and there comment syntax status is irrelevant.
4138         (ruby-match-expression-expansion): New function.  Check that
4139         expression expansion is inside a string, and it's not escaped.
4140         (ruby-font-lock-keywords): Use it.
4142 2012-09-05  Martin Rudalics  <rudalics@gmx.at>
4144         * help.el (temp-buffer-max-height): New default value.
4145         (temp-buffer-resize-frames): New option.
4146         (resize-temp-buffer-window): Optionally resize frame.
4148         * window.el (fit-frame-to-buffer-bottom-margin): New option.
4149         (fit-frame-to-buffer): New function.
4151 2012-09-05  Glenn Morris  <rgm@gnu.org>
4153         * emulation/cua-rect.el (cua--init-rectangles):
4154         * textmodes/picture.el (picture-mode-map):
4155         * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
4156         like forward-char and backward-char.  (Bug#12317)
4158 2012-09-05  Leo Liu  <sdl.web@gmail.com>
4160         * progmodes/flymake.el (flymake-warning-re): New variable.
4161         (flymake-parse-line): Use it.
4163 2012-09-05  Glenn Morris  <rgm@gnu.org>
4165         * calendar/holidays.el (holiday-christian-holidays):
4166         Rename an entry.  (Bug#12289)
4168 2012-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
4170         * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
4171         (bug#12222).
4173 2012-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
4175         * loadup.el: Load macroexp.  Remove hack.
4176         * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
4177         (macroexp--expand-all): Use it to get better warnings.
4178         (macroexp--backtrace, macroexp--trim-backtrace-frame)
4179         (internal-macroexpand-for-load): New functions.
4180         (macroexp--pending-eager-loads): New var.
4181         (emacs-startup-hook): New hack to replace one in loadup.el.
4182         * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
4183         (cl--compiler-macro-cXXr): Move to top, before they can be used.
4184         (cl-psetf): Simplify.
4185         (cl-defstruct): Add indent rule.
4187 2012-09-04  Lars Ingebrigtsen  <larsi@gnus.org>
4189         * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
4190         over `user-mail-address' for the SMTP MAIL FROM envelope.
4191         (smtpmail-via-smtp): Ditto.
4193 2012-09-04  Dmitry Gutov  <dgutov@yandex.ru>
4195         * progmodes/ruby-mode.el: Clean up keybindings.
4196         (ruby-mode-map): Don't bind ruby-electric-brace,
4197         ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
4198         backward-kill-word, reindent-then-newline-and-indent.
4199         (ruby-mark-defun): Remove.
4200         (ruby-electric-brace): Remove.  Obsoleted by electric-indent-chars.
4201         (ruby-mode): Set local beginning-of-defun-function and
4202         end-of-defun-function values.
4204 2012-09-03  Martin Rudalics  <rudalics@gmx.at>
4206         * window.el (temp-buffer-window-setup-hook)
4207         (temp-buffer-window-show-hook): New hooks.
4208         (temp-buffer-window-setup, temp-buffer-window-show)
4209         (with-temp-buffer-window): New functions.
4210         (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
4211         (special-display-popup-frame): Make sure the window used shows BUFFER.
4213         * help.el (temp-buffer-resize-mode): Fix doc-string.
4214         (resize-temp-buffer-window): New optional argument WINDOW.
4216         * files.el (recover-file, save-buffers-kill-emacs):
4217         * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
4219 2012-09-02  Michael Albinus  <michael.albinus@gmx.de>
4221         * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
4222         remote definition of `default-directory', ensure we can connect.
4224 2012-09-02  Juri Linkov  <juri@jurta.org>
4226         Toggle whitespace matching mode with M-s SPC.
4227         http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
4229         * isearch.el (search-whitespace-regexp): Doc fix.
4230         Remove cons cell customization.
4231         (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
4232         (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
4233         New variables.
4234         (isearch-forward, isearch-forward-regexp): Doc fix.
4235         (isearch-toggle-lax-whitespace): New command.
4236         (search-forward-lax-whitespace, search-backward-lax-whitespace)
4237         (re-search-forward-lax-whitespace)
4238         (re-search-backward-lax-whitespace): New functions.
4239         (isearch-whitespace-regexp): Remove function.
4240         (isearch-query-replace): Let-bind replace-search-function and
4241         replace-re-search-function.
4242         (isearch-occur): Let-bind search-spaces-regexp according to the
4243         value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
4244         (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
4245         condition for C-q SPC.
4246         (isearch-search-fun-default): Use new functions mentioned above.
4247         (isearch-search-forward, isearch-search-backward): Remove functions.
4248         (isearch-search): Don't let-bind search-spaces-regexp.
4249         (isearch-lazy-highlight-space-regexp): Remove variable.
4250         (isearch-lazy-highlight-lax-whitespace)
4251         (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
4252         (isearch-lazy-highlight-new-loop): Use them.
4253         (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
4255 2012-09-02  Chong Yidong  <cyd@gnu.org>
4257         * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
4259 2012-09-02  Glenn Morris  <rgm@gnu.org>
4261         * simple.el (undo): Tweak message in undo-only case.  (Bug#12283)
4263 2012-09-01  Glenn Morris  <rgm@gnu.org>
4265         * term.el: Tidy up menu definitions.
4266         (term-mode-map): Use easymenu for In/Out, Complete menus.
4267         (term-pager-break-map): Initialize in the defvar.
4268         (term-terminal-menu, term-signals-menu): Define with easymenu.
4269         (term-terminal-menu): Also show it in line-mode.  (Bug#11957)
4270         (term-pager-menu): New, extracted from term-process-pager.
4271         (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
4272         (term-update-mode-line): Propertize line/char and page items.
4273         (term-process-pager): Move keymap initialization elsewhere.
4275 2012-09-01  Martin Rudalics  <rudalics@gmx.at>
4277         * window.el (switch-to-prev-buffer): Handle additional values of
4278         BURY-OR-KILL argument.  Don't switch in minibuffer window.
4279         (switch-to-next-buffer): Don't switch in minibuffer window.
4280         (quit-restore-window): New function based on quit-window.
4281         Handle additional values of former KILL argument.
4282         (quit-window): Call quit-restore-window with appropriate
4283         interpretation of KILL argument.
4284         (display-buffer-below-selected): New buffer display action
4285         function.
4287 2012-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>
4289         * minibuffer.el (completion-at-point-functions): Complete docstring
4290         (bug#12254).
4292 2012-09-01  Paul Eggert  <eggert@cs.ucla.edu>
4294         Better seed support for (random).
4295         * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
4296         * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
4297         * play/mpuz.el, play/tetris.el, play/zone.el:
4298         * calc/calc-comb.el (math-init-random-base):
4299         * play/blackbox.el (bb-init-board):
4300         * play/life.el (life):
4301         * server.el (server-use-tcp):
4302         * type-break.el (type-break):
4303         Remove unnecessary call to (random t).
4304         * net/sasl.el (sasl-unique-id-function):
4305         Change (random t) to (random), now that the latter is more random.
4306         * play/life.el (life-initialized): Remove no-longer-needed var.
4308 2012-08-31  Alp Aker  <alp.tekin.aker@gmail.com>
4310         * window.el (switch-to-prev-buffer, switch-to-next-buffer):
4311         Consider frame's buffer predicate when choosing the buffer.
4312         (Bug#12081)
4314 2012-08-30  Richard Stallman  <rms@gnu.org>
4316         * simple.el (special-mode-map): Delete binding for `z'.
4318 2012-08-30  Andreas Schwab  <schwab@linux-m68k.org>
4320         * progmodes/compile.el (compilation-always-kill): Doc fix.
4322 2012-08-30  Chong Yidong  <cyd@gnu.org>
4324         * window.el (display-buffer-reuse-frames): Make the obsolescence
4325         message more informative.
4327 2012-08-30  Glenn Morris  <rgm@gnu.org>
4329         * paren.el (show-paren-delay):
4330         Add a :set function.  Doc fix.  (Bug#12297)
4332 2012-08-29  Martin Blais  <blais@furius.ca>  (tiny change)
4334         * progmodes/compile.el (compilation-always-kill): New var.
4335         (compilation-start): Use it.
4337 2012-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
4339         * simple.el (read-only-mode): Move from files.el for bootstrapping.
4340         * files.el (read-only-mode): Move to simple.el.
4342         * files.el (read-only-mode): New minor mode.
4343         (toggle-read-only): Use it and mark obsolete.
4344         (find-file--read-only):
4345         * vc/vc.el (vc-next-action, vc-checkout):
4346         * vc/vc-cvs.el (vc-cvs-checkout):
4347         * obsolete/vc-mcvs.el (vc-mcvs-update):
4348         * ffap.el (ffap--toggle-read-only): Update callers.
4350 2012-08-29  Michael Albinus  <michael.albinus@gmx.de>
4352         * eshell/esh-ext.el (eshell-external-command): Do not examine
4353         remote shell scripts.
4354         See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
4356         * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
4357         "/usr/local/sbin".
4359 2012-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
4361         * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
4363 2012-08-28  Leo Liu  <sdl.web@gmail.com>
4365         * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
4366         completion-at-point.  (Bug#12220)
4368         * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
4370         * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
4372 2012-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
4374         * files.el (safe-local-eval-forms): Fix before-save-hook entry to
4375         be buffer-local; add delete-trailing-whitespace (bug#12259).
4377 2012-08-28  Jeremy Moore  <jmoore@ieee.org>  (tiny change)
4379         * progmodes/hideif.el (hif-compress-define-list):
4380         Fix typo.  (Bug#11951)
4382 2012-08-28  Dan Nicolaescu  <dann@gnu.org>
4384         * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
4385         buffer local setting.
4387         * net/rcirc.el (rcirc-split-message): Fix for buffer-local
4388         rcirc-encode-coding-system.
4390 2012-08-28  Leo Liu  <sdl.web@gmail.com>
4392         * net/rcirc.el (rcirc-split-message): New function.
4393         (rcirc-send-message): Use it.  (Bug#12051)
4395 2012-08-28  Juri Linkov  <juri@jurta.org>
4397         * info.el (Info-fontify-node): Hide empty lines at the end of
4398         the node.  (Bug#12272)
4400 2012-08-27  Drew Adams  <drew.adams@oracle.com>
4402         * dired.el (dired-pop-to-buffer): Make window start at beginning
4403         of buffer (Bug#12281).
4405 2012-08-26  Chong Yidong  <cyd@gnu.org>
4407         * window.el (special-display-regexps, special-display-frame-alist)
4408         (special-display-buffer-names, special-display-function)
4409         (display-buffer-reuse-frames): Mark as obsolete.
4411         * progmodes/compile.el: Don't use display-buffer-reuse-frames.
4413         * help.el (help-print-return-message): Don't treat
4414         display-buffer-reuse-frames specially.
4416 2012-08-26  Chong Yidong  <cyd@gnu.org>
4418         * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
4419         New variable, replacing gdb-frame-parameters.
4420         (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
4421         (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
4422         (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
4423         (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
4424         (def-gdb-frame-for-buffer): Macro deleted.  It is easier to define
4425         the functions directly with gdb-display-buffer-other-frame-action.
4426         (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
4427         (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
4428         (gdb-display-stack-buffer, gdb-display-locals-buffer)
4429         (gdb-display-registers-buffer): Define directly.
4430         (def-gdb-display-buffer): Macro deleted.
4431         (gdb-display-buffer): Remove second and third args, callers don't
4432         use them.  Defer to the default display-buffer behavior, apart
4433         from making windows dedicated.
4434         (gdb-setup-windows): Don't call display-buffer unnecessarily.
4436         * progmodes/gud.el (gud-display-line): Just use display-buffer.
4438         * window.el (display-buffer-pop-up-frame): Handle a
4439         pop-up-frame-parameters alist entry.
4440         (display-buffer): Document it.
4442 2012-08-26  Chong Yidong  <cyd@gnu.org>
4444         * isearch.el (search-whitespace-regexp): Make string and nil
4445         values apply to both ordinary and regexp search.  Allow a cons
4446         cell value to distinguish between the two.
4447         (isearch-whitespace-regexp, isearch-search-forward)
4448         (isearch-search-backward): New functions.
4449         (isearch-occur, isearch-search-fun-default, isearch-search)
4450         (isearch-lazy-highlight-new-loop): Use them.
4451         (isearch-forward, isearch-forward-regexp): Doc fix.
4453 2012-08-26  Chong Yidong  <cyd@gnu.org>
4455         * faces.el (help-argument-name): Always inherit from italic
4456         (Bug#12213).
4458 2012-08-25  Martin Rudalics  <rudalics@gmx.at>
4460         * window.el (window--even-window-heights): Even heights when
4461         WINDOW and the selected window form a vertical combination.
4462         (display-buffer-use-some-window): Provide that window used gets
4463         sized back by quit-window.  (Bug#11880) and (Bug#12091)
4465 2012-08-24  Paul Eggert  <eggert@cs.ucla.edu>
4467         Fix file time stamp problem with bzr and CVS (Bug#12001).
4468         * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
4469         in the file's time stamp, since the version control system loses
4470         that information.
4472 2012-08-22  Juri Linkov  <juri@jurta.org>
4474         * info.el (Info-fontify-node): Hide the suffix of the
4475         Info file name in the header line.  (Bug#12187)
4477 2012-08-22  Glenn Morris  <rgm@gnu.org>
4479         * calendar/cal-tex.el (cal-tex-weekly-common):
4480         Restore leading blank page.
4482 2012-08-22  Le Wang  <l26wang@gmail.com>
4484         * misc.el (forward-to-word, backward-to-word): Activate or extend
4485         the region under `shift-select-mode'.  (Bug#12231)
4487 2012-08-22  Bastien Guerry  <bzg@gnu.org>
4489         * progmodes/executable.el (executable-prefix): Set to "#!" instead
4490         of "#! ".  http://www.in-ulm.de/~mascheck/various/shebang/#details
4491         gives details on why the space is never needed.
4493 2012-08-22  Martin Rudalics  <rudalics@gmx.at>
4495         * window.el (walk-window-tree, window-with-parameter):
4496         New optional argument MINIBUF to control whether these functions
4497         should run on the minibuffer window.
4498         (window-at-side-list): Don't operate on minibuffer window.
4499         (window-in-direction): Simplify and rewrite doc-string.
4500         (window--size-ignore): Rename to window--size-ignore-p.
4501         Update callers.
4502         (display-buffer-in-atom-window, window--major-non-side-window)
4503         (window--major-side-window, display-buffer-in-major-side-window)
4504         (delete-side-window, display-buffer-in-side-window):
4505         New functions.
4506         (window--side-check, window-deletable-p, delete-window)
4507         (delete-other-windows, split-window): Handle side windows and
4508         atomic windows appropriately.
4509         (window--display-buffer): Call display-buffer-record-window also
4510         when the window buffer did not change.
4512 2012-08-22  Christopher Schmidt  <christopher@ch.ristopher.com>
4514         * help-fns.el (help-fns--key-bindings):
4515         Abbreviate non-symbol remap targets.  (Bug#12174)
4517 2012-08-22  Martin Rudalics  <rudalics@gmx.at>
4519         * dired.el (dired-mark-remembered): Don't clobber point.
4520         (Bug#11795)
4522 2012-08-22  Glenn Morris  <rgm@gnu.org>
4524         * progmodes/bug-reference.el (bug-reference): New custom group.
4525         (bug-reference-bug-regexp): Make it a defcustom.
4527 2012-08-22  Daiki Ueno  <ueno@unixuser.org>
4529         * progmodes/js.el (js-indent-level, js-expr-indent-offset)
4530         (js-paren-indent-offset, js-square-indent-offset)
4531         (js-curly-indent-offset): Add :safe (Bug#12257).
4533 2012-08-22  Edward O'Connor  <hober0@gmail.com>
4535         * json.el (json-key-format): Add error properties.
4536         (json-encode-key): New function.
4537         (json-encode-hash-table, json-encode-alist, json-encode-plist):
4538         Use json-encode-key.
4540 2012-08-22  Glenn Morris  <rgm@gnu.org>
4542         * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
4543         (cal-tex-leftday, cal-tex-rightday): Remove functions.
4544         (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
4545         Update for above change.
4547 2012-08-21  Andreas Schwab  <schwab@linux-m68k.org>
4549         * cus-face.el (custom-face-attributes): Fix customize type for the
4550         :underline attribute.  (Bug#11805)
4552 2012-08-21  Martin Rudalics  <rudalics@gmx.at>
4554         * window.el (window-point-1, set-window-point-1): Remove.
4555         (window-in-direction, record-window-buffer)
4556         (set-window-buffer-start-and-point, split-window-below)
4557         (window--state-get-1, display-buffer-record-window):
4558         Replace calls to window-point-1 and set-window-point-1 by calls to
4559         window-point and set-window-point respectively.
4561 2012-08-21  Glenn Morris  <rgm@gnu.org>
4563         * calendar/cal-tex.el (cal-tex-weekly-common): New function.
4564         (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
4565         Use it.
4567         * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
4568         (cal-tex-shortday): New function.
4569         (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
4570         (cal-tex-cursor-filofax-daily): Use the above.
4572         * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
4573         New functions.
4574         (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
4575         (cal-tex-cursor-filofax-week): Use them.
4577         * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
4578         New constants.
4579         (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
4580         (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
4582         * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
4583         (cal-tex-end-document): Don't rely on buffer name.
4585         * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
4586         Use cal-tex-vspace.
4587         (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
4588         (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
4589         (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
4590         Use cal-tex-arg.
4592         * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
4593         (cal-tex-cursor-week, cal-tex-cursor-week2)
4594         (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
4595         (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
4596         (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
4597         (cal-tex-insert-preamble, cal-tex-b-document)
4598         (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
4599         Improve cal-tex-cmd usage.
4601         * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
4602         (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
4603         (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
4604         (cal-tex-weekly-paper): New function.
4605         (cal-tex-cursor-week, cal-tex-cursor-week2)
4606         (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
4607         (cal-tex-cursor-day): Use it.
4609         * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
4610         (cal-tex-cursor-filofax-week): Remove leading blank page.
4612         * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
4613         Add autoload cookie.  For now at least, don't use color, since
4614         no other cal-tex function does.
4616         * calendar/cal-tex.el (cal-tex-cursor-week-iso)
4617         (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
4618         (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
4620 2012-08-21  Juri Linkov  <juri@jurta.org>
4622         * info.el (Info-file-attributes): New variable.
4623         (info-insert-file-contents): Add file attributes to
4624         `Info-file-attributes'.  Clear the caches `Info-index-nodes' and
4625         `Info-toc-nodes' when previous modtime of the Info file is less
4626         than new modtime.
4627         (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
4628         of info.el.  (Bug#12230)
4630 2012-08-20  Glenn Morris  <rgm@gnu.org>
4632         * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
4633         * calendar/holidays.el (calendar-holiday-list):
4634         Report errors with display-warning rather than beep'n'sleep.
4636 2012-08-20  Michael Albinus  <michael.albinus@gmx.de>
4638         * net/tramp.el (tramp-accept-process-output): Accept only output
4639         from PROC.  Otherwise, process filters and sentinels might be
4640         confused.  (Bug#12145)
4642 2012-08-20  Chong Yidong  <cyd@gnu.org>
4644         * descr-text.el (describe-text-properties-1): Use overlays-in to
4645         report on empty overlays (Bug#3322).
4647 2012-08-20  Glenn Morris  <rgm@gnu.org>
4649         * mail/rmailout.el (rmail-output-read-file-name):
4650         Trap and report errors in rmail-output-file-alist elements.
4652         * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
4653         since most non-font-lock faces are not also variables).
4655 2012-08-20  Edward Reingold  <reingold@iit.edu>
4657         * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
4658         New function.  (Bug12160)
4660 2012-08-19  Glenn Morris  <rgm@gnu.org>
4662         * mail/rmailout.el (rmail-output-read-file-name):
4663         Fix previous change (when the alist is nil or does not match).
4665 2012-08-19  Chong Yidong  <cyd@gnu.org>
4667         * xml.el (xml-escape-string): Don't refer to xml-entity-alist
4668         (Bug#12228).
4670 2012-08-18  Chong Yidong  <cyd@gnu.org>
4672         * simple.el (yank-handled-properties): New defcustom.
4673         (yank-excluded-properties): Add font-lock-face and category.
4674         (yank): Doc fix.
4676         * subr.el (remove-yank-excluded-properties):
4677         Obey yank-handled-properties.  The special handling of font-lock-face
4678         and category is now done this way, instead of being hard-coded.
4679         (insert-for-yank-1): Remove font-lock-face handling.
4680         (yank-handle-font-lock-face-property)
4681         (yank-handle-category-property): New function.
4683 2012-08-17  Glenn Morris  <rgm@gnu.org>
4685         * mail/rmailout.el (rmail-output-read-file-name):
4686         Check rmail-output-file-alist against the full message body
4687         in the correct rmail buffer.  (Bug#12214)
4689 2012-08-17  Michael Albinus  <michael.albinus@gmx.de>
4691         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
4692         Eliminate superfluous prompt.  (Bug#12203)
4694 2012-08-17  Chong Yidong  <cyd@gnu.org>
4696         * mouse.el (mouse-appearance-menu): If x-select-font returns a
4697         font spec, set the font directly (Bug#3228).
4699 2012-08-17  Martin Rudalics  <rudalics@gmx.at>
4701         * window.el (delete-window): Fix last fix.
4703 2012-08-16  Martin Rudalics  <rudalics@gmx.at>
4705         * window.el (window-valid-p): Move to window.c.
4706         (window-child, window-child-count, window-last-child)
4707         (window-normalize-window, window-combined-p)
4708         (window-combinations, window-atom-root, window-min-size)
4709         (window-sizable, window-sizable-p, window-size-fixed-p)
4710         (window-min-delta, window-max-delta, window--resizable)
4711         (window--resizable-p, window-resizable, window-total-size)
4712         (window-full-height-p, window-full-width-p, window-body-size)
4713         (window-at-side-p, adjust-window-trailing-edge, maximize-window)
4714         (minimize-window, window-deletable-p, delete-window)
4715         (delete-other-windows, set-window-buffer-start-and-point)
4716         (next-buffer, previous-buffer, split-window, balance-windows-2)
4717         (set-window-text-height, window-buffer-height)
4718         (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
4719         (truncated-partial-width-window-p): Minor code adjustments.
4720         In doc-strings state whether the argument window has to denote a
4721         live, valid or any window.
4723 2012-08-16  Phil Sainty  <psainty@orcon.net.nz>  (tiny change)
4725         * progmodes/subword.el (subword-forward-function)
4726         (subword-backward-function, subword-forward-regexp)
4727         (subword-backward-regexp): New variables.
4728         (subword-forward, subword-forward-internal, subword-backward-internal):
4729         Use new variables, eg so that different "word" definitions
4730         can be easily used.  (Bug#11411)
4732 2012-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
4734         * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
4735         for composite selectors.
4736         * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
4737         operation just because we can't find a previous revision.
4739 2012-08-15  Chong Yidong  <cyd@gnu.org>
4741         * frame.el (set-frame-font): Accept font objects.
4743 2012-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
4745         * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
4747 2012-08-15  Wolfgang Jenkner  <wjenkner@inode.at>
4749         * man.el (Man-overstrike-face, Man-underline-face)
4750         (Man-reverse-face): Remove variables.
4751         (Man-overstrike, Man-underline, Man-reverse): New faces.
4752         (Man-fontify-manpage): Use them instead of the variables.
4753         (Man-cleanup-manpage): Comment change.
4754         (Man-ansi-color-map): New variable.
4755         (Man-fontify-manpage): Use it.
4756         Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
4758         Implement ANSI SGR parameters 22-27 (bug#12146).
4759         * ansi-color.el (ansi-colors): Doc fix.
4760         (ansi-color-context, ansi-color-context-region): Doc fix.
4761         (ansi-color--find-face): New function.
4762         (ansi-color-apply, ansi-color-apply-on-region): Use it.
4763         Rename the local variable `face' to `codes' since it is now a list of
4764         ansi codes.  Doc fix.
4765         (ansi-color-get-face): Remove.
4766         (ansi-color-parse-sequence): New function, derived from
4767         ansi-color-get-face.
4768         (ansi-color-apply-sequence): Use it.  Rewrite, and support ansi
4769         codes 22-27.
4771 2012-08-14  Stefan Monnier  <monnier@iro.umontreal.ca>
4773         * subr.el (read-passwd): Allow use from a minibuffer.
4775 2012-08-14  Eli Zaretskii  <eliz@gnu.org>
4777         * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
4778         inside comments and strings as identifiers.
4780         * progmodes/gud.el (gud-tooltip-print-command): Quote the
4781         expression to evaluate.  This allows to evaluate expressions with
4782         embedded whitespace.
4783         (gud-tooltip-tips): Add a blank before the newline in the
4784         message-box text, for the benefit of message-box emulation on
4785         MS-Windows.
4787         * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
4788         messages from GDB, pop them up in a tooltip to give feedback to
4789         user.
4790         (gdb-tooltip-print-1): Quote the expression to evaluate.
4791         This allows to evaluate expressions with embedded whitespace.
4792         (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
4793         if the TTY name is nil or empty (which happens when communicating
4794         with the inferior via pipes, e.g. on MS-Windows).
4795         (gdb-internals): If GDB sends a "&\n" empty debugging message,
4796         don't send that to the GUD buffer.
4798 2012-08-14  Glenn Morris  <rgm@gnu.org>
4800         * emacs-lisp/bytecomp.el (byte-compile-setq-default):
4801         Optimize away setq-default with no args, as for setq.  (Bug#12195)
4803 2012-08-14  Chong Yidong  <cyd@gnu.org>
4805         * minibuffer.el (read-file-name): Doc fix (Bug#10881).
4807         * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
4808         (Bug#12085).
4810 2012-08-14  Glenn Morris  <rgm@gnu.org>
4812         * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
4814 2012-08-14  Michael Albinus  <michael.albinus@gmx.de>
4816         * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
4817         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
4818         Use cached shell name.
4820 2012-08-14  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
4822         * progmodes/python.el (python-shell-send-string):
4823         (python-shell-send-setup-code): Do not use `format' with `message'.
4825 2012-08-14  Dmitry Gutov  <dgutov@yandex.ru>
4827         * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
4828         (ruby-percent-literal-beg-re): New constant.
4829         (ruby-syntax-general-delimiters-goto-beg): Rename to
4830         `ruby-syntax-enclosing-percent-literal', improve literal type check.
4831         (ruby-syntax-propertize-general-delimiters): Rename to
4832         `ruby-syntax-propertize-percent-literal', it's a shorter and more
4833         popular term.  Adjust comments everywhere.
4834         (ruby-syntax-propertize-percent-literal): Only propertize when not
4835         inside a simple string or comment.  When the literal is unclosed,
4836         leave the text after it unpropertized.
4837         (ruby-syntax-methods-before-regexp): New constant.
4838         (ruby-syntax-propertize-function): Use it to recognize regexps.
4839         Don't look at the text after regexp, just use the whitelist.
4841 2012-08-14  Andreas Schwab  <schwab@linux-m68k.org>
4843         * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
4844         non-nil always load the compiled file if it exists.  (Bug#12197)
4846 2012-08-14  Chong Yidong  <cyd@gnu.org>
4848         * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
4849         (hi-lock-set-pattern): When deciding whether to use font lock or
4850         overlays, look at font-lock-mode instead of font-lock-fontified
4851         (Bug#12168).
4852         (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
4853         (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
4855 2012-08-14  Daiki Ueno  <ueno@unixuser.org>
4857         * subr.el (internal--after-with-selected-window): Fix typo
4858         (Bug#12193).
4860 2012-08-14  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
4862         Use `completion-table-dynamic' for completion functions.
4863         * progmodes/python.el
4864         (python-shell-completion--do-completion-at-point)
4865         (python-shell-completion--get-completions):
4866         Remove functions.
4867         (python-shell-completion-complete-at-point): New function.
4868         (python-completion-complete-at-point): Use it.
4870 2012-08-13  Jambunathan K  <kjambunathan@gmail.com>
4872         * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
4873         (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
4875 2012-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
4877         * subr.el (function-get): Refine `autoload' arg so it can also
4878         autoload functions for gv.el (bug#12191).
4879         * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
4880         autoloads macros.
4882         * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
4883         Prefer pcase-let over destructuring-bind.
4884         * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
4885         Also, remove whitespace as we go, rather than after accumulating the
4886         various places.
4888         * subr.el (internal--before-with-selected-window)
4889         (internal--after-with-selected-window): Fix typo seleted->selected.
4890         (with-selected-window): Adjust callers.
4891         Reported by Dmitry Gutov <dgutov@yandex.ru>.
4893 2012-08-13  Bastien Guerry  <bzg@gnu.org>
4895         * window.el (special-display-popup-frame): Minor docstring
4896         enhancement.  (Bug#12172)
4898 2012-08-13  Andreas Schwab  <schwab@linux-m68k.org>
4900         * tar-mode.el (tar-header-data-end): Only ignore size for files of
4901         type 1-6.
4902         (tar-header-block-summarize, tar-get-descriptor): Handle pax
4903         extended headers.
4905         * files.el (hack-local-variables-filter): Remove useless eval.
4907 2012-08-13  Martin Rudalics  <rudalics@gmx.at>
4909         * subr.el (with-selected-window): Fix last change.
4911 2012-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
4913         * subr.el (internal--before-with-seleted-window)
4914         (internal--after-with-seleted-window): New functions.
4915         (with-selected-window): Use them, to replace dependency on
4916         tty-top-frame.
4918 2012-08-12  Nobuyoshi Nakada  <nobu@ruby-lang.org>
4920         * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
4921         binding for `newline'.
4922         (ruby-move-to-block): When moving backward, stop at block opening,
4923         not indentation.
4924         * progmodes/ruby-mode.el (ruby-brace-to-do-end)
4925         (ruby-do-end-to-brace, ruby-toggle-block): New functions.
4926         * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
4927         `ruby-toggle-block'.
4929 2012-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
4931         * ibuffer.el (ibuffer-do-toggle-read-only):
4932         * dired.el (dired-toggle-read-only):
4933         * buff-menu.el (Buffer-menu-toggle-read-only):
4934         * bindings.el (mode-line-toggle-read-only):
4935         * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
4937 2012-08-12  Andreas Schwab  <schwab@linux-m68k.org>
4939         * descr-text.el (describe-char): Put the overlays over the
4940         "displayed as" character.
4942 2012-08-12  Jay Belanger  <jay.p.belanger@gmail.com>
4944         * calc/calc-units.el (math-default-units-table): Give an
4945         initial value.
4946         (math-put-default-units): Add options to put composite units and
4947         unit systems in the default units table.
4948         (calc-convert-units): Send composite units to
4949         `math-put-default-units' when appropriate.
4951 2012-08-11  Glenn Morris  <rgm@gnu.org>
4953         * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
4955         * tutorial.el (help-with-tutorial):
4956         * emacs-lisp/copyright.el (copyright-update-directory):
4957         * emacs-lisp/autoload.el (autoload-find-generated-file)
4958         (autoload-find-file): Disable local eval: (for insurance).
4960         * files.el (hack-local-variables-filter): If an eval: form is not
4961         known to be safe, and enable-local-variables is :safe, then ignore
4962         the form totally, as is done for non-eval forms.  (Bug#12155)
4963         This is CVE-2012-3479.
4965 2012-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
4967         * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
4968         (rx-form): Simplify.
4970 2012-08-09  Dmitry Gutov  <dgutov@yandex.ru>
4972         * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
4973         ?, _, and : are symbol constituents, ! is not (but kinda should be).
4974         (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
4975         (ruby-syntax-propertize-function): Adjust for changes in
4976         `ruby-syntax-propertize-heredoc'.
4978 2012-08-09 Nobuyoshi Nakada  <nobu@ruby-lang.org>
4980         * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
4981         binding (use `M-;' instead).
4982         (ruby-singleton-class-p): New function.
4983         (ruby-expr-beg, ruby-in-here-doc-p) Use it.
4985 2012-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
4987         * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
4989 2012-08-10  Chong Yidong  <cyd@gnu.org>
4991         * progmodes/python.el (python-shell-get-process-name): Don't mess
4992         with same-window-buffer-names.
4994         * eshell/eshell.el (eshell-add-to-window-buffer-names)
4995         (eshell-remove-from-window-buffer-names): Make obsolete.
4996         (eshell-buffer-name, eshell-unload-hook): Don't use them.
4997         (eshell): Just use pop-to-buffer-same-window instead.
4999 2012-08-10  Chong Yidong  <cyd@gnu.org>
5001         * bindings.el: Bind M-= back to count-words-region.
5003         * simple.el (count-words-region): Accept a prefix arg for acting
5004         on the entire buffer.
5005         (count-words--buffer-message): New helper function.
5007 2012-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
5009         * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
5010         * subr.el (eventp): `nil' is not an event, and eventp is not hot.
5011         (event-start, event-end): Use posn-at-point to return a more
5012         informative posn.
5013         (posnp): New function.
5014         * mouse.el (popup-menu-normalize-position): Use it.
5016 2012-08-10  Masatake YAMATO  <yamato@redhat.com>
5018         * mouse.el (popup-menu-normalize-position): New function.
5019         (popup-menu): Use `popup-menu-normalize-position' to normalize
5020         the form for POSITION argument.
5022         * term/x-win.el (x-menu-bar-open):
5023         Use the value returend from (posn-at-point) as position
5024         passed to `popup-menu'.
5026 2012-08-09  Jay Belanger  <jay.p.belanger@gmail.com>
5028         * calc/calccomp.el (math-compose-expr): Add extra argument
5029         indicating that parentheses should be put around products in
5030         denominators.  Give multiplication precedence over division during
5031         composition.
5033 2012-08-09  Chong Yidong  <cyd@gnu.org>
5035         * man.el (Man-switches, Man-sed-command, Man-awk-command)
5036         (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
5037         (Man-untabify-command, manual-program): Convert to defcustom
5038         (Bug#10429).
5040         * vc/add-log.el (change-log-mode): Bind comment-start to nil.
5042         * descr-text.el (describe-char): Don't insert extra newlines
5043         (Bug#10127).
5045         * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
5046         (log-view-diff-changeset, log-view-minor-wrap): Likewise.
5048         * align.el (align-region): Delete temporary markers (Bug#10047).
5049         Plus some code cleanups.
5051 2012-08-09  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
5053         * progmodes/python.el (python-pdbtrack-tracked-buffer)
5054         (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
5055         (python-shell-internal-last-output): Use make-local-variable
5056         instead of make-variable-buffer-local.
5058 2012-08-09  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
5060         * progmodes/python.el: Enhancements to forward-sexp.
5061         (python-nav-forward-sexp): Rename from
5062         python-nav-forward-sexp-function.
5063         (python-nav--forward-sexp, python-nav--backward-sexp):
5064         New functions.
5066 2012-08-09  Jay Belanger  <jay.p.belanger@gmail.com>
5068         * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
5069         modes and simplification modes.
5071 2012-08-09  Stefan Monnier  <monnier@iro.umontreal.ca>
5073         * delsel.el (delete-selection-pre-hook): Don't propagate the
5074         file-supersession signals (bug#12161).
5076 2012-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5078         * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
5079         (cl-map-extents): Add compatibility aliases (bug#12135).
5081 2012-08-08  Michael Albinus  <michael.albinus@gmx.de>
5083         * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
5084         tests by `ignore-error'.
5085         (tramp-find-shell): Open also a new shell, when cache is already
5086         set.  Reported by Carsten Bormann <cabo@tzi.org>.  (Bug#12148)
5088 2012-08-08  Juri Linkov  <juri@jurta.org>
5090         * bookmark.el: Add `defaults' property to the bookmark record.
5091         (bookmark-current-buffer): Doc fix.
5092         (bookmark-make-record): Add `defaults' property with default values
5093         to the bookmark record.
5094         (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
5095         with `bookmark-insert-current-bookmark'.
5096         (bookmark-set): Get `defaults' property from the bookmark record
5097         and use it in `read-from-minibuffer'.
5098         (bookmark-insert-current-bookmark): Remove function.
5100         * info.el (Info-bookmark-make-record): Add `defaults' property
5101         with values of canonical Info node name, the current Info file
5102         name and the current Info node name.  (Bug#12107)
5104 2012-08-08  Juri Linkov  <juri@jurta.org>
5106         * files.el (basic-save-buffer): Use `buffer-name' as the default
5107         of `read-file-name' when buffer is not visiting a file (bug#12128).
5109 2012-08-08  Juri Linkov  <juri@jurta.org>
5111         * info.el (Info-isearch-search): Doc fix.
5112         (Info-search): Change search-failed message from "initial node" to
5113         "end of node" (bug#12078).
5114         (Info-isearch-search): Change `isearch-string-state' to
5115         `isearch--state-string'.
5117 2012-08-08  Glenn Morris  <rgm@gnu.org>
5119         * language/persian.el: Remove file.
5120         * language/misc-lang.el: Move unique part of persian.el here.
5121         * loadup.el: Remove language/persian.
5123 2012-08-08  Ă“scar Fuentes  <ofv@wanadoo.es>
5125         * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
5127 2012-08-08  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
5129         * progmodes/python.el Fixed defsubst warning.
5130         (python-syntax-context) Rename from python-info-ppss-context.
5131         (python-syntax-context-type): Rename from
5132         python-info-ppss-context-type.
5133         (python-syntax-comment-or-string-p): Rename from
5134         python-info-ppss-comment-or-string-p.
5136 2012-08-08  Jay Belanger  <jay.p.belanger@gmail.com>
5138         * calc/calc-misc.el (calc-record-why): Don't record a message twice.
5140 2012-08-07  Andreas Schwab  <schwab@linux-m68k.org>
5142         * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
5143         a defcustom that is quoted with backquote.
5145         * calc/calc-prog.el (math-do-defmath): Use backquote forms.
5146         Fix handling of interactive spec when the body uses return.
5147         (math-do-arg-check, math-define-function-body): Use backquote forms.
5148         * calc/calc-ext.el (math-defcache): Likewise.
5149         * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
5150         * allout.el (allout-new-exposure): Likewise.
5151         * calc/calcalg2.el (math-tracing-integral): Likewise.
5152         * info.el (Info-last-menu-item): Likewise.
5153         * emulation/vip.el (vip-loop): Likewise.
5154         * textmodes/artist.el (artist-funcall): Likewise.
5155         * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
5156         Construct menu-item directly.
5158         * progmodes/autoconf.el (font-lock-syntactic-keywords):
5159         Don't declare.
5161 2012-08-07  Chong Yidong  <cyd@gnu.org>
5163         * simple.el (deactivate-mark): Preserve text properties when
5164         saving the primary selection (Bug#8384).
5166 2012-08-07  Kevin Ryde  <user42@zip.com.au>
5168         * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
5169         (woman-parse-numeric-value): On a bad .IP line, issue a warning
5170         and continue processing (Bug#12110).
5172 2012-08-06  Stefan Monnier  <monnier@iro.umontreal.ca>
5174         * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
5175         syntax-propertize-function (bug#10095).
5177 2012-08-06  Stefan Monnier  <monnier@iro.umontreal.ca>
5179         * help-fns.el (help-fns--key-bindings, help-fns--signature)
5180         (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
5181         describe-function-1.
5182         (describe-function-1): Use them.  Move compiler macro after sig.
5183         (help-fns--compiler-macro): Use function-get.  Assume we're already in
5184         standard-output.  Adjust layout to new call order.
5186         * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
5187         re-binding a symbol that has a symbol-macro (bug#12119).
5189 2012-08-06  Mohsen BANAN  <libre@mohsen.1.banan.byname.net>
5191         * language/persian.el: New file.  (Bug#11812)
5192         * loadup.el: Add language/persian.el.
5194 2012-08-06  Chong Yidong  <cyd@gnu.org>
5196         * window.el (window--maybe-raise-frame): New function.
5197         (window--display-buffer): Split off from here.
5198         (display-buffer-reuse-window, display-buffer-pop-up-frame)
5199         (display-buffer-pop-up-window, display-buffer-use-some-window):
5200         Obey an inhibit-switch-frame action alist entry.
5201         (display-buffer): Update doc.
5203         * replace.el (occur-after-change-function): Avoid losing focus by
5204         using the inhibit-switch-frame display parameter (Bug#12139).
5206 2012-08-06  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
5208         Make internal shell process buffer names start with space.
5209         * progmodes/python.el (python-shell-make-comint): Add optional
5210         argument INTERNAL.
5211         (run-python-internal): Use it.
5212         (python-shell-internal-get-or-create-process): Check for new
5213         internal buffer names.
5215 2012-08-06  Glenn Morris  <rgm@gnu.org>
5217         * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5218         Do less getting and setting of environment variables.
5220 2012-08-05  Chong Yidong  <cyd@gnu.org>
5222         * proced.el (proced): Add substitution string to docstring to
5223         trigger autoloading of the proced library on C-h f (Bug#1768).
5225         * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
5226         Don't show defvars which have no second argument (Bug#8638).
5228         * imenu.el (imenu-generic-expression): Move documentation here
5229         from imenu--generic-function.
5230         (imenu--generic-function): Refer to imenu-generic-expression.
5232 2012-08-05  Vegard Ă˜ye  <vegard_oye@hotmail.com>  (tiny change)
5234         * emulation/viper-init.el (viper-deflocalvar): Add docstring and
5235         indentation declaration.
5236         (viper-loop): Add indentation declaration (Bug#7025).
5238 2012-08-05  Chong Yidong  <cyd@gnu.org>
5240         * help-fns.el (describe-variable): Add hyperlink for
5241         directory-local variables files.  Improve buffer-local and
5242         permanent-local reporting; suggested by MON KEY (Bug#6644).
5244         * help-mode.el (help-dir-local-var-def): New button type.
5246         * files.el (kill-buffer-hook): Provide a defvar.
5248 2012-08-05  Glenn Morris  <rgm@gnu.org>
5250         * eshell/esh-ext.el (eshell/addpath):
5251         Also update eshell-path-env.  (Bug#12013)
5253 2012-08-05  Chong Yidong  <cyd@gnu.org>
5255         * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
5257         * fringe.el (fringe-styles): Add docstring.
5258         (fringe--check-mode): New function.
5259         (set-fringe-mode, set-fringe-style): Use it.
5260         (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
5262         * files.el (set-auto-mode): Fix invalid setq call.
5264 2012-08-04  Stefan Monnier  <monnier@iro.umontreal.ca>
5266         * isearch.el: Misc simplification; use defstruct.
5267         (isearch-mode-map): Dense maps now work like sparse ones.
5268         (isearch--state): New defstruct.
5269         (isearch-string-state, isearch-message-state, isearch-point-state)
5270         (isearch-success-state, isearch-forward-state)
5271         (isearch-other-end-state, isearch-word-state, isearch-error-state)
5272         (isearch-wrapped-state, isearch-barrier-state)
5273         (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
5274         replaced by defstruct's accessors.
5275         (isearch--set-state): Rename from isearch-top-state and change
5276         calling convention.
5277         (isearch-push-state): Use new isearch--get-state.
5278         (isearch-toggle-word): Disable regexp when enabling word.
5279         (isearch-message-prefix): Remove unused arg _c-q-hack.
5280         (isearch-message-suffix): Remove unused arg _ellipsis.
5282 2012-08-04  Andreas Schwab  <schwab@linux-m68k.org>
5284         * simple.el (list-processes--refresh): For a server use :host or
5285         :local as the address.
5286         (list-processes): Doc fix.
5288 2012-08-04  Michal Nazarewicz  <mina86@mina86.com>
5290         * lisp/mpc.el: Support password in host argument.
5291         (mpc--proc-connect): Parse and use new password element.
5292         Set mpc-proc variable instead of returning process.
5293         (mpc-proc): Adjust accordingly.
5295 2012-08-03  Eli Zaretskii  <eliz@gnu.org>
5297         * whitespace.el (whitespace-display-mappings): Use Unicode
5298         codepoints, instead of emacs-mule codepoints.  See
5299         http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
5300         for the details.
5302         * files.el (file-truename): Don't skip symlink-chasing part on
5303         windows-nt.  Incorporate the resolution of 8+3 short aliases on
5304         Windows into the loop that recursively chases symlinks.
5305         Compare directory and its parent case-insensitively on MS-Windows and
5306         MS-DOS.
5308 2012-08-03  Chong Yidong  <cyd@gnu.org>
5310         * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
5312         * sort.el (sort-regexp-fields): Doc fix.
5314 2012-08-03  Tassilo Horn  <tsdh@gnu.org>
5316         * textmodes/reftex.el (reftex-compile-variables): Make keyvals
5317         labels regex position point at the expected place.
5319 2012-08-03  MON KEY  <monkey@sandpframing.com>
5321         * net/imap.el (imap-interactive-login, imap-authenticate)
5322         (imap-mailbox-lsub, imap-mailbox-list)
5323         (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
5324         (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
5325         (imap-parse-response): Doc fix.
5327 2012-08-03  JoĂ£o TĂ¡vora  <joaotavora@gmail.com>
5329         * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
5330         if sexp scanning does not move point (Bug#5734).
5332 2012-08-02  Tassilo Horn  <tsdh@gnu.org>
5334         * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
5335         Add listings, minted, and ctable packages.
5336         (reftex-label-alist-builtin): Move listings, minted, and ctable
5337         entries before LaTeX.
5338         (reftex-label-alist): Docfix.
5340 2012-08-02  Bastien Guerry  <bzg@gnu.org>
5342         * replace.el (occur): Fix docstring (bug#12122).
5344 2012-08-02  Glenn Morris  <rgm@gnu.org>
5346         * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
5348 2012-08-02  Paul Eggert  <eggert@cs.ucla.edu>
5350         Obsolete alias inactivate-current-input-method-function (Bug#10150).
5351         * international/mule-cmds.el: Create
5352         inactivate-current-input-method-function as an obsolete alias for
5353         deactivate-current-input-method-function.  See Katsumi Yamaoka in
5354         <http://bugs.gnu.org/10150#46>.
5356 2012-08-01  Jay Belanger  <jay.p.belanger@gmail.com>
5358         * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
5359         of nested `if's.
5361 2012-08-01  Glenn Morris  <rgm@gnu.org>
5363         * progmodes/autoconf.el (autoconf-definition-regexp):
5364         Add AH_TEMPLATE, adjust submatch numbering.
5365         (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
5366         (autoconf-current-defun-function): Update for above change.
5367         (autoconf-current-defun-function): First skip to end of current word.
5369 2012-08-01  Rupert Swarbrick  <rswarbrick@gmail.com>  (tiny change)
5371         * calendar/cal-html.el (cal-html-insert-agenda-days):
5372         Fix typo.  (Bug#12018)
5374 2012-07-31  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
5376         Shell processes: enhancements to startup and CEDET compatibility.
5377         * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
5378         (python-shell-make-comint): accept-process-output at startup.
5379         (run-python-internal): Set inferior-python-mode-hook to nil.
5380         (python-shell-internal-get-or-create-process): call sit-for.
5381         (python-preoutput-result): Add obsolete alias.
5382         (python-shell-internal-send-string): Use it.
5383         (python-shell-send-setup-code): Remove call to
5384         accept-process-output.
5386 2012-07-31  Andreas Schwab  <schwab@linux-m68k.org>
5388         * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
5389         (Bug#12108)
5391 2012-07-31  Jay Belanger  <jay.p.belanger@gmail.com>
5393         * calc-mode.el (calc-basic-simplification-mode): Rename from
5394         `calc-limited-simplification-mode'.
5395         (calc-alg-simplification-mode): New function.
5396         (calc-set-simplify-mode): Adjust message.
5398         * calc.el (calc-set-mode-line): Adjust mode line display for
5399         basic simplification mode.
5401         * calc-help.el (calc-m-prefix-help): Update help message.
5403         * calc-ext.el (calc-init-extensions): Add bindings and autoloads
5404         for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
5406 2012-07-31  Bastien Guerry  <bzg@gnu.org>
5408         * man.el (man): Fix comment.  (bug#12101)
5410 2012-07-31  Martin Rudalics  <rudalics@gmx.at>
5412         * window.el (switch-to-prev-buffer, switch-to-next-buffer):
5413         Don't return a non-nil value when no suitable buffer was found.
5415 2012-07-31  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
5417         * progmodes/python.el (run-python-internal): Disable font lock for
5418         internal shells.
5420 2012-07-30  Stefan Merten  <smerten@oekonux.de>
5422         * textmodes/rst.el: Silence `checkdoc-ispell'.
5423         (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
5424         (rst-official-version, rst-official-cvs-rev)
5425         (rst-package-emacs-version-alist): Update to upstream V1.3.1.
5426         (rst-mode-map): New key binding.
5428 2012-07-30  Paul Eggert  <eggert@cs.ucla.edu>
5430         Update .PHONY listings in makefiles.
5431         * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
5432         autoloads, update-subdirs, updates, bzr-update, update-authors,
5433         compile-onefile, compile-calc, backup-compiled-files,
5434         compile-after-backup, compile-one-process, mh-autoloads,
5435         bootstrap-clean, distclean, maintainer-clean.
5437 2012-07-29  Jay Belanger  <jay.p.belanger@gmail.com>
5439         * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
5440         (calc-set-mode-line): Don't display "AlgSimp ".
5442         * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
5443         (calc-lim-simplify-mode): New function.
5444         (calc-set-simplify-mode): Default to 'alg.
5445         (calc-default-simplify-mode): Make algebraic simplifications
5446         the default.
5448         * calc/calc-ext.el (calc-init-extensions): Remove binding for
5449         `calc-alg-simplify-mode'.  Add binding for `calc-lim-simplify-mode'.
5451         * calc/calc-help.el (calc-m-prefix-help): Change messages to
5452         indicate new simplification modes.
5454         * calc/README: Mention new default simplification mode.
5456         * calc/calc.el (math-normalize-error): New variable.
5457         (math-normalize): Set `math-normalize-error' to t
5458         when there's an error.
5460         * calc/calc-alg.el (math-simplify): Don't simplify when
5461         `math-normalize' returns an error.
5463 2012-07-29  Eli Zaretskii  <eliz@gnu.org>
5465         * international/mule-cmds.el (set-locale-environment): Revert last
5466         change, since display-graphic-p returns nil when this function is
5467         called during startup.  Instead...
5469         * term/w32console.el (terminal-init-w32console): ...setup the
5470         keyboard and terminal encoding for TTY sessions here.  (Bug#12082)
5472 2012-07-29  Juri Linkov  <juri@jurta.org>
5474         * simple.el (goto-line): Don't display default line number in the
5475         prompt because it should be displayed by `read-number' (bug#9952).
5476         Add the current line number to the defaults of `goto-line' to
5477         allow its easier modification by users with `M-n' (bug#9201).
5479         * subr.el (read-number): Support multiple default values like in
5480         other minibuffer reading functions.  Replace `read' with
5481         `string-to-number' for consistency with `number-to-string'.
5483 2012-07-29  Paul Eggert  <eggert@cs.ucla.edu>
5485         deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
5486         * emulation/viper-init.el (viper-deactivate-input-method-action):
5487         Rename from viper-inactivate-input-method-action.
5488         (viper-deactivate-input-method):
5489         Rename from viper-inactivate-input-method.
5490         * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
5491         * international/mule-cmds.el (deactivate-input-method):
5492         Rename from inactivate-input-method.
5493         Also run input-method-deactivate-hook.
5494         (deactivate-current-input-method-function):
5495         Rename from inactivate-current-input-method-function.
5496         (input-method-deactivate-hook): New hook.
5497         (input-method-inactivate-hook): Mark obsolete.
5498         (inactivate-input-method): Mark obsolete.
5500         * international/quail.el (quail-activate):
5501         Also run quail-deactivate-hook.
5502         (quail-deactivate): Rename from quail-inactivate.
5503         * international/robin.el (robin-activate):
5504         Also run robin-deactivate-hook.
5505         (robin-deactivate): Rename from robin-inactivate.
5507 2012-07-29  Chong Yidong  <cyd@gnu.org>
5509         * simple.el (indicate-copied-region): New function.
5510         (kill-ring-save): Split off from here.
5512         * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
5513         (kill-rectangle): Set deactivate-mark to t on read-only error.
5515         * register.el (copy-to-register, copy-rectangle-to-register):
5516         Deactivate the mark, and use indicate-copied-region (Bug#10056).
5517         (append-to-register, prepend-to-register): Call indicate-copied-region.
5519 2012-07-29  Juri Linkov  <juri@jurta.org>
5521         * simple.el (async-shell-command-buffer): New defcustom.
5522         (shell-command): Use it.  (Bug#4719)
5524 2012-07-28  Eli Zaretskii  <eliz@gnu.org>
5526         * international/mule-cmds.el (set-locale-environment): In a
5527         console session on MS-Windows, set up keyboard and terminal
5528         encoding from the OEM codepage, not the ANSI codepage.
5529         (Bug#12055)
5531 2012-07-28  Chong Yidong  <cyd@gnu.org>
5533         * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
5534         gdb-get-location.
5536 2012-07-28  Leo Liu  <sdl.web@gmail.com>
5538         * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
5539         the alist (bug#12029).
5541 2012-07-28  Eli Zaretskii  <eliz@gnu.org>
5543         * makefile.w32-in (custom-deps, finder-data, updates, compile)
5544         (compile-always, compile-first)
5545         ($(lisp)/calendar/cal-loaddefs.el)
5546         ($(lisp)/calendar/diary-loaddefs.el)
5547         ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
5548         ($(lisp)/net/tramp-loaddefs.el, bootstrap)
5549         ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
5550         instead of on update-subdirs.
5551         (bootstrap-clean): Delete $(lisp)/subdirs.el.
5553 2012-07-28  Chong Yidong  <cyd@gnu.org>
5555         * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
5556         directory if vc-deduce-backend returns nil (Bug#7350).
5558         * simple.el (delete-trailing-lines): New option.
5559         (delete-trailing-whitespace): Obey it (Bug#11879).
5561 2012-07-28  David Engster  <deng@randomsample.de>
5563         * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
5564         Explanation of new 'symbol-qnames feature in doc-strings.
5565         (xml-maybe-do-ns): Return expanded names as plain symbols if
5566         'symbol-qnames was provided in XML-NS argument (Bug#11916).
5567         (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
5569 2012-07-27  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
5571         Consistent completion in inferior python with emacs -nw.
5572         * progmodes/python.el (inferior-python-mode): replace "<tab>"
5573         binding in inferior-python-mode-map with "\t".
5574         (python-shell-completion-complete-at-point)
5575         (python-completion-complete-at-point): Remove interactive spec.
5577 2012-07-27  Jay Belanger  <jay.p.belanger@gmail.com>
5579         * calc/calccomp.el (math-compose-expr): Undo previous change.
5581 2012-07-27  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
5583         * progmodes/python.el (python-mode-map): Add keybinding for
5584         run-python.
5585         (python-shell-make-comint): Fix pop-to-buffer call.
5586         (run-python): Autoload.  New arg SHOW.
5587         (python-shell-get-or-create-process): Do not pop python process
5588         buffer.
5590 2012-07-27  Michael Albinus  <michael.albinus@gmx.de>
5592         * notifications.el (notifications-on-action-signal)
5593         (notifications-on-closed-signal): Use also the bus address for the map.
5594         (notifications-notify, notifications-close-notification)
5595         (notifications-get-capabilities): Add optional argument BUS.
5597 2012-07-27  Tassilo Horn  <tsdh@gnu.org>
5599         * textmodes/reftex-vars.el (reftex-label-alist-builtin):
5600         Add support for the lstlisting and minted environments, and for the
5601         ctable macro.
5602         * textmodes/reftex.el (reftex-compile-variables): Also recognize
5603         labels written in keyvals syntax.
5605 2012-07-27  Jay Belanger  <jay.p.belanger@gmail.com>
5607         * calc/calccomp.el (math-compose-expr): Use parentheses when
5608         there is a product in the denominator of a fraction.
5610 2012-07-26  Eli Zaretskii  <eliz@gnu.org>
5612         * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
5613         ($(lisp)/calendar/diary-loaddefs.el)
5614         ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
5615         ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
5616         Fixes failures in parallel bootstrap because subdirs.el is being
5617         rewritten while the autoload files are built at the same time,
5618         which needs to load subdirs.el.
5620 2012-07-26  Martin Rudalics  <rudalics@gmx.at>
5622         * mouse.el (popup-menu): Fix doc-string and re-indent code.
5623         (mouse-drag-line): Don't exit tracking when a switch-frame or
5624         switch-window event occurs (Bug#12006).
5626 2012-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
5628         * mouse.el (popup-menu): Fix last change.
5630 2012-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
5632         Autoload from Lisp with more care.  Follow aliases when looking for
5633         function properties.
5634         * subr.el (autoloadp): New function.
5635         (symbol-file): Use it.
5636         (function-get): New function.
5637         * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
5638         autoload-do-load.
5639         * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
5640         (lisp-indent-function):
5641         * emacs-lisp/gv.el (gv-get):
5642         * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
5643         * emacs-lisp/byte-opt.el (byte-optimize-form):
5644         * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
5645         * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
5646         Use function-get.
5647         * emacs-lisp/cl.el: Don't propagate function properties any more.
5649         * speedbar.el (speedbar-add-localized-speedbar-support):
5650         * emacs-lisp/disass.el (disassemble-internal):
5651         * desktop.el (desktop-load-file):
5652         * help-fns.el (help-function-arglist, find-lisp-object-file-name)
5653         (describe-function-1):
5654         * emacs-lisp/find-func.el (find-function-noselect):
5655         * emacs-lisp/elp.el (elp-instrument-function):
5656         * emacs-lisp/advice.el (ad-has-proper-definition):
5657         * apropos.el (apropos-safe-documentation, apropos-macrop):
5658         * emacs-lisp/debug.el (debug-on-entry):
5659         * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
5660         * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
5661         * calc/calc.el (name): Use autoloadp & autoload-do-load.
5663 2012-07-25  Alp Aker  <alp.tekin.aker@gmail.com>
5665         * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
5666         function, not an obsolete variable (Bug#12046).
5668 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
5670         * faces.el (face-spec-reset-face): Fix last change.  (Bug#12042)
5672 2012-07-25  Christopher Schmidt  <christopher@ch.ristopher.com>
5674         * emacs-lisp/pp.el (pp-display-expression): Select old selected
5675         window only if it is still live (Bug#12034).
5677 2012-07-25  Martin Rudalics  <rudalics@gmx.at>
5679         * subr.el (redirect-frame-focus): Add advertised calling
5680         convention (Bug#12030).
5682 2012-07-25  Paul Eggert  <eggert@cs.ucla.edu>
5684         Prefer typical American spelling for "acknowledgment".
5685         * vc/add-log.el (change-log-acknowledgment): Rename from
5686         change-log-acknowledgement, with an alias for the old name.
5688 2012-07-25  Jay Belanger  <jay.p.belanger@gmail.com>
5690         * calc-alg.el (math-simplify-divide): Don't cross multiply
5691         in an equation when the lhs is a variable.
5693 2012-07-24  Julien Danjou  <julien@danjou.info>
5695         * net/netrc.el (netrc-find-service-number, netrc-store-data):
5696         Remove, unused.
5698 2012-07-23  Eli Zaretskii  <eliz@gnu.org>
5700         * startup.el (command-line): Don't display an empty user name in
5701         the error message about non-existent home directory, when
5702         init-file-user was set to an empty string.  See
5703         http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
5704         for the details and context.
5706 2012-07-22  Vincent BelaĂ¯che  <vincentb1@users.sourceforge.net>
5708         * ses.el (ses-cell-formula-aset): New macro.
5709         (ses-cell-references-aset): New macro.
5710         (ses-cell-p): New function.
5711         (ses-rename-cell): Do no longer rely on complex operations like
5712         ses-cell-set-formula or ses-set-cell to change the cell and handle
5713         the undo at the same time, but rather use lower level new macros
5714         `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
5715         the undo directly.  Refresh the mode line.
5717 2012-07-21  Leo Liu  <sdl.web@gmail.com>
5719         * progmodes/cc-cmds.el (c-defun-name):
5720         Use match-string-no-properties instead for consistency.
5722 2012-07-20  Leo Liu  <sdl.web@gmail.com>
5724         * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
5725         (Bug#7879)
5727         * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
5729 2012-07-20  Stefan Monnier  <monnier@iro.umontreal.ca>
5731         * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
5732         * progmodes/bug-reference.el, misearch.el: Provide themselves
5733         (bug#11915).
5735         * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
5736         of narrowed buffer (bug#11966).
5738 2012-07-20  Vincent BelaĂ¯che  <vincentb1@users.sourceforge.net>
5740         * ses.el (ses-rename-cell): Set new name also in reference list of
5741         cells of which the renamed cell depends.
5743 2012-07-20  Masatake YAMATO  <yamato@redhat.com>
5745         * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
5746         to check whether menu-bar is shown or not.  If not shown,
5747         show the menu-bar as a popup menu instead of using tmm.
5748         * mouse.el (popup-menu): Accept `point' as `position' argument.
5750 2012-07-20  Dmitry Gutov  <dgutov@yandex.ru>
5752         * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
5753         up inside string symbol literal (bug#11923).
5755 2012-07-20  Eli Zaretskii  <eliz@gnu.org>
5757         * startup.el (fancy-startup-text): Read the whole tutorial, not
5758         just its first 256 bytes.  Prevents gibberish in display of the
5759         tutorial title.
5761 2012-07-20  Dmitry Antipov  <dmantipov@yandex.ru>
5763         Drop idle buffer compaction due to an absence of the
5764         proved efficiency.
5765         * compact.el: Remove.
5767 2012-07-19  Sam Steingold  <sds@gnu.org>
5769         * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
5770         vc-bzr-pull & vc-bzr-merge-branch.
5771         * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
5772         (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
5773         for consistency with compilation-error-regexp-alist.
5774         * vc/vc-git.el (vc-git-error-regexp-alist): Add.
5775         (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
5776         * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
5777         (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
5779 2012-07-19  Stefan Monnier  <monnier@iro.umontreal.ca>
5781         * emacs-lisp/chart.el: Use lexical-binding.
5782         (chart-emacs-storage): Don't hardcode the list of entries.
5784 2012-07-19  Dmitry Antipov  <dmantipov@yandex.ru>
5786         Next round of tweaks caused by Fgarbage_collect changes.
5787         * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
5789 2012-07-19  Dmitry Antipov  <dmantipov@yandex.ru>
5791         Compact buffers when idle.
5792         * compact.el: New file.
5794 2012-07-19  Stefan Monnier  <monnier@iro.umontreal.ca>
5796         * subr.el (eventp): Presume that if it looks vaguely like an event,
5797         it's an event (bug#10190).
5799 2012-07-19  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
5801         Enhancements to ppss related code (thanks Stefan).
5802         * progmodes/python.el (python-indent-context)
5803         (python-indent-calculate-indentation, python-indent-dedent-line)
5804         (python-indent-electric-colon, python-nav-forward-block)
5805         (python-mode-abbrev-table)
5806         (python-info-assignment-continuation-line-p): Simplify checks
5807         for ppss context.
5808         (python-info-continuation-line-p): Cleanup.
5809         (python-info-ppss-context): Do not catch 'quote.
5810         (python-info-ppss-context-type)
5811         (python-info-ppss-comment-or-string-p): Simplify.
5813 2012-07-18  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
5815         * progmodes/python.el: Enhancements to eldoc support.
5816         (python-info-current-symbol): New function.
5817         (python-eldoc-at-point): Use python-info-current-symbol.
5818         (python-info-current-defun): Fix cornercase on first defun scan.
5819         (python-eldoc--get-doc-at-point): Use python-info-current-symbol
5820         and signal error when no inferior python process is available.
5822 2012-07-18  Dmitry Gutov  <dgutov@yandex.ru>
5824         * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
5825         assume it's always t.
5826         (vc-git-registered): Remove caching, the function is only called
5827         once.
5828         (vc-git-branches): Use `vc-git--call' instead of `call-process'.
5830 2012-07-18  Chong Yidong  <cyd@gnu.org>
5832         * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
5834         * simple.el (count-words): Report on narrowing (Bug#9959).
5836         * bindings.el: Bind M-= to count-words.
5838         * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
5840 2012-07-18  Masatake YAMATO  <yamato@redhat.com>
5842         * progmodes/sh-script.el (sh-imenu-generic-expression):
5843         Capture a function with `function' keyword and without parentheses
5844         like "function FOO" (bug#11856).
5846 2012-07-18  Tassilo Horn  <tassilo@member.fsf.org>
5848         * window.el (split-window-sensibly): Make WINDOW argument
5849         optional.
5851 2012-07-18  Chong Yidong  <cyd@gnu.org>
5853         * subr.el (keyboard-translate): Doc fix (Bug#7261).
5855         * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
5856         and make C-x 8 RET exit isearch (Bug#11439).
5858         * international/iso-transl.el: Move isearch-mode-map key
5859         definitions to isearch.el.
5861 2012-07-18  Stefan Monnier  <monnier@iro.umontreal.ca>
5863         * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
5864         (eieio-defclass): Use gv-define-setter when possible.
5866 2012-07-18  Dmitry Antipov  <dmantipov@yandex.ru>
5868         Reflect recent changes in Fgarbage_collect.
5869         * emacs-lisp/chart.el (chart-emacs-storage): Change to
5870         reflect new format of data returned by Fgarbage_collect.
5872 2012-07-17  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
5874         New utility functions + python-info-ppss-context fix (Bug#11910).
5875         * progmodes/python.el (python-info-beginning-of-block-statement-p)
5876         (python-info-ppss-comment-or-string-p): New functions.
5877         (python-info-ppss-context): Small fix for string check.
5879 2012-07-17  Juri Linkov  <juri@jurta.org>
5881         * dired-aux.el (dired-do-async-shell-command): Doc fix.
5882         (dired-do-async-shell-command): Don't add `*' at the end of the
5883         command (Bug#11815).
5884         (dired-do-shell-command): Doc fix.
5885         (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
5886         Join the individual commands using either "&" or ";" as the
5887         separator depending on the values of these trailing characters.
5888         At the end re-add the trailing "&".  (Bug#10598)
5890         * simple.el (async-shell-command): Sync the interactive spec with
5891         `shell-command'.  Doc fix.
5892         (shell-command): Doc fix.
5894 2012-07-17  Juri Linkov  <juri@jurta.org>
5896         * descr-text.el (describe-char): Fix format args.  (Bug#10129)
5898 2012-07-17  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
5900         Final renames and doc fixes for movement commands (bug#11899).
5901         * progmodes/python.el (python-nav-beginning-of-statement):
5902         Rename from python-nav-statement-start.
5903         (python-nav-end-of-statement): Rename from
5904         python-nav-statement-end.
5905         (python-nav-beginning-of-block): Rename from
5906         python-nav-block-start.
5907         (python-nav-end-of-block): Rename from python-nav-block-end.
5909 2012-07-17  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
5911         * progmodes/python.el (python-shell-send-string-no-output):
5912         Allow accept-process-output to quit, keeping shell process ready for
5913         future interactions (Bug#11868).
5915 2012-07-17  Stefan Monnier  <monnier@iro.umontreal.ca>
5917         * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
5919         * emacs-lisp/elint.el (elint-find-args-in-code):
5920         Use help-function-arglist, so as to handle lexical byte-code.
5922         * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
5923         change (bug#11826).
5925 2012-07-17  Stefan Monnier  <monnier@iro.umontreal.ca>
5927         * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
5928         Avoid spuriously marking the buffer as modified because of c-is-sws.
5930         * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
5931         as not-a-comment (bug#11946).
5933         * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
5934         for uninterned vars.
5936         * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
5937         Use read-event since we don't really want to read chars but bytes.
5939         * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
5940         $$..$$ but also $..$ using regexps (bug#11953).
5941         Use tex-verbatim for \url and \path.
5942         (tex-font-lock-keywords): Define as defconst like the others.
5943         (tex-common-initialization): Don't use font-lock-syntax-table any more.
5945 2012-07-16  RenĂ© Kyllingstad  <Rene@Kyllingstad.com>  (tiny change)
5947         * international/mule-cmds.el (ucs-insert): Make it an obsolete
5948         alias for insert-char.
5950 2012-07-16  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
5952         * progmodes/python.el: Simplified imenu implementation.
5953         (python-nav-jump-to-defun): Remove command.
5954         (python-mode-map): Use `imenu' instead.
5955         (python-nav-list-defun-positions-cache)
5956         (python-imenu-include-defun-type, python-imenu-make-tree)
5957         (python-imenu-subtree-root-label, python-imenu-index-alist):
5958         Remove vars.
5959         (python-nav-list-defun-positions, python-nav-read-defun)
5960         (python-imenu-tree-assoc, python-imenu-make-element-tree)
5961         (python-imenu-make-tree, python-imenu-create-index):
5962         Remove functions.
5963         (python-mode): Update to interact with imenu by setting
5964         `imenu-extract-index-name-function' only.
5966 2012-07-16  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
5968         * progmodes/python.el: Enhancements to navigation commands.
5969         (python-nav-backward-sentence)
5970         (python-nav-forward-sentence): Remove.
5971         (python-nav-backward-statement, python-nav-forward-statement)
5972         (python-nav-statement-start, python-nav-statement-end)
5973         (python-nav-backward-block, python-nav-forward-block)
5974         (python-nav-block-start, python-nav-block-end)
5975         (python-nav-forward-sexp-function)
5976         (python-info-current-line-comment-p)
5977         (python-info-current-line-empty-p): New functions.
5978         (python-indent-context): Use `python-nav-statement-start'.
5980 2012-07-16  Michael Albinus  <michael.albinus@gmx.de>
5982         * eshell/em-ls.el (eshell/ls): Use `apply'.
5984         * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
5985         multi-hops, instead of Tramp internals.
5987         * vc/ediff.el (ediff-directories): Add trailing space to prompts.
5989         * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
5990         when F1 and F2 are located on different hosts.
5992 2012-07-14  Chong Yidong  <cyd@gnu.org>
5994         * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
5995         (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
5996         (xterm-mouse-translate-extended, xterm-mouse-translate-1)
5997         (xterm-mouse--read-event-sequence-1000)
5998         (xterm-mouse--read-event-sequence-1006): New functions.  For old
5999         mouse protocol, handle M-mouse-X events correctly.
6000         (xterm-mouse-event): New arg specifying mouse protocol.
6001         (turn-on-xterm-mouse-tracking-on-terminal)
6002         (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
6003         sequence to toggle extended coordinates on newer XTerms.
6004         This appears to be harmless on terminals which do not support this.
6006 2012-07-14  Leo Liu  <sdl.web@gmail.com>
6008         Add fringe bitmap indicators for flymake.  (Bug#11253)
6009         * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
6010         (flymake-make-overlay): New arg BITMAP.
6011         (flymake-error-bitmap, flymake-warning-bitmap)
6012         (flymake-fringe-indicator-position): New user variables.
6014         * fringe.el: New bitmap exclamation-mark.
6016 2012-07-14  Jan Djärv  <jan.h.d@swipnet.se>
6018         * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
6019         also (Bug#7879).
6021 2012-07-14  Chong Yidong  <cyd@gnu.org>
6023         * electric.el (electric-pair-post-self-insert-function): Fix pair
6024         insertion in empty-region case (Bug#11520).
6026 2012-07-14  Chong Yidong  <cyd@gnu.org>
6028         * bindings.el: Consolidate ctl-x-r-map bindings.
6029         Bind copy-rectangle-as-kill to C-x r w.
6031         * rect.el, register.el: Move bindings to bindings.el.
6033 2012-07-14  Reuben Thomas  <rrt@sc3d.org>
6035         * rect.el (copy-rectangle-as-kill): New command (Bug#739).
6037 2012-07-13  Andreas Schwab  <schwab@linux-m68k.org>
6039         * emacs-lisp/cl.el (labels): Remove spurious quote.  (Bug#11938)
6041 2012-07-13  Juanma Barranquero  <lekktu@gmail.com>
6043         * bindings.el (top): Use `mapc' instead of `mapcar'.
6045         * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
6047 2012-07-13  Michael Albinus  <michael.albinus@gmx.de>
6049         * progmodes/sql.el (sql-comint): Suppress the check for program on
6050         remote hosts.  Reported by Francis Devereux <francis@devrx.org>.
6051         (Bug#11908)
6053 2012-07-13  Chong Yidong  <cyd@gnu.org>
6055         * bindings.el: Assign a non-nil permanent-local property to
6056         per-buffer variables which lack a default value (Bug#11930).
6058         * help-fns.el (describe-variable): In the "automatically becomes
6059         local" notice, take note of permanent-local variables.
6061 2012-07-13  Chong Yidong  <cyd@gnu.org>
6063         * files.el (toggle-read-only): Doc fix and code cleanup.  New arg
6064         to allow printing the message when called from Lisp.
6066         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6067         Remove toggle-read-only.
6069         * bs.el (bs-toggle-readonly):
6070         * buff-menu.el (Buffer-menu-toggle-read-only):
6071         Remove with-no-warnings around toggle-read-only.
6073         * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
6074         Remove with-no-warnings around toggle-read-only.
6075         (ffap-read-only, ffap-read-only-other-window)
6076         (ffap-read-only-other-frame): Callers changed.
6078         * help-mode.el: Don't require view package.
6079         (help-mode-finish): Set buffer-read-only instead of calling
6080         toggle-read-only.
6082         * bindings.el (mode-line-toggle-read-only):
6083         * dired.el (dired-toggle-read-only):
6084         * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
6085         with non-nil second arg.
6087         * emacs-lisp/eieio-custom.el (eieio-customize-object):
6088         * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
6089         directly.
6091 2012-07-12  Eli Zaretskii  <eliz@gnu.org>
6093         * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
6094         not incf.
6096 2012-07-11  Stefan Monnier  <monnier@iro.umontreal.ca>
6098         More CL cleanups and reduction of use of cl.el.
6099         * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
6100         * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
6101         * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
6102         * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
6103         * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
6104         * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
6105         * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
6106         * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
6107         * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
6108         * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
6109         * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
6110         * eshell/em-cmpl.el, eshell/em-banner.el:
6111         * calendar/parse-time.el: Use cl-lib.
6112         * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
6113         * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
6114         * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
6115         * term/ns-win.el, term.el, shell.el, ps-samp.el:
6116         * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
6117         * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
6118         * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
6119         * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
6120         * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
6121         * mail/mailheader.el, mail/feedmail.el: Don't use CL.
6122         * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
6123         * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
6124         `lambda' rather than with `quote'.
6125         (eshell-do-opt): Adjust accordingly.
6126         (eshell-process-option): Simplify.
6127         * eshell/esh-var.el:
6128         * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
6129         * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
6130         (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
6131         to `pcase--dontcare'.
6132         * emacs-lisp/cl.el (labels): Mark obsolete.
6133         (cl--letf, letf): Move to cl-lib.
6134         (cl--letf*, letf*): Remove.
6135         * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
6136         * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
6137         (cl-progv): Rewrite.
6138         (cl--letf, cl-letf): Move from cl.el.
6139         (cl-letf*): New macro.
6140         * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
6142 2012-07-11  Michael Albinus  <michael.albinus@gmx.de>
6144         * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
6146 2012-07-11  Chong Yidong  <cyd@gnu.org>
6148         * vc/log-edit.el (log-edit-vc-backend): New variable.
6149         (log-edit): Doc fix.
6151         * vc/vc-dispatcher.el (vc-log-edit): New args.  Use PARAMS
6152         argument of log-edit to set up all local variables.
6153         (vc-start-logentry): New optional arg specifying VC backend.
6155         * vc/vc.el (vc-checkin): Use it.
6156         (vc-deduce-fileset): Handle Log Edit buffers.
6157         (vc-diff): Make first argument optional too.
6159         * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
6161 2012-07-10  Michael Albinus  <michael.albinus@gmx.de>
6163         * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
6164         command, just in case.  The function is not needed anymore.
6165         (eshell-external-command): Do not call `eshell-remote-command'.
6167 2012-07-10  Stefan Monnier  <monnier@iro.umontreal.ca>
6169         Reduce use of (require 'cl).
6170         * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
6171         * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
6172         * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
6173         * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
6174         * international/quail.el, info-xref.el, imenu.el, image-mode.el:
6175         * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
6176         * battery.el, avoid.el, abbrev.el: Use cl-lib.
6177         * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
6178         * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
6179         * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
6180         * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
6181         * calculator.el, autorevert.el, apropos.el: Don't require CL.
6182         * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
6183         (byte-compile-unfold-bcf, byte-compile-check-variable):
6184         * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
6185         (byte-compile-nilconstp):
6186         * emacs-lisp/autoload.el (make-autoload): Use pcase.
6187         * face-remap.el (text-scale-adjust): Simplify pcase patterns.
6189         * emacs-lisp/gv.el (cond): Make it a valid place.
6190         (if): Simplify slightly.
6192         * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
6193         (pcase--self-quoting-p): New function.
6194         (pcase--u1): Use it.
6196 2012-07-10  Glenn Morris  <rgm@gnu.org>
6198         * emacs-lisp/authors.el (authors-fixed-entries):
6199         (authors-renamed-files-alist): Update for configure.in -> configure.ac.
6201 2012-07-09  Paul Eggert  <eggert@cs.ucla.edu>
6203         Rename configure.in to configure.ac (Bug#11603).
6204         * emacs-lisp/authors.el (authors-canonical-file-name):
6205         * progmodes/autoconf.el (autoconf-mode):
6206         Prefer configure.ac to configure.in.
6208 2012-07-08  Chong Yidong  <cyd@gnu.org>
6210         * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
6211         Implement the mouse-1-click-follows-link handling properly.
6213         * info.el (Info-link-keymap): Use follow-link mechanism for
6214         header-line links (Bug#374).
6216         * simple.el (deactivate-mark): Do not set the primary selection
6217         if another program has acquired it (Bug#11772).
6219 2012-07-07  Kevin Ryde  <user42@zip.com.au>
6221         * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
6222         (woman-decode-region): Replace escaped-escapes without destroying
6223         bold or underline (Bug#11552).
6224         (woman2-process-escapes): Handle nofill regions (Bug#11591).
6226 2012-07-07  Chong Yidong  <cyd@gnu.org>
6228         * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
6229         (interprogram-cut-function, interprogram-paste-function):
6230         Mention that we typically mean the clipboard.
6232 2012-07-06  Glenn Morris  <rgm@gnu.org>
6234         * kmacro.el (kmacro-call-macro): Restore repeat message.  (Bug#11817)
6236         * files.el (toggle-read-only): Restrict message to interactive use.
6238 2012-07-06  Michael Albinus  <michael.albinus@gmx.de>
6240         * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
6242         * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
6244 2012-07-06  Glenn Morris  <rgm@gnu.org>
6246         * Makefile.in (compile-one-process): Rename from "recompile".
6248         * Makefile.in (bzr-update): "compile" is the same as "recompile
6249         autoloads", but parallelizable, so use that instead.
6251 2012-07-06  Dmitry Gutov  <dgutov@yandex.ru>
6253         * window.el (quit-window): Always restore window height when
6254         it's saved in quit-restore parameter (Bug#11810).
6256 2012-07-06  Glenn Morris  <rgm@gnu.org>
6258         * simple.el (kill-whole-line): Doc tweak.
6260 2012-07-06  Eli Zaretskii  <eliz@gnu.org>
6262         * files.el (file-relative-name): Compare file names
6263         case-insensitively if on MS-Windows or MS-DOS, or if
6264         read-file-name-completion-ignore-case is non-nil.  Don't use
6265         case-fold-search for this purpose.  (Bug#11827)
6267 2012-07-17  Andreas Schwab  <schwab@linux-m68k.org>
6269         * calendar/cal-dst.el (calendar-current-time-zone):
6270         Return calendar-current-time-zone-cache if non-nil.
6272 2012-07-17  Masatake YAMATO  <yamato@redhat.com>
6273 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
6275         * calendar/cal-dst.el (calendar-current-time-zone):
6276         Return calendar-current-time-zone-cache if non-nil.
6278 2012-07-06  Glenn Morris  <rgm@gnu.org>
6280         * Makefile.in (cvs-update): Remove old alias.
6282 2012-07-05  Michael Albinus  <michael.albinus@gmx.de>
6284         Sync with Tramp 2.2.6-pre.
6286         * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
6287         compatible declaration.
6289         * net/tramp-cmds.el (tramp-append-tramp-buffers):
6290         Protect `list-load-path-shadows' call.
6292         * net/tramp-compat.el (top): Require packages, which aren't
6293         autoloaded anymore for XEmacs.  Protect call of
6294         `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
6295         compiler.  Do not require tramp-util.el and tramp-vc.el anymore,
6296         it hurts at least for SXEmacs.
6297         (tramp-compat-temporary-file-directory): In XEmacs, there is no
6298         standard-value for `temporary-file-directory'.
6300         * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
6301         Redirect stderr to /dev/null.
6302         (tramp-sh-handle-write-region): uid and gid can be floats.
6303         Reported by Russell Sim <russell.sim@gmail.com>.
6304         (tramp-sh-handle-vc-registered): Hide errors.
6305         (tramp-vc-file-name-handler): Use dummy results for `process-file'
6306         and `start-file-process'.
6307         (tramp-maybe-open-connection): Check also whether `non-essential'
6308         is bound.
6310 2012-07-04  Chong Yidong  <cyd@gnu.org>
6312         * xml.el (xml--parse-buffer): Use xml-syntax-table.
6313         (xml-parse-tag): Likewise, and avoid changing entity tables.
6314         (xml-syntax-table): Define from scratch, making sure not to give
6315         x2000 and other Unicode spaces whitespace syntax, since those are
6316         not spaces in XML.
6317         (xml-parse-fragment): Delete unused function.
6318         (xml-name-start-char-re, xml-name-char-re, xml-name-re)
6319         (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
6320         (xml-entity-ref, xml-pe-reference-re)
6321         (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
6322         (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
6323         (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
6324         (xml-entity-value-re): Use syntax references in regexps where
6325         possible; no need to define inside a let-binding.
6326         (xml-parse-dtd): Use xml-pe-reference-re.
6327         (xml-entity-or-char-ref-re): New defconst.
6328         (xml-parse-string, xml-substitute-special): Use it.
6330 2012-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
6332         * files.el (locate-dominating-file): Allow `name' to be a predicate.
6333         (find-file--read-only): New function.
6334         (find-file-read-only, find-file-read-only-other-window)
6335         (find-file-read-only-other-frame): Use it.
6336         (insert-file-contents-literally): Don't `fset'.
6337         (get-free-disk-space): Use locate-dominating-file.
6339         * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
6340         function is already compiled.
6342         * xml.el (xml-name-regexp): Remove, redundant.  Use xml-name-re.
6344 2012-07-03  Michael Albinus  <michael.albinus@gmx.de>
6346         * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
6347         files on the same host.
6349 2012-07-03  Andreas Schwab  <schwab@linux-m68k.org>
6351         * help-fns.el (describe-function-1): Only call
6352         help-fns--autoloaded-p when we have a file name.  (Bug#11848)
6354 2012-07-03  Chong Yidong  <cyd@gnu.org>
6356         * xml.el: Protect parser against XML bombs.
6357         (xml-entity-expansion-limit): New variable.
6358         (xml-parse-string, xml-substitute-special): Use it.
6359         (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
6361 2012-07-03  Glenn Morris  <rgm@gnu.org>
6363         * progmodes/bug-reference.el (bug-reference-bug-regexp):
6364         Allow linking to specific messages in debbugs reports (eg 123#5).
6366 2012-07-02  Chong Yidong  <cyd@gnu.org>
6368         * xml.el: Fix entity and character reference expansion, allowing
6369         them to expand into markup as per XML spec.
6370         (xml-default-ns): New variable.
6371         (xml-entity-alist): Use XML spec definitions for lt and amp.
6372         (xml-parse-region): Make first two arguments optional.
6373         Discard text properties.
6374         (xml-parse-tag-1): New function, spun off from xml-parse-tag.
6375         All callers changed.
6376         (xml-parse-tag): Call xml-parse-tag-1.  For backward
6377         compatibility, this function should not modify buffer contents.
6378         (xml-parse-tag-1): Fix opening-tag regexp.
6379         (xml-parse-string): Rewrite, handling entity and character
6380         references properly.
6381         (xml--entity-replacement-text): Signal an error if a parameter
6382         entity is undefined.
6384 2012-07-02  Stefan Monnier  <monnier@iro.umontreal.ca>
6386         * comint.el (comint-output-filter): Filter out repeated prompts.
6388         * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
6389         and file-name-absolute-p.
6390         (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
6391         internal calls.
6393 2012-07-02  Paul Eggert  <eggert@cs.ucla.edu>
6395         Spelling fixes.
6396         * emacs-lisp/bytecomp.el (byte-compile--reify-function):
6397         Rename from byte-compile--refiy-function.  All uses changed.
6399 2012-07-01  Chong Yidong  <cyd@gnu.org>
6401         * xml.el (xml--parse-buffer): New function.  Move most of
6402         xml-parse-region here.
6403         (xml-parse-region): Copy region into a temporary buffer, since
6404         parameter entity substitution requires changing buffer contents.
6405         Use xml--parse-buffer.
6406         (xml-parse-file): Use xml--parse-buffer.
6407         (xml-parse-dtd): Make parameter entity substitution work right.
6408         Use proper regexps for ELEMENT declarations (Bug#7172).
6410 2012-06-30  Glenn Morris  <rgm@gnu.org>
6412         * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
6414         * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
6415         Remove outdated and unnecessary dbus declarations.
6417 2012-06-30  Eli Zaretskii  <eliz@gnu.org>
6419         * emacs-lisp/timer.el (timer-until): Subtract results of
6420         float-time, instead of taking float-time of the result of
6421         time-subtract, since float-time signals an error for negative time
6422         arguments.
6424 2012-06-30  Chong Yidong  <cyd@gnu.org>
6426         * xml.el (xml-*-re): Convert defvars into defconsts, and
6427         eval-and-compile them so eval-and-compile works on derivatives.
6428         (xml--entity-replacement-text): Use eval-and-comple.
6430 2012-06-30  Michael Albinus  <michael.albinus@gmx.de>
6432         * vc/vc-git.el (vc-git-registered): Use cache property
6433         `git-registered'.
6434         (vc-git-mode-line-string): Call `vc-working-revision' instead of
6435         `vc-git-working-revision' in order to benefit from the cache.
6436         (vc-git-root): Use cache property `git-root'.  (Bug#11757)
6438 2012-06-30  Dmitry Gutov  <dgutov@yandex.ru>
6440         * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
6441         removed (likely outside Emacs).  (Bug#11757)
6443 2012-06-30  Stefan Monnier  <monnier@iro.umontreal.ca>
6445         * emacs-lisp/cl-lib.el: Require macroexp.
6447 2012-06-30  Chong Yidong  <cyd@gnu.org>
6449         * xml.el: Implement XML parameter entities.
6450         (xml-parameter-entity-alist): New variable.
6451         (xml-parse-region, xml-parse-fragment): Preserve previous values
6452         of xml-entity-alist and xml-parameter-entity-alist, so that
6453         repeated calls on different documents do not change them.
6454         (xml-parse-tag): Fix doctype regexp.
6455         (xml--entity-replacement-text): New function.
6456         (xml-parse-dtd): Use it.  Don't handle system entities; doing that
6457         properly requires url retrieval which is unimplemented.
6458         (xml-escape-string): Doc fix.
6460 2012-06-30  Stefan Monnier  <monnier@iro.umontreal.ca>
6462         * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
6464 2012-06-29  Dmitry Antipov  <dmantipov@yandex.ru>
6466         * fringe.el (fringe-mode): Doc fix.
6468 2012-06-29  Michael Albinus  <michael.albinus@gmx.de>
6470         * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
6471         is non-nil.
6472         (ange-ftp-ignore-errors-if-non-essential): New defmacro.
6473         (ange-ftp-file-name-all-completions): Use it.  (Bug#11808)
6475 2012-06-29  Andreas Schwab  <schwab@linux-m68k.org>
6477         * calendar/cal-dst.el (calendar-current-time-zone):
6478         Return calendar-current-time-zone-cache if non-nil.
6480 2012-06-29  Masatake YAMATO  <yamato@redhat.com>
6482         * progmodes/which-func.el (which-func-format):
6483         Add mouse-face.  (Bug#11698)
6485 2012-06-29  Leo Liu  <sdl.web@gmail.com>
6487         * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
6489 2012-06-29  Stefan Monnier  <monnier@iro.umontreal.ca>
6491         * minibuffer.el (minibuffer-confirm-exit-commands):
6492         Add completion-at-point (bug#11725).
6494 2012-06-29  Glenn Morris  <rgm@gnu.org>
6496         * progmodes/f90.el (f90-font-lock-keywords-2):
6497         Add some preprocessor elements.  (Bug#10499)
6499 2012-06-29  Stefan Monnier  <monnier@iro.umontreal.ca>
6501         * progmodes/cperl-mode.el (cperl-update-syntaxification):
6502         Use syntax-propertize (bug#11739).
6504 2012-06-28  Juanma Barranquero  <lekktu@gmail.com>
6506         * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
6508 2012-06-28  Julien Danjou  <julien@danjou.info>
6510         * term.el (term-handle-colors-array): Use a set of new faces to
6511         color the terminal.  Also uses :inverse-video property.
6512         (term-default-fg-color): Set to nil by default, deprecate in favor
6513         of `term-face'.
6514         (term-default-bg-color): Set to nil by default, deprecate in favor
6515         of `term-face'.
6516         (term-current-face): Use `term-face' by default.
6517         (term-bold-attribute): Variable deleted.
6519 2012-06-28  Glenn Morris  <rgm@gnu.org>
6521         * simple.el (completion-list-mode-finish):
6522         Don't use toggle-read-only.  (Since completion-list-mode has
6523         a special mode-class, it wasn't doing anything extra anyway.)
6525 2012-06-28  Stefan Monnier  <monnier@iro.umontreal.ca>
6527         Make inlining of other-mode interpreted functions work (bug#11799).
6528         * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
6529         (byte-compile): Use it to fix compilation of lexical-binding closures.
6530         * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
6531         function, if needed.
6533 2012-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
6535         * help-mode.el (help-make-xrefs): Don't just withstand
6536         cyclic-variable-indirection but any error in documentation-property.
6538         * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
6539         memory use.
6540         * bindings.el (bindings--define-key): New function.
6541         * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
6542         * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
6543         * bindings.el: Use it to purecopy define-key bindings.
6545         * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
6547         * emacs-lisp/cl.el (flet): Mark obsolete.
6548         * emacs-lisp/cl-macs.el (cl-flet*): New macro.
6549         * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
6550         * progmodes/js.el (js-c-fill-paragraph):
6551         * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
6552         (ebrowse-switch-member-buffer-to-derived-class):
6553         * play/5x5.el (5x5-solver): Use cl-flet.
6555         * emacs-lisp/cl.el: Use lexical-binding.  Fix flet (bug#11780).
6556         (cl--symbol-function): New macro.
6557         (cl--letf, cl--letf*): Use it.
6559         * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
6560         Strip "toggle-" if any.
6562 2012-06-27  Glenn Morris  <rgm@gnu.org>
6564         * info.el (Info-default-directory-list): Move here from paths.el.
6565         * paths.el: Remove file, which is now empty.
6566         * loadup.el: No longer load "paths".
6568         * custom.el (custom-initialize-delay): Doc fix.
6570         * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
6571         * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
6572         * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
6573         * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
6574         * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
6575         * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
6576         * eshell/eshell.el (eshell-defgroup): Remove alias.
6578 2012-06-27  Chong Yidong  <cyd@gnu.org>
6580         * help.el (help-enable-auto-load): New variable.
6582         * help-fns.el (help-fns--autoloaded-p): New function.
6583         (describe-function-1): Refer to a function as "autoloaded" if it
6584         was autoloaded at any time in the past.  Perform autoloading if
6585         help-enable-auto-load is non-nil.
6587 2012-06-26  Eli Zaretskii  <eliz@gnu.org>
6589         * makefile.w32-in (compile, compile-always): Depend on
6590         update-subdirs, not on subdirs.el.  Otherwise, several different
6591         sub-targets of 'bootstrap' running in parallel could
6592         simultaneously write to subdirs.el, producing a garbled file.
6594 2012-06-26  Sam Steingold  <sds@gnu.org>
6596         * files.el (file-name-base): New convenience function.
6597         * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
6598         * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
6599         * progmodes/cc-defs.el, progmodes/cperl-mode.el:
6600         * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
6601         * textmodes/ispell.el, textmodes/reftex-ref.el:
6602         * textmodes/tex-mode.el: Use it.
6603         Did not touch cedet and org because they are maintained elsewhere.
6605 2012-06-26  Martin Rudalics  <rudalics@gmx.at>
6607         * calendar/calendar.el (calendar-exit): Don't try to delete or
6608         iconify last frame.  See:
6609         http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
6611 2012-06-25  Jim Diamond  <Jim.Diamond@AcadiaU.ca>  (tiny change)
6613         * server.el (server-process-filter): Remember dir in the
6614         process's `server-client-directory' properties.
6616 2012-06-24  Chong Yidong  <cyd@gnu.org>
6618         * xml.el (xml-parse-tag): Correctly handle comment embedded in
6619         non-tag text.
6621 2012-06-23  Juanma Barranquero  <lekktu@gmail.com>
6623         * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
6625 2012-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
6627         * help-fns.el (describe-variable): Don't croak when doc is not found.
6628         * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
6629         * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
6630         * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
6631         * emacs-lisp/smie.el (smie-next-sexp): CSE.
6632         * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
6633         ((lambda ..) ..).
6634         * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
6636 2012-06-23  Chong Yidong  <cyd@gnu.org>
6638         * info.el (Info-mouse-follow-link): Accept symbol values of
6639         link-args.  Select window; suggested by Gerhard Kahl (Bug#11672).
6640         (Info-fontify-node): Use Info-link-keymap for all navigation
6641         buttons, with link-args property to perform the desired action.
6642         (Info-link-keymap): Doc fix.
6643         (Info-next-link-keymap, Info-prev-link-keymap)
6644         (Info-up-link-keymap): Delete now-unused keymaps.
6646 2012-06-23  Chong Yidong  <cyd@gnu.org>
6648         * mouse.el (mouse-drag-track): Deactivate the mark before popping.
6650         * progmodes/python.el (python-skeleton-define): Mark abbrevs as
6651         system abbrevs.
6653         * ansi-color.el (ansi-color-apply-on-region): Doc fix.
6655 2012-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
6657         * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
6658         (bug#11719).
6660         * minibuffer.el (completion--twq-try): Try to fail more gracefully when
6661         the requote function doesn't work properly (bug#11714).
6663 2012-06-23  Glenn Morris  <rgm@gnu.org>
6665         * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
6667 2012-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
6669         Further GV/CL cleanups.
6670         * emacs-lisp/gv.el (gv-get): Autoload functions to find their
6671         gv-expander.
6672         (gv--defun-declaration): New function.
6673         (defun-declarations-alist): Use it.
6674         (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
6675         (gv-place): Autoload.
6676         * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
6677         original definition of dotimes and dolist.
6678         * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
6679         (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
6680         * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
6681         (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
6682         (cl-ninth, cl-tenth): Move gv handler to the function's definition.
6683         * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
6684         to the function's definition.
6685         * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
6686         * window.el:
6687         * files.el:
6688         * faces.el:
6689         * env.el: Don't use CL.
6691 2012-06-22  Paul Eggert  <eggert@cs.ucla.edu>
6693         Support higher-resolution time stamps (Bug#9000).
6695         * calendar/time-date.el (with-decoded-time-value): New arg
6696         PICO-SYMBOL in VARLIST.  It's optional, for backward compatibility.
6697         (encode-time-value): New optional arg PICO.  New type 3.
6698         (time-to-seconds) [!float-time]: Support the new picoseconds
6699         component if it's used.
6700         (seconds-to-time, time-subtract, time-add):
6701         Support ps-resolution time stamps as well.
6703         * emacs-lisp/timer.el (timer): New component psecs.  All uses changed.
6704         (timerp): Timer vectors now have length 9, not 8.
6705         (timer--time): Support new-style (4-part) time stamps.
6706         (timer-next-integral-multiple-of-time): Time stamps now have
6707         picosecond resolution, so take a bit more care about rounding.
6708         (timer-relative-time, timer-inc-time): New optional arg psecs.
6709         (timer-set-time-with-usecs): Set psecs to 0.
6710         (timer--activate): Check psecs component, too.
6712         * proced.el (proced-time-lessp): Support ps-resolution stamps.
6714 2012-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
6716         * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
6717         Move the non-essential binding to the post/pre-command-hook where it is
6718         more obviously correct.
6720         * subr.el (read-passwd): Don't use a history at all.
6721         * savehist.el (savehist-save): Remove password saved accidentally
6722         because of the above bug.
6724 2012-06-22  Bastien Guerry  <bzg@gnu.org>
6726         * files.el (toggle-read-only): Display a message telling whether
6727         the buffer is read-only or not (bug#11726).
6729 2012-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
6731         * emacs-lisp/gv.el: New file.
6732         * subr.el (push, pop): Extend to generalized variables.
6733         * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
6734         * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
6735         * emacs-lisp/cl-macs.el: Require gv.  Use gv-define-setter,
6736         gv-define-simple-setter, and gv-define-expander.
6737         Remove setf-methods defined in gv.  Rename cl-setf -> setf.
6738         (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
6739         (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
6740         (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
6741         (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
6742         gv-letplace.
6743         (cl-defstruct): Don't define setf-method any more.
6744         * emacs-lisp/cl.el (flet): Don't autoload.
6745         (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
6746         (define-setf-expander, defsetf, define-modify-macro)
6747         (cl-struct-setf-expander): Move from cl-lib.el.
6748         * emacs-lisp/syntax.el:
6749         * emacs-lisp/ewoc.el:
6750         * emacs-lisp/smie.el:
6751         * emacs-lisp/cconv.el:
6752         * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
6753         (timer--time): Use gv-define-simple-setter.
6754         * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
6755         to avoid coding-system problems in subr.el.  Adjust all users.
6756         (macroexp--maxsize, macroexp-small-p): New functions.
6757         * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
6758         * scroll-bar.el (scroll-bar-mode):
6759         * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
6760         (normal-erase-is-backspace-mode): Don't use the `eq' place.
6761         * winner.el (winner-configuration, winner-make-point-alist)
6762         (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
6763         * files.el (locate-file-completion-table): Avoid list*.
6765 2012-06-22  Chong Yidong  <cyd@gnu.org>
6767         * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
6768         (dired-create-files): Doc fix (Bug#11329).
6769         (dired-do-copy): Doc fix (Bug#11334).
6770         (dired-mark-read-string): Doc fix (Bug#11553).
6772         * dired.el (dired-recursive-copies, dired-recursive-deletes):
6773         Doc fix (Bug#11326).
6774         (dired-make-relative): Doc fix (Bug#11332).  Remove unused arg.
6775         (dired-dwim-target): Doc fix.
6777         * wdired.el (wdired-mode): Doc fix.
6779 2012-06-22  Glenn Morris  <rgm@gnu.org>
6781         * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
6782         (pcmpl-rpm-cache-stamp-file): New constant.
6783         (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
6784         (pcmpl-rpm-packages): Optionally cache list of packages.
6786         * pcmpl-rpm.el (pcmpl-rpm): New group.
6787         (pcmpl-rpm-query-options): New option.
6788         (pcmpl-rpm-packages): No need to inline it.
6789         Use pcmpl-rpm-query-options.
6791         * calendar/calendar.el (calendar-in-read-only-buffer):
6792         Avoid some needless mode changes.
6794 2012-06-21  Chong Yidong  <cyd@gnu.org>
6796         * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
6797         (desktop-path): Remove . from the default value (Bug#10977).
6798         (desktop-read): Use user-emacs-directory if desktop-path is nil.
6800 2012-06-20  Chong Yidong  <cyd@gnu.org>
6802         * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
6804 2012-06-20  David Röthlisberger  <david@rothlis.net>  (tiny change)
6806         * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
6807         (bug#11201).
6809 2012-06-20  Chong Yidong  <cyd@gnu.org>
6811         * term.el (term-window-width): Handle the case of a missing right
6812         fringe (Bug#8837).
6813         (term-check-size): Use window-text-height (Bug#5445).
6814         (term-mode): Use define-derived-mode.  Minor cleanups.
6815         Set font-lock-defaults (Bug#7692).
6816         (term-move-columns, term-insert-char, term-emulate-terminal)
6817         (term-erase-in-line, term-insert-spaces): Use font-lock-face.
6819 2012-06-20  Michael Albinus  <michael.albinus@gmx.de>
6821         * net/ange-ftp.el (ange-ftp-get-passwd):
6822         Bind `enable-recursive-minibuffers'.
6823         (ange-ftp-get-process): Throw if `non-essential' is non-nil.
6825 2012-06-19  David Röthlisberger  <david@rothlis.net>  (tiny change)
6827         * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
6829 2012-06-19  Glenn Morris  <rgm@gnu.org>
6831         * progmodes/python.el (python-mode): Derive from prog-mode.
6833 2012-06-19  Kevin Gallagher  <Kevin.Gallagher@boeing.com>
6835         * emulation/edt.el (edt-default-menu-bar-update-buffers)
6836         (edt-user-menu-bar-update-buffers): New functions.
6837         (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
6839 2012-06-19  Chong Yidong  <cyd@gnu.org>
6841         * subr.el (with-selected-window): Preserve the selected window's
6842         terminal's top-frame (Bug#4702).
6844         * window.el (save-selected-window): Likewise.
6846 2012-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
6848         * progmodes/python.el (python-rx-constituents): Move backquote.
6849         (python-skeleton-define, python-define-auxiliary-skeleton):
6850         Use `declare'.
6852 2012-06-18  Michael Albinus  <michael.albinus@gmx.de>
6854         * minibuffer.el (read-file-name-default): Revert the patch from
6855         2012-06-17.
6857 2012-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
6859         * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
6860         (pcase--u1, pcase--q1): Don't use apply-partially.
6862 2012-06-18  Glenn Morris  <rgm@gnu.org>
6864         * progmodes/python.el (python-proc, python-buffer)
6865         (python-send-receive, python-send-string): Fix obsolete versions.
6867 2012-06-18  Martin Rudalics  <rudalics@gmx.at>
6869         * window.el (special-display-p): Completely remove stringp
6870         check.  Suggested by Andreas Schwab <schwab@linux-m68k.org>.
6872 2012-06-17  Michael Albinus  <michael.albinus@gmx.de>
6874         * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
6876         * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
6878         * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
6879         * net/tramp-sh.el (tramp-maybe-open-connection):
6880         Throw if `non-essential' is non-nil.
6882 2012-06-17  Martin Rudalics  <rudalics@gmx.at>
6884         * window.el (special-display-p): Signal an error if BUFFER-NAME
6885         is not a string (Bug#11713).
6887 2012-06-17  Paul Eggert  <eggert@cs.ucla.edu>
6889         * progmodes/python.el (python-info-beginning-of-backslash):
6890         Rename from python-info-beginning-of-backlash, as a spelling fix.
6892 2012-06-17  Chong Yidong  <cyd@gnu.org>
6894         * term.el (term-emulate-terminal): If term-check-size is called,
6895         move point to the process mark without resetting point (Bug#4635).
6897 2012-06-17  Glenn Morris  <rgm@gnu.org>
6899         * international/mule-cmds.el (mule-menu-keymap)
6900         (set-language-environment, set-locale-environment): Doc tweaks.
6902 2012-06-16  Aurelien Aptel  <aurelien.aptel@gmail.com>
6904         * cus-face.el (custom-face-attributes): Add wave-style underline
6905         attribute.
6906         * faces.el (set-face-attribute): Update docstring to describe
6907         wave-style underline attribute.
6909 2012-06-16  Chong Yidong  <cyd@gnu.org>
6911         * term/xterm.el (terminal-init-xterm): Discard input before
6912         querying background mode (Bug#10959).
6914 2012-06-16  Stefan Merten  <smerten@oekonux.de>
6916         * textmodes/rst.el: Added and corrected some comments.
6917         (rst-re-alist-def): Improve symbol syntax.
6918         (rst-mode-syntax-table): Correct syntax entries.
6919         (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
6920         (rst-official-version, rst-official-cvs-rev): Update version
6921         information.
6923 2012-06-15  Juanma Barranquero  <lekktu@gmail.com>
6925         * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
6926         in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
6928 2012-06-15  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
6930         * progmodes/python.el: New python.el merge.
6931         (python-guess-indent): Obsolete var.
6932         (python-indent-guess-indent-offset): New defcustom.
6933         (python-indent): Obsolete var.
6934         (python-indent-offset): New defcustom.
6935         (python-python-command, python-jython-command): Delete var.
6936         (python-shell-interpreter): New defcustom.
6937         (python-pdbtrack-do-tracking-p): Delete var.
6938         (python-pdbtrack-activate): New defcustom.
6939         (python-use-skeletons): Obsolete var.
6940         (python-skeleton-autoinsert): New defcustom.
6941         (inferior-python-filter-regexp, python-continuation-offset)
6942         (python-honour-comment-indentation, python-indent-string-contents)
6943         (python-jython-packages, python-mode-hook)
6944         (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
6945         (python-shell-prompt-alist)
6946         (python-source-modes): Delete defcustoms.
6947         (python-check-buffer-name, python-eldoc-setup-code)
6948         (python-eldoc-string-code, python-ffap-setup-code)
6949         (python-ffap-string-code, python-fill-comment-function)
6950         (python-fill-decorator-function, python-fill-paren-function)
6951         (python-fill-string-function, python-imenu-include-defun-type)
6952         (python-imenu-make-tree, python-imenu-subtree-root-label)
6953         (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
6954         (python-shell-compilation-regexp-alist)
6955         (python-shell-completion-module-string-code)
6956         (python-shell-completion-pdb-string-code)
6957         (python-shell-completion-setup-code)
6958         (python-shell-completion-string-code)
6959         (python-shell-enable-font-lock, python-shell-exec-path)
6960         (python-shell-extra-pythonpaths)
6961         (python-shell-internal-buffer-name, python-shell-interpreter-args)
6962         (python-shell-process-environment)
6963         (python-shell-prompt-block-regexp)
6964         (python-shell-prompt-output-regexp)
6965         (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
6966         (python-shell-send-setup-max-wait, python-shell-setup-codes)
6967         (python-shell-virtualenv-path): New defcustoms.
6968         (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
6969         (inferior-python-mode-syntax-table, python--prompt-regexp)
6970         (python-buffer, python-command python-python-command)
6971         (python-default-template, python-imports, python-indent-index)
6972         (python-indent-list, python-indent-list-length)
6973         (python-mode-running, python-pdbtrack-is-tracking-p)
6974         (python-preoutput-continuation, python-preoutput-leftover)
6975         (python-preoutput-result, python-preoutput-skip-next-prompt)
6976         (python-prev-dir/file, python-recursing)
6977         (python-saved-check-command, python-version-checked)
6978         (python-which-func-length-limit)
6979         (view-return-to-alist): Delete vars.
6980         (python-check-custom-command, python-dotty-syntax-table)
6981         (python-imenu-index-alist, python-indent-current-level)
6982         (python-indent-dedenters, python-indent-levels)
6983         (python-nav-beginning-of-defun-regexp)
6984         (python-nav-list-defun-positions-cache)
6985         (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
6986         (python-shell-internal-buffer)
6987         (python-skeleton-available): New vars.
6988         (def-python-skeleton): Delete macro.
6989         (python-skeleton-define): New macro.
6990         (python-define-auxiliary-skeleton, python-rx): New macros.
6991         (python-insert-class): Delete command.
6992         (python-skeleton-class): New command.
6993         (python-insert-def): Delete command.
6994         (python-skeleton-def): New command.
6995         (python-insert-for): Delete command.
6996         (python-skeleton-for): New command.
6997         (python-insert-if): Delete command.
6998         (python-skeleton-if): New command.
6999         (python-insert-try/except, python-insert-try/finally): Delete commands.
7000         (python-skeleton-try): New command.
7001         (python-insert-while): Delete command.
7002         (python-skeleton-while): New command.
7003         (python-backspace): Delete command.
7004         (python-indent-dedent-line-backspace): New command.
7005         (python-electric-colon): Delete command.
7006         (python-indent-electric-colon): New command.
7007         (python-guess-indent): Delete command.
7008         (python-indent-guess-indent-offset): New command.
7009         (python-shift-left): Delete command.
7010         (python-indent-shift-left): New command.
7011         (python-shift-right): Delete command.
7012         (python-indent-shift-right): New command.
7013         (python-find-function): Delete command.
7014         (python-nav-jump-to-defun): New command.
7015         (python-next-statement): Delete command.
7016         (python-nav-forward-sentence): New command.
7017         (python-previous-statement): Delete command.
7018         (python-nav-backward-sentence): New command.
7019         (python-fill-paragraph): Delete command.
7020         (python-fill-paragraph-function): New command.
7021         (python-send-buffer): Delete command.
7022         (python-shell-send-buffer): New command.
7023         (python-send-defun): Delete command.
7024         (python-shell-send-defun): New command.
7025         (python-send-region, python-send-region-and-go): Delete commands.
7026         (python-shell-send-region)
7027         (python-shell-switch-to-shell): New commands.
7028         (python-send-string): Delete command.
7029         (python-shell-send-string): New command.
7030         (python-switch-to-python): Delete command.
7031         (python-shell-switch-to-shell): New command.
7032         (python-describe-symbol): Delete command.
7033         (python-eldoc-at-point): New command.
7034         (python--set-prompt-regexp, python-args-to-list)
7035         (python-after-info-look, python-check-version)
7036         (python-check-comint-prompt, python-find-imports)
7037         (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
7038         (python-unload-function, python-expand-template)
7039         (python-maybe-jython, python-preoutput-filter)
7040         (python-pdbtrack-get-source-buffer)
7041         (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
7042         (python-pdbtrack-toggle-stack-tracking)
7043         (python-pdbtrack-track-stack-file, python-initial-text)
7044         (python-first-word, python-comment-line-p, python-send-command)
7045         (python-setup-brm, python-sentinel, python-set-proc)
7046         (python-skip-out, python-input-filter, python-outdent-p)
7047         (python-outline-level, python-backslash-continuation-line-p)
7048         (python-end-of-block, python-end-of-statement, python-mark-block)
7049         (python-beginning-of-block, python-beginning-of-statement)
7050         (python-blank-line-p, python-beginning-of-string)
7051         (python-open-block-statement-p): Delete functions.
7052         (python-indent-line, python-indent-line-1): Delete functions.
7053         (python-indent-line): New function.
7054         (python-indentation-levels): Delete function.
7055         (python-indent-calculate-levels): New function.
7056         (python-proc): Delete function.
7057         (python-shell-get-process): New function.
7058         (python-send-receive): Delete function.
7059         (python-shell-send-string-no-output): New function.
7060         (python-module-path): Delete function.
7061         (python-ffap-module-path): New function.
7062         (python-completion-at-point)
7063         (python-symbol-completions): Delete functions.
7064         (python-completion-complete-at-point): New function.
7065         (python-load-file): Delete function.
7066         (python-shell-send-file): New function.
7067         (python-calculate-indentation): Delete function.
7068         (python-indent-calculate-indentation): New function.
7069         (python-skip-comments/blanks): Delete function.
7070         (python-util-forward-comment): New function.
7071         (python-continuation-line-p): Delete function.
7072         (python-info-continuation-line-p): New function.
7073         (python-which-func, python-current-defun): Delete function.
7074         (python-info-current-defun): New function.
7075         (python-beginning-of-defun): Delete function.
7076         (python-nav-beginning-of-defun): New function.
7077         (python-close-block-statement-p)
7078         (python-block-end-p): Delete function.
7079         (python-info-closing-block): New function.
7080         (python-comint-output-filter-function)
7081         (python-eldoc--get-doc-at-point, python-end-of-defun-function)
7082         (python-fill-comment, python-fill-decorator, python-fill-paren)
7083         (python-fill-string, python-imenu-make-element-tree)
7084         (python-imenu-make-tree, python-imenu-tree-assoc)
7085         (python-indent-context, python-indent-dedent-line)
7086         (python-indent-line-function)
7087         (python-indent-post-self-insert-function)
7088         (python-indent-toggle-levels)
7089         (python-info-assignment-continuation-line-p)
7090         (python-info-beginning-of-backlash)
7091         (python-info-block-continuation-line-p)
7092         (python-info-closing-block-message)
7093         (python-info-line-ends-backslash-p)
7094         (python-info-looking-at-beginning-of-defun)
7095         (python-info-ppss-context, python-info-ppss-context-type)
7096         (python-nav-list-defun-positions, python-nav-read-defun)
7097         (python-nav-sentence-end, python-nav-sentence-start)
7098         (python-pdbtrack-comint-output-filter-function)
7099         (python-pdbtrack-set-tracked-buffer)
7100         (python-shell-calculate-exec-path)
7101         (python-shell-calculate-process-environment)
7102         (python-shell-completion--do-completion-at-point)
7103         (python-shell-completion--get-completions)
7104         (python-shell-completion-complete-at-point)
7105         (python-shell-completion-complete-or-indent)
7106         (python-shell-get-or-create-process)
7107         (python-shell-get-process-name)
7108         (python-shell-internal-get-or-create-process)
7109         (python-shell-internal-get-process-name)
7110         (python-shell-internal-send-string, python-shell-make-comint)
7111         (python-shell-parse-command, python-shell-send-setup-code)
7112         (python-skeleton-add-menu-items)
7113         (python-util-clone-local-variables, python-util-position)
7114         (run-python-internal, python-indentation-levels)
7115         (python-nav-beginning-of-defun)
7116         (python-completion-complete-at-point): New functions.
7117         (run-python): Change arguments.  New API requirements.
7119 2012-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
7121         * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
7122         (bug#11649).
7124         * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
7125         (macroexp--expand-all): Use it.
7127         * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
7128         (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
7129         Use `cl-function' instead.
7131 2012-06-14  Juanma Barranquero  <lekktu@gmail.com>
7133         * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
7134         Suggested by Stefan Monnier while discussing bug#11657.
7136 2012-06-14  Sam Steingold  <sds@gnu.org>
7138         * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
7140 2012-06-14  Andreas Schwab  <schwab@linux-m68k.org>
7142         * play/doctor.el (doctor-doc): Remove parameter and use
7143         doctor-sent instead of sent.
7144         (doctor-read-print): Use doctor-sent instead of sent.  (Bug#11708)
7146 2012-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
7148         * files.el: Require cl-lib.
7149         (file-name-non-special): Replace case -> cl-case.
7151         * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
7153         * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
7154         mapping from #' to function*.
7156 2012-06-13  Chong Yidong  <cyd@gnu.org>
7158         * mouse.el (mouse-drag-track): Do not set the mark if the user
7159         releases the mouse without selecting anything (Bug#11588).
7161 2012-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
7163         * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
7164         as well (bug#11646).
7166         * loadup.el: Count byte-code functions as well.
7168         * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
7169         * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
7171         * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
7172         (bug#11649).  Add cl-defun and cl-defmacro.
7174 2012-06-13  Drew Adams  <drew.adams@oracle.com>
7176         * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
7177         Fix last change.
7179 2012-06-13  Michael Albinus  <michael.albinus@gmx.de>
7181         * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
7182         Otherwise, it blocks in batch mode.
7184 2012-06-13  Juanma Barranquero  <lekktu@gmail.com>
7186         * help-mode.el (bookmark-make-record-default): Declare.
7188 2012-06-13  Chong Yidong  <cyd@gnu.org>
7190         * emacs-lisp/package.el (list-packages): Compute a list of
7191         packages that are newly-available since the last list-packages
7192         invocation.
7193         (package-menu--new-package-list): New var.
7194         (package-menu--generate, package-menu--print-info)
7195         (package-menu--status-predicate, package-menu-mark-install):
7196         Handle new status label "new".
7198 2012-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
7200         * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
7201         conversion to backquotes.
7203 2012-06-12  Chong Yidong  <cyd@gnu.org>
7205         * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
7206         Rename from gud-inhibit-global-bindings.
7208         * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
7210         * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
7211         hook from nxml-glyph-set-hook.
7213         * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
7214         declaration.
7216         * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
7218         * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
7219         Convert to defcustom.
7221 2012-06-12  Drew Adams  <drew.adams@oracle.com>
7223         * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
7224         New functions.
7225         (help-mode): Use them.
7227 2012-06-11  Glenn Morris  <rgm@gnu.org>
7229         * progmodes/fortran.el (fortran-font-lock-keywords-3):
7230         Use preprocessor face for directives.
7231         (fortran-directive-re): Doc fix.
7233 2012-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
7235         * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
7236         conversion to backquotes (bug#11652).
7238         Fix compiler-expansion of CL's cXXr functions (bug#11673).
7239         * emacs-lisp/cl-lib.el (cl--defalias): New function.
7240         (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
7241         (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
7242         (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
7243         (cl-ninth, cl-tenth): Mark them as inlinable.
7244         (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
7245         (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
7246         (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
7247         (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
7248         Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
7249         (cl-list*, cl-adjoin): Don't put an autoload manually.
7250         * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
7251         (cl--compiler-macro-list*): Add autoload cookie.
7252         (cl--compiler-macro-cXXr): New function.
7254         * help-fns.el (help-fns--compiler-macro): New function extracted from
7255         describe-function-1; follow aliases and use `compiler-macro' property.
7256         (describe-function-1): Use it.
7258 2012-06-11  Chong Yidong  <cyd@gnu.org>
7260         * startup.el (fancy-splash-head): Use splash.svg even if librsvg
7261         is uninstalled, if imagemagick is installed.
7263 2012-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
7265         * emacs-lisp/cl-lib.el: Use lexical-binding.
7266         (cl-map-extents, cl-maclisp-member): Remove.
7267         (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
7268         (cl--set-substring, cl--block-wrapper, cl--block-throw)
7269         (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
7270         * emacs-lisp/cl-extra.el: Use lexical-binding.
7271         (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
7272         (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
7273         (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
7274         (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
7275         * emacs-lisp/cl-seq.el: Use lexical-binding.
7276         (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
7277         (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
7278         (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
7279         * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
7280         * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
7281         CL's internals.
7283 2012-06-11  Michael Albinus  <michael.albinus@gmx.de>
7285         Sync with Tramp 2.2.6-pre.
7287         * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
7288         `print-length' and `print-level' to nil, in order to avoid
7289         truncation.  Reported by Christopher Schmidt
7290         <christopher@ristopher.com>.
7292         * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
7294         * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
7295         New defmacro.
7296         (tramp-compat-copy-directory): Add optional argument
7297         COPY-CONTENTS.  It is not handled yet.
7299         * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
7300         (tramp-ftp-file-name-p): Simplify.
7302         * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
7303         * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
7304         connection vector.
7306         * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
7307         (tramp-methods): Do not use `tramp-password-end-of-line'.
7308         (tramp-completion-function-alist-putty): Handle UNIX case.
7309         (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
7310         (tramp-do-file-attributes-with-stat)
7311         (tramp-do-directory-files-and-attributes-with-stat) Return uid and
7312         gid as real numbers.  They could run out of integer range on cygwin.
7313         (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
7314         (tramp-sh-handle-expand-file-name): Handle hops.
7315         (tramp-open-connection-setup-interactive-shell):
7316         Use `tramp-cleanup'.  Move check for busyboxes ...
7317         (tramp-find-shell): ... here.  Simplify implementation.
7318         Set "remote-shell" property also for alternative shells.
7319         (tramp-remote-coding-commands): Check "test -c /dev/stdout".
7320         If failing, a regular file would be written otherwise.
7321         Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
7322         (tramp-find-inline-encoding): Cache the coding commands in the
7323         process cache.  Apply test command on the remote side, if defined.
7324         (tramp-find-inline-compress): Cache the compress commands in the
7325         process cache.
7326         (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
7327         when requested.  Handle hops.
7328         (tramp-current-connection): New defvar.
7329         (tramp-maybe-open-connection): Use `tramp-cleanup'.
7330         Throw `suppress', if there was a failed connection shortly before.
7331         Handle user interrupt.  (Bug#10187)
7332         (tramp-get-inline-compress, tramp-get-inline-coding):
7333         Read connection properties from the process cache.
7335         * net/tramp-smb.el (tramp-smb-server-version)
7336         (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
7337         New defconsts.
7338         (tramp-smb-prompt): Extend for powershell prompt.
7339         (tramp-smb-file-name-handler-alist): Add handlers for
7340         `process-file', `shell-command' and `start-file-process'.
7341         (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
7342         (tramp-smb-winexe-shell-command-switch): New defcustoms.
7343         (tramp-smb-file-name-p): Simplify.
7344         (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
7345         (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
7346         (tramp-smb-shell-quote-argument): New defuns.
7347         (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
7348         Implement using "tar".  By this, time-stamps are preserved.
7349         (tramp-smb-handle-copy-file): Handle also the case of directories.
7350         (tramp-smb-do-file-attributes-with-stat)
7351         (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
7352         Use `tramp-get-connection-buffer').
7353         (tramp-smb-handle-rename-file): Use "rename", when source and
7354         target are on the same share.
7355         (tramp-smb-maybe-open-connection): Handle wrong passwords.
7356         Use `tramp-smb-server-version'.
7357         (tramp-smb-wait-for-output): Remove prompt.
7359         * net/tramp.el (top): Require 'cl.
7360         (tramp-methods, tramp-rsh-end-of-line):
7361         Remove `tramp-password-end-of-line' from docstring.
7362         (tramp-save-ad-hoc-proxies): New defcustom.
7363         (tramp-completion-function-alist): Adapt docstring.
7364         (tramp-default-password-end-of-line): Remove defcustom.
7365         (tramp-shell-prompt-pattern): Allow "[]" style prompts.  (Bug#11065)
7366         (tramp-user-regexp, tramp-file-name-regexp-unified)
7367         (tramp-file-name-regexp-url): Extend regexp by hop separator.
7368         (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
7369         (tramp-remote-file-name-spec-regexp): New defconst.
7370         (tramp-file-name-structure): Extend structure for hops.
7371         (tramp-get-method-parameter): Move up.
7372         (tramp-file-name-p, tramp-dissect-file-name)
7373         (with-parsed-tramp-file-name): Handle hops.
7374         (tramp-file-name-hop): New defun.
7375         (tramp-make-tramp-file-name): New optional arg HOP.
7376         (tramp-message-show-progress-reporter-message): New defvar.
7377         (tramp-with-progress-reporter): Use it.  We cannot use
7378         `tramp-message-show-message' here, because this suppresses also
7379         error buffers.
7380         (tramp-error-with-buffer): Suppress buffer view, if
7381         `tramp-message-show-message' is nil.
7382         Use `tramp-get-connection-buffer'.
7383         (tramp-cleanup): New defun.
7384         (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
7385         (tramp-file-name-handler): If `debug-on-error' is set, propagate
7386         an error unchanged.
7387         (tramp-completion-handle-file-name-all-completions): Handle hops.
7388         Fix an error when called from ido.
7389         (tramp-completion-dissect-file-name): Use better local variable
7390         name.  Add hop to the vector.
7391         (tramp-handle-insert-file-contents): Use progress-reporter for the
7392         whole scenario.
7393         (tramp-action-password): Let-bind `enable-recursive-minibuffers'
7394         to `t'.
7395         (tramp-check-for-regexp): Simplify search.
7396         (tramp-enter-password): Remove it.  Move implementation ...
7397         (tramp-action-password): ... here.
7398         (tramp-mode-string-to-int, tramp-local-host-p)
7399         (tramp-make-tramp-temp-file, tramp-read-passwd)
7400         (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
7401         Set tramp-autoload cookie.
7403         * net/trampver.el: Update release number.
7405 2012-06-11  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
7406             Michael Albinus  <michael.albinus@gmx.de>
7408         * net/tramp.el (tramp-set-completion-function): Fix docstring.
7409         (tramp-parse-group, tramp-parse-file)
7410         (tramp-parse-shostkeys-sknownhosts): New defuns.
7411         (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
7412         (tramp-parse-shosts-group, tramp-parse-sconfig)
7413         (tramp-parse-sconfig-group, tramp-parse-shostkeys)
7414         (tramp-parse-sknownhosts, tramp-parse-hosts)
7415         (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
7416         Use them.
7417         (tramp-parse-passwd-group, tramp-parse-netrc-group)
7418         (tramp-parse-putty-group): Don't narrow.
7419         (tramp-parse-putty): Make a loop.
7420         (tramp-file-name-handler): Catch the `suppress' signal.
7422 2012-06-11  Chong Yidong  <cyd@gnu.org>
7424         * image.el (imagemagick-register-types): Put the ImageMagick entry
7425         at the end of image-type-file-name-regexps.
7427 2012-06-11  Johan BockgĂ¥rd  <bojohan@gnu.org>
7429         * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
7430         (pcase, pcase-let*, pcase-dolist): Use them.
7432 2012-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
7434         * emacs-lisp/pcase.el (pcase--let*): New function.
7435         (pcase-let*): Use it.  Use pcase--memoize to avoid repeated expansions.
7436         (pcase--expand): Use macroexp-let².
7438 2012-06-10  Stefan Monnier  <monnier@iro.umontreal.ca>
7440         * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
7441         * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
7442         * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
7443         * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
7444         * emacs-lisp/derived.el: Use pcase instead of `cl'.
7445         * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
7447 2012-06-10  Glenn Morris  <rgm@gnu.org>
7449         * mail/rmail.el (rmail-yank-current-message): Leave point at
7450         correct position.  (Bug#11660)
7452 2012-06-10  Chong Yidong  <cyd@gnu.org>
7454         * allout-widgets.el: Fix code header.
7456 2012-06-10  Chong Yidong  <cyd@gnu.org>
7458         * cus-edit.el (customize-changed-options-previous-release):
7459         Bump to 24.1.
7461 2012-06-09  Andreas Schwab  <schwab@linux-m68k.org>
7463         * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
7465 2012-06-09  Chong Yidong  <cyd@gnu.org>
7467         * ebuff-menu.el (electric-buffer-list): Preserve header line.
7469 2012-06-09  Martin Rudalics  <rudalics@gmx.at>
7471         * window.el (special-display-popup-frame): Don't use
7472         window--display-buffer (Bug#11651).
7474 2012-06-09  Eli Zaretskii  <eliz@gnu.org>
7476         Fix parallel builds: make sure loaddefs.el is not being written
7477         while Lisp files are compiled.
7478         (compile): Don't depend on 'mh-autoloads'.
7479         (compile-CMD, compile-SH): Depend on 'autoloads'.
7480         (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
7482         * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200.  (Bug#11649)
7484 2012-06-09  Chong Yidong  <cyd@gnu.org>
7486         * face-remap.el (face-remap-add-relative, face-remap-set-base)
7487         (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
7488         Doc fixes (Bug#11225).
7490 2012-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>
7492         * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
7493         a function if there's a clear indication that it has a compiler-macro.
7494         * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
7495         (macro-declarations-alist): Add arglist to declaration functions.
7496         (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
7497         * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
7498         * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
7499         * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
7500         Also add autoload to find the compiler macro.
7501         * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
7502         (cl--compiler-macro-member, cl--compiler-macro-assoc)
7503         (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
7504         (cl--compiler-macro-get): New functions, replacing calls to
7505         cl-define-compiler-macro.
7506         (cl-typep) [compiler-macro]: Use macroexp-let².
7508 2012-06-08  Nick Dokos  <nicholas.dokos@hp.com>  (tiny change)
7510         * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
7511         string properly, fixes Bug#11473.
7513 2012-06-08  Chong Yidong  <cyd@gnu.org>
7515         * faces.el (set-face-attribute): Doc fix.
7516         (modify-face): Don't use :bold and :italic.
7517         (error, warning, success): Tweak definitions.
7519         * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
7520         (custom-modified, custom-set, custom-changed, custom-themed)
7521         (custom-saved, custom-button, custom-button-mouse)
7522         (custom-button-pressed, custom-state, custom-comment-tag)
7523         (custom-variable-tag, custom-group-tag-1, custom-group-tag)
7524         (custom-group-subtitle): Use new-style face specs.
7525         (custom-invalid-face, custom-rogue-face, custom-modified-face)
7526         (custom-set-face, custom-changed-face, custom-saved-face)
7527         (custom-button-face, custom-button-pressed-face)
7528         (custom-documentation-face, custom-state-face)
7529         (custom-comment-face, custom-comment-tag-face)
7530         (custom-variable-tag-face, custom-variable-button-face)
7531         (custom-face-tag-face, custom-group-tag-face-1)
7532         (custom-group-tag-face): Remove obsolete face alias.
7534         * epa.el (epa-validity-high, epa-validity-medium)
7535         (epa-validity-low, epa-mark, epa-field-name, epa-string)
7536         (epa-field-name, epa-field-body):
7537         * font-lock.el (font-lock-comment-face, font-lock-string-face)
7538         (font-lock-keyword-face, font-lock-builtin-face)
7539         (font-lock-function-name-face, font-lock-variable-name-face)
7540         (font-lock-type-face, font-lock-constant-face):
7541         * ido.el (ido-first-match, ido-only-match, ido-subdir)
7542         (ido-virtual, ido-indicator, ido-incomplete-regexp):
7543         * speedbar.el (speedbar-button-face, speedbar-file-face)
7544         (speedbar-directory-face, speedbar-tag-face)
7545         (speedbar-selected-face, speedbar-highlight-face)
7546         (speedbar-separator-face):
7547         * whitespace.el (whitespace-newline, whitespace-space)
7548         (whitespace-hspace, whitespace-tab, whitespace-trailing)
7549         (whitespace-line, whitespace-space-before-tab)
7550         (whitespace-space-after-tab, whitespace-indentation)
7551         (whitespace-empty):
7552         * emulation/cua-base.el (cua-global-mark):
7553         * eshell/em-prompt.el (eshell-prompt):
7554         * net/newst-plainview.el (newsticker-new-item-face)
7555         (newsticker-old-item-face, newsticker-immortal-item-face)
7556         (newsticker-obsolete-item-face, newsticker-date-face)
7557         (newsticker-statistics-face, newsticker-default-face):
7558         * net/newst-reader.el (newsticker-feed-face)
7559         (newsticker-extra-face, newsticker-enclosure-face):
7560         * net/newst-treeview.el (newsticker-treeview-face)
7561         (newsticker-treeview-new-face, newsticker-treeview-old-face)
7562         (newsticker-treeview-immortal-face)
7563         (newsticker-treeview-obsolete-face)
7564         (newsticker-treeview-selection-face):
7565         * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
7566         (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
7567         (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
7568         (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
7569         * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
7570         (nxml-outline-active-indicator, nxml-outline-ellipsis):
7571         * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
7572         (mpuz-text):
7573         * progmodes/vera-mode.el (vera-font-lock-number)
7574         (vera-font-lock-function, vera-font-lock-interface):
7575         * textmodes/table.el (table-cell): Use new-style face specs, and
7576         don't use the old :bold and :italic attributes.
7578         * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
7579         (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
7580         (ebrowse-member-class, ebrowse-progress): Likewise.
7581         (ebrowse-tree-mark-face, ebrowse-root-class-face)
7582         (ebrowse-file-name-face, ebrowse-default-face)
7583         (ebrowse-member-attribute-face, ebrowse-member-class-face)
7584         (ebrowse-progress-face): Remove obsolete faces.
7586         * progmodes/flymake.el (flymake-errline, flymake-warnline):
7587         Inherit from error and warning faces respectively.
7589         * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
7590         Likewise.
7591         (flyspell-incorrect-face, flyspell-duplicate-face):
7592         Remove obsolete aliases.
7594 2012-06-08  Michael Albinus  <michael.albinus@gmx.de>
7596         * net/tramp-compat.el (tramp-compat-temporary-file-directory):
7597         Avoid infloop.
7599 2012-06-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7601         * startup.el (argv, argi): Make lexically scoped.
7602         * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
7603         * emacs-lisp/cl-macs.el: Use lexical-binding.
7604         Rename cl-bind-* to cl--bind-*.
7605         * files.el: Don't require `cl' since it doesn't use it.
7606         * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
7608 2012-06-08  Juanma Barranquero  <lekktu@gmail.com>
7610         * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
7611         (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
7612         instead of calling external sort utility.
7613         (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
7615 2012-06-08  Eli Zaretskii  <eliz@gnu.org>
7617         * descr-text.el (describe-char): Mention how to insert the
7618         character, if the current input method doesn't support it.
7619         See the discussion in this thread for the details:
7620         http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
7622 2012-06-08  Sam Steingold  <sds@gnu.org>
7624         * bindings.el (global-map): Bind XF86Forward to next-buffer and
7625         XF86Back to previous-buffer.
7626         (minibuffer-local-map): Bind them to next-history-element and
7627         previous-history-element respectively.
7628         * help-mode.el (help-mode-map): Bind them to help-go-forward and
7629         help-go-back respectively.
7630         * info.el (Info-mode-map): Bind them to Info-history-forward and
7631         Info-history-back respectively.
7632         These are the keys next to Up on the ThinkPad keyboard.
7634 2012-06-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7636         Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
7637         * emacs-lisp/cl-macs.el: Provide itself.
7638         (cl--labels-convert-cache): New var.
7639         (cl--labels-convert): New function.
7640         (cl-flet, cl-labels): New implementation with new semantics, relying on
7641         lexical-binding.
7642         * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
7643         (cl-closure-vars, cl--function-convert-cache)
7644         (cl--function-convert): Move from cl-macs.el.
7645         (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
7646         rename by removing the "cl-" prefix.
7647         * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
7649 2012-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
7651         * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
7652         (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
7653         (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
7654         (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
7655         (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
7656         (cl-hash-table-count): Add old compatibility aliases.
7658         * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
7659         Use macroexpand-all-environment instead.
7660         (cl--old-macroexpand): New var.
7661         (cl--sm-macroexpand): New function.
7662         (cl-symbol-macrolet): Use it during macro expansion.
7663         (cl--function-convert-cache): New var.
7664         (cl--function-convert): New function, extracted from
7665         cl-macroexpand-all.
7666         (cl-lexical-let): Use it.
7668         * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
7669         (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
7670         (cl-member): Remove old alias.
7672         * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
7673         (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
7674         (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
7675         (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
7676         (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
7677         (cl-macroexpand-cmacs): Remove var.
7678         (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
7679         Use macroexpand-all instead.
7681 2012-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
7683         * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
7684         (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
7685         (macroexp-copyable-p): New functions and macros.
7686         * emacs-lisp/edebug.el (edebug-unwrap):
7687         * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
7688         * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
7689         (pcase--let*): Remove.
7690         * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
7691         (byte-compile-constp): Remove.  Use macroexp--const-symbol-p and
7692         macroexp-const-p instead.
7693         * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
7695         * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
7696         instead of "cl-" for internal definitions.  Use macroexp-const-p.
7697         (cl-old-bc-file-form): Remove var.
7698         (cl-const-exprs-p): Remove fun.
7699         (cl-labels, cl-macrolet): Use backquote.
7700         (cl-lexical-let): Use cl-symbol-macrolet.  Don't use cl-defun-expander.
7701         (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
7702         (cl-define-setf-expander): Rename from cl-define-setf-method.
7703         * emacs-lisp/cl.el: Adjust alias for define-setf-method.
7705         * international/mule-cmds.el: Don't require CL.
7706         (view-hello-file): Don't use `letf'.
7708 2012-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
7710         * tmm.el (tmm-prompt): Use string-prefix-p.
7711         (tmm-completion-delete-prompt): Don't affect current-buffer outside.
7712         (tmm-add-prompt): Use minibuffer-completion-help.
7713         (tmm-delete-map): Remove.
7715         * subr.el (kbd): Make it its own function.
7717 2012-06-07  Stefan Merten  <smerten@oekonux.de>
7719         * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
7720         Silence compiler warnings.  Fix versions.
7721         (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7722         (rst-shift-region, rst-adornment-level, rst-compute-tabs)
7723         (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7724         (rst-package-emacs-version-alist): Correct Emacs version to
7725         represent major merge with upstream.
7726         (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7728 2012-06-06  Glenn Morris  <rgm@gnu.org>
7730         * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
7731         Only print environment variables if set.
7733 2012-06-06  Stefan Monnier  <monnier@iro.umontreal.ca>
7735         * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
7736         (macroexp--cons): Rename from maybe-cons.
7737         (macroexp--accumulate): Rename from macroexp-accumulate.
7738         (macroexp--all-forms): Rename from macroexpand-all-forms.
7739         (macroexp--all-clauses): Rename from macroexpand-all-clauses.
7740         (macroexp--expand-all): Rename from macroexpand-all-1.
7742 2012-06-06  Sam Steingold  <sds@gnu.org>
7744         * calendar/calendar.el (calendar-in-read-only-buffer):
7745         Call `special-mode' to enable the standard read-only keybindings.
7747 2012-06-06  Stefan Monnier  <monnier@iro.umontreal.ca>
7749         * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
7750         with "loading" messages (bug#11635).
7752 2012-06-06  Michael Albinus  <michael.albinus@gmx.de>
7754         * files.el (enable-remote-dir-locals): New option.
7755         (hack-dir-local-variables): Use it.  (Bug#1933, Bug#6731)
7757         * net/tramp-compat.el (tramp-compat-temporary-file-directory):
7758         Ensure, that the temp directory is local.
7760         * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
7761         `temporary-file-directory'.
7763         * progmodes/python.el (python-send-region): Ensure, that the
7764         temporary file is created also in the remote case.
7766 2012-06-06  Glenn Morris  <rgm@gnu.org>
7768         * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
7769         (vc-rcs-update-changelog): Use it.
7771         * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
7773         * vc/vc-sccs.el (vc-sccs-write-revision): New function.
7774         (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
7775         (vc-sccs-diff): Replace use of the external vcdiff script.
7777 2012-06-05  Glenn Morris  <rgm@gnu.org>
7779         * ledit.el: Move to obsolete/.
7781 2012-06-05  Sam Steingold  <sds@gnu.org>
7783         * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
7784         patch (Bug#11140).
7786 2012-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
7788         * emacs-lisp/cust-print.el: Move to obsolete.
7790         * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
7791         compiler-macro expansion.
7793         Add native compiler-macro support.
7794         * emacs-lisp/macroexp.el (macroexpand-all-1):
7795         Support compiler-macros directly.  Properly follow aliases and apply
7796         the compiler macros more thoroughly.
7797         * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
7798         macroexpand now properly follows aliases.
7799         * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
7800         (cl-compiler-macroexpand): Use new prop.
7801         * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
7803         * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
7805 2012-06-05  Martin Rudalics  <rudalics@gmx.at>
7807         * window.el (get-lru-window, get-mru-window, get-largest-window):
7808         New argument NOT-SELECTED to avoid picking the selected window.
7809         (window--display-buffer-1, window--display-buffer-2): Replace by
7810         new function window--display-buffer
7811         (display-buffer-same-window, display-buffer-reuse-window)
7812         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7813         Use window--display-buffer.
7814         (display-buffer-use-some-window): Remove temporary dedication
7815         hack by calling get-lru-window and get-largest-window with
7816         NOT-SELECTED argument non-nil.  Call window--display-buffer.
7818 2012-06-05  Glenn Morris  <rgm@gnu.org>
7820         * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
7821         Replace external vcdiff script.
7823 2012-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
7825         * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
7827 2012-06-04  Chong Yidong  <cyd@gnu.org>
7829         * image.el (imagemagick-types-inhibit): Revert last change.
7830         Add INFO and M.
7831         (imagemagick-enabled-types): Remove CIN and EPS*.
7833 2012-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
7835         * emacs-lisp/cl-lib.el: Rename from cl.el.
7836         * emacs-lisp/cl.el: New compatibility file.
7837         * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
7838         * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
7839         to obey the "cl-" prefix.
7840         * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
7842 2012-06-03  Glenn Morris  <rgm@gnu.org>
7844         * emacs-lisp/authors.el (authors-aliases): Addition.
7846         * cus-start.el (tool-bar-style, tool-bar-max-label-size):
7847         Fix :version.
7849 2012-06-03  Stefan Merten  <smerten@oekonux.de>
7851         * textmodes/rst.el: Add comments.
7852         (rst-transition, rst-adornment): New faces.
7853         (rst-adornment-faces-alist): Make default safe to reevaluate.
7854         Fixes
7855         http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
7856         Improve customization tags.
7857         (rst-define-level-faces): Clarify meaning.
7859 2012-06-03  Chong Yidong  <cyd@gnu.org>
7861         * progmodes/compile.el (compilation-mode-line-fail)
7862         (compilation-mode-line-run, compilation-mode-line-exit):
7863         New faces.
7864         (compilation-start, compilation-handle-exit): Use them (Bug#11032).
7866 2012-06-03  Jack Duthen  <duthen.mac.01@gmail.com>  (tiny change)
7868         * progmodes/which-func.el (which-func-update-ediff-windows):
7869         New function.  Use it in ediff-select-hook (Bug#11478).
7871 2012-06-03  Chong Yidong  <cyd@gnu.org>
7873         * bindings.el: Remove explicit help text from format-mode-line.
7874         It is now supplied by mode-line-default-help-echo.
7875         (mode-line-front-space, mode-line-end-spaces)
7876         (mode-line-misc-info): New variables.
7877         (mode-line-modes, mode-line-position): Move the default value to
7878         the variable definition.
7879         (mode-line-default-help-echo): New defcustom.
7880         (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
7881         (mode-line-modified-help-echo): New functions.
7882         (mode-line-mule-info, mode-line-modified): Use them.
7883         (mode-line-eol-desc, propertized-buffer-identification):
7884         Consistency fixes for help text.
7885         (mode-line-coding-system-map): Allow using mouse-3 to invoke
7886         set-buffer-file-coding-system (Bug#289).
7887         (mode-line-mule-info-help-echo): Update help text.
7889 2012-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
7891         * simple.el (execute-extended-command): Set real-this-command
7892         (bug#11506).
7894 2012-06-02  Chong Yidong  <cyd@gnu.org>
7896         Remove incorrect uses of "modeline" in comments, docstrings, and
7897         function/variable names (Bug#10329).
7899         * cus-edit.el (mode-line):
7900         * dframe.el (dframe-mouse-hscroll):
7901         * emacs-lisp/re-builder.el:
7902         * emacs-lisp/easy-mmode.el (define-minor-mode):
7903         * frame.el (set-frame-name):
7904         * help.el (lookup-minor-mode-from-indicator):
7905         * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
7906         * progmodes/cc-cmds.el (c-toggle-auto-newline)
7907         (c-toggle-hungry-state):
7908         * progmodes/antlr-mode.el (antlr-language-alist):
7909         * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
7910         * progmodes/vhdl-mode.el (vhdl-mode):
7911         * progmodes/which-func.el (which-func, which-func-cleanup-function):
7912         * term/ns-win.el (ns-face-at-pos):
7913         * term/sup-mouse.el (sup-mouse-report):
7914         * textmodes/flyspell.el (flyspell-mode-line-string):
7915         * textmodes/ispell.el (ispell-highlight-face):
7916         * textmodes/reftex-global.el:
7917         * vc/vc-arch.el (vc-arch-mode-line-string):
7918         * vc/vc-cvs.el (vc-cvs-mode-line-string):
7919         * vc/vc-git.el (vc-git-mode-line-string):
7920         * vc/vc-hooks.el (vc-display-status)
7921         (vc-default-mode-line-string):
7922         * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
7924         * ansi-color.el (ansi-color-faces-vector): Change default faces.
7926         * dired.el (dired-sort-set-mode-line): Rename from
7927         dired-sort-set-modeline.  All callers changed.
7929         * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
7930         eshell-status-in-modeline.
7932         * foldout.el (foldout-mode-line-string): Rename from
7933         foldout-modeline-string.  All callers changed.
7934         (foldout-update-mode-line): Rename from foldout-update-modeline.
7936         * subr.el (redraw-modeline): Make into obsolete alias.
7938         * calendar/timeclock.el (timeclock-mode-line-display): Rename from
7939         timeclock-modeline-display.  Make old name an alias.
7940         (timeclock-update-mode-line): Likewise.  All callers changed.
7941         (timeclock-mode-line-display): No need to check before using
7942         add-hook.
7943         (timeclock-relative, timeclock-day-over-hook)
7944         (timeclock-use-elapsed, timeclock-mode-string)
7945         (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
7947         * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
7948         crisp-mode-modeline-string.
7950         * play/solitaire.el (solitaire-build-mode-line): Rename from
7951         solitaire-build-modeline.  All callers changed.
7953         * play/zone.el (zone-hiding-mode-line): Rename from
7954         zone-hiding-modeline.  All callers changed.
7955         (zone): Remove unusued `modeline-hidden-level' property.
7957         * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
7958         xscheme-modeline-initialize.  All callers changed.
7960         * strokes.el (strokes-lighter): Rename from
7961         strokes-modeline-string.
7963         * textmodes/sgml-mode.el (html-face-tag-alist)
7964         (html-tag-face-alist): Use mode-line face instead of obsolete
7965         alias modeline.
7967 2012-06-02  Stefan Merten  <smerten@oekonux.de>
7969         * textmodes/rst.el: Always require `cl'.
7970         (rst-mode-map): Fix meaning of C-M-a / C-M-e.
7972 2012-06-02  Chong Yidong  <cyd@gnu.org>
7974         * image.el (imagemagick-enabled-types): Rename from
7975         imagemagick-types-enable.  Add many more types.
7976         (imagemagick-types-inhibit): Change default to nil.
7977         (imagemagick-filter-types): Caller changed.
7979 2012-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
7981         * emacs-lisp/cl-macs.el: Use backquotes.
7982         (cl-transform-function-property): Use eval-and-compile rather than
7983         abusing `require'.
7984         (defstruct): Use declare-function instead of with-no-warnings.
7986         * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
7987         (byte-compile-output-docform): Re-add the print-circle bindings.
7988         (byte-compile-fix-header): Use #$ just because it's shorter.
7989         (byte-compile-output-file-form): Remove defun/defmacro.
7991 2012-06-01  Martin Rudalics  <rudalics@gmx.at>
7993         * simple.el (choose-completion): Remove now obsolete binding for
7994         owindow.
7996 2012-06-01  Michael Albinus  <michael.albinus@gmx.de>
7998         * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
7999         in order to avoid "Stack overflow in regexp matcher".
8001 2012-05-31  Glenn Morris  <rgm@gnu.org>
8003         * image.el: For clarity, call imagemagick-register-types at
8004         top-level, rather than relying on a custom :initialize.
8005         (imagemagick-types-enable): New option.  (Bug#11557)
8006         (imagemagick-filter-types): New function.  (Bug#7406)
8007         (imagemagick-register-types): Use imagemagick-filter-types.
8008         If disabling support, remove elements altogether rather
8009         than using an impossible regexp.
8010         (imagemagick-types-inhibit): Give it the default init function.
8012 2012-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
8014         * emacs-lisp/bytecomp.el (byte-compile-fix-header):
8015         Handle arbitrary file name lengths (Bug#11585).
8017 2012-05-31  Martin Rudalics  <rudalics@gmx.at>
8019         * desktop.el (desktop-read): Clear previous and next buffers for
8020         all windows and bury *Messages* buffer (bug#11556).
8022 2012-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
8024         Add `declare' for `defun'.  Align `defmacro's with it.
8025         * emacs-lisp/easy-mmode.el (define-minor-mode)
8026         (define-globalized-minor-mode): Don't autoload the var definitions.
8027         * emacs-lisp/byte-run.el: Use lexical-binding.
8028         (defun-declarations-alist, macro-declarations-alist): New vars.
8029         (defmacro, defun): Use them.
8030         (make-obsolete, define-obsolete-function-alias)
8031         (make-obsolete-variable, define-obsolete-variable-alias):
8032         Use `declare'.
8033         (macro-declaration-function): Mark obsolete.
8034         * emacs-lisp/autoload.el: Use lexical-binding.
8035         (make-autoload): Add `expansion' arg.  Rely more on macro expansion.
8037 2012-05-30  AgustĂ­n MartĂ­n Domingo  <agustin.martin@hispalinux.es>
8039         * textmodes/ispell.el (ispell-with-no-warnings):
8040         Define as a macro.
8041         (ispell-kill-ispell, ispell-change-dictionary):
8042         Use `called-interactively-p' for Emacs instead of obsolete
8043         `interactive-p'.
8045 2012-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
8047         * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
8048         (macro-declaration-function): Move var from C code.
8049         (macro-declaration-function): Define function with defalias.
8050         * emacs-lisp/macroexp.el (macroexpand-all-1):
8051         * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
8052         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
8053         defun/defmacro any more.
8054         * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
8055         Provide fallback for unknown arglist.
8056         (byte-compile-arglist-warn): Change calling convention.
8057         (byte-compile-output-file-form): Move print-vars binding.
8058         (byte-compile-output-docform): Simplify accordingly.
8059         (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
8060         (byte-compile-defmacro-declaration): Remove.
8061         (byte-compile-file-form-defmumble): Generalize to defalias.
8062         (byte-compile-output-as-comment): Return byte-positions.
8063         Simplify callers accordingly.
8064         (byte-compile-lambda): Use `assert'.
8065         (byte-compile-defun, byte-compile-defmacro): Remove.
8066         (byte-compile-file-form-defalias):
8067         Use byte-compile-file-form-defmumble.
8068         (byte-compile-defalias-warn): Remove.
8070 2012-05-29  Stefan Merten  <smerten@oekonux.de>
8072         * textmodes/rst.el: Silence `checkdoc-ispell' errors where
8073         possible.  Fix authors.  Improve comments.  Improve loading of `cl'.
8075         (rst-mode-abbrev-table): Merge definition.
8076         (rst-mode): Make sure `font-lock-defaults' is buffer local.
8077         (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
8079 2012-05-29  Ulf Jasper  <ulf.jasper@web.de>
8081         * calendar/icalendar.el
8082         (icalendar-export-region): Export UID properly.
8084 2012-05-29  Leo Liu  <sdl.web@gmail.com>
8085         * calendar/icalendar.el (icalendar-import-format):
8086         Add `icalendar-import-format-uid' (Bug#11525).
8087         (icalendar-import-format-uid): New.
8088         (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
8089         Export UID.
8091 2012-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>
8093         * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
8094         different alternative patterns.
8095         (pcase-codegen): Be more careful to preserve identity.
8096         (pcase--u1): Don't forget to mark vars as used.
8098         * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
8099         (byte-compile-close-variables): Bind byte-compile--outbuffer here...
8100         (byte-compile-from-buffer): ...rather than here.
8102         * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
8103         functions from byte-compile-function-environment.
8105 2012-05-29  Troels Nielsen  <bn.troels@gmail.com>
8107         * window.el (window-deletable-p): Avoid deleting the root window
8108         of a frame with an active minibuffer.
8110 2012-05-29  Martin Rudalics  <rudalics@gmx.at>
8112         * simple.el (choose-completion): Use quit-window (Bug#11567).
8114 2012-05-29  Chong Yidong  <cyd@gnu.org>
8116         * whitespace.el (whitespace-cleanup): Fix usage of
8117         whitespace-empty-at-bob-regexp (Bug#11492).
8119 2012-05-29  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
8121         * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
8122         revert (Bug#11488).
8124 2012-05-29  Juri Linkov  <juri@jurta.org>
8126         * isearch.el (isearch-mode-map): Bind `M-s _' to
8127         `isearch-toggle-symbol'.  Bind `M-s c' to
8128         `isearch-toggle-case-fold'.
8129         (search-map): Bind `M-s _' to `isearch-forward-symbol'.
8130         (isearch-forward): Add `M-s _' to the docstring.
8131         (isearch-forward-symbol, isearch-toggle-case-fold)
8132         (isearch-symbol-regexp): New functions.  (Bug#11381)
8134 2012-05-29  Juri Linkov  <juri@jurta.org>
8136         * isearch.el (isearch-word): Add docstring.  (Bug#11381)
8137         (isearch-occur, isearch-search-and-update): If `isearch-word' is
8138         a function, call it to get the regexp.
8139         (isearch-message-prefix): If `isearch-word' holds a symbol, use its
8140         property `isearch-message-prefix' instead of the string "word ".
8141         (isearch-search-fun-default): For the case of `isearch-word',
8142         return a lambda that calls re-search-forward/re-search-backward
8143         with a regexp returned by `word-search-regexp' or by the function
8144         in `isearch-word'.
8146 2012-05-29  Juri Linkov  <juri@jurta.org>
8148         * isearch.el (isearch-search-fun-default): New function.
8149         (isearch-search-fun): Move default part to the new function
8150         `isearch-search-fun-default'.
8151         (isearch-search-fun-function): Set the default value to
8152         `isearch-search-fun-default'.  (Bug#11381)
8154         * comint.el (comint-history-isearch-end):
8155         Use `isearch-search-fun-default'.
8156         (comint-history-isearch-search): Use `isearch-search-fun-default'
8157         and remove spacial case for `isearch-word'.
8158         (comint-history-isearch-wrap): Remove spacial case for
8159         `isearch-word'.
8161         * hexl.el (hexl-isearch-search-function):
8162         Use `isearch-search-fun-default'.
8164         * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
8165         Use `word-search-regexp' for `isearch-word'.
8167         * misearch.el (multi-isearch-search-fun):
8168         Use `isearch-search-fun-default'.
8170         * simple.el (minibuffer-history-isearch-search):
8171         Use `isearch-search-fun-default' and remove spacial case for
8172         `isearch-word'.
8173         (minibuffer-history-isearch-wrap): Remove spacial case for
8174         `isearch-word'.
8176         * textmodes/reftex-global.el (reftex-isearch-wrap-function):
8177         Remove spacial case for `isearch-word'.
8178         (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
8180 2012-05-28  AgustĂ­n MartĂ­n Domingo  <agustin.martin@hispalinux.es>
8182         Decrease XEmacs incompatibilities.
8183         * textmodes/flyspell.el (flyspell-check-pre-word-p):
8184         Use `string-match'.
8185         (flyspell-delete-region-overlays): Use alternative definition for
8186         XEmacs.
8187         (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
8188         (flyspell-word): Use `process-kill-without-query' if XEmacs.
8189         (flyspell-mode-on): Use `interactive-p' if XEmacs.
8190         (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
8191         `define-obsolete-face-alias' under XEmacs, but old method.
8193         * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
8194         `with-no-warnings' definition or Emacs alias.
8195         (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
8196         (ispell-word): Do not use `region-p' if XEmacs.
8198 2012-05-28  AgustĂ­n MartĂ­n Domingo  <agustin.martin@hispalinux.es>
8200         * textmodes/ispell.el (ispell-find-aspell-dictionaries):
8201         Check for `ispell-dictionary-base-alist' instead of full
8202         `ispell-dictionary-alist'.
8203         (ispell-init-process): Show spellchecker when starting new Ispell
8204         process.
8206 2012-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
8208         * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
8209         http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
8211 2012-05-27  Juanma Barranquero  <lekktu@gmail.com>
8213         * version.el (motif-version-string, gtk-version-string)
8214         (ns-version-string): Declare.
8216 2012-05-27  Juri Linkov  <juri@jurta.org>
8218         * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
8219         after the `eval-defun-1' specialcaseing
8220         like in `edebug-eval-defun' (bug#10181).
8222         * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
8223         like in `eval-defun-1'.
8225 2012-05-27  Eli Zaretskii  <eliz@gnu.org>
8227         * mail/sendmail.el (mail-yank-region):
8228         Recognize rmail-yank-current-message in addition to insert-buffer.
8229         Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
8230         a *mail* buffer created through rmail-start-mail with sendmail as
8231         mail-user-agent.
8233 2012-05-27  Chong Yidong  <cyd@gnu.org>
8235         * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
8236         Default to 256 (Bug#11267).
8238         * help.el (describe-mode): Doc fix.
8240 2012-05-26  Glenn Morris  <rgm@gnu.org>
8242         * w32-fns.el (w32-init-info): Remove.
8243         * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
8245         * info.el (info-initialize): For self-contained NS builds, put the
8246         included info/ directory at the front.  (Bug#2791)
8248         * paths.el (Info-default-directory-list): Make it a defcustom,
8249         mainly so that we can use custom-initialize-delay.
8251 2012-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
8253         * subr.el (buffer-has-markers-at): Mark obsolete.
8255         * subr.el (lambda): Use declare.
8257         * emacs-lisp/lisp-mode.el (lambda):
8258         * emacs-lisp/edebug.el (lambda): Move properties to its definition.
8260 2012-05-26  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
8262         * thingatpt.el (forward-same-syntax): Handle no ARG case.  (Bug#11560)
8264 2012-05-26  Glenn Morris  <rgm@gnu.org>
8266         * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
8268 2012-05-25  Glenn Morris  <rgm@gnu.org>
8270         * paths.el: Remove no-byte-compile.
8271         * loadup.el: No need to load paths.el uncompiled.
8273         * image.el (imagemagick-types-inhibit): Doc fix.
8275         * version.el: Remove no-byte-compile and associated formatting.
8276         * loadup.el: No need to load version.el uncompiled.  AFAICS, this
8277         is ancient code from when there was an "inc-vers.el".
8279 2012-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
8281         * progmodes/gdb-mi.el: Minor style changes.
8282         (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
8283         Turn into minor modes.
8284         (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
8285         (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
8286         (gdb-shell): Remove unneeded let-binding.
8287         (gdb-get-many-fields): Eliminate O(n²) behavior.
8289 2012-05-25  Eli Zaretskii  <eliz@gnu.org>
8291         * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
8292         platforms that don't link in fontset.c.
8294 2012-05-25  Juri Linkov  <juri@jurta.org>
8296         Use the same diff color scheme as in modern VCSes (bug#10181).
8298         * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
8299         to avoid confusion with `diff-added' that now uses green colors.
8300         (diff-removed): Use shades of red.
8301         (diff-added): Use shades of green.
8302         (diff-changed): Leave just the yellow color.
8303         (diff-use-changed-face): New variable.
8304         (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
8305         how to highlight context diff changes.
8306         (diff-refine-change): Use shades of yellow.
8307         (diff-refine-removed): New face that uses shades of red.
8308         (diff-refine-added): New face that uses shades of green.
8309         (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
8310         `diff-refine-removed' in the call to `smerge-refine-subst'
8311         depending on the value of `diff-use-changed-face'.
8313         * vc/smerge-mode.el (smerge-mine): Use shades of red.
8314         (smerge-other): Use shades of green.
8315         (smerge-base): Use shades of yellow.
8316         (smerge-refined-change): Empty face.
8317         (smerge-refined-removed): New face that uses shades of red.
8318         (smerge-refined-added): New face that uses shades of green.
8319         (smerge-refine-subst): Rename arg `props' to `props-c'.  Add new
8320         args `props-r' and `props-a', and use them.  Doc fix.
8321         (smerge-refine): Evaluate `smerge-use-changed-face' and depending
8322         on its value use different faces `smerge-refined-change',
8323         `smerge-refined-removed', `smerge-refined-added' in the call to
8324         `smerge-refine-subst'.
8326         * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
8327         Add face condition `min-colors 88' with shades of red.
8328         (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
8329         `min-colors 88' with shades of green.
8330         (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
8331         `min-colors 88' with shades of yellow.
8333 2012-05-24  Glenn Morris  <rgm@gnu.org>
8335         * paths.el (prune-directory-list, remote-shell-program): Move to...
8336         * files.el (prune-directory-list, remote-shell-program): ...here.
8337         For the latter, delay initialization, prefer ssh, just search PATH.
8339         * paths.el (term-file-prefix): Move to faces.el (the only user).
8340         * faces.el (term-file-prefix): Move here, make it a defcustom.
8342         * paths.el (news-directory, news-path, news-inews-program):
8343         Move to gnus/nnspool.el.
8345         * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
8347         * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
8348         * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
8349         Make the latter a defcustom, with a delayed initialization.
8351         * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
8352         These were deleted from Gnus itself late 2010.
8354 2012-05-22  Juanma Barranquero  <lekktu@gmail.com>
8356         * progmodes/which-func.el (which-func-ff-hook):
8357         Check against user-error, not error.
8359         * emacs-lisp/edebug.el (top): Do not load or set up loading of
8360         cl-specs.el, which no longer exists.
8362 2012-05-22  Glenn Morris  <rgm@gnu.org>
8364         * info.el (info-emacs-bug): New command.
8365         * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
8366         * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
8368 2012-05-21  Glenn Morris  <rgm@gnu.org>
8370         * makefile.w32-in (update-subdirs-SH):
8371         * Makefile.in (update-subdirs): Update for moved update-subdirs.
8373 2012-05-21  Stefan Monnier  <monnier@iro.umontreal.ca>
8375         * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
8377         * progmodes/compile.el (compilation-error-regexp-alist-alist):
8378         Simplify Maven regexp, and make sure the file can't start with a space
8379         (bug#11517).
8381 2012-05-21  Glenn Morris  <rgm@gnu.org>
8383         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
8384         Scrap superfluous subshells.
8386 2012-05-19  Stefan Monnier  <monnier@iro.umontreal.ca>
8388         * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
8389         (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
8391 2012-05-19  Jay Belanger  <jay.p.belanger@gmail.com>
8393         * calc/calc.el (calc-ensure-consistent-units): New variable.
8395         * calc/calc-units.el (math-consistent-units-p)
8396         (math-check-unit-consistency): New functions.
8397         (calc-quick-units, calc-convert-units):
8398         Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
8399         is non-nil.
8400         (calc-extract-units): Fix typo.
8402 2012-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
8404         * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
8406         * textmodes/flyspell.el: Commenting style, plus code simplifications.
8407         (flyspell-default-deplacement-commands): Don't spell check after
8408         repeated window/frame switches (e.g. triggered by mouse-movement).
8409         (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
8410         (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
8411         (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
8412         (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
8413         Remove unused vars.
8414         (flyspell-get-casechars, flyspell-get-not-casechars):
8415         Simplify; Don't bother removing a ] just to add it back.
8416         * textmodes/ispell.el (ispell-program-name): Use executable-find.
8418 2012-05-18  RĂ¼diger Sonderfeld  <ruediger@c-plusplus.de>
8420         * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
8421         New functions.
8422         (math-function-table): Add support for more C functions.
8424 2012-05-18  AgustĂ­n MartĂ­n Domingo  <agustin.martin@hispalinux.es>
8426         * textmodes/flyspell.el (flyspell-check-pre-word-p)
8427         (flyspell-check-word-p, flyspell-debug-signal-word-checked):
8428         Protect delay handling for otherchars against empty otherchars.
8430 2012-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
8432         * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
8433         their respective macro declarations.
8434         * skeleton.el (define-skeleton):
8435         * progmodes/compile.el (define-compilation-mode):
8436         * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
8437         (define-ibuffer-filter):
8438         * emacs-lisp/generic.el (define-generic-mode):
8439         * emacs-lisp/easy-mmode.el (define-minor-mode)
8440         (define-globalized-minor-mode):
8441         * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
8442         * emacs-lisp/byte-run.el (defsubst):
8443         * custom.el (deftheme): Add doc-string metadata.
8445 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
8447         * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
8449 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
8451         * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
8453         * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
8454         * emacs-lisp/cl-macs.el: Idem.
8455         * emacs-lisp/cl-specs.el: Remove.
8457 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
8459         Minor renaming of internal CL functions and variables.
8460         * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
8461         (cl--position): Rename from cl-position.
8462         (cl--delete-duplicates): Rename from cl-delete-duplicates.
8463         * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
8464         (cl--random-state): Rename from *random-state*.
8466 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
8468         * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
8469         parens around the arg list (bug#11499).
8471 2012-05-17  Juri Linkov  <juri@jurta.org>
8473         * isearch.el (word-search-regexp, word-search-backward)
8474         (word-search-forward, word-search-backward-lax)
8475         (word-search-forward-lax): Move functions from search.c
8476         (bug#10145, bug#11381).
8478 2012-05-16  AgustĂ­n MartĂ­n Domingo  <agustin.martin@hispalinux.es>
8480         * textmodes/flyspell.el (flyspell-check-pre-word-p)
8481         (flyspell-check-word-p, flyspell-debug-signal-word-checked):
8482         Delay for otherchars as for normal word components.
8484 2012-05-16  Stefan Monnier  <monnier@iro.umontreal.ca>
8486         * minibuffer.el (completion--sifn-requote): Fix last change.
8487         (minibuffer-local-must-match-filename-map):
8488         Move define-obsolete-variable-alias before its var.
8490 2012-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
8492         * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
8494         * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
8495         behavior.
8496         (completion--string-equal-p): New function.
8497         (completion--twq-all): Use it to get better assertion failure data.
8499         Only handle ".." and '..' quoting in shell-mode (bug#11466).
8500         * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
8501         (shell--requote-argument): New functions.
8502         (shell-completion-vars): Use them.
8503         (shell--parse-pcomplete-arguments): Rename from
8504         shell-parse-pcomplete-arguments.
8505         * comint.el (comint-word): Obey comint-file-name-quote-list.  Simplify.
8506         (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
8507         Obey comint-file-name-quote-list.
8509         * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
8510         (smie-indent-keyword): Use it.
8512 2012-05-14  Stefan Merten  <smerten@oekonux.de>
8514         * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
8516 2012-05-14  Stefan Monnier  <monnier@iro.umontreal.ca>
8518         * net/rlogin.el (rlogin-mode-map): Fix last change.
8520 2012-05-14  Jason L. Wright  <jason.wright@inl.gov>  (tiny change)
8522         * mail/smtpmail.el (smtpmail-send-command): Send the command and
8523         the following \r\n using a single `process-send-string', since the
8524         Lotus SMTP server refuses to accept any commands if they are sent
8525         with two `process-send-string's (Bug#11444).
8527 2012-05-14  Stefan Monnier  <monnier@iro.umontreal.ca>
8529         * shell.el (shell-parse-pcomplete-arguments):
8530         Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
8532 2012-05-14  Wolfgang Jenkner  <wjenkner@inode.at>
8534         * image-mode.el: Fit to width/height for rotated images (Bug#11431).
8535         (image-transform-scale, image-transform-right-angle-fudge): New vars.
8536         (image-transform-width, image-transform-fit-width): New functions.
8537         (image-transform-properties): Use them.
8538         (image-transform-check-size): New function.
8539         (image-toggle-display-image): Use it (for testing).
8540         (image-transform-set-rotation): Reduce angle mod 360.
8541         Delete obsolete comment.
8543 2012-05-14  Wolfgang Jenkner  <wjenkner@inode.at>
8545         * image-mode.el: Fix scaling (bug#11399).
8546         (image-transform-resize): Doc fix.
8547         (image-transform-properties): Default scale is 1 and height should
8548         be an integer.
8550 2012-05-13  Johan BockgĂ¥rd  <bojohan@gnu.org>
8552         * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
8553         than hard-coding `car', to fix misbehavior when moving forward.
8555 2012-05-13  Chong Yidong  <cyd@gnu.org>
8557         * emacs-lisp/tabulated-list.el (tabulated-list-format)
8558         (tabulated-list-entries, tabulated-list-padding)
8559         (tabulated-list-sort-key): Make permanent-local.
8561         * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
8562         (electric-buffer-list): Put electric buffer menu
8563         command descriptions in this docstring, instead of the docstring
8564         of electric-buffer-menu-mode.  Code cleanups.
8565         (electric-buffer-menu-mode): Use define-derived-mode.  Rename from
8566         Electric-buffer-menu-mode.
8567         (electric-buffer-update-highlight): Minor code cleanup.
8569 2012-05-13  Michael Albinus  <michael.albinus@gmx.de>
8571         * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
8572         (Bug#11447)
8574 2012-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
8576         Move define-obsolete-variable-alias before the var's definition.
8577         * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
8578         * tooltip.el (tooltip-hook):
8579         * textmodes/reftex-toc.el (reftex-toc-map):
8580         * textmodes/reftex-sel.el (reftex-select-label-map)
8581         (reftex-select-bib-map):
8582         * textmodes/reftex-index.el (reftex-index-map)
8583         (reftex-index-phrases-map):
8584         * speedbar.el (speedbar-syntax-table, speedbar-key-map):
8585         * progmodes/meta-mode.el (meta-mode-map):
8586         * novice.el (disabled-command-hook):
8587         * loadhist.el (unload-hook-features-list):
8588         * frame.el (blink-cursor):
8589         * files.el (find-file-not-found-hooks, write-file-hooks)
8590         (write-contents-hooks):
8591         * emulation/tpu-edt.el (GOLD-map):
8592         * emacs-lock.el (emacs-lock-from-exiting):
8593         * emacs-lisp/generic.el (generic-font-lock-defaults):
8594         * emacs-lisp/chart.el (chart-map):
8595         * dos-fns.el (register-name-alist):
8596         * dired-x.el (dired-omit-files-p):
8597         * desktop.el (desktop-enable):
8598         * cus-edit.el (custom-mode-hook):
8599         * buff-menu.el (buffer-menu-mode-hook):
8600         * bookmark.el (bookmark-read-annotation-text-func)
8601         (bookmark-exit-hooks):
8602         * allout.el (allout-mode-deactivate-hook)
8603         (allout-exposure-change-hook, allout-structure-added-hook)
8604         (allout-structure-deleted-hook, allout-structure-shifted-hook):
8605         * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
8606         (dirtrack-debug): Move call to define-obsolete-variable-alias so it
8607         comes before the corresponding variable's definition.
8609 2012-05-12  Chong Yidong  <cyd@gnu.org>
8611         * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
8612         (Buffer-menu-mouse-select): Restore function (Bug#11459).
8613         (Buffer-menu-mode-map): Bind it.
8614         (Buffer-menu--pretty-name): Add a mouse-face property.
8616 2012-05-11  Stefan Monnier  <monnier@iro.umontreal.ca>
8618         * progmodes/prolog.el: Use SMIE.  Cleanup regexp setup.
8619         (prolog-upper-case-string, prolog-lower-case-string)
8620         (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
8621         (prolog-use-smie, prolog-smie-grammar): New vars.
8622         (prolog-smie-forward-token, prolog-smie-backward-token)
8623         (prolog-smie-rules): New funs.
8624         (prolog-comment-indent): Remove.
8625         (prolog-mode-variables): Use default comment indentation instead.
8626         Setup SMIE.
8627         (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
8628         (prolog-mode): Don't call them any more.
8629         (prolog-electric-colon, prolog-electric-dash)
8630         (prolog-edit-menu-insert-move): Use indent-according-to-mode.
8632         * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
8634         * minibuffer.el (completion--twq-all): Again, allow case differences.
8636         * term.el: Move keymap initialization code to be more idiomatic.
8637         (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
8638         (term-terminal-menu): Move initialization into declaration.
8639         (term-escape-char): Let the user set it in her .emacs.
8641         * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
8642         Provide SMIE-based indentation (not enabled by default yet).
8643         (sh-mode-map): Don't bind electric keys.
8644         Use electric-pair-mode instead of skeleton-pair.
8645         (sh-assignment-regexp): Fit within 80 columns.
8646         (sh-indent-supported): Specify actual shell name instead of boolean.
8647         (sh--maybe-here-document): New fun, from sh-maybe-here-document.
8648         (sh-maybe-here-document): Use it.  Make obsolete.
8649         (sh-electric-here-document-mode) New minor mode.
8650         (sh-mode): Use it.  Don't set sh-indent-supported-here here.
8651         (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
8652         (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
8653         (sh-smie-rc-grammar, sh-use-smie): New vars.
8654         (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
8655         (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
8656         (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
8657         (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
8658         (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
8659         (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
8660         (sh-set-shell): Use smie-setup if requested.
8662         * term.el (term-set-escape-char): Properly set term-escape-char.
8663         See http://stackoverflow.com/questions/10524656.
8665 2012-05-10  Chong Yidong  <cyd@gnu.org>
8667         * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
8668         Use url-generic-parse-url, and handle host names and Windows
8669         filenames properly.
8670         (ffap-url-unwrap-remote): Use url-generic-parse-url.
8671         (ffap-url-unwrap-remote): Accept list values, specifying a list of
8672         URL schemes to work on.
8673         (ffap--toggle-read-only): New function.
8674         (ffap-read-only, ffap-read-only-other-window)
8675         (ffap-read-only-other-frame): Use it.
8676         (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
8677         necessary for ffap-url-unwrap-remote.
8679 2012-05-10  Dave Abrahams  <dave@boostpro.com>
8681         * cus-start.el (create-lockfiles): Add it.
8683 2012-05-09  Chong Yidong  <cyd@gnu.org>
8685         * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
8686         (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
8688 2012-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
8690         * shell.el (shell-completion-vars): Fix last change (bug#11348).
8692 2012-05-09  Chong Yidong  <cyd@gnu.org>
8694         * ansi-color.el (ansi-color-process-output): Check for validity of
8695         comint-last-output-start before using it.  This avoids a bad
8696         interaction with gdb-mi's input/output buffer.
8698 2012-05-09  Glenn Morris  <rgm@gnu.org>
8700         * files.el (dir-locals-read-from-file):
8701         Mention dir-locals in any error message.
8703 2012-05-09  Chong Yidong  <cyd@gnu.org>
8705         * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
8706         package (Bug#11410).
8708         * emacs-lisp/package.el (package-buffer-info): Avoid putting local
8709         variables into description.
8711 2012-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
8713         * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
8714         shell-delimiter-argument-list (bug#11348).
8715         (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
8717 2012-05-09  Juanma Barranquero  <lekktu@gmail.com>
8719         * textmodes/rst.el: Silence byte-compiler warnings.
8720         (rst-re-alist, rst-reset-section-caches): Move around.
8721         (rst-re): Use `characterp', not `char-valid-p'.
8722         (font-lock-beg, font-lock-end): Declare.
8724         * progmodes/idlw-shell.el (specs): Remove reference to deleted
8725         variable `idlwave-shell-activate-alt-keybindings' and simplify.
8727         * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
8729 2012-05-08  Glenn Morris  <rgm@gnu.org>
8731         * files.el (auto-mode-alist): Treat ".make" like ".mk".
8733 2012-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
8735         * vc/log-edit.el: Add GNU coding standards highlighting.
8736         (log-edit-font-lock-gnu-style)
8737         (log-edit-font-lock-gnu-keywords): New vars.
8738         (log-edit-font-lock-keywords): New fun.
8739         (log-edit-mode): Don't fold case in font-lock.
8740         (log-edit-font-lock-keywords): Do not assume case-folding.
8742         * imenu.el: Misc cleanup.  Make docstrings out of comments.
8743         Use lexical-binding.
8744         (imenu--index-alist, imenu--last-menubar-index-alist)
8745         (imenu-menubar-modified-tick): Use defvar-local.
8746         (imenu--split-menu): Remove unused var.
8747         (imenu--cleanup-seen): Declare as global.
8748         (imenu--cleanup): Use dolist.
8750         * subr.el (defvar-local): Add debug spec and doc-string position.
8752 2012-05-08  Glenn Morris  <rgm@gnu.org>
8754         * language/burmese.el, language/cham.el, language/czech.el:
8755         * language/english.el, language/georgian.el, language/greek.el:
8756         * language/japanese.el, language/khmer.el, language/korean.el:
8757         * language/lao.el, language/misc-lang.el, language/romanian.el:
8758         * language/sinhala.el, language/slovak.el, language/tai-viet.el:
8759         * language/thai.el, language/utf-8-lang.el:
8760         Remove no-byte-compile setting.
8762         * play/zone.el (zone-pgm-stress): Don't pollute kill-ring.  (Bug#11388)
8764 2012-05-08  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
8766         * progmodes/make-mode.el (makefile-browse):
8767         Remove unnecessary interactive.  (Bug#11324)
8769 2012-05-07  Glenn Morris  <rgm@gnu.org>
8771         * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
8773         * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
8775 2012-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
8777         * loadup.el: Preload newcomment.el.
8778         * newcomment.el: Move autoload-only code to toplevel.
8780         * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
8781         * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
8782         Handle new :right-align column property.
8783         (tabulated-list-print-col): Idem, plus use `display' text-property to
8784         try and preserve alignment for variable pitch fonts.
8786 2012-05-07  Chong Yidong  <cyd@gnu.org>
8788         * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
8789         (tabulated-list-use-header-line): New var.
8790         (tabulated-list-init-header): Use it.
8791         (tabulated-list-print-fake-header): New function.
8792         (tabulated-list-print): Use it.
8793         (tabulated-list-sort-button-map): Add non-header-line commands.
8794         (tabulated-list-init-header): Add column name property to basic
8795         labels as well.
8796         (tabulated-list-col-sort): Handle non-header-line button case.
8797         (tabulated-list--sort-by-column-name): Fix a corner case.
8799         * buff-menu.el (list-buffers--refresh):
8800         Handle Buffer-menu-use-header-line.
8802 2012-05-06  Chong Yidong  <cyd@gnu.org>
8804         * buff-menu.el: Convert to Tabulated List mode.
8805         (Buffer-menu-buffer+size-width): Make obsolete.
8806         (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
8807         (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
8808         (Buffer-menu-mode): Derive from tabulated-list-mode.  Move command
8809         documentation into docstring of buffer-menu.
8810         (Buffer-menu-toggle-files-only): Add an informative message.
8811         (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
8812         (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
8813         (Buffer-menu-unmark, Buffer-menu-backup-unmark)
8814         (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
8815         (Buffer-menu-execute, Buffer-menu-select)
8816         (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
8817         (Buffer-menu-bury): Use Tabulated List machinery.
8818         (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
8819         (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
8820         Delete.
8821         (list-buffers--refresh): New function.
8822         (list-buffers-noselect): Use it.
8823         (tabulated-list-entry-size->, Buffer-menu--pretty-name)
8824         (Buffer-menu--pretty-file-name): New helper functions.
8826         * loadup.el: Preload tabulated-list.
8828         * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
8829         tabulated-list-sort-column.
8830         (tabulated-list-init-header): Add the initial aligning space even
8831         if tabulated-list-padding is zero.
8833 2012-05-06  Christopher Schmidt  <christopher@ch.ristopher.com>
8835         * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
8836         whose cdr is not a cons cell correctly (bug#11038).
8838 2012-05-06  Chong Yidong  <cyd@gnu.org>
8840         * emacs-lisp/tabulated-list.el (tabulated-list-format):
8841         Accept additional plist in column descriptors.
8842         (tabulated-list-init-header): Obey it.
8843         (tabulated-list-get-entry): New function.
8844         (tabulated-list-put-tag): Use it.  Use string-width instead of
8845         length.
8846         (tabulated-list--column-number): New function.
8847         (tabulated-list-print): Use it.
8848         (tabulated-list-print-col): New function.
8849         Set `tabulated-list-column-name' property on each column's text.
8850         (tabulated-list-print-entry): Use it.
8851         (tabulated-list-delete-entry, tabulated-list-set-col):
8852         New functions.
8853         (tabulated-list-sort-column): New command (Bug#11337).
8855         * buff-menu.el (list-buffers): Move C-x C-b binding from
8856         buff-menu.el to bindings.el.
8858         * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
8859         :advertised-binding feature.
8861 2012-05-06  Troels Nielsen  <bn.troels@gmail.com>  (tiny change)
8863         * progmodes/compile.el (compilation-internal-error-properties):
8864         Calculate start position correctly when end-col is set but
8865         end-line is not (Bug#11382).
8867 2012-05-06  Wolfgang Jenkner  <wjenkner@inode.at>
8869         * man.el (Man-unindent): Use text-property-default-nonsticky to
8870         prevent untabify from inheriting face properties (Bug#11408).
8872 2012-05-05  Stefan Merten  <smerten@oekonux.de>
8874         * textmodes/rst.el: Major merge with upstream development up to
8875         Docutils SVN r7399 / rst.el V1.2.1.
8877         Clarify maintainership and authors.
8879         (rst-extract-version, rst-cvs-header, rst-cvs-rev)
8880         (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
8881         (rst-official-version, rst-official-cvs-rev, rst-version)
8882         (rst-package-emacs-version-alist): New functions and variables
8883         for version information.
8885         (rst-bullets, rst-uri-schemes, rst-adornment-chars)
8886         (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
8887         (rst-mode-syntax-table, rst-mode): New and corrected functions
8888         and variables representing reStructuredText features.
8890         (rst-re): New function for reStructuredText regexes.  Use in
8891         many places.
8893         (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
8894         (rst-mode-map): Rebind keys.
8896         (rst-mode-lazy, rst-font-lock-keywords)
8897         (rst-font-lock-extend-region)
8898         (rst-font-lock-extend-region-internal)
8899         (rst-font-lock-extend-region-extend)
8900         (rst-font-lock-find-unindented-line-limit)
8901         (rst-font-lock-find-unindented-line-match)
8902         (rst-adornment-level, rst-font-lock-adornment-level)
8903         (rst-font-lock-adornment-match)
8904         (rst-font-lock-handle-adornment-pre-match-form)
8905         (rst-font-lock-handle-adornment-matcher): Major revision of
8906         font-locking.  Integrate with other code.  Use `jit-lock-mode'.
8908         (rst-preferred-adornments, rst-adjust-hook)
8909         (rst-new-adornment-down, rst-preferred-bullets)
8910         (rst-preferred-bullets, rst-indent, rst-indent-width)
8911         (rst-indent-field, rst-indent-literal-normal)
8912         (rst-indent-literal-minimized, rst-indent-comment): Change,
8913         extend and improve customization.
8915         (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
8916         (rst-normalize-cursor-position, rst-get-decoration)
8917         (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
8918         (rst-rstrip, rst-toc-insert-find-delete-contents)
8919         (rst-shift-fill-region, rst-compute-bullet-tabs)
8920         (rst-debug-print-tabs, rst-debug-mark-found)
8921         (rst-shift-region-guts, rst-shift-region-right)
8922         (rst-shift-region-left, rst-use-char-classes)
8923         (rst-font-lock-keywords-function)
8924         (rst-font-lock-indentation-point)
8925         (rst-font-lock-find-unindented-line-begin)
8926         (rst-font-lock-find-unindented-line-end)
8927         (rst-font-lock-find-unindented-line)
8928         (rst-font-lock-adornment-point, rst-font-lock-level)
8929         (rst-adornment-level-alist): Remove functions and variables.
8931         (rst-compare-adornments, rst-get-adornment-match)
8932         (rst-suggest-new-adornment, rst-get-adornments-around)
8933         (rst-adornment-complete-p, rst-get-next-adornment)
8934         (rst-adjust-adornment, rst-display-adornments-hierarchy)
8935         (rst-straighten-adornments): Standardize function names to
8936         use "adornment" instead of "decoration".  Correct callers.
8937         Similar standardizing in many places.
8939         (rst-update-section, rst-adjust, rst-promote-region)
8940         (rst-enumerate-region, rst-bullet-list-region)
8941         (rst-repeat-last-character): Correct use of `interactive'.
8943         (rst-classify-adornment, rst-find-all-adornments)
8944         (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
8945         (rst-find-leftmost-column, rst-repeat-last-character):
8946         Refactor functions.
8948         (rst-find-title-line, rst-reset-section-caches)
8949         (rst-get-adornments-around, rst-adjust-adornment-work)
8950         (rst-arabic-to-roman, rst-roman-to-arabic)
8951         (rst-insert-list-pos, rst-insert-list-new-item)
8952         (rst-insert-list-continue, rst-insert-list, rst-forward-line):
8953         New functions.
8955         (rst-all-sections, rst-section-hierarchy)
8956         (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
8957         New variables.
8959         (rst-toc-return-wincfg, rst-toc-quit-window): Use window
8960         configuration instead of only buffer.  Change where necessary.
8962         (rst-line-tabs, rst-compute-tabs, rst-indent-line)
8963         (rst-shift-region, rst-adaptive-fill): New functions for
8964         indentation and filling.
8966         (rst-comment-line-break, rst-comment-indent)
8967         (rst-comment-insert-comment, rst-comment-region)
8968         (rst-uncomment-region): New functions for handling comments.
8970         (rst-compile): Quote shell arguments.
8972         (rst-compile-pdf-preview, rst-compile-slides-preview):
8973         Delete temporary files after use.
8975 2012-05-05  Glenn Morris  <rgm@gnu.org>
8977         * calendar/cal-html.el: Optionally include holidays in the output.
8978         Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
8979         (cal-html-holidays): New option.
8980         (cal-html-css-default): Add holiday entry.
8981         (holiday-in-range): Autoload it.
8982         (cal-html-htmlify-entry): Add optional class argument.
8983         (cal-html-htmlify-list): Add optional holidays argument.
8984         (cal-html-insert-agenda-days): Include holidays in the output.
8985         (cal-html-one-month): Maybe include holidays.
8987         * calendar/holidays.el (holiday-in-range):
8988         Move here from cal-tex-list-holidays.
8989         * calendar/cal-tex.el (cal-tex-list-holidays):
8990         Make it an obsolete alias for holiday-in-range.  Update all callers.
8992 2012-05-05  Chong Yidong  <cyd@gnu.org>
8994         * select.el (xselect--encode-string): Always use utf-8 for TEXT on
8995         Nextstep.
8997 2012-05-05  Ransom Williams  <auvergnerw@gmail.com>  (tiny change)
8999         * files.el (file-auto-mode-skip): New var.
9000         (set-auto-mode-1): Use it.
9002 2012-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
9004         * repeat.el: Use lexical-binding.
9005         (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
9006         (repeat-undo-count): Remove.
9007         (repeat):
9008         * progmodes/octave-mod.el (octave-abbrev-start):
9009         * progmodes/f90.el (f90-abbrev-start):
9010         * face-remap.el (text-scale-adjust):
9011         * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
9013         * emacs-lisp/pcase.el (pcase--let*): New function.
9014         (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
9015         a bit more.
9016         (pcase--split-pred): Be more clever about ruling out overlap between
9017         a predicate and some constant pattern.
9018         (pcase--q1): Use `null' instead of (eq foo nil).
9020         * subr.el (setq-local, defvar-local): New macros.
9021         (kbd): Redefine as an alias.
9022         (with-selected-window): Leave unrelated frames alone.
9023         (set-temporary-overlay-map): New function.
9025 2012-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
9027         * subr.el (user-error): New function.
9028         * window.el (switch-to-buffer):
9029         * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
9030         (smerge-match-conflict):
9031         * simple.el (previous-matching-history-element)
9032         (next-matching-history-element, goto-history-element, undo-more)
9033         (undo-start):
9034         * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
9035         (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
9036         (next-file, tags-loop-scan, list-tags, complete-tag):
9037         * progmodes/compile.el (compilation-loop):
9038         * mouse.el (mouse-minibuffer-check):
9039         * man.el (Man-bgproc-sentinel, Man-goto-page):
9040         * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
9041         (Info-history-forward, Info-follow-reference, Info-menu)
9042         (Info-extract-menu-item, Info-extract-menu-counting)
9043         (Info-forward-node, Info-backward-node, Info-next-menu-item)
9044         (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
9045         (Info-next-reference, Info-prev-reference, Info-index)
9046         (Info-index-next, Info-follow-nearest-node)
9047         (Info-copy-current-node-name):
9048         * imenu.el (imenu--make-index-alist)
9049         (imenu-default-create-index-function, imenu-add-to-menubar):
9050         * files.el (basic-save-buffer, recover-file):
9051         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
9052         * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
9053         (checkdoc-message-text, checkdoc-defun):
9054         * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
9055         * cus-edit.el (customize-changed-options, customize-rogue)
9056         (customize-saved, custom-variable-set, custom-variable-mark-to-save)
9057         (custom-variable-mark-to-reset-standard)
9058         (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
9059         (custom-file):
9060         * completion.el (check-completion-length):
9061         * comint.el (comint-search-arg)
9062         (comint-previous-matching-input-string-position)
9063         (comint-previous-matching-input)
9064         (comint-replace-by-expanded-history-before-point, comint-send-input)
9065         (comint-copy-old-input, comint-backward-matching-input)
9066         (comint-goto-process-mark, comint-set-process-mark):
9067         * calendar/calendar.el (calendar-cursor-to-date): Use it.
9068         * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
9070 2012-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
9072         * dabbrev.el (dabbrev--ignore-case-p): New function.
9073         (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
9074         Use it.
9076         * files.el (automount-dir-prefix): Mark as obsolete.
9078 2012-05-04  Glenn Morris  <rgm@gnu.org>
9080         * patcomp.el, play/bruce.el: Move to obsolete/.
9082 2012-05-04  Paul Eggert  <eggert@cs.ucla.edu>
9084         Fix minor Y10k bugs.
9085         * arc-mode.el (archive-unixdate):
9086         * autoinsert.el (auto-insert-alist):
9087         * calc/calc-forms.el (math-this-year):
9088         * emacs-lisp/copyright.el (copyright-current-year)
9089         (copyright-update-year, copyright):
9090         * tar-mode.el (tar-clip-time-string):
9091         * time.el (display-time-update):
9092         Don't assume years have 4 digits.
9094 2012-05-04  Chong Yidong  <cyd@gnu.org>
9096         * dos-w32.el (file-name-buffer-file-type-alist)
9097         (direct-print-region-use-command-dot-com):
9098         * ffap.el (ffap-menu-regexp):
9099         * find-file.el (ff-special-constructs):
9100         * follow.el (follow-debug):
9101         * forms.el (forms--debug):
9102         * iswitchb.el (iswitchb-all-frames):
9103         * ido.el (ido-all-frames):
9104         * emacs-lisp/timer.el (timer-max-repeats):
9105         * mail/feedmail.el (feedmail-mail-send-hook)
9106         (feedmail-mail-send-hook-queued):
9107         * mail/footnote.el (footnote-signature-separator):
9108         * mail/mailabbrev.el (mail-alias-separator-string)
9109         (mail-abbrev-mode-regexp):
9110         * mail/rmail.el (rmail-speedbar-match-folder-regexp):
9111         * progmodes/idlwave.el (idlwave-libinfo-file)
9112         (idlwave-default-completion-case-is-down)
9113         (idlwave-library-routines): Convert defvars to defcustoms.
9115         * mail/rmail.el (rmail-decode-mime-charset):
9116         * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
9117         (idlwave-shell-fix-inserted-breaks)
9118         (idlwave-shell-activate-alt-keybindings)
9119         (idlwave-shell-use-breakpoint-glyph):
9120         * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
9122 2012-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
9124         * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
9126 2012-05-03  Wilson Snyder  <wsnyder@wsnyder.org>
9128         * progmodes/verilog-mode.el (font-lock-keywords):
9129         Fix mis-highligting auto.  Reported by Craig Barner.
9130         (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
9131         defines from global name space.  Reported by Dan Dever.
9132         (verilog-auto-reset, verilog-auto-reset-widths)
9133         (verilog-auto-tieoff): Support using unbased numbers for
9134         AUTORESET and AUTOTIEOFF.
9135         (verilog-submit-bug-report): Update variable list.
9136         (verilog-read-auto-params): Fix AUTOINPUT regexps containing
9137         parenthesis from not matching.  Reported by Michael Rytting.
9138         (verilog-auto-template-lint): Fix hash error when linting modules
9139         with no used templates.
9140         (verilog-warn, verilog-warn-error)
9141         (verilog-warn-fatal): When non-interactive report multiple
9142         warnings before exiting.  Suggested by Brad Dobbie.
9143         (verilog-auto-template-lint, verilog-auto-template-warn-unused)
9144         (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
9145         to report unused template errors.  Reported by Brad Dobbie.
9146         (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
9147         nets, bug438.  Reported by Vns Blore.
9148         (verilog-auto-inout-module, verilog-auto-reg)
9149         (verilog-read-decls, verilog-read-sub-decls-sig)
9150         (verilog-signals-edit-wire-reg, verilog-signals-with):
9151         Fix passing of Verilog data types in ANSI input/output ports
9152         such as "output logic" into the AUTOs.  Special case "wire" and
9153         "reg" for backwards compatibility presuming Verilog 2001.
9154         (verilog-auto-ascii-enum): Add "auto enum" as alias.
9155         (verilog-preprocess): Fix replication of preprocess output.
9156         Reported by Brad Dobbie.
9157         (verilog-auto-inst-interfaced-ports):
9158         Create verilog-auto-inst-interfaced-ports, bug429.
9159         Reported by Julian Gorfajn.
9160         (verilog-after-save-font-hook)
9161         (verilog-before-save-font-hook): New variable.
9162         (verilog-modi-cache-results, verilog-save-font-mod-hooked)
9163         (verilog-save-font-mods): Wrap disabling fontification, reported
9164         by David Rogoff.
9165         (verilog-do-indent, verilog-pretty-declarations-auto)
9166         (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
9167         Reported by Pierre-David Pfister.
9168         (verilog-set-auto-endcomments): Fix endtask auto comments outside
9169         of class declarations, bug292.  Reported by Kevin Heilman.
9170         (verilog-read-decls): Fix 'parameter type' not appearing in
9171         AUTOINSTPARAM, bug340.  Reported by Jonathan Greenlaw.
9172         (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
9173         AUTOINPUTs, bug411.  Reported by Jonathan Greenlaw.
9174         (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
9175         Reported by David Kravitz.
9177 2012-05-03  Michael McNamara  <mac@mail.brushroad.com>
9179         * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
9180         assignment with tests in ifs and for loops.
9181         (verilog-extended-complete-re, verilog-complete-reg): Change so
9182         that DPI inport functions don't look like fuction declarations.
9183         (verilog-pretty-expr): Don't line up assignment
9184         operations to the test and increment in if and for loops
9185         (verilog-extended-complete-re, verilog-complete-reg): Change so
9186         that DPI inport functions don't look like fuction declarations.
9188 2012-05-03  Kenichi Handa  <handa@m17n.org>
9190         * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
9191         decoding, and show a warning message without signaling an error
9192         (Bug#11282).
9194 2012-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
9196         * emacs-lisp/bytecomp.el
9197         (byte-compile-file-form-custom-declare-variable): Compile all elements,
9198         since cconv.el might have introduced :fun-body, internal-make-closure,
9199         and friends for bytecomp to handle (bug#11391).
9200         * custom.el (defcustom): Avoid ((λ ..) ..).
9202 2012-05-02  Stefan Monnier  <monnier@iro.umontreal.ca>
9204         * subr.el (read-passwd): Better clean after ourselves (bug#11392).
9206 2012-05-02  Juanma Barranquero  <lekktu@gmail.com>
9208         * notifications.el (dbus-debug):
9209         * term/linux.el (gpm-mouse-enable):
9210         * term/screen.el (xterm-register-default-colors): Declare.
9212 2012-05-02  Chong Yidong  <cyd@gnu.org>
9214         * cus-start.el (gc-cons-percentage, exec-suffixes)
9215         (dos-display-scancodes, dos-hyper-key, dos-super-key)
9216         (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
9217         (make-cursor-line-fully-visible, void-text-area-pointer)
9218         (font-list-limit): Add customization data.
9220         * allout.el (allout-exposure-change-functions)
9221         (allout-structure-added-functions)
9222         (allout-structure-deleted-functions)
9223         (allout-structure-shifted-functions): Rename abnormal hooks from
9224         *-hook, and convert to defcustoms.
9225         (allout-after-copy-or-kill-hook, allout-post-undo-hook):
9226         Convert to defcustoms.
9227         (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
9229         * allout-widgets.el: Hook callers changed.
9231 2012-05-02  Eli Zaretskii  <eliz@gnu.org>
9233         * mail/rmail.el (rmail-yank-current-message): Use the encoding of
9234         the yanked message in preference to the default value of
9235         buffer-file-coding-system.
9237 2012-05-02  Martin Rudalics  <rudalics@gmx.at>
9239         * window.el (display-buffer--action-function-custom-type):
9240         Fix entry.
9242 2012-05-02  Alan Mackenzie  <acm@muc.de>
9244         * progmodes/cc-defs.el (c-version): Update to 5.32.3.
9246 2012-05-01  Glenn Morris  <rgm@gnu.org>
9248         * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
9250         * eshell/esh-cmd.el (eshell-debug-command): Doc fix.  Add :set.
9252         * cus-edit.el (custom-variable-documentation): Simplify with format.
9254 2012-05-01  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
9255             Stefan Monnier  <monnier@iro.umontreal.ca>
9257         * simple.el (suggest-key-bindings, execute-extended-command):
9258         Move from keyboard.c.
9260 2012-05-01  Chong Yidong  <cyd@gnu.org>
9262         * follow.el: Eliminate advice.
9263         (set-process-filter, process-filter, sit-for): Advice deleted.
9264         (follow-mode-off-hook): Obsolete hook removed.
9265         (follow-avoid-tail-recenter-p, follow-process-filter-alist):
9266         Vars deleted.
9267         (follow-auto): Use a :set function.
9268         (follow-mode): Rewritten.  Don't advise process filters.
9269         (follow-switch-to-current-buffer-all, follow-scroll-up)
9270         (follow-scroll-down): Assume follow-mode is bound.
9271         (follow-comint-scroll-to-bottom)
9272         (follow-align-compilation-windows): New functions.
9273         (follow--window-sorter): New function.
9274         (follow-all-followers): Use it to explicitly sort windows by their
9275         positions; don't make assumptions about next-window order.
9276         (follow-windows-start-end, follow-delete-other-windows-and-split)
9277         (follow-calc-win-start): Doc fix.
9278         (follow-windows-aligned-p, follow-select-if-visible): Don't call
9279         vertical-motion unnecessarily.
9280         (follow-adjust-window): New function.
9281         (follow-post-command-hook): Use it.
9282         (follow-call-set-process-filter, follow-call-process-filter)
9283         (follow-intercept-process-output, follow-tidy-process-filter-alist)
9284         (follow-stop-intercept-process-output, follow-generic-filter):
9285         Functions deleted.
9286         (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
9287         (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
9288         New functions, replacing advice on scroll-bar-* commands.
9289         (follow-mwheel-scroll): New function (Bug#4112).
9291         * comint.el (comint-adjust-point): New function.
9292         (comint-postoutput-scroll-to-bottom): Use it.
9293         Call follow-comint-scroll-to-bottom for Follow mode buffers.
9295 2012-05-01  Glenn Morris  <rgm@gnu.org>
9297         * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
9298         * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
9299         * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
9300         * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
9301         * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
9302         Remove no-byte-compile setting.
9304 2012-05-01  Stefan Monnier  <monnier@iro.umontreal.ca>
9306         * minibuffer.el (completion-table-with-quoting): Fix compatibility
9307         all-completions code to not return a number in the last cdr.
9309 2012-04-30  Leo Liu  <sdl.web@gmail.com>
9311         * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
9312         read-only error.
9314 2012-04-29  Chong Yidong  <cyd@gnu.org>
9316         * follow.el (follow-calc-win-end): Rewrite to handle partial
9317         screen lines correctly (Bug#8390).
9318         (follow-avoid-tail-recenter): Minor cleanup.
9320 2012-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
9322         Avoid the obsolete `assoc' package.
9323         * speedbar.el (speedbar-refresh): Avoid adelete.
9324         (speedbar-file-lists): Simplify and avoid aput.
9325         * man.el (Man--sections, Man--refpages): New vars, replacing
9326         Man-sections-alist and Man-refpages-alist.
9327         (Man-build-section-alist, Man-build-references-alist):
9328         Use them; avoid aput.
9329         (Man--last-section, Man--last-refpage): New vars.
9330         (Man-follow-manual-reference): Use them.
9331         Use the `default' arg of completing-read.
9332         (Man-goto-section): Idem.  Move prompt to the `interactive' spec.
9334 2012-04-27  Chong Yidong  <cyd@gnu.org>
9336         * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
9338         * startup.el (x-apply-session-resources): New function.
9340         * term/ns-win.el (ns-initialize-window-system):
9341         * term/w32-win.el (w32-initialize-window-system):
9342         * term/x-win.el (x-initialize-window-system): Use it to properly
9343         set menu-bar-mode and other vars from X resources, even if the
9344         initial frame is not a window-system frame (Bug#2299).
9346         * subr.el (read-key): Avoid running filter function when setting
9347         up temporary tool bar entries (Bug#9922).
9349 2012-04-27  Andreas Schwab  <schwab@linux-m68k.org>
9351         * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
9352         (Bug#11344)
9354 2012-04-27  Chong Yidong  <cyd@gnu.org>
9356         * select.el (xselect--encode-string): New function, split from
9357         xselect-convert-to-string.
9358         (xselect-convert-to-string): Use it.
9359         (xselect-convert-to-filename, xselect-convert-to-os)
9360         (xselect-convert-to-host, xselect-convert-to-user): Ensure that
9361         returned strings are properly encoded (Bug#11315).
9363 2012-04-27  Chong Yidong  <cyd@gnu.org>
9365         * simple.el (delete-active-region): Move to killing custom group.
9367 2012-04-27  Andreas Schwab  <schwab@linux-m68k.org>
9369         * progmodes/which-func.el (which-func-current): Quote %
9370         characters for mode-line processing.
9372 2012-04-27  Chong Yidong  <cyd@gnu.org>
9374         * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
9375         reaching eob (Bug#11286).
9377 2012-04-27  Eli Zaretskii  <eliz@gnu.org>
9379         * progmodes/gdb-mi.el (gdb-control-level): New variable.
9380         (gdb): Make it buffer-local and init to zero.
9381         (gdb-control-commands-regexp): New variable.
9382         (gdb-send): Don't wrap in "-interpreter-exec console" if
9383         gdb-control-level is positive.  Increment gdb-control-level
9384         whenever the command matches gdb-control-commands-regexp, and
9385         decrement it each time the command is "end".  (Bug#11279)
9387 2012-04-27  Martin Rudalics  <rudalics@gmx.at>
9389         * window.el (adjust-window-trailing-edge, enlarge-window)
9390         (shrink-window, window-resize):
9391         * mouse.el (mouse-drag-line): Fix resizing of minibuffer
9392         windows (Bug#11276).
9394 2012-04-27  Chong Yidong  <cyd@gnu.org>
9396         * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
9397         fix "missing prefix" warning.  All callers changed.
9399 2012-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
9401         * emacs-lisp/assoc.el: Move to obsolete/.
9403 2012-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
9405         * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
9407         * term/ns-win.el (ns-define-service):
9408         * progmodes/pascal.el (pascal-goto-defun):
9409         * progmodes/js.el (js--read-tab):
9410         * progmodes/etags.el (tags-lazy-completion-table):
9411         * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
9412         * emacs-lisp/ewoc.el (ewoc--wrap):
9413         * emacs-lisp/assoc.el (aput, adelete, amake):
9414         * doc-view.el (doc-view-convert-current-doc):
9415         * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
9417 2012-04-26  Chong Yidong  <cyd@gnu.org>
9419         * image.el (image-type-from-buffer): Only return supported image
9420         type (Bug#9045).
9422         * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
9423         value, for symmetry with diff-end-of-hunk.
9424         (diff-split-hunk, diff-find-source-location)
9425         (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
9426         (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
9427         (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
9428         compute the relevant hunk or file properly (Bug#6005).
9429         (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
9431 2012-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
9433         * vc/vc-mtn.el:
9434         * vc/vc-hg.el:
9435         * vc/vc-git.el:
9436         * vc/vc-dir.el:
9437         * vc/vc-cvs.el:
9438         * vc/vc-bzr.el:
9439         * vc/vc-arch.el:
9440         * vc/vc.el: Replace lexical-let by lexical-binding.
9441         * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
9442         * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
9443         * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
9445 2012-04-26  Chong Yidong  <cyd@gnu.org>
9447         * vc/diff-mode.el (diff-undo): New command (Bug#5302).
9448         (diff-mode-shared-map): Bind it to / and [remap undo].
9450         * vc/ediff-wind.el (ediff-setup-windows-default): New function.
9451         (ediff-window-setup-function): Use it as the default, to set up
9452         windows based on whether the current frame is graphical (Bug#2138).
9453         (ediff-choose-window-setup-function-automatically): Make obsolete.
9455         * vc/ediff-init.el: Always define ediff-pixel-width/height.
9457 2012-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
9459         * ffap.el: Remove old code for obsolete package.
9460         (ffap-complete-as-file-p): Remove.
9462         Use completion-table-with-quoting for comint and pcomplete.
9463         * comint.el (comint--unquote&requote-argument)
9464         (comint--unquote-argument, comint--requote-argument): New functions.
9465         (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
9466         (comint-quote-filename): Use regexp-opt-charset.
9467         (comint--common-suffix, comint--common-quoted-suffix)
9468         (comint--table-subvert): Remove.
9469         (comint-unquote-function, comint-requote-function): New vars.
9470         (comint--complete-file-name-data): Use them with
9471         completion-table-with-quoting.
9472         * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
9473         * pcomplete.el (pcomplete-arg-quote-list)
9474         (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
9475         (pcomplete-unquote-argument-function): Default to non-nil.
9476         (pcomplete-unquote-argument): Simplify.
9477         (pcomplete--common-quoted-suffix): Remove.
9478         (pcomplete-requote-argument-function): New var.
9479         (pcomplete--common-suffix): New function.
9480         (pcomplete-completions-at-point): Use completion-table-with-quoting
9481         and completion-table-subvert.
9483         * minibuffer.el: Use completion-table-with-quoting for read-file-name.
9484         (minibuffer--double-dollars): Preserve properties.
9485         (completion--sifn-requote): New function.
9486         (completion--file-name-table): Rewrite using it and c-t-with-quoting.
9488         * minibuffer.el: Add support for completion of quoted/escaped data.
9489         (completion-table-with-quoting, completion-table-subvert): New funs.
9490         (completion--twq-try, completion--twq-all): New functions.
9491         (completion--nth-completion): New function.
9492         (completion-try-completion, completion-all-completions): Use it.
9494 2012-04-25  Leo Liu  <sdl.web@gmail.com>
9496         * progmodes/python.el (python-pdbtrack-get-source-buffer):
9497         Use compilation-message if available to find real filename.
9499 2012-04-25  Chong Yidong  <cyd@gnu.org>
9501         * vc/diff-mode.el (diff-setup-whitespace): New function.
9502         (diff-mode): Use it.
9504         * vc/diff.el (diff-sentinel):
9505         * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
9506         Whitespace mode variables based on diff style (Bug#8612).
9508 2012-04-25  Leo Liu  <sdl.web@gmail.com>
9510         * progmodes/python.el (python-send-region): Add suffix .py to the
9511         temp file.
9513         * files.el (auto-mode-alist): Use javascript-mode instead.
9515 2012-04-25  Alex Harsanyi  <AlexHarsanyi@gmail.com>
9517         Sync with soap-client repository.  Support SOAP simpleType (Bug#10331).
9519         * net/soap-client.el (soap-resolve-references-for-sequence-type)
9520         (soap-resolve-references-for-array-type): Hack to prevent self
9521         references, see Bug#9.
9522         (soap-parse-envelope): Report the contents of the 'detail' node
9523         when receiving a fault reply.
9524         (soap-parse-envelope): Report the contents of the entire 'detail' node.
9526         * net/soap-inspect.el (soap-sample-value-for-simple-type)
9527         (soap-inspect-simple-type): New function.
9529         * net/soap-client.el (soap-simple-type): New struct.
9530         (soap-default-xsd-types, soap-default-soapenc-types)
9531         (soap-decode-basic-type, soap-encode-basic-type):
9532         support unsignedInt and double basic types.
9533         (soap-resolve-references-for-simple-type)
9534         (soap-parse-simple-type, soap-encode-simple-type): New function.
9535         (soap-parse-schema): Parse xsd:simpleType declarations.
9537         * net/soap-client.el (soap-default-xsd-types)
9538         (soap-default-soapenc-types): Add integer, byte and anyURI types.
9539         (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
9540         the local name of "soapenc:Array".
9541         (soap-decode-basic-type, soap-encode-basic-type): Support encoding
9542         decoding integer, byte and anyURI xsd types.
9544 2012-04-25  Chong Yidong  <cyd@gnu.org>
9546         * cus-edit.el (custom-buffer-create-internal): Update header text.
9548 2012-04-25  Eli Zaretskii  <eliz@gnu.org>
9550         * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
9551         settings on 'system-type', not on 'window-system'.  On MS-Windows,
9552         set interactive-mode on in GDB.
9554 2012-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
9556         * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
9557         (ruby-syntax-propertize-regexp): Remove.
9558         (ruby-syntax-propertize-function): Split regexp into chunks.
9559         Match following code directly.
9561 2012-04-24  Dmitry Gutov  <dgutov@yandex.ru>
9563         * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
9564         (ruby-syntax-propertize-regexp): New function.
9565         (ruby-syntax-propertize-function): Use it to handle regexp not preceded
9566         by a special keyword.
9568         * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
9569         (ruby-syntax-general-delimiters-goto-beg)
9570         (ruby-syntax-propertize-general-delimiters): New functions.
9571         (ruby-syntax-propertize-function): Use them to handle GDL.
9572         (ruby-font-lock-keywords): Move old handling of GDL...
9573         (ruby-font-lock-syntactic-keywords): .. to here.
9574         (ruby-calculate-indent): Adjust indentation for GDL.
9576 2012-04-24  Michael Albinus  <michael.albinus@gmx.de>
9578         * notifications.el (top): Remove unneeded declarations.
9579         (notifications-specification-version): Change to "1.2".
9580         (notifications-interface, notifications-notify-method)
9581         (notifications-close-notification-method): Fix docstring.
9582         (notifications-get-capabilities-method): New defconst.
9583         (notifications-notify): Add :action-items, :resident and
9584         :transient hints.  Change "image_data" to "image-data" and
9585         "image_path" to "image-path".
9586         (notifications-get-capabilities): New defun.
9588 2012-04-24  Leo Liu  <sdl.web@gmail.com>
9590         * progmodes/python.el: Move hideshow setup to the end.
9592 2012-04-24  Martin Rudalics  <rudalics@gmx.at>
9594         * window.el (handle-select-window): Clear echo area since this is
9595         no more done by read_char (Bug#11304).
9597 2012-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
9599         * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
9600         and `/ M' to filter-derived-mode.
9601         * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
9602         (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
9603         (ibuffer-mark-by-mode): Use default rather than initial-input.
9604         (ibuffer-filter-by-derived-mode): Autoload and require-match.
9606 2012-04-24  Ivan Andrus  <darthandrus@gmail.com>  (tiny change)
9608         * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
9609         (ibuffer-filter-by-derived-mode): New filter.
9610         * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
9612 2012-04-23  Andreas Politz  <politza@fh-trier.de>
9614         * subr.el (accept-change-group): Fix arg usage (Bug#6095).
9616 2012-04-23  Chong Yidong  <cyd@gnu.org>
9618         * cus-edit.el (customize-apropos, customize-apropos-options):
9619         Disable matching of non-option variables (Bug#11176).
9620         (customize-option, customize-option-other-window)
9621         (customize-changed-options): Doc fix.
9622         (customize-apropos-options, customize-apropos-faces)
9623         (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
9625         * apropos.el (apropos-read-pattern): Make prompt less cryptic.
9626         Fix word list splitting (Bug#11132).
9627         (apropos-symbol, apropos-keybinding, apropos-label)
9628         (apropos-property, apropos-function-button)
9629         (apropos-variable-button, apropos-misc-button): New faces.
9630         (apropos-symbol-face, apropos-keybinding-face)
9631         (apropos-label-face, apropos-property-face, apropos-match-face):
9632         Variables removed (Bug#8396).
9633         (apropos-library-button, apropos-format-plist, apropos-print)
9634         (apropos-print-doc, apropos-describe-plist): Callers changed.
9636 2012-04-23  Michael Albinus  <michael.albinus@gmx.de>
9638         * net/xesam.el (xesam-mode-map): Use let-bound map in
9639         initialization.  (Bug#11292)
9641 2012-04-23  AgustĂ­n MartĂ­n Domingo  <agustin.martin@hispalinux.es>
9643         Preserve ispell session localwords when switching back to
9644         original buffer.
9646         * textmodes/ispell.el (ispell-buffer-session-localwords):
9647         New buffer-local variable to hold buffer session localwords.
9648         (ispell-kill-ispell): Add option 'clear to delete session
9649         localwords.
9650         (ispell-command-loop, ispell-change-dictionary)
9651         (ispell-buffer-local-words): Preserve session localwords when
9652         needed.
9654         * textmodes/flyspell.el (flyspell-process-localwords)
9655         (flyspell-do-correct): Preserve session localwords when needed.
9657 2012-04-23  AgustĂ­n MartĂ­n Domingo  <agustin.martin@hispalinux.es>
9659         * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
9660         using obsolete `translation-table-for-input'.
9661         (ispell-word, ispell-process-line, ispell-complete-word):
9662         Use plain `insert' instead of removed `ispell-insert-word'.
9664 2012-04-22  Chong Yidong  <cyd@gnu.org>
9666         * cus-edit.el (custom-variable-menu)
9667         (custom-variable-reset-saved, custom-face-menu)
9668         (custom-face-reset-saved): If there is no saved value, make the
9669         "reset-saved" operation bring back the default (Bug#9509).
9670         (custom-face-state): Properly detect themed faces.
9672         * faces.el (face-spec-set): Stop supporting deprecated form of
9673         third arg.
9675 2012-04-22  Michael Albinus  <michael.albinus@gmx.de>
9677         Move functions from C to Lisp.  Make non-blocking method calls
9678         the default.  Implement further D-Bus standard interfaces.
9680         * net/dbus.el (dbus-message-internal): Declare function.
9681         Remove unneeded function declarations.
9682         (defvar dbus-message-type-invalid, dbus-message-type-method-call)
9683         (dbus-message-type-method-return, dbus-message-type-error)
9684         (dbus-message-type-signal): Declare variables.  Remove local
9685         definitions.
9686         (dbus-interface-dbus, dbus-interface-peer)
9687         (dbus-interface-introspectable, dbus-interface-properties)
9688         (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
9689         Adapt docstring.
9690         (dbus-interface-objectmanager): New defconst.
9691         (dbus-call-method, dbus-call-method-asynchronously)
9692         (dbus-send-signal, dbus-method-return-internal)
9693         (dbus-method-error-internal, dbus-register-service)
9694         (dbus-register-signal, dbus-register-method): New defuns, moved
9695         from dbusbind.c
9696         (dbus-call-method-handler, dbus-setenv)
9697         (dbus-get-all-managed-objects, dbus-managed-objects-handler):
9698         New defuns.
9699         (dbus-call-method-non-blocking): Make it an obsolete function.
9700         (dbus-unregister-object, dbus-unregister-service)
9701         (dbus-handle-event, dbus-register-property)
9702         (dbus-property-handler): Obey the new structure of
9703         `bus-registered-objects'.
9704         (dbus-introspect): Use `dbus-call-method'.  Use a timeout.
9705         (dbus-get-property, dbus-set-property, dbus-get-all-properties):
9706         Use `dbus-call-method'.
9708 2012-04-22  Chong Yidong  <cyd@gnu.org>
9710         * cus-edit.el (custom-commands, custom-reset-menu)
9711         (Custom-reset-standard): Tweak labels.
9712         (custom-reset-button-menu): Change default to t.
9713         (custom-buffer-create-internal): For the custom-reset-button-menu
9714         case, put the revert button first.
9715         (custom-group-subtitle): New face.
9716         (custom-group-value-create): Align docstring to a specific column.
9718         * wid-edit.el (widget-documentation-link-add): Don't handle
9719         indentation in this function.
9720         (widget-documentation-string-indent-to): New function.
9721         (widget-documentation-string-value-create): Use it.
9723         * autorevert.el (auto-revert):
9724         * epg-config.el (epg):
9725         * ibuffer.el (ibuffer):
9726         * mpc.el (mpc):
9727         * ses.el (ses):
9728         * eshell/eshell.el (eshell):
9729         * net/ange-ftp.el (ange-ftp):
9730         * progmodes/ebnf2ps.el (postscript):
9731         * progmodes/flymake.el (flymake):
9732         * progmodes/prolog.el (prolog):
9733         * progmodes/verilog-mode.el (verilog-mode):
9734         * progmodes/which-func.el (which-func):
9735         * term/xterm.el (xterm):
9736         * textmodes/picture.el (picture):
9737         * textmodes/tildify.el (tildify):
9738         * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
9739         customization buffers.
9741 2012-04-22  Alan Mackenzie  <acm@muc.de>
9743         * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
9744         Adding a ) can hide the resulting (..) from searches.  Fix it.
9745         Bound the backward search to the position of the existing (.
9747 2012-04-21  Juanma Barranquero  <lekktu@gmail.com>
9749         * progmodes/verilog-mode.el (verilog-mode): Check whether
9750         which-func-modes is t before adding verilog-mode.
9751         Reported by Andy Moreton <andrewjmoreton@gmail.com>.
9753 2012-04-21  Leo Liu  <sdl.web@gmail.com>
9755         * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
9757 2012-04-21  Michael Vehrs  <Michael.Burschik@gmx.de>
9759         * woman.el: Add support for "T{ T}" tbl syntax, and fix the
9760         filling of the last column of a table (Bug#5635).
9761         (woman-find-next-control-line): New arg, specifying an additional
9762         regexp component for the control line.
9763         (woman2-roff-buffer): Use it.
9764         (woman-break-table): New function.
9765         (woman2-TS): Use it.
9767 2012-04-21  Chong Yidong  <cyd@gnu.org>
9769         * woman.el (woman-set-buffer-display-table, woman-decode-region)
9770         (woman-horizontal-escapes, woman-negative-vertical-space)
9771         (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
9772         (WoMan-warn-ignored): Use ?\s instead of ?\ .
9774 2012-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
9776         * minibuffer.el (completion-file-name-table): Complete user names.
9778 2012-04-20  Leo Liu  <sdl.web@gmail.com>
9780         * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
9781         and pcase-let*.
9783 2012-04-20  Chong Yidong  <cyd@gnu.org>
9785         * server.el (server-execute): Respect initial-buffer-choice if it
9786         is a string and there are no files to open (Bug#2825).
9787         (server-create-window-system-frame, server-create-tty-frame):
9788         Don't switch buffers here.
9789         (server-process-filter): Only try to open a window system frame if
9790         compiled with graphical support (Bug#8314).
9792 2012-04-20  Dan Nicolaescu  <dann@gnu.org>
9794         * battery.el (battery-echo-area-format): Display remaining time
9795         for sysfs backend too (Bug#11269).
9796         (battery-linux-sysfs): Fix conditional for the charge.
9798 2012-04-20  Chong Yidong  <cyd@gnu.org>
9800         * progmodes/gdb-mi.el (gdb): Revert previous change.
9801         (gdb-inferior-io--init-proc): New function.
9802         (gdb-init-1): Use it.
9803         (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
9804         responsible for allocating a new pty and hooking it to gdb when
9805         the old pty gets an EIO due to process exit.
9806         (gdb-delchar-or-quit): New command.  Bind it in gdb-mi buffers.
9807         (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
9808         (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
9810 2012-04-20  Eli Zaretskii  <eliz@gnu.org>
9812         * window.el (window-min-size, window-sizable, window-min-delta)
9813         (window-max-delta, window--resizable, window-resizable)
9814         (window-total-size, window-full-height-p, window-full-width-p)
9815         (window-in-direction, window--resize-mini-window, window-resize)
9816         (window--resize-child-windows-normal)
9817         (window--resize-child-windows, window--resize-siblings)
9818         (window--resize-this-window, adjust-window-trailing-edge)
9819         (enlarge-window, shrink-window): Doc fixes.
9821 2012-04-20  Chong Yidong  <cyd@gnu.org>
9823         * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
9824         New function to call delete-process on the gdb-inferior buffer's pty.
9825         (gdb-reset): Use it, instead of relying on kill-buffer to kill the
9826         pty process (Bug#11273).
9827         (gdb-update): New arg to suppress talking to the gdb process.
9828         (gdb-done-or-error): Use it.
9829         (gdb-stopped-functions): Rename from gdb-stopped-hooks.
9830         (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
9831         sentinel not being called.
9833         * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
9835         * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
9837 2012-04-20  Glenn Morris  <rgm@gnu.org>
9839         * net/network-stream.el (open-network-stream): Doc fix.
9841 2012-04-20  Chong Yidong  <cyd@gnu.org>
9843         * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
9845 2012-04-20  Alan Mackenzie  <acm@muc.de>
9847         Ensure searching for keywords is case sensitive.
9849         * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
9850         (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
9851         (c-defun-name, c-mark-function, c-cpp-define-name)
9852         (c-comment-indent, c-scan-conditionals, c-indent-defun)
9853         (c-context-line-break): Bind case-fold-search to nil.
9855         * progmodes/cc-mode.el (c-font-lock-fontify-region):
9856         Bind case-fold-search to nil.
9858 2012-04-20  Chong Yidong  <cyd@gnu.org>
9860         * mail/sendmail.el (mail-bury): Call return action with the right
9861         Rmail buffer (Bug#11242).
9863         * server.el (server-process-filter): Handle corner case where both
9864         tty and nowait options are present (Bug#11102).
9866 2012-04-20  Eli Zaretskii  <eliz@gnu.org>
9868         * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
9869         (top level): Put into the executable the ident-style '$Id:' tag on
9870         windows-nt as well.
9872 2012-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
9874         * electric.el (electric-indent-post-self-insert-function): Check that
9875         electric-indent-mode is enabled in current buffer.
9877 2012-04-19  Juanma Barranquero  <lekktu@gmail.com>
9879         * imenu.el (imenu-progress-message): Restore; it is "used" in
9880         erc/erc-imenu.el and net/snmp-mode.el.
9882 2012-04-19  Juanma Barranquero  <lekktu@gmail.com>
9884         * avoid.el (mouse-avoidance-mode): Mark unused arg.
9885         (mouse-avoidance-nudge-mouse): Remove unused binding.
9887         * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
9889         * descr-text.el (describe-char):
9890         * progmodes/python.el (python-describe-symbol):
9891         Don't call `toggle-read-only', set `buffer-read-only'.
9893         * imenu.el (imenu-default-goto-function): Mark unused args.
9894         (imenu-progress-message): Remove obsolete macro; all callers changed.
9896         * subr.el (keymap-canonicalize): Remove unused binding.
9897         (read-passwd): Mark unused arg.
9899         * tutorial.el (tutorial--display-changes): Remove unused binding.
9900         (tutorial--save-tutorial-to): Remove unused variable.
9902         * emacs-lisp/package.el (define-package, package-menu-mark-delete)
9903         (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
9904         (package-generate-autoloads, package-menu--generate)
9905         (package-menu--find-upgrades): Remove unused bindings.
9907         * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
9908         (cua-restrict-prefix-rectangle): Doc fixes.  Remove unused bindings.
9909         (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
9910         (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
9911         (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
9912         (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
9913         (cua--rectangle-aux-replace, cua--left-fill-rectangle)
9914         (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
9915         (cua-delete-char-rectangle): Mark unused args.
9916         (cua-align-rectangle): Remove unused binding.
9918         * mail/rmail.el (compilation--message->loc)
9919         (epa--find-coding-system-for-mime-charset): Declare.
9921         * net/dbus.el (dbus-register-service): Declare.
9922         (dbus-name-owner-changed-handler): Remove unused binding.
9924         * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
9925         (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
9926         (nxml-scan-backward-within): Mark unused arg.
9927         (nxml-dynamic-markup-word): Remove unused binding.
9929         * mouse.el (mouse-menu-major-mode-map):
9930         * emacs-lisp/authors.el (authors-scan-change-log)
9931         (authors-add-to-author-list):
9932         * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
9933         * emacs-lisp/smie.el (smie-auto-fill):
9934         * mail/sendmail.el (mail-bury):
9935         * mail/unrmail.el (unrmail):
9936         * net/tls.el (open-tls-stream):
9937         * textmodes/picture.el (picture-mouse-set-point):
9938         Remove unused bindings.
9940 2012-04-19  Michael Albinus  <michael.albinus@gmx.de>
9942         * net/tramp.el (tramp-action-password): Let-bind
9943         `enable-recursive-minibuffers' to t.
9945 2012-04-18  Sam Steingold  <sds@gnu.org>
9947         * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
9948         instead of 'string to accommodate values like [f11].
9949         Always use `vconcat' instead of `concat' on it, like in `gud-def'.
9950         * progmodes/gdb-mi.el: Likewise.
9952 2012-04-18  Leo Liu  <sdl.web@gmail.com>
9954         * abbrev.el (edit-abbrevs): Move point to the abbrev table of
9955         current buffer.
9956         (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
9957         LOCAL is nil.
9959 2012-04-18  Chong Yidong  <cyd@gnu.org>
9961         * simple.el (line-move): Use forward-line if in batch mode
9962         (Bug#11053).
9964 2012-04-18  Christopher Schmidt  <christopher@ch.ristopher.com>
9966         * files.el (after-find-file): Do not try to add a final newline if
9967         the buffer is read-only (Bug#11156).
9969 2012-04-17  Richard Stallman  <rms@gnu.org>
9971         * mail/rmail.el (rmail-start-mail):
9972         Pass (rmail-mail-return...) for the return-action.
9973         Pass (rmail-yank-current-message...) for the yank-action.
9974         (rmail-yank-current-message): New function.
9975         (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
9976         (rmail-reply): Likewise.
9977         (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
9979         * mail/sendmail.el (mail-bury): Choose the first rmail-mode
9980         buffer, not the last.  Reject temp buffers.  Use the rmail-mode
9981         buffer, not newbuf.
9983 2012-04-17  Juanma Barranquero  <lekktu@gmail.com>
9985         * server.el (server-ensure-safe-dir): Simplify.
9987 2012-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
9989         * emacs-lisp/smie.el: Provide smarter auto-filling.
9990         (smie-auto-fill): New function.
9991         (smie-setup): Use it.
9993         * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
9995 2012-04-17  Philipp Haselwarter  <philipp.haselwarter@gmx.de>  (tiny change)
9997         * newcomment.el (comment-inline-offset): New custom var (bug#11090).
9998         (comment-indent): Use it.
10000 2012-04-17  Vincent BelaĂ¯che  <vincentb1@users.sourceforge.net>
10002         * ses.el: The overall change is to add cell renaming, that is
10003         setting fancy names for cell symbols other than name matching
10004         "\\`[A-Z]+[0-9]+\\'" regexp .
10005         (ses-localvars): Add ses--renamed-cell-symb-list.
10006         (ses-create-cell-variable): New defun.
10007         (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
10008         (ses-relocate-formula): Relocate formulas only for cells the
10009         symbols of which are not renamed, i.e. symbols whose names do not
10010         match regexp "\\`[A-Z]+[0-9]+\\'".
10011         (ses-relocate-all): Relocate values only for cells the symbols of
10012         which are not renamed.
10013         (ses-load): Create cells variables as the (ses-cell ...) are read,
10014         in order to check row col consistency with cell symbol name only
10015         for cells that are not renamed.
10016         (ses-replace-name-in-formula): New defun.
10017         (ses-rename-cell): New defun.
10019 2012-04-17  Peter Oliver  <bzr@mavit.org.uk>  (tiny change)
10021         * progmodes/perl-mode.el (perl-indent-parens-as-block):
10022         New option (bug#11118).
10023         (perl-calculate-indent): Respect it.
10025 2012-04-17  Glenn Morris  <rgm@gnu.org>
10027         * dired-aux.el (dired-mark-read-string): Doc fix.
10029 2012-04-17  Dmitry Antipov  <dmantipov@yandex.ru>
10031         * dired-aux.el (dired-mark-read-string): Offer optional completion.
10032         (dired-do-chxxx): Complete chown, chgrp over users, groups.  (Bug#7900)
10034 2012-04-17  Glenn Morris  <rgm@gnu.org>
10036         * mouse.el (mouse-drag-track):
10037         * speedbar.el (speedbar-frame-mode):
10038         Use auto-hscroll-mode rather than the alias automatic-hscrolling.
10040 2012-04-16  Leo Liu  <sdl.web@gmail.com>
10042         * progmodes/python.el: Trivial cleanup.
10044 2012-04-16  Glenn Morris  <rgm@gnu.org>
10046         * vc/vc.el (vc-string-prefix-p):
10047         * vc/pcvs-util.el (cvs-string-prefix-p):
10048         * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
10049         * mpc.el (mpc-string-prefix-p):
10050         Make all of these into obsolete aliases for string-prefix-p.
10051         Update callers.
10052         * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
10054         * textmodes/two-column.el: Move custom options to the start.
10055         (frame-width): Remove compat definition.
10056         (2C-associate-buffer, 2C-dissociate):
10057         Use with-current-buffer rather than save-excursion.
10058         (2C-dissociate): Force a mode-line update.
10059         (2C-autoscroll): Use ignore-errors.
10061         * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
10062         Autoload trivia.
10064         * emacs-lisp/cl-extra.el (*random-state*):
10065         Remove unnecessary declaration.
10067         * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
10069         * play/cookie1.el (cookie-snarf):
10070         Give an explicit error if input file cannot be read.
10072         * play/yow.el (yow-file): Use expand-file-name rather than concat.
10074         * progmodes/perl-mode.el (c-macro-expand):
10075         Remove unnecessary autoload (it is in loaddefs.el).
10077         * textmodes/picture.el (picture-desired-column)
10078         (picture-update-desired-column): Convert comments to doc-strings.
10079         (picture-substitute): Remove function.
10080         (picture-mode-map): Initialize in the defvar.
10082         * woman.el: Remove eval-after-load for tar-mode.
10083         * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
10084         (woman-tar-extract-file): Autoload it.
10086         * frame.el (automatic-hscrolling): Make this alias obsolete.
10088 2012-04-12  AgustĂ­n MartĂ­n Domingo  <agustin.martin@hispalinux.es>
10090         * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
10091         `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
10092         (ispell-dictionary-base-alist): Revert to original XEmacs
10093         friendly version for default.  [:alpha:] will be added in
10094         `ispell-set-spellchecker-params' if needed.
10096 2012-04-16  Chong Yidong  <cyd@gnu.org>
10098         * image.el (imagemagick--file-regexp): New variable.
10099         (imagemagick-register-types): Use it.
10100         (imagemagick-types-inhibit): Add :set function.  Allow new value
10101         of t to inhibit all types.
10103         * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
10104         so we can preload it.
10106         * loadup.el (fboundp): Preload regexp-opt, needed by
10107         imagemagick-register-types.
10109 2012-04-15  Chong Yidong  <cyd@gnu.org>
10111         * frame.el (scrolling): Remove nearly unused customization group.
10113         * scroll-all.el (scroll-all-mode): Move to windows group.
10115 2012-04-15  Chong Yidong  <cyd@gnu.org>
10117         * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
10119 2012-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
10121         Avoid the use of ((lambda ...) ...) in lexical-binding code.
10122         * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
10124 2012-04-15  Glenn Morris  <rgm@gnu.org>
10126         * simple.el (process-file-side-effects): Doc fix.
10128 2012-04-15  Glenn Morris  <rgm@gnu.org>
10130         * international/mule-cmds.el (set-language-environment): Doc fix.
10132 2012-04-14  Juanma Barranquero  <lekktu@gmail.com>
10134         * server.el (server-auth-key, server-generate-key): Doc fixes.
10135         (server-get-auth-key): Doc fix.  Use `string-match-p'.
10136         (server-start): Reflow docstring.
10138 2012-04-14  Lars Ingebrigtsen  <larsi@gnus.org>
10140         * server.el (server-generate-key): `called-interactively-p'
10141         requires a parameter.
10143 2012-04-14  Michal Nazarewicz  <mina86@mina86.com>
10145         * server.el (server-auth-key): New variable.
10146         (server-generate-key, server-get-auth-key): New function.
10147         (server-start): Use the new variable and functions to allow
10148         setting a permanent server key (bug#9423).
10150 2012-04-14  Leo Liu  <sdl.web@gmail.com>
10152         * vc/diff-mode.el (diff-file-prev/next): Fix typo.
10154 2012-04-14  Paul Eggert  <eggert@cs.ucla.edu>
10156         Spelling fixes.
10157         * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
10158         Emacs uses American spelling.
10160 2012-04-14  Juanma Barranquero  <lekktu@gmail.com>
10162         * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
10163         (emacs-lock--exit-locked-buffer): Return the locked buffer.  Doc fix.
10164         (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
10165         (emacs-lock--kill-buffer-query-functions): Run new hook.  (Bug#11017)
10167 2012-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
10169         * progmodes/which-func.el (which-func-modes): Change default.
10171 2012-04-14  Kim F. Storm  <storm@cua.dk>
10173         * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
10174         exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
10176 2012-04-14  Chong Yidong  <cyd@gnu.org>
10178         * custom.el (custom-theme-set-variables): Doc fix.
10180 2012-04-14  Glenn Morris  <rgm@gnu.org>
10182         * international/mule.el (set-auto-coding-for-load): Doc fix.
10184 2012-04-14  Alan Mackenzie  <acm@muc.de>
10186         * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
10187         imenu work again for Objective C Mode.  Correct the *-index values,
10188         these having been disturbed by a previous change in 2011-08.
10190         * progmodes/cc-engine.el (c-before-change-check-<>-operators):
10191         Correct two search limits.
10193 2012-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
10195         * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
10197 2012-04-14  Andreas Schwab  <schwab@linux-m68k.org>
10199         * international/characters.el: Fix sorting.
10201 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
10203         * international/characters.el: Add more missing Latin case pairs.
10205 2012-04-14  Glenn Morris  <rgm@gnu.org>
10207         * files.el (dir-locals-set-class-variables): Doc fix.
10209 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
10211         * international/characters.el: Add set-case-syntax-pair call for
10212         LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
10213         counterpart.  (Bug#11209)
10215         * simple.el (shell-command-on-region): Doc fix.  (Bug#11208)
10217 2012-04-14  Glenn Morris  <rgm@gnu.org>
10219         * calendar/holidays.el (calendar-check-holidays): Doc fix.
10221 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
10223         * textmodes/ispell.el (ispell-dictionary-base-alist):
10224         Add data for Hebrew.
10226 2012-04-14  Chong Yidong  <cyd@gnu.org>
10228         * net/rcirc.el (rcirc-cmd-quit):
10229         Revert 2012-03-18 change (Bug#11192).
10231 2012-04-14  Glenn Morris  <rgm@gnu.org>
10233         * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
10235 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
10237         * minibuffer.el (completion-in-region-mode-map):
10238         Bind completion-help-at-point to M-? rather than ?.  (Bug#11182)
10240 2012-04-13  Vivek Dasmohapatra  <vivek@etla.org>
10242         * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
10244 2012-04-13  Masatake YAMATO  <yamato@redhat.com>
10246         * minibuffer.el (minibuffer-local-filename-syntax): New variable
10247         to allow `C-M-f' and `C-M-b' to move to the nearest path
10248         separator (bug#9511).
10250 2012-04-13  Lars Ingebrigtsen  <larsi@gnus.org>
10252         * avoid.el: Require cl when compiling.  And also move the
10253         `provide' to the end.
10255 2012-04-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
10257         * avoid.el (mouse-avoidance-banish-position): New variable.
10258         (mouse-avoidance-banish-destination): Use it (bug#10165).
10260 2012-04-13  Leo Liu  <sdl.web@gmail.com>
10262         * progmodes/which-func.el (which-func-modes): Add objc-mode.
10264 2012-04-13  Ken Brown  <kbrown@cornell.edu>
10266         * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
10267         this is no longer needed now that cygstart understands file:// URLs.
10268         (browse-url-filename-alist): For the same reason, don't modify
10269         file:// URLs on Cygwin.
10271 2012-04-13  Stefan Monnier  <monnier@iro.umontreal.ca>
10273         * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
10274         the region on shift if the binding is already shifted (bug#11221).
10276 2012-04-12  Glenn Morris  <rgm@gnu.org>
10278         * mail/mailpost.el: Move to obsolete/.
10280 2012-04-12  Drew Adams  <drew.adams@oracle.com>
10282         * imenu.el (imenu--generic-function): Ignore invisible definitions
10283         (bug#10123).
10285 2012-04-12  Vivek Dasmohapatra  <vivek@etla.org>
10287         * hexl.el (hexl-bits): New variable.
10288         (hexl-options): Mention the variable in the doc string.
10289         (hexl-rulerise, hexl-line-displen): New functions.
10290         (hexl-mode): Mention the new variable.
10291         (hexl-mode, hexl-current-address, hexl-current-address):
10292         Use the displen.
10293         (hexl-ascii-start-column): New function.
10294         (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
10295         (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
10297 2012-04-12  AgustĂ­n MartĂ­n Domingo  <agustin.martin@hispalinux.es>
10299         * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
10300         '("-i" ENCODING), in 2 separate command-line arguments, to specify
10301         the encoding, as expected by hunspell.
10303 2012-04-12  Stefan Monnier  <monnier@iro.umontreal.ca>
10305         * battery.el (battery--linux-sysfs-regexp): New const.
10306         (battery-status-function): Use it.  Remove yeeloong special case.
10307         (battery-yeeloong-sysfs): Remove.
10308         (battery-echo-area-format): Remove yeeloong special case.
10310 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
10312         * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
10313         Reported by Noah Friedman.
10315         * subr.el (read-passwd): Use read-string.
10317 2012-04-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10319         * vcursor.el (vcursor-move): Increase the priority of the overlay
10320         (bug#9663).
10322 2012-04-11  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
10324         * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
10325         (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
10327 2012-04-11  William Stevenson  <yhvh2000@gmail.com>
10329         * textmodes/artist.el (artist-mode): Convert artist-mode to use
10330         define-minor-mode (bug#10760).
10332 2012-04-11  Wolfgang Jenkner  <wjenkner@inode.at>  (tiny change)
10334         * progmodes/grep.el (rgrep): Tweak the find command line so
10335         that directories matching `grep-find-ignored-files' won't be
10336         pruned (bug#10351).
10338 2012-04-11  Chong Yidong  <cyd@gnu.org>
10340         * startup.el (command-line): Remove support for long-obsolete
10341         variable font-lock-face-attributes.
10343 2012-04-11  Glenn Morris  <rgm@gnu.org>
10345         * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
10347 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
10349         * window.el (window--state-get-1): Obey window-point-insertion-type.
10351 2012-04-11  Lennart Borgman  <lennart.borgman@gmail.com>
10353         * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
10354         to previous function when point is on the first character of a
10355         function.  Take care of that in `narrow-to-defun' (bug#6157).
10357 2012-04-11  Glenn Morris  <rgm@gnu.org>
10359         * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
10360         not just file-errors.
10362         * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
10363         (vc-bzr-sha1): Use internal sha1.
10365 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
10367         * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
10369 2012-04-10  SĂ©bastien Gross  <seb@chezwam.org>  (tiny change)
10371         * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
10372         that start in the middle of the line (bug#10496).
10374 2012-04-10  Dan Nicolaescu  <dann@gnu.org>
10376         * battery.el (battery-linux-proc-acpi): Only one battery is
10377         discharged at a time, but that seems to confuse battery.el when
10378         computing `rate-type' for the battery not being discharged
10379         (bug#10332).
10381 2012-04-10  Stefan Monnier  <monnier@iro.umontreal.ca>
10383         * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
10385         * international/quail.el: Use dolist and simplify.
10386         (quail-define-package, quail-update-keyboard-layout)
10387         (quail-define-rules): Use dolist.
10388         (quail-insert-kbd-layout, quail-get-translation): CSE.
10390         * tmm.el: Use dolist, remove left over hook.
10391         (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
10392         Use dolist.
10393         (calendar-load-hook): Don't mess with it.
10395         * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
10396         Use derived-mode-p.  Run the diff asynchronously.
10398 2012-04-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10400         * obsolete/mouse-sel.el: Add an Obsolete-since header.
10402 2012-04-10  Juanma Barranquero  <lekktu@gmail.com>
10404         * misc.el: Display absolute path of loaded DLLs (bug#10424).
10405         (list-dynamic-libraries--loaded): New function.
10406         (list-dynamic-libraries--refresh): Use it.
10408 2012-04-10  Nathan Weizenbaum  <nweiz@google.com>
10410         * progmodes/python.el (python-fill-paragraph):
10411         Make python-fill-region in a multiline string work when font-lock is
10412         disabled (bug#7018).
10414 2012-04-10  Laimonas VÄ—bra  <laimonas.vebra@gmail.com>  (tiny change)
10416         * language/european.el (cp775): Add oem/legacy (en)coding on
10417         DOS/MS Windows for the Baltic languages.  There are still plenty
10418         of texts written in this encoding/codepage (bug#6519).
10420 2012-04-10  Glenn Morris  <rgm@gnu.org>
10422         * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
10423         Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
10425 2012-04-10  Florian Adamsky  <florian@adamsky.it>  (tiny change)
10427         * recentf.el (recentf-dialog-mode-map): Add two keybindings for
10428         next-line "n" and previous-line "p" in order to make recentf more
10429         consistent with ibuffer, dired or org-mode (bug#9387).
10431 2012-04-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10433         * image.el (put-image): Return the overlay created instead of the
10434         optional input string (bug#7834).  Note that this may break code
10435         that is (for some reason or other) depending on `put-image'
10436         returning the string.
10438         * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
10440         * simple.el (zap-to-char): Allow zapping using input methods
10441         (bug#1580).
10443         * textmodes/fill.el (fill-region): Leave point and mark where they
10444         were before filling (bug#5399).
10446 2012-04-09  Glenn Morris  <rgm@gnu.org>
10448         * version.el (emacs-bzr-get-version):
10449         Handle lightweight checkouts of local branches.
10451 2012-04-09  Andreas Schwab  <schwab@linux-m68k.org>
10453         * international/characters.el: Recover lost case pairs.  (Bug#11209)
10455 2012-04-09  Chong Yidong  <cyd@gnu.org>
10457         * custom.el (custom-variable-p): Return nil for non-symbol
10458         arguments instead of signaling an error.
10459         (user-variable-p): Obsolete alias for custom-variable-p.
10461         * apropos.el (apropos-variable):
10462         * files-x.el (read-file-local-variable):
10463         * simple.el (set-variable):
10464         * woman.el (woman-mini-help):
10465         * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
10467 2012-04-09  Glenn Morris  <rgm@gnu.org>
10469         * startup.el (normal-top-level): Don't look for leim-list.el
10470         in places where it will not be found.  (Bug#910)
10472         * international/mule-cmds.el (set-default-coding-systems):
10473         * files.el (normal-mode):
10474         Remove guarded calls to ucs-set-table-for-input.  (Bug#9821)
10475         This function was removed with ucs-tables.el in 2008.
10477 2012-04-08  Eli Zaretskii  <eliz@gnu.org>
10479         * textmodes/ispell.el (ispell-check-version): For hunspell, set
10480         ispell-encoding8-command to "-i", without a trailing space.
10481         (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
10482         separate command-line arguments, to specify the encoding, since
10483         that's how hunspell expects it.
10485 2012-04-08  Glenn Morris  <rgm@gnu.org>
10487         * loadup.el: Load bindings before cus-start.
10488         This reduces somewhat the number of "rogue" settings in emacs -Q.
10490 2012-04-07  Glenn Morris  <rgm@gnu.org>
10492         * version.el (emacs-bzr-get-version): New function.
10493         (emacs-bzr-version): New variable.
10494         * loadup.el (emacs-bzr-version): Set it.  (Bug#8054)
10495         * mail/emacsbug.el (report-emacs-bug): Include bzr version.
10497 2012-04-07  Eli Zaretskii  <eliz@gnu.org>
10499         * international/uni-bidi.el, international/uni-category.el:
10500         * international/uni-combining.el, international/uni-decimal.el:
10501         * international/uni-decomposition.el, international/uni-digit.el:
10502         * international/uni-lowercase.el, international/uni-mirrored.el:
10503         * international/uni-name.el, international/uni-numeric.el:
10504         * international/uni-titlecase.el, international/uni-uppercase.el:
10505         Update for Unicode 6.1.
10507 2012-04-07  Eli Zaretskii  <eliz@gnu.org>
10509         * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
10511 2012-04-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10513         * window.el (shrink-window): Mention the `window-min-height'
10514         variable in the doc string.
10516 2012-04-05  Bastien Guerry  <bzg@altern.org>
10518         * color.el (color-lighten-name): Fix typo.
10520 2012-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
10522         * server.el (server--on-display-p): New function.
10523         (server--on-display-p): Use it.
10525 2012-04-04  Gabor Vida  <vidagabor@gmail.com>  (tiny change)
10527         * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
10528         (bug#11145).
10530 2012-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
10532         * comint.el (comint--common-quoted-suffix): Check string boundary
10533         before comparing (bug#11158).
10534         * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
10536 2012-04-04  Chong Yidong  <cyd@gnu.org>
10538         * minibuffer.el (completion-extra-properties): Doc fix.
10540         * subr.el (delayed-warnings-hook): Doc fix.
10542 2012-04-04  Daiki Ueno  <ueno@unixuser.org>
10544         * epa.el (epa--select-keys): Bind C-c C-c to finish the key
10545         selection (Bug#11159).
10546         (epa-insert-keys): Inform that the default public key will be
10547         exported if no key is selected.
10549 2012-04-04  Richard Stallman  <rms@gnu.org>
10551         * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
10553 2012-04-03  Chong Yidong  <cyd@gnu.org>
10555         * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
10556         mail-insert-file, not its obsolete alias mail-attach-file.
10558 2012-04-03  Michael Albinus  <michael.albinus@gmx.de>
10560         * notifications.el (notifications-notify): Fix docstring.
10562 2012-04-02  Glenn Morris  <rgm@gnu.org>
10564         * emacs-lisp/authors.el (authors-aliases): Another addition.
10566 2012-04-02  Michael Albinus  <michael.albinus@gmx.de>
10568         * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
10569         `tramp-compat-call-process' instead of `tramp-local-call-process'.
10570         Reported by Magnus Henoch <magnus.henoch@gmail.com>.
10572 2012-04-01  Chong Yidong  <cyd@gnu.org>
10574         * files.el (file-in-directory-p): Rename from file-subdir-of-p.
10575         Handle root directory properly.
10576         (copy-directory): Caller changed.
10578         * dired-aux.el (dired-copy-file-recursive, dired-create-files):
10579         * net/tramp.el (tramp-file-name-for-operation): Callers changed.
10581 2012-03-31  Glenn Morris  <rgm@gnu.org>
10583         * term/xterm.el (xterm-extra-capabilities): Doc fix.
10585         * language/indian.el ("Devanagari"): Fix typo.  (Bug#11103)
10587         * calendar/calendar.el (calendar-window-list)
10588         (calendar-hide-window): Restore.  (Bug#11140)
10589         (calendar-exit): Use calendar-window-list, calendar-hide-window again.
10591         * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
10593 2012-03-30  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
10595         * dired-aux.el (dired-copy-file-recursive, dired-create-files):
10596         Check if file is a symlink (Bug#10489).
10598         * files.el (copy-directory): Likewise.
10600 2012-03-30  Chong Yidong  <cyd@gnu.org>
10602         * image.el (imagemagick-types-inhibit)
10603         (imagemagick-register-types): Doc fix.
10605 2012-03-30  AgustĂ­n MartĂ­n Domingo  <agustin.martin@hispalinux.es>
10607         * textmodes/ispell.el (ispell-get-extended-character-mode):
10608         Disable extended-char-mode for hunspell.  hunspell does not support it
10609         and treats ~word as ordinary words in pipe mode.
10611 2012-03-30  Glenn Morris  <rgm@gnu.org>
10613         * tutorial.el (help-with-tutorial): Ensure local variables don't
10614         happen to make the buffer read-only.  (Bug#11127)
10616 2012-03-30  Stefan Monnier  <monnier@iro.umontreal.ca>
10618         * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
10619         (perl-calculate-indent): Return `noindent' in strings.
10621 2012-03-28  Sam Steingold  <sds@gnu.org>
10623         * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
10624         instead of the broken adhockery which does not prevent calendar
10625         buffers from being displayed at random after exit.
10626         (calendar-window-list, calendar-hide-window): Remove the broken
10627         adhockery.
10629 2012-03-28  Glenn Morris  <rgm@gnu.org>
10631         * replace.el (query-replace-map): Doc fix.
10633 2012-03-28  Andreas Schwab  <schwab@linux-m68k.org>
10635         * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
10636         contents.  (Bug#11109)
10638 2012-03-27  Stefan Monnier  <monnier@iro.umontreal.ca>
10640         * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
10641         (bug#11077).
10642         (avl-tree--check, avl-tree--check-node): New funs.
10644 2012-03-27  Martin Rudalics  <rudalics@gmx.at>
10646         * window.el (switch-to-visible-buffer): New option.
10647         (switch-to-prev-buffer, switch-to-next-buffer):
10648         Observe switch-to-visible-buffer.  Make sure that checking for a window
10649         showing a buffer already is done on the same frame.
10651 2012-03-27  Glenn Morris  <rgm@gnu.org>
10653         * startup.el (mail-host-address): Doc fix.
10655 2012-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
10657         * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
10658         than 197 variables.
10660 2012-03-26  Ami Fischman  <ami@fischman.org>
10662         * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
10664 2012-03-26  Glenn Morris  <rgm@gnu.org>
10666         * files.el (save-buffers-kill-emacs): Doc fix.
10668         * startup.el (normal-top-level, command-line, command-line-1):
10669         Give them doc strings.
10671 2012-03-25  Eli Zaretskii  <eliz@gnu.org>
10673         * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
10674         of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
10676 2012-03-25  Chong Yidong  <cyd@gnu.org>
10678         * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
10679         theme if it was previously enabled before (Bug#11031).
10681         * cus-theme.el (custom-theme-write-faces): Retrieve current face
10682         spec with custom-face-get-current-spec if its :shown-value is not
10683         determined yet (Bug#9337).
10684         (customize-create-theme, custom-theme-revert): Doc fixes.
10686         * button.el (button-at): Minor addition to docstring.
10688 2012-03-24  Simon Leinen  <simon.leinen@gmail.com>
10690         * vc/vc.el (vc-merge): Fix a prompt.
10692 2012-03-24  Chong Yidong  <cyd@gnu.org>
10694         * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
10695         point (Bug#9623).
10697         * button.el (button-at): Minor addition to docstring.
10699 2012-03-23  Stefan Monnier  <monnier@iro.umontreal.ca>
10701         * newcomment.el (comment-choose-indent): No space after BOL.
10703 2012-03-22  Sam Steingold  <sds@gnu.org>
10705         * window.el (switch-to-prev-buffer): Revert last patch because the
10706         bug turned out to be an advertised feature (Elisp manual 28.14).
10708 2012-03-22  Glenn Morris  <rgm@gnu.org>
10710         * vc/vc-bzr.el (vc-bzr-status-switches): New option.  (Bug#6724)
10711         (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
10713 2012-03-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10715         * net/network-stream.el (network-stream-open-starttls): Make error
10716         message under Windows be less misleading.
10718 2012-03-22  Liang Wang  <netcasper@gmail.com>  (tiny change)
10720         * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
10721         understands (bug#9942).
10723 2012-03-22  Chong Yidong  <cyd@gnu.org>
10725         * simple.el (end-of-visible-line): Handle return value of
10726         next-single-property-change properly (Bug#9371).
10728 2012-03-22  Kenichi Handa  <handa@m17n.org>
10730         * international/quail.el (quail-insert-kbd-layout): Fix previous
10731         change.  To avoid unwanted bidi reordering, use
10732         bidi-string-mark-left-to-right instead of inserting LRO and PDF.
10734 2012-03-21  Dmitry Gutov  <dgutov@yandex.ru>
10736         * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
10737         (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
10738         (ruby-beginning-of-indent): Be more careful with the difference
10739         between word-boundary and symbol boundary.
10740         (ruby-mode-syntax-table): Make : a symbol constituent.
10742 2012-03-21  Andreas Politz  <politza@fh-trier.de>
10744         * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
10746 2012-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
10748         * progmodes/etags.el (tags-completion-at-point-function):
10749         Improve last fix.
10751         * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
10753 2012-03-21  Sam Steingold  <sds@gnu.org>
10755         * progmodes/etags.el (tags-completion-at-point-function):
10756         Avoid the error when point is inside the pattern.
10758 2012-03-21  John Yates  <john@yates-sheets.org>  (tiny change)
10760         * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
10761         line (Bug#10855).
10763 2012-03-21  Drew Adams  <drew.adams@oracle.com>
10765         * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
10767 2012-03-21  Anmol Khirbat  <anmol@khirbat.net>  (tiny change)
10769         * ido.el (ido-set-current-directory, ido-read-internal)
10770         (ido-choose-completion-string, ido-completion-help): Handle nil
10771         value of ido-completion-buffer (Bug#11008).
10773 2012-03-21  Sam Steingold  <sds@gnu.org>
10775         * window.el (switch-to-prev-buffer): Do not switch to a visible
10776         window previous buffer, just like with the frame previous buffers.
10778 2012-03-21  Chong Yidong  <cyd@gnu.org>
10780         * faces.el (make-face, make-empty-face, copy-face):
10781         * face-remap.el (face-remap-add-relative, face-remap-set-base):
10782         Doc fixes.
10784 2012-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
10786         * wid-edit.el (widget-complete-field): Remove (bug#11051).
10787         (widget-complete): Remove broken use of it.
10789 2012-03-20  Chong Yidong  <cyd@gnu.org>
10791         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
10792         Use string-width and truncate-string-width to handle arbitrary
10793         characters.
10795 2012-03-20  Tassilo Horn  <tassilo@member.fsf.org>
10797         * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
10798         to draw rectangles, not squares.  (Regression introduced by revno
10799         2011-03-02T03:48:01Z!cyd@stupidchicken.com)
10801 2012-03-18  Chong Yidong  <cyd@gnu.org>
10803         * faces.el (face-spec-reset-face): Don't call display-graphic-p if
10804         it is not yet defined (for temacs).
10806 2012-03-18  Leo Liu  <sdl.web@gmail.com>
10808         * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
10809         prefix.
10811 2012-03-17  Eli Zaretskii  <eliz@gnu.org>
10813         * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
10814         (ispell-choices-win-default-height, ispell-silently-savep)
10815         (ispell-dictionary-alist, ispell-encoding8-command)
10816         (ispell-check-version, ispell-aspell-find-dictionary)
10817         (ispell-valid-dictionary-list, ispell-words-keyword)
10818         (ispell-get-word, ispell-internal-change-dictionary)
10819         (ispell-region, ispell-skip-region-list)
10820         (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
10821         (ispell-process-line, ispell-minor-mode, ispell-minor-check)
10822         (ispell-message-text-end, ispell-message)
10823         (ispell-buffer-local-parsing): Doc fix.
10825 2012-03-13  Jambunathan K  <kjambunathan@gmail.com>
10827         * htmlfontify.el: Add support for code block fontification for ODT
10828         export (Bug #9914).
10829         (hfy-optimisations): Define new option
10830         `body-text-only'
10831         (hfy-fontify-buffer): Honor above setting.
10832         (hfy-begin-span, hfy-end-span): New routines factored out form
10833         `hfy-fontify-buffer'.
10834         (hfy-begin-span-handler, hfy-end-span-handler): New variables
10835         that permit insertion of custom tags.
10836         (hfy-fontify-buffer): Use above handlers.
10837         (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
10838         (hfy-face-to-css): Re-defined to be a variable.
10839         (hfy-compile-stylesheet): Modify.  Allow stylesheet to be built
10840         over multiple runs.  This is made possible by having the caller let
10841         bind a special variable `hfy-user-sheet-assoc'.
10842         (htmlfontify-string): New defun.
10843         (hfy-compile-face-map): Make sure that the last char in the
10844         buffer is correctly fontified.
10845         (hfy-face-resolve-face): Whitespace only change.
10847 2012-03-17  Eli Zaretskii  <eliz@gnu.org>
10849         * textmodes/ispell.el (ispell-get-decoded-string): Make the error
10850         message more clear.
10852 2012-03-16  Leo Liu  <sdl.web@gmail.com>
10854         * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
10856 2012-03-16  Alan Mackenzie  <acm@muc.de>
10858         Further optimise the handling of large macros.
10860         * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
10861         limit to a call of `c-literal-limits'.
10862         (c-determine-+ve-limit): New function.
10863         (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
10864         (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
10865         In CASE 5B, restrict a search limit to 500.
10866         (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
10868         * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
10869         Restrict macro bounds to +-500 from after-change's BEG END.
10871 2012-03-16  Leo Liu  <sdl.web@gmail.com>
10873         * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
10875 2012-03-16  Aaron S. Hawley  <Aaron.S.Hawley@gmail.com>
10877         * tar-mode.el (tar-mode): Fix saving by conditionally undoing
10878         `special-mode' setting of `buffer-read-only'.  (Bug#11010)
10880 2012-03-16  Glenn Morris  <rgm@gnu.org>
10882         * view.el (view-buffer, view-buffer-other-window)
10883         (view-buffer-other-frame): Doc fixes re special mode-class.
10885         * subr.el (eval-after-load): If named feature is provided not from
10886         a file, run after-load forms.  (Bug#10946)
10888         * calendar/calendar.el (calendar-insert-at-column):
10889         Handle non-unit-width characters a bit better.  (Bug#10978)
10891 2012-03-15  Chong Yidong  <cyd@gnu.org>
10893         * emacs-lisp/ring.el (ring-extend): New function.
10894         (ring-insert+extend): Extend the ring correctly (Bug#11019).
10896         * comint.el (comint-read-input-ring)
10897         (comint-add-to-input-history): Grow comint-input-ring lazily.
10899 2012-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
10901         * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
10902         Fix up parsing of multiline twoarg non-paired elements (bug#11014).
10904         * imenu.el: Fix multiple inheritance breakage (bug#9199).
10905         (imenu-add-to-menubar): Don't add a redundant index.
10906         (imenu-update-menubar): Handle a dynamically composed keymap.
10908 2012-03-13  Katsumi Yamaoka  <yamaoka@jpl.org>
10910         * mail/sendmail.el (mail-encode-header):
10911         Bind rfc2047-encode-encoded-words to nil.
10913 2012-03-13  Glenn Morris  <rgm@gnu.org>
10915         * calendar/calendar.el (calendar-string-spread):
10916         Handle non-unit-width characters a bit better.  (Bug#10978)
10918 2012-03-13  Leo Liu  <sdl.web@gmail.com>
10920         * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
10921         directory and file as argument (Bug#10822).
10923 2012-03-13  Kaushik Srenevasan  <ksrenevasan@gmail.com>  (tiny change)
10925         * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
10926         For dynamically generated code, follow $PC.
10927         (gdb-disassembly-handler-custom): Handle no function name case.
10929 2012-03-13  Tim Landscheidt  <tim@tim-landscheidt.de>  (tiny change)
10931         * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
10932         * emulation/ws-mode.el (ws-query-replace):
10933         * sort.el (sort-regexp-fields):
10934         Fix missing trailing whitespace in interactive prompts.  (Bug#11002)
10936 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
10938         * dabbrev.el: Fix cycle completion order (bug#10963).
10939         (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
10940         (dabbrev-completion): Don't use an obarray; provide
10941         a cycle-sort-function.
10943 2012-03-12  Leo Liu  <sdl.web@gmail.com>
10945         * simple.el (kill-new): Use equal-including-properties for comparison.
10946         (kill-do-not-save-duplicates): Doc fix.
10948 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
10950         * dabbrev.el: Fix cycle completion (bug#10963).
10951         Use lexical binding and wrap to 80 columns.
10952         (dabbrev-completion): Delay computing the list of completions.
10954 2012-03-12  Kenichi Handa  <handa@m17n.org>
10956         * international/quail.el (quail-insert-kbd-layout): Surround each
10957         row by LRO and PDF instead of inserting many LRMs.  Pad the left
10958         and right of each non-spacing marks.  Insert invisible space
10959         between lower and upper characters to prevent composition.
10961 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
10963         * minibuffer.el (minibuffer-complete): Don't get confused when the
10964         function is run twice via different commands (bug#10958).
10965         (complete-with-action): Fix docstring.
10967 2012-03-12  Chong Yidong  <cyd@gnu.org>
10969         * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
10970         (nxml-completion-at-point-function): New function.
10971         (nxml-mode): Use it.
10972         (nxml-bind-meta-tab-to-complete-flag): Default to t.
10974         * emacs-lisp/package.el (package-unpack, package-unpack-single):
10975         Load generated autoloads file before byte compiling (Bug#10970).
10976         (package--make-autoloads-and-compile): New helper fun.
10978 2012-03-12  Christopher Schmidt  <christopher@ch.ristopher.com>
10980         * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
10982 2012-03-11  Michael Albinus  <michael.albinus@gmx.de>
10984         * autorevert.el (auto-revert-handler): Ensure, that
10985         file-readable-p is applied only for local files or in
10986         auto-revert-tail-mode.
10988 2012-03-11  Andreas Schwab  <schwab@linux-m68k.org>
10990         * server.el (server-eval-at): Handle non-tcp connections.
10991         Decode result string.
10993         * server.el (server-msg-size): New constant.
10994         (server-reply-print): New function.
10995         (server-eval-and-print): Use it.
10996         (server-eval-at): Use server-quote-arg and server-unquote-arg.
10997         Handle -print-nonl.
10999 2012-03-11  Christopher Schmidt  <christopher@ch.ristopher.com>
11001         * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
11002         (Bug#10987).
11004 2012-03-11  Chong Yidong  <cyd@gnu.org>
11006         * simple.el (goto-line): Doc fix (Bug#9938).
11008         * subr.el (save-window-excursion): Doc fix (Bug#9979).
11010         * dabbrev.el (dabbrev--find-expansion): Update progress reporter
11011         when finished (Bug#10963).
11013 2012-03-11  Martin Rudalics  <rudalics@gmx.at>
11015         * window.el (split-window-below): Fix bug in case where
11016         split-window-keep-point is nil (Bug#10971).
11018 2012-03-11  Juri Linkov  <juri@jurta.org>
11020         * replace.el (replace-highlight): Set isearch-word to nil
11021         unconditionally.  (Bug#10887)
11023 2012-03-10  Eli Zaretskii  <eliz@gnu.org>
11025         * net/mairix.el (mairix-replace-invalid-chars): Rename from
11026         mairix-replace-illegal-chars; all callers changed.  Don't remove
11027         ^, ~, and = characters: they are meaningful in mairix search specs.
11028         (mairix-widget-create-query): Add usage information about mairix
11029         search forms: negating words, searching for substrings, etc.
11031 2012-03-10  Jae-hyeon Park  <jae-hyeon.park@desy.de>  (tiny change)
11033         * international/fontset.el (font-encoding-alist): Add an entry for
11034         ksx1001 (Bug#5667).
11036 2012-03-10  Richard Stallman  <rms@gnu.org>
11038         * mail/sendmail.el (mail-encode-header):
11039         Set rfc2047-encode-encoded-words.
11041         * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
11043         * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
11044         view buffer means not swapped.
11045         (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
11046         (rmail-write-region-annotate): Error if real text has disappeared.
11048         * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
11050 2012-03-10  Chong Yidong  <cyd@gnu.org>
11052         * emulation/cua-rect.el (cua--init-rectangles):
11053         * emulation/cua-base.el (cua--init-keymaps):
11054         Add delete-forward-char to remappings (Bug#9666).
11056 2012-03-10  Martin Rudalics  <rudalics@gmx.at>
11058         * speedbar.el (speedbar-unhighlight-one-tag-line):
11059         Avoid unhighlighting due to frame switching (Bug#10275).
11061 2012-03-10  Chong Yidong  <cyd@gnu.org>
11063         * minibuffer.el (completion-in-region, completion-help-at-point):
11064         Give the completion field overlay a high priority (Bug#6830).
11066         * dired.el (dired-goto-file): Recognize absolute file name
11067         listings (Bug#7126).
11068         (dired-goto-file-1): New helper function.
11069         (dired-toggle-read-only): Inhibit warnings.
11071 2012-03-09  Michael Albinus  <michael.albinus@gmx.de>
11073         * net/dbus.el (dbus-property-handler): Return empty array if
11074         there are no properties.
11076 2012-03-09  Leo Liu  <sdl.web@gmail.com>
11078         * savehist.el (savehist-printable): Stricter check for string
11079         value (Bug#10937).
11081 2012-03-09  Eli Zaretskii  <eliz@gnu.org>
11083         * mail/smtpmail.el (smtpmail-send-it):
11084         Bind coding-system-for-write to *-unix, so that FCC files are kept in
11085         valid mbox format.
11087 2012-03-09  Glenn Morris  <rgm@gnu.org>
11089         * files.el (dir-locals-find-file):
11090         Don't check result is regular, readable.
11091         (dir-locals-read-from-file): Demote errors.
11093 2012-03-08  Eli Zaretskii  <eliz@gnu.org>
11095         * international/quail.el (quail-insert-kbd-layout):
11096         Insert invisible LRM characters before each character in a keyboard
11097         layout cell, to prevent their reordering by bidi display engine.
11098         For details, see the discussion in
11099         http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
11101 2012-03-08  Alan Mackenzie  <acm@muc.de>
11103         * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
11104         the starting position; make it extend the marked region when
11105         invoked repeatedly - all under appropriate circumstances.
11106         Fixes bugs #5525, #10906.
11108 2012-03-08  Glenn Morris  <rgm@gnu.org>
11110         * files.el (locate-dominating-file, dir-locals-find-file):
11111         Undo 2012-03-06 change.
11113 2012-03-07  Eli Zaretskii  <eliz@gnu.org>
11115         * international/quail.el (quail-help):
11116         Force bidi-paragraph-direction be left-to-right.  See discussion in
11117         http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
11118         for the reason.
11120 2012-03-07  Michael Albinus  <michael.albinus@gmx.de>
11122         Avoid superfluous registering of signals.  (Bug#10807)
11124         * notifications.el (notifications-on-action-object)
11125         (notifications-on-close-object): New defvars.
11126         (notifications-on-action-signal, notifications-on-closed-signal):
11127         Unregister the signal if not needed any longer.
11128         (notifications-notify): Register `notifications-action-signal' or
11129         `notifications-closed-signal', if :on-action or :on-close has been
11130         passed as argument.
11132 2012-03-07  Chong Yidong  <cyd@gnu.org>
11134         * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
11135         non-X platforms.
11137 2012-03-06  Glenn Morris  <rgm@gnu.org>
11139         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
11140         (x-disown-selection-internal, x-get-selection-internal):
11141         Doc fix (add arglist signatures).  (Bug#10783)
11143 2012-03-06  Kaushik Srenevasan  <ksrenevasan@gmail.com>  (tiny change)
11145         * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
11146         Handle breakpoints with no "type".
11148 2012-03-06  Glenn Morris  <rgm@gnu.org>
11150         * files.el (locate-dominating-file): Add optional predicate argument.
11151         (dir-locals-find-file): Make use of above change.
11153 2012-03-06  Thien-Thi Nguyen  <ttn@gnuvola.org>
11155         * info.el (Info-insert-dir): Also try "dir.gz".
11157 2012-03-06  Glenn Morris  <rgm@gnu.org>
11159         * files.el (dir-locals-find-file):
11160         Ignore non-readable or non-regular files.  (Bug#10928)
11162         * files.el (locate-dominating-file): Doc fix.
11164 2012-03-06  Adam Spiers  <emacs@adamspiers.org>  (tiny change)
11166         * calendar/calendar.el (calendar-set-mode-line):
11167         `getenv' returns a string.  (Bug#10951)
11169 2012-03-05  Leo Liu  <sdl.web@gmail.com>
11171         * simple.el (backward-delete-char-untabify): Constrain point to
11172         field (Bug#10939).
11174         * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
11176 2012-03-05  Chong Yidong  <cyd@gnu.org>
11178         * simple.el (count-words): If called from Lisp, return the word
11179         count, for symmetry with `count-lines'.  Arglist changed.
11180         (count-words--message): Args changed.  Consolidate counting code
11181         from count-words and count-words-region.
11182         (count-words-region): Caller changed.
11183         (count-lines-region): Make it an obsolete alias.
11185 2012-03-04  Tassilo Horn  <tassilo@member.fsf.org>
11187         * saveplace.el (save-place-to-alist)
11188         (save-place-ignore-files-regexp): Allow value nil to disable this
11189         feature.
11191 2012-03-04  Chong Yidong  <cyd@gnu.org>
11193         * faces.el (face-spec-reset-face): For the default face, reset the
11194         attributes to default values (Bug#10748).
11196 2012-03-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11198         * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
11199         previous patch: Check `message-send-mail-function', and not the
11200         default function (bug#10897).
11202 2012-03-04  Michael Albinus  <michael.albinus@gmx.de>
11204         * notifications.el (notifications-on-action-signal)
11205         (notifications-on-closed-signal): Check for unique service name of
11206         incoming event.  Fix error in removing entry.
11207         (top): Register for signals with wildcard service name.
11208         (notifications-notify): Use daemon unique service name for map entries.
11210 2012-03-04  Chong Yidong  <cyd@gnu.org>
11212         * cus-start.el: Make x-select-enable-clipboard-manager customizable.
11214 2012-03-04  Glenn Morris  <rgm@gnu.org>
11216         * abbrev.el (copy-abbrev-table, abbrev-table-p)
11217         (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
11218         (expand-abbrev, define-abbrev-table): Doc fixes.
11220 2012-03-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11222         * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
11223         `message-default-send-mail-function' and not `send-mail-function'
11224         when doing the prompting for `sendmail-query-once' before sending
11225         in Message buffers (bug#10897).
11227         * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
11228         This is inconsistent with all the other stream functions, which leave
11229         the setting up to the higher levels (if so wanted) (bug#10931).
11231 2012-03-02  Alan Mackenzie  <acm@muc.de>
11233         Depessimize the handling of very large macros.
11235         * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
11236         (c-macro-cache-syntactic): New variables to implement a one
11237         element macro cache.
11238         (c-invalidate-macro-cache): New function.
11239         (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
11240         Adapt to use the new cache.
11241         (c-state-safe-place): Use better the cache of safe positions.
11242         (c-state-semi-nonlit-pos-cache)
11243         (c-state-semi-nonlit-pos-cache-limit):
11244         New variables for...
11245         (c-state-semi-safe-place): New function.  Here, in a macro is "safe".
11246         (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
11247         (c-in-literal, c-literal-limits, c-determine-limit-get-base):
11248         Use c-state-semi-safe-place.
11250         * progmodes/cc-langs.el (c-get-state-before-change-functions):
11251         Add c-invalidate-macro-cache to the C, C++, Obj entries.
11253 2012-03-02  Michael Albinus  <michael.albinus@gmx.de>
11255         * jka-compr.el (jka-compr-call-process):
11256         Apply `file-accessible-directory-p' only when the default directory is
11257         not remote.
11259 2012-03-01  Michael Albinus  <michael.albinus@gmx.de>
11261         * files.el (file-equal-p): Fix docstring.  Avoid unnecessary
11262         access of FILE2, if FILE1 does not exist.
11264         * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
11265         Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
11267         * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
11268         Add "PAGER=" to `process-environment'.
11270 2012-03-01  Michael R. Mauger  <mmaug@yahoo.com>
11272         * progmodes/sql.el: Bug fix
11273         (sql-get-login-ext): Save login values in globals.
11274         (sql-get-login): Use new version of `sql-get-login-ext'.
11275         (sql-interactive-mode): Set global `sql-connection' to nil.
11276         (sql-connect): Set global values for connection.
11277         (sql-product-interactive): Save global values as buffer local.
11279 2012-02-29  Leo Liu  <sdl.web@gmail.com>
11281         * abbrev.el (define-abbrevs): Reset sys to nil.
11283 2012-02-28  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
11285         * files.el (file-equal-p): Rename from `files-equal-p'.
11286         Return nil when one or both files don't exist.
11287         (file-subdir-of-p): Now only top directory must exists,
11288         return nil if it doesn't.
11289         (copy-directory): No need to test with `file-subdir-of-p' after
11290         creating dir.
11291         * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
11292         to `file-equal-p'.
11294 2012-02-28  Glenn Morris  <rgm@gnu.org>
11296         * shell.el (shell-mode):
11297         * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
11298         * play/landmark.el (landmark-font-lock-face-O):
11299         * play/handwrite.el (handwrite):
11300         * play/gomoku.el (gomoku-O):
11301         * net/browse-url.el (browse-url-browser-display):
11302         * international/mule.el (define-charset):
11303         * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
11304         * filesets.el (filesets-find-file-delay):
11305         * eshell/em-xtra.el (eshell-xtra):
11306         * eshell/em-unix.el (eshell-grep):
11307         * emulation/viper.el (viper-mode):
11308         * emacs-lisp/regexp-opt.el (regexp-opt-group):
11309         * emacs-lisp/easymenu.el (easy-menu-define):
11310         * calendar/timeclock.el (timeclock-use-display-time):
11311         * bs.el (bs-mode):
11312         * bookmark.el (bookmark-save-flag):
11313         Doc fix (standardize possessive apostrophe usage).
11315 2012-02-27  Chong Yidong  <cyd@gnu.org>
11317         * emulation/viper-cmd.el (viper-intercept-ESC-key):
11318         Fix key-binding lookup for ESC key (Bug#9146).
11320         * font-lock.el (font-lock-specified-p): Rename from
11321         font-lock-spec-present.  Callers changed.
11323 2012-02-27  Daniel Hackney  <dan@haxney.org>
11325         * emacs-lisp/package.el (package-compute-transaction):
11326         Handle holding a package version to t in package-load-list.
11328 2012-02-26  Michael Albinus  <michael.albinus@gmx.de>
11330         * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
11331         (tramp-get-inode, tramp-get-device): Use cached values.
11333 2012-02-26  Alan Mackenzie  <acm@muc.de>
11335         Check there is a font-lock specification before doing initial
11336         fontification.
11338         * font-core.el (font-lock-mode): Move the conditional from
11339         :after-hook to font-lock-initial-fontify.
11340         (font-lock-default-function): Move the check for a specification
11341         to font-lock-spec-present.
11343         * font-lock.el (font-lock-initial-fontify): Call ...
11344         (font-lock-spec-present): New function.
11346 2012-02-26  Jim Blandy  <jimb@red-bean.com>
11348         * progmodes/gdb-mi.el (gdb-mi-quote): New function.
11349         (gdb-send): Apply it to the operand of the '-interpreter-exec
11350         console' command, so that we can pass arguments with (say) quotes
11351         in them.  Store exact string sent in gdb-debug-log (Bug#10765).
11353 2012-02-26  Chong Yidong  <cyd@gnu.org>
11355         * help-fns.el (describe-function-1): Clarify description of
11356         remapping (Bug#10844).
11358         * files.el (files-equal-p): Doc fix.
11359         (file-subdir-of-p): Doc fix.  Convert loop macro to plain Lisp,
11360         and quit the loop once a mismatch is found.
11362 2012-02-25  Juanma Barranquero  <lekktu@gmail.com>
11364         * bs.el (bs--show-with-configuration): Don't throw an error
11365         if the window cannot be split; otherwise, subsequent calls to
11366         bs-show fail, restoring a stale window config.  (Bug#10882)
11368 2012-02-25  Jan Djärv  <jan.h.d@swipnet.se>
11370         * term/ns-win.el (global-map): Bind ns-drag-file to
11371         ns-find-file (Bug#5855, Bug#10050).
11373 2012-02-25  Andreas Schwab  <schwab@linux-m68k.org>
11375         * calendar/parse-time.el (parse-time-string): Allow extractor to
11376         return nil.
11378 2012-02-25  Michael Albinus  <michael.albinus@gmx.de>
11380         * net/tramp.el (tramp-file-name-for-operation):
11381         Add `files-equal-p' and `file-subdir-of-p'.
11383         * net/tramp-sh.el (tramp-sh-handle-copy-directory):
11384         * net/tramp-smb.el (tramp-smb-handle-copy-directory):
11385         Add COPY-CONTENTS argument.
11387 2012-02-25  Chong Yidong  <cyd@gnu.org>
11389         Add custom groups for VC backends, for consistency with vc-bzr.
11391         * vc/vc-arch.el (vc-arch):
11392         * vc/vc-cvs.el (vc-cvs):
11393         * vc/vc-git.el (vc-git):
11394         * vc/vc-hg.el (vc-hg):
11395         * vc/vc-mtn.el (vc-mtn):
11396         * vc/vc-rcs.el (vc-rcs):
11397         * vc/vc-sccs.el (vc-sccs):
11398         * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
11399         All relevant defcustoms reassigned.
11401 2012-02-25  Chong Yidong  <cyd@gnu.org>
11403         * newcomment.el (comment-styles): Add autoload (Bug#10868).
11405         * term/x-win.el (x-initialize-window-system): Reduce default for
11406         x-selection-timeout to 5 seconds (Bug#8869).
11408 2012-02-24  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
11410         * files.el (files-equal-p, file-subdir-of-p): New functions.
11411         (copy-directory): Error when trying to copy a directory on itself.
11412         Add missing copy-contents arg to tramp handler.
11413         * dired-aux.el (dired-copy-file-recursive): Same.
11414         (dired-create-files): Modify destination when source is equal to
11415         dest when copying files.
11416         Return also when dest is a subdir of source.  (Bug#10489)
11418 2012-02-24  Michael Albinus  <michael.albinus@gmx.de>
11420         * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
11421         (Bug#10874)
11423 2012-02-23  Alan Mackenzie  <acm@muc.de>
11425         * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
11426         parameter "after-hook:" to allow the expansion to run code after
11427         the execution of the mode hooks.
11429         * font-lock.el (font-lock-initial-fontify): New function extracted
11430         from font-lock-mode-internal.
11432         * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
11433         :after-hook.
11435 2012-02-23  Stefan Monnier  <monnier@iro.umontreal.ca>
11437         * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
11438         (completion--cache-all-sorted-completions): New function.
11439         (completion-all-sorted-completions): Use it.
11440         (completion--do-completion, minibuffer-force-complete):
11441         Use it to re-instate the flush hook.
11443         * icomplete.el (icomplete-completions): Replace last fix with a better
11444         one (bug#10850).
11446 2012-02-23  Dmitry Gutov  <dgutov@yandex.ru>
11448         * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
11449         when it might call us back infinitely (bug#10797).
11451 2012-02-23  Glenn Morris  <rgm@gnu.org>
11453         * minibuffer.el (completion-category-overrides): Doc fix.
11455 2012-02-23  Stefan Monnier  <monnier@iro.umontreal.ca>
11457         * minibuffer.el (completion-table-with-context): Fix inf-loop.
11458         Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
11460 2012-02-23  Glenn Morris  <rgm@gnu.org>
11462         * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
11463         (authors-obsolete-files-regexps, authors-ignored-files)
11464         (authors-ambiguous-files, authors-renamed-files-alist):
11465         Add more entries.
11467 2012-02-23  Juri Linkov  <juri@jurta.org>
11469         * isearch.el (isearch-occur): Sync interactive spec with occur's
11470         new feature in `occur-read-primary-args'.  Doc fix.  (Bug#10705)
11472         * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
11474 2012-02-22  Juri Linkov  <juri@jurta.org>
11476         * international/mule-cmds.el (read-char-by-name): Use \` and \'.
11477         (ucs-insert): Doc fix.  Check for hex digits in the string.
11478         Don't display `nil' in the error message.  (Bug#10857)
11480 2012-02-22  Alan Mackenzie  <acm@muc.de>
11482         * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
11484 2012-02-22  Glenn Morris  <rgm@gnu.org>
11486         * ffap.el (ffap-c-path):
11487         * man.el (Man-header-file-path): Handle multiarch.  (Bug#10702)
11489 2012-02-22  Chong Yidong  <cyd@gnu.org>
11491         * custom.el (load-theme): Doc fix.
11493 2012-02-22  Glenn Morris  <rgm@gnu.org>
11495         * dired-x.el (dired-guess-shell-alist-default):
11496         Remove escape sequences from nroff output.  (Bug#172)
11498 2012-02-21  Glenn Morris  <rgm@gnu.org>
11500         * vc/emerge.el (emerge-defvar-local):
11501         Set `permanent-local' property rather than unused `preserved'.
11503         * textmodes/picture.el (picture-delete-char): New alias.
11504         (picture-mode-map): Use it.  (Bug#10860)
11505         (picture-mode): Doc fix.
11507 2012-02-21  Juanma Barranquero  <lekktu@gmail.com>
11509         * newcomment.el (uncomment-region-default): Remove unused binding.
11511 2012-02-21  Glenn Morris  <rgm@gnu.org>
11513         * textmodes/picture.el (picture-motion, picture-motion-reverse)
11514         (picture-self-insert, picture-tab-chars): Doc fix.
11515         (picture-mode-map): Fix C-a, C-e.
11517 2012-02-20  Glenn Morris  <rgm@gnu.org>
11519         * emacs-lisp/authors.el (authors-aliases): Add another entry.
11521 2012-02-20  Leo Liu  <sdl.web@gmail.com>
11523         * icomplete.el (icomplete-completions): Check FROM arg before
11524         passing to substring (Bug#10850).
11526 2012-02-19  Chong Yidong  <cyd@gnu.org>
11528         * comint.el: Require ansi-color.
11529         (comint-output-filter-functions): Add ansi-color-process-output.
11531         * ansi-color.el: Don't set comint-output-filter-functions; it is
11532         now in the initial value defined in comint.el.
11533         (ansi-color-apply-face-function): New variable.
11534         (ansi-color-apply-on-region): Use it.
11535         (ansi-color-apply-overlay-face): New function.
11537         * shell.el (shell): No need to require ansi-color.
11538         (shell-mode): Use ansi-color-apply-face-function to highlight
11539         color escapes using font-lock-face property (Bug#10835).
11541 2012-02-19  Chong Yidong  <cyd@gnu.org>
11543         * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
11544         mode-line formats (Bug#10839).
11546 2012-02-18  Glenn Morris  <rgm@gnu.org>
11548         * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
11550         * mail/undigest.el (unforward-rmail-message): Doc fix.
11552         * saveplace.el (save-place-ignore-files-regexp): Add :version.
11554 2012-02-18  Eli Zaretskii  <eliz@gnu.org>
11556         * international/characters.el (script-list): Sync with the latest
11557         Unicode Character Database.
11559 2012-02-18  Andreas Schwab  <schwab@linux-m68k.org>
11561         * international/titdic-cnv.el: Remove duplicate coding tag.
11562         * language/cham.el: Likewise.
11563         * language/tai-viet.el: Likewise.
11565 2012-02-18  Glenn Morris  <rgm@gnu.org>
11567         * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
11568         * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
11569         (calendar-bahai-all-holidays-flag, calendar-other-dates):
11570         * calendar/diary-lib.el (diary-abbreviated-year-flag):
11571         * calendar/holidays.el (holiday-bahai-holidays)
11572         (calendar-holidays, list-holidays):
11573         Use utf-8 BahĂ¡'Ă­ in doc-strings, menus, etc.
11575 2012-02-17  Tassilo Horn  <tassilo@member.fsf.org>
11577         * saveplace.el (save-place-ignore-files-regexp): New variable
11578         allowing for excluding files from saving their location of point.
11579         The default value matches the temporary commit message editing
11580         files from Git, SVN, Bazaar, and Mercurial.
11581         (save-place-to-alist): Use it.
11583 2012-02-17  Lawrence Mitchell  <wence@gmx.li>
11584             Stefan Monnier  <monnier@iro.umontreal.ca>
11586         * newcomment.el (uncomment-region-default): Don't leave extra space
11587         when an arg is provided (bug#8150).
11589 2012-02-17  Teodor Zlatanov  <tzz@lifelogs.com>
11591         * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
11593 2012-02-17  Glenn Morris  <rgm@gnu.org>
11595         * net/socks.el: Require network-stream.  (Bug#10599)
11597 2012-02-17  Kenichi Handa  <handa@m17n.org>
11599         * international/charprop.el:
11600         * international/uni-name.el:
11601         * international/uni-old-name.el:
11602         * international/uni-comment.el: Regenerate.
11604 2012-02-16  Glenn Morris  <rgm@gnu.org>
11606         * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
11607         Interactively in calendar buffer, give an error if not on a date.
11609 2012-02-15  Glenn Morris  <rgm@gnu.org>
11611         * shell.el (shell-delimiter-argument-list):
11612         Revert 2011-02-17 change.  (Bug#8027)
11614 2012-02-15  Chong Yidong  <cyd@gnu.org>
11616         * minibuffer.el (completion-at-point-functions): Doc fix.
11618         * custom.el (defcustom): Doc fix; note use of defvar.
11620 2012-02-15  Glenn Morris  <rgm@gnu.org>
11622         * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
11623         Doc fixes.
11625 2012-02-14  Glenn Morris  <rgm@gnu.org>
11627         * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
11629 2012-02-14  Lars Ingebrigtsen  <larsi@gnus.org>
11631         * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
11632         way the ports list is computed.
11633         (smtpmail-query-smtp-server): Prompt the user for a port number if
11634         we can't connect to any of the standard ports (bug#10810).
11636 2012-02-14  Teodor Zlatanov  <tzz@lifelogs.com>
11638         * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
11640 2012-02-13  Glenn Morris  <rgm@gnu.org>
11642         * minibuffer.el (read-file-name): Doc fix.  (Bug#10798)
11644 2012-02-13  Teodor Zlatanov  <tzz@lifelogs.com>
11646         * net/gnutls.el (gnutls-trustfiles): New variable.
11647         (gnutls-negotiate): Use it.
11649 2012-02-13  Lars Ingebrigtsen  <larsi@gnus.org>
11651         * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
11652         does its stuff if Gnus is running.
11654 2012-02-13  Alan Mackenzie  <acm@muc.de>
11656         Fix a loop in c-set-fl-decl-start.
11658         * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
11659         c-backward-syntactic-ws actually moves backwards.
11661 2012-02-13  Leo Liu  <sdl.web@gmail.com>
11663         * net/rcirc.el (rcirc-markup-attributes): Move point to the
11664         beginning so that all \C-o chars are removed.
11666 2012-02-12  Teodor Zlatanov  <tzz@lifelogs.com>
11668         * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
11670 2012-02-12  Alan Mackenzie  <acm@muc.de>
11672         Fix infinite loop with long macros.
11673         * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
11675 2012-02-12  Chong Yidong  <cyd@gnu.org>
11677         * window.el (display-buffer): Doc fix (Bug#10785).
11679 2012-02-12  Glenn Morris  <rgm@gnu.org>
11681         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
11682         (x-disown-selection-internal, x-get-selection-internal):
11683         Sync docs with the xselect.c versions.
11685         * allout-widgets.el: Add missing license notice.
11687 2012-02-11  Glenn Morris  <rgm@gnu.org>
11689         * select.el (x-get-selection-internal, x-own-selection-internal)
11690         (x-disown-selection-internal):
11691         * x-dnd.el (x-get-selection-internal): Update declarations.
11693         * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
11695         * window.el (window-sides-slots):
11696         * tool-bar.el (tool-bar-position):
11697         * term/xterm.el (xterm-extra-capabilities):
11698         * ses.el (ses-self-reference-early-detection):
11699         * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
11700         (verilog-auto-wire-type)
11701         (verilog-auto-delete-trailing-whitespace)
11702         (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
11703         (verilog-auto-tieoff-declaration):
11704         * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
11705         (sql-oracle-statement-starters, sql-oracle-scan-on):
11706         * progmodes/prolog.el (prolog-align-comments-flag)
11707         (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
11708         (prolog-left-indent-regexp, prolog-paren-indent-p)
11709         (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
11710         (prolog-types, prolog-mode-specificators)
11711         (prolog-determinism-specificators, prolog-directives)
11712         (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
11713         (prolog-electric-dot-flag)
11714         (prolog-electric-dot-full-predicate-template)
11715         (prolog-electric-underscore-flag, prolog-electric-tab-flag)
11716         (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
11717         (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
11718         (prolog-program-switches, prolog-prompt-regexp)
11719         (prolog-debug-on-string, prolog-debug-off-string)
11720         (prolog-trace-on-string, prolog-trace-off-string)
11721         (prolog-zip-on-string, prolog-zip-off-string)
11722         (prolog-use-standard-consult-compile-method-flag)
11723         (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
11724         (prolog-imenu-max-lines, prolog-info-predicate-index)
11725         (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
11726         (prolog-char-quote-workaround):
11727         * progmodes/cc-vars.el (c-defun-tactic):
11728         * net/tramp.el (tramp-encoding-command-interactive)
11729         (tramp-local-end-of-line):
11730         * net/soap-client.el (soap-client):
11731         * net/netrc.el (netrc-file):
11732         * net/gnutls.el (gnutls):
11733         * minibuffer.el (completion-category-overrides)
11734         (completion-cycle-threshold)
11735         (completion-pcm-complete-word-inserts-delimiters):
11736         * man.el (Man-name-local-regexp):
11737         * mail/feedmail.el (feedmail-display-full-frame):
11738         * international/characters.el (glyphless-char-display-control):
11739         * eshell/em-ls.el (eshell-ls-date-format):
11740         * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
11741         (lisp-lambda-list-keyword-parameter-indentation)
11742         (lisp-lambda-list-keyword-parameter-alignment):
11743         * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
11744         * dired-x.el (dired-omit-verbose):
11745         * cus-theme.el (custom-theme-allow-multiple-selections):
11746         * calc/calc.el (calc-highlight-selections-with-faces)
11747         (calc-lu-field-reference, calc-lu-power-reference)
11748         (calc-note-threshold):
11749         * battery.el (battery-mode-line-limit):
11750         * arc-mode.el (archive-7z-extract, archive-7z-expunge)
11751         (archive-7z-update):
11752         * allout.el (allout-prefixed-keybindings)
11753         (allout-unprefixed-keybindings)
11754         (allout-inhibit-auto-fill-on-headline)
11755         (allout-flattened-numbering-abbreviation):
11756         * allout-widgets.el (allout-widgets-auto-activation)
11757         (allout-widgets-icons-dark-subdir)
11758         (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
11759         (allout-widgets-theme-dark-background)
11760         (allout-widgets-theme-light-background)
11761         (allout-widgets-item-image-properties-emacs)
11762         (allout-widgets-item-image-properties-xemacs)
11763         (allout-widgets-run-unit-tests-on-load)
11764         (allout-widgets-time-decoration-activity)
11765         (allout-widgets-hook-error-post-time)
11766         (allout-widgets-track-decoration):
11767         Add missing :version tags to new defcustoms and defgroups.
11769         * progmodes/sql.el (sql-ansi-statement-starters)
11770         (sql-oracle-statement-starters): Add custom type.
11772         * progmodes/prolog.el: Remove leading '*' from defcustom docs.
11773         (prolog-system-version): Give it a type.
11775 2012-02-11  Eli Zaretskii  <eliz@gnu.org>
11777         * term/pc-win.el (x-select-text, x-selection-owner-p)
11778         (x-own-selection-internal, x-disown-selection-internal)
11779         (x-get-selection-internal): Sync doc strings and argument lists
11780         with xselect.c, common-win.el and x-win.el.  (Bug#10783)
11782 2012-02-11  Leo Liu  <sdl.web@gmail.com>
11784         * progmodes/python.el (python-end-of-statement): Fix infinite
11785         loop.  (Bug#10788)
11787 2012-02-10  Glenn Morris  <rgm@gnu.org>
11789         * international/mule-cmds.el (unify-8859-on-encoding-mode)
11790         (unify-8859-on-decoding-mode): Properly mark as obsolete.
11792 2012-02-10  Lars Ingebrigtsen  <larsi@gnus.org>
11794         * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
11795         about SMTP before checking the From header.
11797         * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
11798         into own function for reuse by emacsbug.el.
11800 2012-02-10  Leo Liu  <sdl.web@gmail.com>
11802         * subr.el (condition-case-unless-debug): Rename from
11803         condition-case-no-debug.  All callers changed.
11804         (with-demoted-errors): Fix caller.
11806         * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
11807         * nxml/rng-valid.el (rng-do-some-validation):
11808         * emacs-lisp/package.el (package-refresh-contents)
11809         (package-menu-execute):
11810         * desktop.el (desktop-create-buffer):
11811         * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
11813 2012-02-10  Glenn Morris  <rgm@gnu.org>
11815         * textmodes/bibtex.el:
11816         Add missing :version tags for new/changed defcustoms.
11818         * files.el (remote-file-name-inhibit-cache): Doc fixes.
11820 2012-02-09  Lars Ingebrigtsen  <larsi@rusty>
11822         * mail/smtpmail.el (smtpmail-user-mail-address): New function.
11823         (smtpmail-via-smtp): Use it, or fall back on the From address.
11824         (smtpmail-send-it): Ditto.
11826 2012-02-09  Stefan Monnier  <monnier@iro.umontreal.ca>
11828         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
11829         Don't fallback on byte-compile-defvar.  Optimize (defvar foo) away.
11830         (byte-compile-tmp-var): New const.
11831         (byte-compile-defvar): Use it to minimize .elc size.
11832         Just use `defvar' rather than simulate it (bug#10761).
11834 2012-02-09  Glenn Morris  <rgm@gnu.org>
11836         * files.el (rename-uniquely): Doc fix.  (Bug#3806)
11838         * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
11839         Add :version tags.
11841         * progmodes/compile.el (compilation-error-screen-columns)
11842         (compilation-first-column, compilation-filter-start): Doc fixes.
11844         * vc/log-view.el (log-view-toggle-entry-display):
11845         * vc/vc.el (vc-merge, vc-pull): Doc fixes.
11847         * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
11848         (report-emacs-bug-can-use-xdg-email):
11849         (report-emacs-bug-insert-to-mailer): Doc fixes.
11850         (report-emacs-bug): Message fix.
11852         * net/browse-url.el (browse-url-can-use-xdg-open)
11853         (browse-url-xdg-open): Doc fixes.
11855         * electric.el (electric-indent-mode, electric-pair-mode)
11856         (electric-layout-rules, electric-layout-mode): Doc fixes.
11857         (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
11859 2012-02-08  Martin Rudalics  <rudalics@gmx.at>
11861         * server.el (server-unselect-display): Don't inadvertently kill
11862         the current buffer.  (Bug#10729)
11864 2012-02-08  Glenn Morris  <rgm@gnu.org>
11866         * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
11867         (sql-list-table): Doc fixes.
11869         * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
11870         Comment out (does nothing).
11872         * completion.el (dynamic-completion-mode):
11873         * dirtrack.el (dirtrack-debug-mode):
11874         * electric.el (electric-layout-mode):
11875         * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
11876         * face-remap.el (text-scale-mode, buffer-face-mode):
11877         * iimage.el (iimage-mode):
11878         * image-mode.el (image-transform-mode):
11879         * minibuffer.el (completion-in-region-mode):
11880         * scroll-lock.el (scroll-lock-mode):
11881         * simple.el (next-error-follow-minor-mode):
11882         * tar-mode.el (tar-subfile-mode):
11883         * tooltip.el (tooltip-mode):
11884         * vcursor.el (vcursor-use-vcursor-map):
11885         * wid-browse.el (widget-minor-mode):
11886         * emulation/tpu-edt.el (tpu-edt-mode):
11887         * emulation/tpu-extras.el (tpu-cursor-free-mode):
11888         * international/iso-ascii.el (iso-ascii-mode):
11889         * language/thai-util.el (thai-word-mode):
11890         * mail/supercite.el (sc-minor-mode):
11891         * net/goto-addr.el (goto-address-mode):
11892         * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
11893         * progmodes/cwarn.el (cwarn-mode):
11894         * progmodes/flymake.el (flymake-mode):
11895         * progmodes/glasses.el (glasses-mode):
11896         * progmodes/hideshow.el (hs-minor-mode):
11897         * progmodes/pascal.el (pascal-outline-mode):
11898         * textmodes/enriched.el (enriched-mode):
11899         * vc/smerge-mode.el (smerge-mode):
11900         Doc fixes (minor mode argument).
11902 2012-02-07  Eli Zaretskii  <eliz@gnu.org>
11904         * ls-lisp.el (ls-lisp-sanitize): New function.
11905         (ls-lisp-insert-directory): Use it to fix or remove any elements
11906         in file-alist with missing attributes.  (Bug#4673)
11908 2012-02-07  Alan Mackenzie  <acm@muc.de>
11910         Fix spurious recognition of c-in-knr-argdecl.
11912         * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
11913         putative K&R region.
11915 2012-02-07  Alan Mackenzie  <acm@muc.de>
11917         * progmodes/cc-engine.el (c-forward-objc-directive):
11918         Prevent looping in "#pragma mark @implementation".
11920 2012-02-07  Michael Albinus  <michael.albinus@gmx.de>
11922         * notifications.el (notifications-on-closed-signal): Make `reason'
11923         optional.  (Bug#10744)
11925 2012-02-07  Glenn Morris  <rgm@gnu.org>
11927         * emacs-lisp/easy-mmode.el (define-minor-mode):
11928         Doc fixes for the macro and the mode it defines.
11930         * image.el (imagemagick-types-inhibit): Doc fix.
11932         * cus-start.el (imagemagick-render-type): Add it.
11934 2012-02-06  Lars Ingebrigtsen  <larsi@gnus.org>
11936         * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
11937         Set the default at load time, too, so that `font-lock-fontify-buffer'
11938         can be called without setting up the entire mode first.  This fixes
11939         a bug in `mm-inline-text' with C MIME parts.
11941 2012-02-06  Chong Yidong  <cyd@gnu.org>
11943         * simple.el (list-processes--refresh): Delete exited processes
11944         (Bug#8094).
11946         * comint.el (comint-next-prompt): next-single-char-property-change
11947         and prev-single-char-property-change never return nil (Bug#8657).
11949         * custom.el (defcustom): Doc fix (Bug#9711).
11951 2012-02-05  Chong Yidong  <cyd@gnu.org>
11953         * cus-edit.el (custom-variable-reset-backup): Quote the value
11954         before storing it in the customized-value property (Bug#6712).
11955         (custom-display): Add a customization type tag.
11956         (custom-buffer-create-internal): Improve tooltip message.
11958         * wid-edit.el (widget-field-value-get): New optional arg to
11959         suppress trailing whitespace truncation.
11960         (character): Use it (Bug#2689).
11962 2012-02-05  Andreas Schwab  <schwab@linux-m68k.org>
11964         * progmodes/gud.el (gud-pv): Use pv instead of pv1.
11965         * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
11967 2012-02-05  Chong Yidong  <cyd@gnu.org>
11969         * cus-edit.el (custom-variable-value-create): For mismatched
11970         types, show the current value (Bug#7600).
11972         * custom.el (defcustom): Doc fix.
11974 2012-02-05  Glenn Morris  <rgm@gnu.org>
11976         * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
11978 2012-02-05  Juanma Barranquero  <lekktu@gmail.com>
11980         * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
11981         (pp-buffer): Use `ignore-errors', `looking-at-p'.
11982         (pp-last-sexp): Use `looking-at-p'.
11984 2012-02-04  Glenn Morris  <rgm@gnu.org>
11986         * files.el (revert-buffer):
11987         Doc fix (mention revert-buffer-in-progress-p).
11989         * emacs-lisp/ert-x.el (ert-simulate-command):
11990         Check deferred-action-list (which is obsolete) is bound.
11992         * subr.el (with-wrapper-hook): Doc fixes.
11994         * simple.el (filter-buffer-substring-functions)
11995         (buffer-substring-filters, filter-buffer-substring): Doc fixes.
11997 2012-02-04  Lars Ljung  <lars@matholka.se>  (tiny change)
11999         * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
12000         anywhere in shell-file-name, not just at the beginning.  (Bug#10523)
12002 2012-02-04  Leo Liu  <sdl.web@gmail.com>
12004         * emacs-lisp/smie.el: Fix dead link (Bug#10711).
12006 2012-02-04  Glenn Morris  <rgm@gnu.org>
12008         * image.el (image-extension-data): Add obsolete alias.
12010         * isearch.el (isearch-update): Doc fix.
12012         * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
12014         * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
12016 2012-02-03  Glenn Morris  <rgm@gnu.org>
12018         * image.el (image-animated-p): Doc fix.  Use image-animated-types.
12019         (image-animate-timeout): Doc fix.
12021         * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
12023 2012-02-02  Glenn Morris  <rgm@gnu.org>
12025         * server.el (server-auth-dir): Doc fix.
12026         (server-eval-at): Doc fix.  Give an explicit error if !server-use-tcp.
12028         * subr.el (run-mode-hooks): Doc fix.
12030 2012-02-02  Juri Linkov  <juri@jurta.org>
12032         * image-mode.el (image-toggle-display-image): Remove tautological
12033         `major-mode' from the `derived-mode-p' test.
12035 2012-02-02  Kenichi Handa  <handa@m17n.org>
12037         * composite.el (compose-region): Cancel previous change.
12039 2012-02-02  Kenichi Handa  <handa@m17n.org>
12041         * composite.el (compose-region, compose-string): Signal error for
12042         a null string component (Bug#6988).
12044 2012-02-01  Chong Yidong  <cyd@gnu.org>
12046         * view.el (view-buffer-other-window, view-buffer-other-frame):
12047         Handle special modes like view-buffer (Bug#10650).
12048         (view-buffer): Simplify.
12050         * frame.el (set-frame-font): Tweak meaning of third argument.
12052         * dynamic-setting.el (font-setting-change-default-font):
12053         Use set-frame-font (Bug#9982).
12055 2012-02-01  Glenn Morris  <rgm@gnu.org>
12057         * progmodes/compile.el (compilation-internal-error-properties):
12058         Respect compilation-first-column in the "*compilation*" buffer.
12060         * emacs-lisp/easy-mmode.el (define-minor-mode):
12061         Relax :variable's test for a named function.
12063 2012-01-31  Alan Mackenzie  <acm@muc.de>
12065         * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
12066         off by one error.
12068 2012-01-31  Chong Yidong  <cyd@gnu.org>
12070         * frame.el (set-frame-font): New arg ALL-FRAMES.
12072         * menu-bar.el (menu-set-font): Use set-frame-font.
12074         * faces.el (face-spec-reset-face): Don't apply unspecified
12075         attribute values to the default face.
12077 2012-01-31  Juanma Barranquero  <lekktu@gmail.com>
12079         * progmodes/cwarn.el (cwarn): Remove dead link.
12080         (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
12081         Remove * from defcustom docstrings.
12082         (turn-on-cwarn-mode): Make obsolete.
12083         (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
12084         (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
12086 2012-01-31  Glenn Morris  <rgm@gnu.org>
12088         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
12089         Fix :variable handling of mode a symbol not equal to modefun.
12090         Allow named functions to be used as the cdr of :variable.
12092 2012-01-30  Glenn Morris  <rgm@gnu.org>
12094         * emacs-lisp/authors.el (authors-fixed-entries):
12095         Remove reference to deleted file rnewspost.el.
12097 2012-01-29  Juanma Barranquero  <lekktu@gmail.com>
12099         * window.el (window-with-parameter): Remove unused variable `windows'.
12100         (window--side-check): Remove unused variable `code'.
12101         (window--resize-siblings): Remove unused variable `first'.
12102         (adjust-window-trailing-edge): Remove unused variable `failed'.
12103         (window-deletable-p, window--delete): Remove unused variable `buffer'.
12104         Use `let', not `let*'.
12105         (balance-windows-2): Remove unused variable `found'.
12106         (window--state-put-2): Remove unused variable `splits'.
12107         (window-state-put): Remove unused variable `selected'.
12108         (same-window-p): Use `string-match-p'.
12109         (display-buffer-assq-regexp): Remove unused variable `value'.
12110         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
12111         Mark argument ALIST as ignored.
12112         (pop-to-buffer): Remove unused variable `old-window'.
12114 2012-01-29  Eli Zaretskii  <eliz@gnu.org>
12116         * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
12117         and .lzma compressed files.
12119 2012-01-29  Chong Yidong  <cyd@gnu.org>
12121         * frame.el (window-system-default-frame-alist): Doc fix.
12123         * dynamic-setting.el (font-setting-change-default-font): Don't
12124         change the default face if SET-FONT argument is non-nil (Bug#9982).
12126 2012-01-29  Samuel Bronson  <naesten@gmail.com>
12128         * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
12130 2012-01-29  Syver Enstad  <syver.enstad@cisco.com>  (tiny change)
12132         * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
12133         breakpoints in files outside current directory (Bug#6098).
12135 2012-01-29  Chong Yidong  <cyd@gnu.org>
12137         * progmodes/python.el: Require ansi-color at top-level.
12139         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
12140         Define and use in Emacs Lisp mode (Bug#9360).
12141         (lisp-mode-abbrev-table): Add doc.
12142         (lisp-mode-variables): Don't set local-abbrev-table.
12143         (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
12145 2012-01-28  Roland Winkler  <winkler@gnu.org>
12147         * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
12149 2012-01-28  Roland Winkler  <winkler@gnu.org>
12151         * textmodes/bibtex.el (bibtex-entry-alist): New function.
12152         (bibtex-set-dialect): Use it.  Either set global values of
12153         dialect-dependent variables or bind these variables buffer-locally
12154         (Bug#10254).
12155         (bibtex-mode): Call bibtex-set-dialect via
12156         hack-local-variables-hook.
12157         (bibtex-dialect): Update docstring.
12158         Add safe-local-variable predicate.
12159         (bibtex-entry-alist, bibtex-field-alist): Initialize via
12160         bibtex-set-dialect.
12161         (bibtex-mode-map): Define menu for each dialect.
12162         (bibtex-entry): Fix docstring.
12164 2012-01-28  Chong Yidong  <cyd@gnu.org>
12166         * eshell/esh-arg.el (eshell-quote-argument): New function.
12168         * eshell/esh-ext.el (eshell-invoke-batch-file):
12169         * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
12170         first arg to eshell-parse-command (Bug#10523).
12172 2012-01-28  Drew Adams  <drew.adams@oracle.com>
12174         * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
12175         `default-directory' is non-nil.
12177 2012-01-28  Eli Zaretskii  <eliz@gnu.org>
12179         * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
12180         line that displays system-configuration-options.  (Bug#9924)
12182 2012-01-28  Drew Adams  <drew.adams@oracle.com>
12184         * descr-text.el (describe-char): Show information about POS, in
12185         addition to information about the character at POS.  Improve and
12186         update the doc string.  Change "code point" to "code point in
12187         charset", to avoid confusion with the character's Unicode code
12188         point shown above that.  (Bug#10129)
12190 2012-01-28  Eli Zaretskii  <eliz@gnu.org>
12192         * descr-text.el (describe-char): Show the raw character, not only
12193         its display form at POS.  Suggested by Kenichi Handa <handa@m17n.org>.
12194         See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
12195         for the reasons.
12197 2012-01-28  Phil Hagelberg  <phil@hagelb.org>
12199         * emacs-lisp/package.el (package-install):
12200         Run package-refresh-contents if there is no archive yet (Bug#9798).
12202 2012-01-28  Chong Yidong  <cyd@gnu.org>
12204         * emacs-lisp/package.el (package-maybe-load-descriptor):
12205         New function, split from package-maybe-load-descriptor.
12206         (package-maybe-load-descriptor): Use it.
12207         (package-download-transaction): Fully load required packages
12208         inside the loop, so that `require' calls work (Bug#10593).
12209         (package-install): No need to call package-initialize now.
12211 2012-01-28  Chong Yidong  <cyd@gnu.org>
12213         * simple.el (deactivate-mark): Doc fix (Bug#8614).
12215         * tooltip.el (tooltip-mode): Doc fix.
12216         (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
12218         * frame.el (set-cursor-color): Doc fix (Bug#352).
12220         * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
12221         (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
12223         * cus-edit.el (custom-buffer-create-internal): Fix search button
12224         action (Bug#10542).
12225         (customize-unsaved, customize-saved): Doc fix (Bug#10541).
12227 2012-01-27  Eduard Wiebe  <usenet@pusto.de>
12229         * dired.el (dired-mark-files-regexp):
12230         Include any subdirectory components.  (Bug#10445)
12232 2012-01-27  Mike Lamb  <mrlamb@gmail.com>  (tiny change)
12234         * pcmpl-unix.el (pcmpl-ssh-known-hosts):
12235         Handle [host]:port syntax.  (Bug#10533)
12237 2012-01-27  Alex Harsanyi  <harsanyi@mac.com>
12239         * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
12241 2012-01-26  Glenn Morris  <rgm@gnu.org>
12243         * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
12244         * term.el (term-raw-escape-map): Use Control-X-prefix.
12245         * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map.  (Bug#10566)
12247 2012-01-25  Martin Rudalics  <rudalics@gmx.at>
12249         * window.el (window-state-get, window--state-get-1): Don't deal
12250         with fixed-sizeness of windows.  Simplify code.
12252 2012-01-25  JĂ©rĂ©my Compostella  <jeremy.compostella@gmail.com>
12254         * window.el (window--state-get-1, window--state-put-2):
12255         Don't save and restore the mark.
12257 2012-01-25  Chong Yidong  <cyd@gnu.org>
12259         * custom.el (custom-variable-p): Doc fix.
12261 2012-01-25  Glenn Morris  <rgm@gnu.org>
12263         * dired.el (dired-goto-file): Handle some of the more common
12264         characters that `ls -b' escapes.  (Bug#10596)
12266         * progmodes/compile.el (compilation-next-error-function):
12267         Respect compilation-first-column in the "*compilation*" buffer.
12268         * progmodes/grep.el (grep-first-column): New variable.  (Bug#10594)
12270         * vc/vc.el (vc-modify-change-comment): Scoping fix.  (Bug#10513)
12272 2012-01-24  Glenn Morris  <rgm@gnu.org>
12274         * pcmpl-gnu.el (pcomplete/tar): Handle " - ".  (Bug#10457)
12276 2012-01-24  Julien Danjou  <julien@danjou.info>
12278         * color.el (color-rgb-to-hsl): Fix value computing.
12279         (color-hue-to-rgb): New function.
12280         (color-hsl-to-rgb): New function.
12281         (color-clamp, color-saturate-hsl, color-saturate-name)
12282         (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
12283         (color-lighten-name, color-darken-hsl, color-darken-name): New function.
12285 2012-01-24  Glenn Morris  <rgm@gnu.org>
12287         * vc/vc-rcs.el (vc-rcs-create-tag):
12288         * vc/vc-sccs.el (vc-sccs-create-tag):
12289         Fix argument spec to be what vc-create-tag expects.  (Bug#10515)
12291 2012-01-23  Mike Lamb  <mrlamb@gmail.com>  (tiny change)
12293         * eshell/esh-util.el (eshell-read-hosts-file):
12294         Skip comment lines.  (Bug#10549)
12296         * eshell/em-unix.el (pcomplete/ssh): Remove.  (Bug#10548)
12298 2012-01-23  Juanma Barranquero  <lekktu@gmail.com>
12300         * subr.el (display-delayed-warnings): Doc fix.
12301         (collapse-delayed-warnings): New function to collapse identical
12302         adjacent warnings.
12303         (delayed-warnings-hook): Add it.
12305 2012-01-22  Michael Albinus  <michael.albinus@gmx.de>
12307         * net/tramp.el (tramp-action-login): Set connection property "login-as".
12309         * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
12310         (tramp-default-user-alist): Don't add "pscp".
12311         (tramp-do-copy-or-rename-file-out-of-band): Use connection
12312         property "login-as", if set.  (Bug#10530)
12314 2012-01-21  Michael Albinus  <michael.albinus@gmx.de>
12316         * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
12317         "plink1" and "psftp".  (Bug#10530)
12319 2012-01-21  Kenichi Handa  <handa@m17n.org>
12321         * international/mule-cmds.el (prefer-coding-system): Show a
12322         warning message if the default value of file-name-coding-system
12323         was not changed.
12325 2012-01-21  JĂ©rĂ©my Compostella  <jeremy.compostella@gmail.com>
12327         * windmove.el (windmove-reference-loc):
12328         Fix windmove-reference-loc miscalculation.
12330 2012-01-21  Jay Belanger  <jay.p.belanger@gmail.com>
12332         * calc/calc-units.el (math-put-default-units): Don't use "1" as a
12333         default unit.
12335 2012-01-21  Glenn Morris  <rgm@gnu.org>
12337         * international/mule.el (auto-coding-alist): Add .tbz.
12339         * files.el (local-enable-local-variables): Doc fix.
12340         (inhibit-local-variables-regexps): Rename from
12341         inhibit-first-line-modes-regexps.  Keep old name as obsolete alias.
12342         Doc fix.  Add some extensions from auto-coding-alist.
12343         (inhibit-local-variables-suffixes):
12344         Rename from inhibit-first-line-modes-suffixes.  Doc fix.
12345         (inhibit-local-variables-p):
12346         New function, extracted from set-auto-mode-1.
12347         (set-auto-mode): Doc fix.  Respect inhibit-local-variables-regexps.
12348         (set-auto-mode-1): Doc fix.  Use inhibit-local-variables-p.
12349         (hack-local-variables): Doc fix.  Make the mode-only case
12350         respect enable-local-variables and friends.
12351         Respect inhibit-local-variables-regexps for file-locals, but
12352         not for directory-locals.
12353         (set-visited-file-name):
12354         Take account of inhibit-local-variables-regexps.
12355         Whether it applies may change as the file name is changed.
12356         * jka-cmpr-hook.el (jka-compr-install):
12357         * jka-compr.el (jka-compr-uninstall):
12358         Update for inhibit-first-line-modes-suffixes name change.
12360 2012-01-20  Martin Rudalics  <rudalics@gmx.at>
12362         * help-macro.el (make-help-screen): Temporarily restore original
12363         binding for minor-mode-map-alist (Bug#10454).
12365 2012-01-19  Julien Danjou  <julien@danjou.info>
12367         * color.el (color-name-to-rgb): Use the white color to find the max
12368         color component value and return correctly computed values.
12369         (color-name-to-rgb): Add missing float conversion for max value.
12371 2012-01-19  Martin Rudalics  <rudalics@gmx.at>
12373         * window.el (window--state-get-1, window-state-get): Do not use
12374         special state value for window-persistent-parameters.
12375         Rename argument IGNORE to WRITABLE.  Rewrite doc-string.
12376         (window--state-put-2): Reset all window parameters to nil before
12377         assigning values of persistent parameters.
12379 2012-01-18  Alan Mackenzie  <acm@muc.de>
12381         Eliminate sluggishness and hangs in fontification of "semicolon
12382         deserts".
12384         * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
12385         Change value 10000 -> 3000.
12386         (c-state-safe-place): Reformulate so it doesn't stack up an
12387         infinite number of wrong entries in c-state-nonlit-pos-cache.
12388         (c-determine-limit-get-base, c-determine-limit): New functions to
12389         determine backward search limits disregarding literals.
12390         (c-find-decl-spots): Amend commenting.
12391         (c-cheap-inside-bracelist-p): New function which detects "={".
12393         * progmodes/cc-fonts.el
12394         (c-make-font-lock-BO-decl-search-function): Give a limit to a
12395         backward search.
12396         (c-font-lock-declarations): Fix an occurrence of point being
12397         undefined.  Check additionally for point being in a bracelist or
12398         near a macro invocation without a semicolon so as to avoid a
12399         fruitless time consuming search for a declarator.  Give a more
12400         precise search limit for declarators using the new
12401         c-determine-limit.
12403 2012-01-18  Glenn Morris  <rgm@gnu.org>
12405         * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
12406         (set-auto-mode): Doc fixes.
12408 2012-01-17  Glenn Morris  <rgm@gnu.org>
12410         * isearch.el (search-nonincremental-instead): Fix doc typo.
12412         * dired.el (dired-insert-directory): Handle newlines in directory name.
12413         (dired-build-subdir-alist): Unescape newlines in directory name.
12415 2012-01-17  Michael Albinus  <michael.albinus@gmx.de>
12417         * net/tramp.el (tramp-local-end-of-line): New defcustom.
12418         (tramp-action-login, tramp-action-yesno, tramp-action-yn)
12419         (tramp-action-terminal): Use it.  (Bug#10530)
12421 2012-01-16  Stefan Monnier  <monnier@iro.umontreal.ca>
12423         * minibuffer.el (completion--replace): Strip properties (bug#10062).
12425 2012-01-16  Martin Rudalics  <rudalics@gmx.at>
12427         * window.el (window-state-ignored-parameters): Remove variable.
12428         (window--state-get-1): Rename argument MARKERS to IGNORE.
12429         Handle persistent window parameters.  Make copy of clone-of
12430         parameter only if requested.  (Bug#10348)
12431         (window--state-put-2): Install a window parameter only if it has
12432         a non-nil value or an existing parameter shall be overwritten.
12434 2012-01-15  Michael Albinus  <michael.albinus@gmx.de>
12436         * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
12438 2012-01-14  Eli Zaretskii  <eliz@gnu.org>
12440         * info.el (Info-toc-build): If the Info file has no "Up" pointer,
12441         don't pass the (nil) value of `upnode' to string-match.
12443 2012-01-14  Chong Yidong  <cyd@gnu.org>
12445         * startup.el (command-line): Fix X resource class for cursorColor.
12446         Fix values recognized by the cursorBlink resource.
12448 2012-01-14  Paul Eggert  <eggert@cs.ucla.edu>
12450         * epg.el (epg--make-temp-file): Avoid permission race condition
12451         when running on old Emacs versions (bug#10403).
12453 2012-01-14  Glenn Morris  <rgm@gnu.org>
12455         * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
12457 2012-01-13  Alan Mackenzie  <acm@muc.de>
12459         Fix filling for when filladapt mode is enabled.
12461         * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
12462         c-mask-paragraph, pass in `fill-paragraph' rather than
12463         `fill-region-as-paragraph'.  (This is a reversion of a previous
12464         change.)
12465         * progmodes/cc-mode.el (c-basic-common-init):
12466         Make fill-paragraph-handle-comment buffer local and set it to nil.
12468 2012-01-13  Glenn Morris  <rgm@gnu.org>
12470         * dired.el (dired-switches-escape-p): New function.
12471         (dired-insert-directory): Use dired-switches-escape-p.
12472         (dired-get-filename): Undo "\ " quoting if needed.  (Bug#10469)
12474         * find-dired.el (find-ls-option): Doc fix.  (Bug#10262)
12476 2012-01-12  Glenn Morris  <rgm@gnu.org>
12478         * mail/sendmail.el (mail-mode): Update paragraph-separate for
12479         changes in adaptive-fill-regexp.  (Bug#10276)
12481 2012-01-11  Alan Mackenzie  <acm@muc.de>
12483         Fix Emacs bug #10463 - put `widen's around the critical spots.
12485         * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
12486         widen around each invocation of c-state-pp-to-literal.  Remove an
12487         unused let variable.
12489 2012-01-11  Glenn Morris  <rgm@gnu.org>
12491         * dired-aux.el (dired-do-shell-command): Fix */? logic.  (Bug#6561)
12492         Doc fix.
12494 2012-01-10  Chong Yidong  <cyd@gnu.org>
12496         * net/network-stream.el (network-stream-open-starttls):
12497         Avoid emitting a confusing error message when the server gives a bad
12498         response to the capability command.
12500 2012-01-10  Glenn Morris  <rgm@gnu.org>
12502         * mail/unrmail.el (unrmail): Tweak previous change.
12504 2012-01-09  Chong Yidong  <cyd@gnu.org>
12506         * custom.el (custom-safe-themes): Use SHA-256 for hashing.
12508 2012-01-08  Alan Mackenzie  <acm@muc.de>
12510         Optimise font locking in long enum definitions.
12512         * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
12513         arm to a cond form to handle enums.
12514         * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
12515         * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
12517 2012-01-07  Paul Eggert  <eggert@cs.ucla.edu>
12519         * files.el (move-file-to-trash): Preserve default file modes on error.
12520         (Bug#10401)
12522 2012-01-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12524         * faces.el (set-face-attribute): Clarify the meaning of the nil
12525         frame (bug#10294).
12527         * subr.el (with-selected-frame): Mention that the selected frame
12528         is restored (bug#9980).
12530         * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
12531         (bug#9759).
12533         * mail/smtpmail.el (password-cache-add): Remove unused declaration.
12534         (password-read): Don't autoload unused function.
12536 2012-01-07  Juanma Barranquero  <lekktu@gmail.com>
12538         * progmodes/which-func.el (which-func-mode): Turn into a
12539         non-interactive function and mark as obsolete (bug#10428).
12541 2012-01-06  Chong Yidong  <cyd@gnu.org>
12543         * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
12544         (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
12545         functions, along with 1 and -1.
12547 2012-01-06  Eli Zaretskii  <eliz@gnu.org>
12549         * time.el (display-time-load-average)
12550         (display-time-default-load-average): Doc fixes.  See the thread
12551         starting at
12552         http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
12553         for the details.
12555 2012-01-06  Glenn Morris  <rgm@gnu.org>
12557         * mail/unrmail.el (unrmail): Give an explicit error if the input file
12558         has no messages.  (Bug#10377)
12560         * info.el (Info-mode-map): Bind e to end-of-buffer, rather
12561         than Info-edit.  (Bug#10385)
12563         * time.el (display-time-load-average, display-time-next-load-average):
12564         Doc fixes.
12566         * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
12567         local setting of buffer-read-only to the input buffer.  (Bug#10419)
12569         * calendar/calendar.el (calendar-mode):
12570         Locally set scroll-margin to 0.  (Bug#10379)
12572 2012-01-06  Ulrich Mueller  <ulm@gentoo.org>
12574         * play/doctor.el (doctor-death): Escape "," characters.  (Bug#10370)
12576 2012-01-05  Glenn Morris  <rgm@gnu.org>
12578         * eshell/em-unix.el (diff-no-select): Autoload it.
12579         (eshell/diff): Use diff-no-select.  (Bug#10420)
12581 2012-01-05  Chong Yidong  <cyd@gnu.org>
12583         * shell.el (shell-dynamic-complete-functions): Revert last change.
12584         (shell-command-completion-function): New function.
12585         (shell-completion-vars): Use it to implement
12586         shell-completion-execonly (Bug#10417).
12588         * custom.el (enable-theme): Don't set custom-safe-themes.
12590         * cus-theme.el (custom-theme-merge-theme):
12591         Ignore custom-enabled-themes and custom-safe-themes.
12593 2012-01-05  Michael R. Mauger  <mmaug@yahoo.com>
12595         * progmodes/sql.el (sql-login-hook): Add hook to respond to the
12596         first prompt in `sql-interacive-mode'.
12597         (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
12598         keywords.
12599         (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
12600         (sql-product-interactive): Bug fix: Set `sql-buffer' in
12601         context of original buffer.  Invoke `sql-login-hook'.
12603 2012-01-04  Eli Zaretskii  <eliz@gnu.org>
12605         * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
12606         letters in cite-prefix.
12608 2012-01-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12610         * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
12612 2012-01-03  Chong Yidong  <cyd@gnu.org>
12614         * shell.el (shell-dynamic-complete-functions):
12615         Put pcomplete-completions-at-point, so as to try
12616         comint-filename-completion first (Bug#10417).
12618 2012-01-02  Richard Stallman  <rms@gnu.org>
12620         * battery.el (battery-status-function):
12621         Detect when to use battery-yeeloong-sysfs.
12622         (battery-echo-area-format): Add string for Yeeloong.
12623         (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
12624         (battery-yeeloong-sysfs): New function.
12626 2012-01-02  Chong Yidong  <cyd@gnu.org>
12628         * dirtrack.el (dirtrack-list): Eliminate unused third element.
12629         (dirtrack): Merge code for handling relative filenames in prompt
12630         from shell-dir-cookie-watcher.
12631         (dirtrack-debug-message): New arg to avoid excess format calls.
12633         * shell.el (shell-dir-cookie-re): Variable deleted.
12634         (shell-dir-cookie-watcher): Function deleted.
12635         (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
12636         with dirtrack-mode.
12638 2012-01-01  Eli Zaretskii  <eliz@gnu.org>
12640         * term/w32-win.el (dynamic-library-alist) <gnutls>:
12641         Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
12642         libgnutls-26.dll.
12644 2011-12-31  Andreas Schwab  <schwab@linux-m68k.org>
12646         * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
12648 2011-12-31  Eli Zaretskii  <eliz@gnu.org>
12650         * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
12651         headers of non-MIME messages, when rmail-enable-mime is non-nil.
12653 2011-12-29  Michael Albinus  <michael.albinus@gmx.de>
12655         * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
12656         also for alternative shells.
12657         (tramp-open-connection-setup-interactive-shell): Check, whether
12658         the shell is a busybox.
12659         (tramp-send-command): Don't suppress multiple prompts for
12660         busyboxes, it hurts.
12662 2011-12-28  Chong Yidong  <cyd@gnu.org>
12664         * progmodes/gdb-mi.el (gdb-get-source-file-list)
12665         (gdb-get-source-file): Move mode line update to
12666         gdb-get-source-file (Bug#10087).
12668 2011-12-25  Chong Yidong  <cyd@gnu.org>
12670         * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
12671         gud-gdb-marker-filter without taking it as an argument.
12672         (gud-gdb-run-command-fetch-lines): Caller changed.
12673         (gud-gdb-completion-function): New variable.
12674         (gud-gdb-completion-at-point): Use it.
12675         (gud-gdb-completions-1): Split from gud-gdb-completions.
12677         * progmodes/gdb-mi.el (gdb-input): Accept command and handler
12678         function as separate arguments.
12679         (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
12680         (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
12681         (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
12682         (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
12683         (gdb-stopped, def-gdb-auto-update-trigger)
12684         (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
12685         (gdb-get-changed-registers, gdb-get-main-selected-frame):
12686         Callers changed.
12687         (gud-gdbmi-completions): New function.
12688         (gdb): Use it for generating the completion table.
12690 2011-12-24  Alan Mackenzie  <acm@muc.de>
12692         Introduce a mechanism to widen the region used in context font
12693         locking.  Use this to protect declarations from losing their contexts.
12695         * progmodes/cc-langs.el (c-before-font-lock-functions):
12696         Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
12697         (c-before-context-fontification-functions): New defvar, a list of
12698         functions to be run just before context (etc.) font locking.
12700         * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
12701         New, functionality extracted from
12702         c-neutralize-syntax-in-and-mark-CPP.
12703         (c-in-after-change-fontification): New variable.
12704         (c-after-change): Set c-in-after-change-fontification.
12705         (c-set-fl-decl-start): Rejig its interface, so it can be called
12706         from both after-change and context fontifying.
12707         (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
12708         New functions.
12709         (c-standard-font-lock-fontify-region-function): New variable.
12710         (c-font-lock-fontify-region): New function.
12712 2011-12-24  Juri Linkov  <juri@jurta.org>
12714         * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
12715         (Bug#10348)
12717 2011-12-23  Michael Albinus  <michael.albinus@gmx.de>
12719         * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
12720         existence of source file.  (Bug#10325)
12722 2011-12-23  Alan Mackenzie  <acm@muc.de>
12724         Fix unstable fontification inside templates.
12726         * progmodes/cc-langs.el (c-before-font-lock-functions):
12727         Newly created from the singular version.  The (c c++ objc) entry now
12728         additionally has c-set-fl-decl-start.  The other languages (apart
12729         from AWK) have that as a single entry.
12731         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
12732         The functionality for "local" declarations has been extracted to
12733         c-set-fl-decl-start.
12735         * progmodes/cc-mode.el (c-common-init, c-after-change):
12736         Changes due to pluralisation of c-before-font-lock-functions.
12737         (c-set-fl-decl-start): New function, extracted from
12738         c-font-lock-enclosing-decls and enhanced.
12740 2011-12-23  Juanma Barranquero  <lekktu@gmail.com>
12742         * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
12744 2011-12-22  Juri Linkov  <juri@jurta.org>
12746         * progmodes/grep.el (rgrep): Fix docstring.  (Bug#10185)
12748 2011-12-22  Chong Yidong  <cyd@gnu.org>
12750         * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
12752 2011-12-21  Drew Adams  <drew.adams@oracle.com>
12754         * files.el (file-remote-p): Fix docstring.  (Bug#10319)
12756 2011-12-21  JĂ©rĂ©my Compostella  <jeremy.compostella@gmail.com>
12758         * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
12760 2011-12-21  Teodor Zlatanov  <tzz@lifelogs.com>
12762         * progmodes/cfengine.el: Add Version.  Improve CFEngine 3.x syntax
12763         highlighting and support.  Fix up comments for capitalization.
12764         (cfengine-mode-debug): New var.
12765         (cfengine3-mode): Change the modeline indicator to "CFE3".
12766         (cfengine3-font-lock-keywords): Improve defun highlighting.
12767         (cfengine2-actions): Rename from `cfengine-actions'.
12768         (cfengine2-font-lock-keywords): Rename from
12769         `cfengine-font-lock-keywords'.
12770         (cfengine2-imenu-expression): Rename from
12771         `cfengine-imenu-expression'.
12772         (cfengine2-outline-level): Rename from `cfengine-outline-level'.
12773         (cfengine2-beginning-of-defun): Rename from
12774         `cfengine-beginning-of-defun'.
12775         (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
12776         (cfengine2-indent-line): Rename from `cfengine-indent-line'.
12777         (cfengine2-mode): Rename from `cfengine-mode'.  Change the
12778         modeline indicator to "CFE2".
12779         (cfengine-mode): Defalias to `cfengine-auto-mode'.
12780         (cfengine-mode-abbrevs): Mark obsolete.
12782 2011-12-21  Chong Yidong  <cyd@gnu.org>
12784         * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
12785         filename argument.
12787 2011-12-20  Martin Rudalics  <rudalics@gmx.at>
12789         * window.el (window-normalize-buffer-to-display): Remove.
12790         (display-buffer): Handle buffer-or-name argument as in Emacs 23.
12792 2011-12-19  Chong Yidong  <cyd@gnu.org>
12794         * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
12795         Don't signal an error in a predicate function; return non-nil.
12796         (vc-dir-mark-file): Move the error here.
12797         (vc-dir-mark-unmark): If acting on the region, keep going if one
12798         of the entries cannot be marked/unmarked.
12799         (vc-dir-mark-all-files): If current entry is a directory, mark
12800         only child files, as documented.
12802 2011-12-19  Vincent BelaĂ¯che  <vincentb1@users.sourceforge.net>
12804         * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
12805         branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
12806         addition.
12808 2011-12-18  Jan Djärv  <jan.h.d@swipnet.se>
12810         * term/ns-win.el (ns-get-selection-internal)
12811         (ns-store-selection-internal): Declare.
12812         (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
12813         Declare as obsolete.
12814         (ns-get-pasteboard, ns-paste-secondary):
12815         Use ns-get-selection-internal.
12816         (ns-set-pasteboard, ns-copy-including-secondary):
12817         Use ns-store-selection-internal.
12819 2011-12-17  Chong Yidong  <cyd@gnu.org>
12821         * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
12822         (vc-deduce-fileset): Doc fix.
12824 2011-12-16  Andreas Schwab  <schwab@linux-m68k.org>
12826         * calc/calc-misc.el (calc-help): Avoid wrapping help message.
12828 2011-12-13  Sam Steingold  <sds@gnu.org>
12830         * man.el (Man-getpage-in-background): When running under a
12831         window-system, ignore $MANWIDTH and $COLUMNS.
12833 2011-12-15  Kenichi Handa  <handa@m17n.org>
12835         * language/ethio-util.el: Change coding tag to utf-8-emacs.
12836         (setup-ethiopic-environment-internal): Comment out key-binding for
12837         ethio-toggle-punctuation.
12839 2011-12-13  Alan Mackenzie  <acm@muc.de>
12841         Add the switch statement to AWK Mode.
12843         * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
12844         "default" to the keywords regexp.
12846         * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
12847         expression as the rest.
12848         (c-nonlabel-token-key): Allow string literals for AWK.
12849         Refactor for the other modes.
12851         Large brace-block initialisation makes CC Mode slow: Fix.
12852         Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
12853         routines.  Limit backward searching in c-font-lock-enclosing.decl.
12855         * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
12856         pp-state and literal type in addition to the limits.
12857         (c-state-safe-place): New defun, extracted from c-state-literal-at.
12858         (c-state-literal-at): Use the above new defun.
12859         (c-slow-in-literal, c-fast-in-literal): Remove.
12860         (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
12862         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
12863         being in a literal.  Add a limit for backward searching.
12865         * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
12866         c-slow-in-literal.
12868 2011-12-13  Stefan Monnier  <monnier@iro.umontreal.ca>
12870         * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
12872 2011-12-13  Martin Rudalics  <rudalics@gmx.at>
12874         * window.el (delete-other-windows): Use correct frame in call to
12875         window-with-parameter.
12877 2011-12-12  Daniel Pfeiffer  <occitan@t-online.de>
12879         * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
12880         (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
12881         (makefile-gmake-statements, makefile-makepp-statements):
12882         Use it and add new makepp keywords.
12883         (makefile-makepp-font-lock-keywords): Add new patterns.
12884         (makefile-match-function-end): Match new [...] and [[...]].
12886 2011-12-11  Juanma Barranquero  <lekktu@gmail.com>
12888         * ses.el (ses-call-printer-return, ses-cell-property-get)
12889         (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
12890         (ses-create-cell-variable, ses-reset-header-string)
12891         (ses-cell-set-formula, ses-repair-cell-reference-all)
12892         (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
12893         (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
12894         (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
12895         (ses-aset-with-undo, ses-load, ses-truncate-cell)
12896         (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
12897         (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
12898         (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
12899         (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
12900         (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
12901         (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
12902         (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
12903         (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
12905 2011-12-11  Vincent BelaĂ¯che  <vincentb1@users.sourceforge.net>
12907         * ses.el: The overall change is to add cell renaming, that is
12908         setting fancy names for cell symbols other than name matching
12909         "\\`[A-Z]+[0-9]+\\'" regexp .
12910         (ses-create-cell-variable): New defun.
12911         (ses-relocate-formula): Relocate formulas only for cells the
12912         symbols of which are not renamed, i.e. symbols whose names do not
12913         match regexp "\\`[A-Z]+[0-9]+\\'".
12914         (ses-relocate-all): Relocate values only for cells the symbols of
12915         which are not renamed.
12916         (ses-load): Create cells variables as the (ses-cell ...) are read,
12917         in order to check row col consistency with cell symbol name only
12918         for cells that are not renamed.
12919         (ses-replace-name-in-formula): New defun.
12920         (ses-rename-cell): New defun.
12922 2011-12-11  Chong Yidong  <cyd@gnu.org>
12924         * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
12925         for completion via gud-gdb-fetch-lines-filter (Bug#10274).
12927 2011-12-11  Eric Hanchrow  <eric.hanchrow@gmail.com>
12929         * window.el (other-window): Fix docstring.
12931 2011-12-10  Eli Zaretskii  <eliz@gnu.org>
12933         * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
12934         `from' or `to' address before taking its substring.
12935         Fixes incorrect display in Rmail summary buffer whereby an RFC2047
12936         encoded name is chopped in the middle of the encoded string, and
12937         thus displayed encoded.
12939 2011-12-10  Juanma Barranquero  <lekktu@gmail.com>
12941         * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
12943 2011-12-10  Eli Zaretskii  <eliz@gnu.org>
12945         * textmodes/texnfo-upd.el: Update commentary.  Add a warning not
12946         to use texinfo-update-node and commands that call it if the
12947         Texinfo file uses @node lines without next/prev/up pointers.
12948         Correct outdated description about texinfo-master-menu.
12949         (texinfo-all-menus-update, texinfo-master-menu)
12950         (texinfo-update-node, texinfo-every-node-update)
12951         (texinfo-multiple-files-update): Doc fix.  Warn against updating
12952         all the @node lines.
12953         (texinfo-master-menu): Only call texinfo-update-node if the prefix
12954         argument is numeric.  Explain better in the doc string what the
12955         function really does.
12956         (texinfo-insert-master-menu-list): Improve the error message
12957         displayed if there's no menu in the Top node.
12958         (Bug#2975)  See also this thread:
12959         http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
12961 2011-12-09  Manuel GĂ³mez  <mgrojo@gmail.com>  (tiny change)
12963         * speedbar.el (speedbar-supported-extension-expressions):
12964         Add .adb and .ads, commonly used for Ada source code (bug#10256).
12966 2011-12-09  Juanma Barranquero  <lekktu@gmail.com>
12968         * printing.el (pr-mode-alist):
12969         * simple.el (filter-buffer-substring-functions)
12970         (completion-list-insert-choice-function):
12971         * window.el (window-with-parameter, window-atom-root)
12972         (window-sides-slots, window-size-fixed, window-min-delta)
12973         (window-max-delta, window--resize-mini-window)
12974         (window--resize-child-windows-normal, window-tree)
12975         (delete-other-windows, quit-window, split-window)
12976         (display-buffer-record-window, special-display-buffer-names)
12977         (special-display-regexps, special-display-popup-frame)
12978         (same-window-p, split-window-sensibly)
12979         (display-buffer-overriding-action, display-buffer-alist)
12980         (display-buffer-base-action, display-buffer, switch-to-buffer)
12981         (switch-to-buffer-other-window, switch-to-buffer-other-frame)
12982         (fit-window-to-buffer, recenter-positions)
12983         (mouse-autoselect-window-state, mouse-autoselect-window-select):
12984         * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
12985         and remove unneeded backslashes in docstrings.
12987 2011-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
12989         * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
12991         * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
12992         (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
12993         end in ".mk".
12994         (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
12995         when reading the makefile (bug#10116).
12997 2011-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
12999         * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
13000         (bug#10116).
13002 2011-12-06  Glenn Morris  <rgm@gnu.org>
13004         * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
13006 2011-12-06  Chong Yidong  <cyd@gnu.org>
13008         * progmodes/cc-fonts.el (c-annotation-face): Use defface.
13010 2011-12-06  Juanma Barranquero  <lekktu@gmail.com>
13012         * textmodes/table.el (table-shorten-cell): Fix typo.
13014 2011-12-05  Christopher Genovese  <genovese.cr@gmail.com>  (tiny change)
13016         * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
13018 2011-12-05  Eli Zaretskii  <eliz@gnu.org>
13020         * descr-text.el (describe-char): Fix display of strong
13021         right-to-left characters and directional embeddings and overrides.
13023         * simple.el (what-cursor-position): Fix display of codepoints of
13024         strong right-to-left characters.
13026 2011-12-05  Chong Yidong  <cyd@gnu.org>
13028         * faces.el (read-color): Doc fix.
13030 2011-12-05  Glenn Morris  <rgm@gnu.org>
13032         * align.el (align--set-marker): Add doc-string.
13033         Don't try to move something that is not a marker.  (Bug#10216)
13035 2011-12-04  Glenn Morris  <rgm@gnu.org>
13037         * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
13038         overly zealous deletion of trailing whitespace.
13040 2011-12-04  Juanma Barranquero  <lekktu@gmail.com>
13042         * server.el (server-delete-client): On Windows, do not try to delete
13043         the only terminal.
13044         (server-process-filter): On Windows, treat requests for a tty frame as
13045         if they were for a GUI frame if the running server is in GUI mode.
13047 2011-12-03  Glenn Morris  <rgm@gnu.org>
13049         * textmodes/texinfmt.el (batch-texinfo-format): Doc fix.  (Bug#10207)
13051 2011-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
13053         * electric.el: Streamline electric-indent's hook.
13054         (electric-indent-chars): Revert to simple list.
13055         (electric-indent-functions): New var.
13056         (electric-indent-post-self-insert-function): Use it.
13058         * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
13059         there's no inferior buffer (bug#10196).
13060         (prolog-consult-compile): Don't use toggle-read-only.
13062 2011-12-02  Michael Albinus  <michael.albinus@gmx.de>
13064         * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
13065         interrupt.  (Bug#10187)
13067 2011-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
13069         * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
13070         (bug#9160).
13072         * dired-aux.el (dired-query): Don't assume help-char is modifier-free
13073         (bug#10191).
13075 2011-12-02  Juri Linkov  <juri@jurta.org>
13077         * info.el (Info-search): Display "end of manual" when Isearch
13078         reaches the end of single-file Info manual.  (Bug#9918)
13080 2011-12-02  Eli Zaretskii  <eliz@gnu.org>
13082         * isearch.el (isearch-message-prefix): Run the input method part
13083         of the prompt through bidi-string-mark-left-to-right.  (Bug#10183)
13085 2011-12-02  Juri Linkov  <juri@jurta.org>
13087         * isearch.el (isearch-occur): Use `word-search-regexp' for
13088         `isearch-word'.
13089         (isearch-search-and-update): Add condition for `isearch-word' and
13090         call `word-search-regexp'.  (Bug#10145)
13092 2011-12-01  Glenn Morris  <rgm@gnu.org>
13094         * eshell/em-hist.el (eshell-hist-initialize):
13095         Handle eshell-history-size nil and HISTSIZE set or unset.
13096         (eshell-history-file-name, eshell-history-size): Fix custom type.
13098 2011-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
13100         * man.el (Man-completion-table): Fix the lambda case (bug#10168).
13102 2011-12-01  Michael McNamara  <mac@mail.brushroad.com>
13104         * progmodes/verilog-mode.el (verilog-pretty-expr):
13105         Rework verilog-pretty-expr to handle new assignment operators in system
13106         verilog, such as += *= and the like.
13107         (verilog-assignment-operator-re): Regular expression to find the
13108         assigment operator in a verilog assignment.
13109         (verilog-assignment-operation-re): Regular expression to find an
13110         assignment statement for pretty-expr.
13111         (verilog-in-attribute-p): Query returns true if point is in an
13112         attribute context; used to skip these for expression line up from
13113         pretty-expr.
13114         (verilog-in-parameter-p): Query returns true if point is in an
13115         parameter definition context; used to skip these for expression
13116         line up from pretty-expr.
13117         (verilog-in-parenthesis-p): Query returns true if point is in a
13118         parenthetical expression, specifically ( ) but not [ ] or { };
13119         used by pretty-expr.
13120         (verilog-just-one-space): If there is no space, don't add one.
13121         (verilog-get-lineup-indent-2): Specifically skip just attribute
13122         contexts for expression lineup, rather than skipping all
13123         parenthetical expressions.
13124         (verilog-calculate-indent): Fix comment, and fix indent.
13125         (verilog-do-indent): Indent declarations in lists (suggested by
13126         Joachim Lechner).
13127         (verilog-mode-abbrev-table): Populate abbrev mode with the various
13128         skeleton items.
13129         (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
13130         by Alain Mellan).
13132 2011-12-01  Wilson Snyder  <wsnyder@wsnyder.org>
13134         * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
13135         parameters with embedded comments.  Reported by Ray Stevens.
13136         (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
13137         verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
13138         Reported by Tim Holt.
13139         (verilog-auto): Fix AUTOing a upper module then AUTOing module
13140         instantiated by upper module causing wrong expansion until AUTOed a
13141         second time.  Reported by K C Buckenmaier.
13142         (verilog-diff-auto): Fix showing .* as a difference when
13143         `verilog-auto-star-save' off.  Reported by Dan Dever.
13144         (verilog-auto-reset, verilog-read-always-signals)
13145         (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
13146         temporary signals in reset list if
13147         verilog-auto-reset-blocking-in-non is nil, and match assignment
13148         style to each signal's assignment type, bug381.
13149         Reported by Thomas Esposito.
13150         (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
13151         (verilog-uvm-statement-re): Support UVM indentation and
13152         highlighting, with old OVM keywords only.
13153         (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
13154         Support AUTOTIEOFF creating non-wire data types.
13155         Suggested by Jonathan Greenlaw.
13156         (verilog-auto-insert-lisp, verilog-delete-to-paren)
13157         (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
13158         (verilog-inject-sense, verilog-read-inst-pins)
13159         (verilog-read-sub-decls, verilog-read-sub-decls-line):
13160         Fix mismatching parenthesis inside commented out code when deleting
13161         AUTOINST, bug383.  Reported by Jonathan Greenlaw.
13162         (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
13163         non-numeric vector width.  Reported by Alex Reed.
13164         (verilog-auto-ascii-enum): Add "onehot" option to work around not
13165         detecting signals with parameter widths.  Reported by Alex Reed.
13166         (verilog-auto-delete-trailing-whitespace):
13167         With `verilog-auto-delete-trailing-whitespace' remove trailing
13168         whitespace in auto expansion, bug371.  Reported by Brad Dobbie.
13169         (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
13170         Fix verilog-scan-cache corruption when running user AUTO expansion
13171         hooks that call indentation routines.
13172         (verilog-simplify-range-expression): Fix typo ignoring lower case
13173         identifiers.
13174         (verilog-delete-auto): Fix delete-autos to also remove user created
13175         automatics, as long as they start with AUTO.
13176         (verilog-batch-diff-auto, verilog-diff-auto)
13177         (verilog-diff-function): Add `verilog-diff-auto' and bind to
13178         "C-c?"  to report differences in AUTO expansion, ignoring spaces.
13179         (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
13180         (verilog-in-paren-quick, verilog-re-search-backward-quick)
13181         (verilog-re-search-forward-quick, verilog-syntax-ppss):
13182         Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
13183         is disabled and its cache will get corrupt, causing AUTOS not to
13184         expand.  Instead use only -quick functions.
13185         (verilog-scan-region): Fix scanning over escaped quotes.
13186         (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
13187         (verilog-re-search-backward-quick)
13188         (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
13189         related functions now ignore strings, to fix misparsing of strings
13190         with magic comments embedded in them.
13191         (verilog-read-auto-template):
13192         Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
13193         Reported by Brad Dobbie.
13194         (verilog-read-auto-template):
13195         Fix 'verilog-auto-inst-template-numbers' with comments.
13196         Reported by Brad Dobbie.
13197         (verilog-auto-inst, verilog-auto-inst-param)
13198         (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
13199         merge conflicts with AUTOINST, bug358.  Reported by Brad Dobbie.
13200         (verilog-auto-inst-template-numbers): Add 'lhs' policy for
13201         debugging templates without merge conflicts, bug357.
13202         Reported by Brad Dobbie.
13203         (verilog-read-auto-template):
13204         Fix verilog-auto-inst-template-numbers with multiple templates.
13205         Reported by Brad Dobbie.
13206         (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
13207         abbrevs so user won't be asked to save.
13208         (verilog-read-auto-lisp-present): Fix to start at beginning of
13209         buffer in case called outside of verilog-auto.
13210         (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
13211         to "X-2".  Reported by Matthew Myers.
13212         (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
13213         all inputs from module templates.  Reported by Leith Johnson.
13214         (verilog-module-inside-filename-p): Fix locating programs as with
13215         modules.
13216         (verilog-auto-inst-port): Fix vl-width expressions when using
13217         verilog-auto-inst-param-value, bug331.  Reported by Julian Gorfajn.
13218         (verilog-decls-get-regs, verilog-decls-get-signals,
13219         verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
13220         verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
13221         verilog-read-decls): Combine reg and wire structures into one var
13222         structure to represent SystemVerilog concepts.
13223         (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
13224         (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
13225         (verilog-auto-wire-type, verilog-insert-definition):
13226         Add verilog-auto-wire-type and AUTOLOGIC to support using
13227         SystemVerilog "logic" keyword instead of "wire"/"reg".
13228         (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
13229         to declares outputs that also have assignments (presumably in an
13230         ifdef or generate if so there's not a driver conflict).
13231         Reported by Matthew Myers.
13232         (verilog-auto-declare-nettype, verilog-insert-definition):
13233         Add verilog-auto-declare-nettype to fix declarations using
13234         `default_nettype none.  Reported by Julian Gorfajn.
13235         (verilog-read-always-signals-recurse, verilog-read-decls)
13236         (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
13237         malformed end statement, bug325.  Reported by Joshua Wise and
13238         Andrew Drake.
13239         (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
13240         (verilog-inst-comment-re): Fix not deleting Interfaced comment
13241         when expanding .* in interfaces, bug320.
13242         Reported by Pierre-David Pfister.
13243         (verilog-read-module-name): Fix import statements between module
13244         name and open parenthesis, bug317.
13245         Reported by Pierre-David Pfister.
13246         (verilog-simplify-range-expression): Fix simplification of
13247         multiplications inside AUTOWIRE connections, bug303.
13248         (verilog-auto-inst-port): Support parameter expansion in
13249         multidimensional arrays.
13250         (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
13251         after "assert property".  Reported by Julian Gorfajn.
13252         (verilog-simplify-range-expression): Fix "couldn't merge" errors
13253         with multiplication, bug303.
13254         (verilog-read-decls): Fix parsing of unsigned data types, bug302.
13255         Reported by Jan Frode Lonnum.
13257 2011-11-30  Juanma Barranquero  <lekktu@gmail.com>
13259         * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
13260         (hfy-shell-file-name, hfy-shell):
13261         * international/fontset.el (x-decompose-font-name): Fix typos.
13263 2011-11-29  Ken Brown  <kbrown@cornell.edu>
13265         * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
13266         (gdb-version): Remove defvar.
13267         (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
13268         (gdb-gud-context-command, gdb-non-stop-handler)
13269         (gdb-current-context-command, gdb-stopped): Use it.
13270         (gdb-init-1): Enable pretty printing here.
13271         (gdb-non-stop-handler): Don't enable pretty-printing here.
13272         Check to see if the target supports non-stop mode; if not, turn off
13273         non-stop mode.  Use the following.
13274         (gdb-check-target-async): New defun.
13275         (gud-watch, gdb-stopped): Fix whitespace.
13276         (gdb-get-source-file): Don't try to display the source file if
13277         `gdb-main-file' is nil.
13279 2011-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
13281         * align.el: Try to generate fewer markers (bug#10047).
13282         (align--set-marker): New macro.
13283         (align-region): Use it.
13285 2011-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
13287         * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
13289 2011-11-29  Chong Yidong  <cyd@gnu.org>
13291         * indent.el (indent-for-tab-command, indent-according-to-mode):
13292         Doc fix.
13293         (indent-region): Doc fix.  Switch nested ifs to equivalent cond.
13295 2011-11-29  Michael Albinus  <michael.albinus@gmx.de>
13297         * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
13298         aware of remote file names.  (Bug#10124)
13300 2011-11-29  Chong Yidong  <cyd@gnu.org>
13302         * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
13304 2011-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
13306         * files.el (find-file): Don't use force-same-window (bug#10144).
13307         * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
13308         use pop-to-buffer if the selected window can't be used.
13309         (pop-to-buffer-same-window): Use display-buffer--same-window-action.
13311 2011-11-28  Eli Zaretskii  <eliz@gnu.org>
13313         * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
13314         special-mode-map.
13316 2011-11-28  Chong Yidong  <cyd@gnu.org>
13318         * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
13320 2011-11-27  Nick Roberts  <nickrob@snap.net.nz>
13322         * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
13323           gdb-get-source-file-list on gdb-create-source-file-list.
13325 2011-11-26  Eli Zaretskii  <eliz@gnu.org>
13327         * whitespace.el (whitespace-newline): Use a different foreground
13328         color for 16-color light-background displays.
13330 2011-11-24  Chong Yidong  <cyd@gnu.org>
13332         * window.el (display-buffer--special-action): Doc fix.
13334 2011-11-25  Juanma Barranquero  <lekktu@gmail.com>
13336         * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
13337         (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
13338         (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
13339         (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
13340         (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
13341         (avl-tree-stack-first):
13342         * emacs-lisp/cconv.el (cconv--analyse-use):
13343         * net/gnutls.el (gnutls-negotiate): Fix typos.
13345 2011-11-24  Glenn Morris  <rgm@gnu.org>
13347         * lpr.el (lpr-windows-system, lpr-lp-system):
13348         * mail/binhex.el (binhex-begin-line):
13349         * progmodes/grep.el (grep-history, grep-find-history):
13350         * textmodes/flyspell.el:
13351         * vc/pcvs-defs.el (cvs-global-menu):
13352         * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
13353         * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
13354         * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
13356         * net/tls.el: Fix case of "GnuTLS".
13358         * paths.el (rmail-file-name): Format doc-string for make-docfile.
13360         * version.el (emacs-build-system): Give it a doc-string.
13362 2011-11-24  Juri Linkov  <juri@jurta.org>
13364         * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
13366 2011-11-24  Glenn Morris  <rgm@gnu.org>
13368         * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
13369         if called on a non-mime message just toggle the headers.  (Bug#8006)
13371 2011-11-24  Juanma Barranquero  <lekktu@gmail.com>
13373         * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
13374         (allout-lead-with-comment-string, allout-structure-deleted-hook)
13375         (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
13376         (allout-rebullet-heading, allout-open-sibtopic)
13377         (allout-toggle-current-subtree-encryption)
13378         (allout-toggle-subtree-encryption, allout-encrypt-string)
13379         (allout-next-topic-pending-encryption, allout-adjust-file-variable)
13380         (allout-distinctive-bullets-string, allout-auto-activation):
13381         * window.el (window-normalize-buffer-to-display):
13382         * progmodes/verilog-mode.el (verilog-batch-indent):
13383         * textmodes/bibtex.el (bibtex-field-braces-opt)
13384         (bibtex-field-strings-opt):
13385         * vc/cvs-status.el (cvs-tree-merge):
13386         Fix typos.
13388 2011-11-23  Michael Albinus  <michael.albinus@gmx.de>
13390         * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
13391         `non-essential' to t, in order to avoid remote connections.
13393 2011-11-23  Eli Zaretskii  <eliz@gnu.org>
13395         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
13396         On MS-DOS and MS-Windows, compare with loaddefs.el
13397         case-insensitively.
13399 2011-11-23  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
13401         * mail/unrmail.el (unrmail): Always add blank line.  (Bug#7743)
13403 2011-11-23  Glenn Morris  <rgm@gnu.org>
13405         * paths.el (rmail-file-name): Reformat the doc-string so that it
13406         is picked up.
13408         * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
13409         (rmail-auto-file): Ignore case in the "special" field names,
13410         as mail-fetch-field does for all others.
13412         * mail/rmail.el (rmail-forward):
13413         * mail/rmailkwd.el (rmail-set-label):
13414         * mail/rmailout.el (rmail-output, rmail-output-as-seen)
13415         (rmail-output-body-to-file): Give error if no message.  (Bug#10082)
13417         * mail/rmail.el (rmail-current-message): Doc fix.
13419         * mail/rmail.el (rmail-message-filter): Mark as obsolete.  (Bug#2624)
13421 2011-11-22  Stefan Monnier  <monnier@iro.umontreal.ca>
13423         * server.el (server-eval-and-print): Allow C-g (bug#6585).
13425 2011-11-22  Glenn Morris  <rgm@gnu.org>
13427         * mail/rmailmm.el (test-rmail-mime-handler)
13428         (test-rmail-mime-bulk-handler)
13429         (test-rmail-mime-multipart-handler): Move tests to test/ directory.
13431 2011-11-21  Juri Linkov  <juri@jurta.org>
13433         * calc/calc.el (calc-read-key-sequence):
13434         Let-bind `input-method-function' to nil.  (Bug#10018)
13436 2011-11-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13438         * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
13439         Tell the caller that the next line needs recomputation, even
13440         though it doesn't start a sexp (bug#10094).
13442 2011-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
13444         * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
13446 2011-11-20  Stefan Monnier  <monnier@iro.umontreal.ca>
13448         * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
13449         Use force-same-window.
13451 2011-11-20  Juanma Barranquero  <lekktu@gmail.com>
13453         * descr-text.el (describe-char-unicode-data):
13454         * json.el (json-string-escape):
13455         * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
13456         (Footnote-unicode, Footnote-style-p):
13457         * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
13459 2011-11-20  Chong Yidong  <cyd@gnu.org>
13461         * window.el (replace-buffer-in-windows): Restore interactive spec.
13463 2011-11-20  Stefan Monnier  <monnier@iro.umontreal.ca>
13465         * electric.el (electric-indent-mode): Fix last change (too optimistic).
13467         * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
13468         (byte-compile-global-not-obsolete-vars): New var.
13469         (byte-compile-check-variable, byte-compile-make-obsolete-variable):
13470         Use it.
13471         (byte-compile-warn-obsolete): Align text with the one in *Help*.
13473 2011-11-20  Juanma Barranquero  <lekktu@gmail.com>
13475         * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
13476         * progmodes/pascal.el (electric-pascal-equal):
13477         * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
13478         * xml.el (xml-substitute-special): Fix typos.
13480 2011-11-20  Glenn Morris  <rgm@gnu.org>
13482         * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
13483         (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
13484         Doc fixes.
13485         (rmail-decode-mime-charset): Mark as obsolete.
13487         * mail/rmailsum.el (rmail-message-regexp-p-1):
13488         * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
13489         Before using mime functions, check they are set.  (Bug#10077)
13491 2011-11-19  Juri Linkov  <juri@jurta.org>
13493         * info.el (Info-finder-find-node): Use `package--builtins' instead
13494         of `package-alist'.  Use node names formed by the pattern "Keyword "
13495         and the keyword name.
13497 2011-11-19  Andreas Schwab  <schwab@linux-m68k.org>
13499         * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
13501 2011-11-19  Juri Linkov  <juri@jurta.org>
13503         * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
13504         that calls `revert-buffer' on all Info buffers.  (Bug#9915)
13505         (Info-revert-find-node): Remove let-bindings `old-buffer-name',
13506         `old-history', `old-history-forward'.  Add let-binding
13507         `window-selected'.  Remove calls to `kill-buffer',
13508         `switch-to-buffer' and `Info-mode'.  Set `Info-current-file' to nil
13509         before calling `Info-find-node', so `Info-find-node-2' will reread
13510         the Info file.  Restore window positions only when `window-selected'
13511         is non-nil.
13513 2011-11-19  Juri Linkov  <juri@jurta.org>
13515         * isearch.el (isearch-lazy-highlight-new-loop):
13516         Remove condition `(not isearch-error)'.  (Bug#9918)
13518         * misearch.el (multi-isearch-search-fun): Add condition
13519         `(not bound)' to ignore lazy-highlighting search.
13520         Add the search-failed message "end of multi" when the end of
13521         multi-sequence is reached.  Uncapitalize the search-failed
13522         message "Repeat for next buffer".
13524         * info.el (Info-search): Add the search-failed message
13525         "end of the manual" when the end of the manual is reached
13526         in Isearch mode.
13528 2011-11-19  Juri Linkov  <juri@jurta.org>
13530         * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
13531         Use non-destructive `remove' instead of `delete' because
13532         `Info-history-list' stored to `Info-isearch-initial-history-list' in
13533         `Info-isearch-start' might need to be restored in `Info-isearch-end'.
13535 2011-11-19  Juri Linkov  <juri@jurta.org>
13537         * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
13538         to nil instead of binding `search-ring' and `regexp-search-ring'.
13539         (Bug#9185)
13541 2011-11-19  Eli Zaretskii  <eliz@gnu.org>
13543         * simple.el (line-move): Force movement by logical lines for any
13544         hscrolled window, not only when auto-hscroll-mode is on.
13545         (line-move-visual): Update doc string to that effect.  (Bug#10076)
13547 2011-11-19  Andreas Schwab  <schwab@linux-m68k.org>
13549         * language/european.el (macintosh): Define as alias for mac-roman.
13551 2011-11-19  Eli Zaretskii  <eliz@gnu.org>
13553         * mail/rmailmm.el (rmail-mime-display-header)
13554         (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
13555         (rmail-mime-entity-segment, rmail-mime-toggle-raw)
13556         (rmail-mime-toggle-hidden, rmail-mime-insert-text)
13557         (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
13558         (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
13559         of a raw aref.
13560         (rmail-mime-entity-segment): To get past the tagline, move forward
13561         2 more lines, to account for the 2 empty lines that precede and
13562         follow the line with the buttons.
13563         (rmail-mime-update-tagline): Move one more line, to get past the
13564         empty line that follows the buttons in the tagline.  (Bug#9520)
13566 2011-11-19  Martin Rudalics  <rudalics@gmx.at>
13568         * window.el (window-max-delta-1, window-min-delta-1)
13569         (window-min-size-1, window-state-get-1, window-state-put-1)
13570         (window-state-put-2): Use "window--" prefix.
13572 2011-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
13574         * emacs-lisp/smie.el: Improve warnings and conflict detection.
13575         (smie-warning-count): New var.
13576         (smie-set-prec2tab): Use it.
13577         (smie-bnf->prec2): Improve warnings.  Add docstring.
13578         (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
13579         (smie-bnf--set-class): New function.
13580         (smie-bnf--classify): Rename from smie-bnf-classify.  Rewrite to fix
13581         corner case.
13583         * progmodes/compile.el: Obey compilation-first-column in dest buffer.
13584         (compilation-error-properties, compilation-move-to-column):
13585         Handle compilation-first-column while in the target buffer.
13587         * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
13588         Don't hardcode point-min==1.
13590         * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
13591         (eshell-rewrite-for-command): Remove workaround.
13592         (eshell-do-pipelines, eshell-do-pipelines-synchronously)
13593         (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
13594         * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
13596         * files-x.el (modify-file-local-variable): Obey commenting conventions.
13598 2011-11-17  Glenn Morris  <rgm@gnu.org>
13600         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
13601         Ignore buffer-local generated-autoload-file if it is the same
13602         as the global value.  (Bug#10049)
13604 2011-11-17  Juanma Barranquero  <lekktu@gmail.com>
13606         * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
13607         (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
13608         (reftex-toc-previous-heading, reftex-toc-max-level)
13609         (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
13610         (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
13611         (reftex-toc-do-promote, reftex-toc-promote-prepare)
13612         (reftex-toc-promote-action, reftex-toc-extract-section-number)
13613         (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
13614         (reftex-toc-rename-label, reftex-toc-visit-location)
13615         (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
13616         (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
13617         (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
13618         leaving "*toc*" only for references to the buffer.
13620 2011-11-17  Martin Rudalics  <rudalics@gmx.at>
13622         * window.el (window-resize, delete-window, split-window):
13623         Replace window-splits by window-combination-resize.
13624         * cus-start.el (window-splits): Replace by window-combination-resize.
13626 2011-11-17  Glenn Morris  <rgm@gnu.org>
13628         * progmodes/sh-script.el (sh-font-lock-keywords-var):
13629         Make bash entry derive from sh entry, not shell entry.
13631 2011-11-16  Michael Albinus  <michael.albinus@gmx.de>
13633         * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
13634         local file name.
13636 2011-11-16  Juanma Barranquero  <lekktu@gmail.com>
13638         * menu-bar.el (menu-bar-file-menu):
13639         * printing.el (pr-ps-utility):
13640         * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
13641         (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
13642         (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
13643         (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
13644         (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
13645         (icalendar--convert-cyclic-to-ical)
13646         (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
13647         (icalendar--convert-ical-to-diary)
13648         (icalendar--convert-recurring-to-diary)
13649         (icalendar--convert-non-recurring-all-day-to-diary)
13650         (icalendar-import-format-sample):
13651         * progmodes/idlw-shell.el (idlwave-shell-mode):
13652         * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
13653         (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
13654         (vhdl-ps-print-init): Fix typos.
13656 2011-11-16  Ken Manheimer  <ken.manheimer@gmail.com>
13658         * allout.el, allout-widgets.el (file metadata): Attribute copyright to
13659         FSF and collapse date sequence, obscure author/maintainer email address
13660         better, remove extra version line, track relocation of author's webpage.
13662         * progmodes/python.el (python-pdbtrack-input-prompt)
13663         (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
13664         regular python pdb prompts.  Adjustments shamelessly taken exactly as
13665         suggested in EmacsWiki page (tiny change):
13666         http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
13668 2011-11-16  Juanma Barranquero  <lekktu@gmail.com>
13670         * expand.el (expand-pos, expand-index, expand-point):
13671         Remove redundant info from docstring.
13672         (expand-add-abbrevs): Doc fix.
13673         (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
13674         (expand-sample-perl-mode-expand-list): Fix typos.
13676         * net/dbus.el (dbus-event-member-name):
13677         * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
13678         * term/pc-win.el (msdos-create-frame-with-faces):
13679         * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
13681 2011-11-16  Martin Rudalics  <rudalics@gmx.at>
13683         * window.el (split-window, window-state-get-1)
13684         (window-state-put-1, window-state-put-2): Rename occurrences of
13685         window-nest to window-combination-limit.
13686         * cus-start.el (window-nest): Rename to window-combination-limit.
13688 2011-11-16  Chong Yidong  <cyd@gnu.org>
13690         * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
13691         regexp (Bug#10033).
13693 2011-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
13695         * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
13696         `completing-read' will remove *Completions* and will preserve
13697         current-buffer for us.
13698         (tmm-add-prompt): Users of *Completions* will always (re)set its
13699         major mode.
13700         (tmm-old-comp-map): Remove.
13702 2011-11-16  Glenn Morris  <rgm@gnu.org>
13704         * mail/rmailedit.el: Require rmailmm when compiling.
13705         (rmail-old-mime-state): New declaration.
13706         (rmail-edit-current-message): If editing a mime message,
13707         edit the "raw" message from the mbox buffer.
13708         (rmail-cease-edit): Handle mime messages.  (Bug#9840)
13710 2011-11-15  Glenn Morris  <rgm@gnu.org>
13712         * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
13713         which wasn't being used.  Add optional arg to force given state.
13714         (rmail-mime): Add optional arg to force given state.
13716 2011-11-15  Juanma Barranquero  <lekktu@gmail.com>
13718         * allout.el (allout-encryption-plaintext-sanitization-regexps):
13719         * frame.el (display-mm-dimensions-alist):
13720         * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
13721         (outline-move-subtree-down):
13722         * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
13723         (newsticker--treeview-do-get-node):
13724         * net/quickurl.el (quickurl-list-buffer-name):
13725         * progmodes/dcl-mode.el (dcl-mode):
13726         * progmodes/gdb-mi.el (gdb-mapcar*):
13727         * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
13729 2011-11-15  Glenn Morris  <rgm@gnu.org>
13731         * mail/rmail.el (rmail-file-coding-system): It's only ever used
13732         in a boolean sense, so just make it a boolean, and fix the doc.
13733         (rmail-show-mime-function, rmail-mime-feature)
13734         (rmail-require-mime-maybe): Doc fixes.
13735         (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
13737         * mail/rmailmm.el (rmail-show-mime): Doc fix.
13739 2011-11-15  Juanma Barranquero  <lekktu@gmail.com>
13741         * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
13742         (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
13743         (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
13744         (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
13746 2011-11-15  Glenn Morris  <rgm@gnu.org>
13748         * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
13749         (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
13750         (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
13751         (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
13752         (rmail-mime, rmail-show-mime): Doc fixes.
13754         * term/ns-win.el (mode-line-frame-identification):
13755         Leave it alone.  (Bug#10051)
13757         * simple.el (mark-whole-buffer): Doc fix.  (Bug#10023)
13759         * mail/rmailout.el (rmail-output-to-rmail-buffer):
13760         Handle empty buffers.  (Bug#9978)
13762 2011-11-14  Juanma Barranquero  <lekktu@gmail.com>
13764         * international/mule.el (define-charset):
13765         * mail/rmailmm.el (rmail-mime-find-header-encoding):
13766         * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
13767         * progmodes/verilog-mode.el (verilog-backward-token):
13768         * textmodes/ispell.el (lookup-words):
13769         * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
13771 2011-11-14  Glenn Morris  <rgm@gnu.org>
13773         * progmodes/executable.el
13774         (executable-make-buffer-file-executable-if-script-p):
13775         Handle file-modes returning nil.
13777         * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
13778         message - not necessary, and causes problems.  (Bug#9831)
13780         * mail/rmailsum.el (rmail-new-summary): Preserve message number.
13782         * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
13784         * mail/rmailsum.el (rmail-summary, rmail-new-summary)
13785         (rmail-new-summary-1): Allow empty summaries.  (Bug#9964)
13786         (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
13788 2011-11-12  Martin Rudalics  <rudalics@gmx.at>
13790         * window.el (window-resize, delete-window): Use window-splits
13791         variable instead of function.
13792         (window-state-get-1, window-state-put-2, window-state-put):
13793         Don't deal with windows' splits status.
13795 2011-11-12  Glenn Morris  <rgm@gnu.org>
13797         * apropos.el (apropos-do-all, apropos-library, apropos-value)
13798         (apropos-documentation): Doc fixes.
13800 2011-11-11  Juanma Barranquero  <lekktu@gmail.com>
13802         * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
13803         * textmodes/sgml-mode.el (html-tag-help): Fix typos.
13805 2011-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
13807         * electric.el (electric-indent-post-self-insert-function): Make it
13808         possible for a char to only indent in some circumstances.
13809         (electric-indent-mode): Simplify.
13811 2011-11-11  Martin Rudalics  <rudalics@gmx.at>
13813         * window.el (windows-with-parameter): Remove unused function.
13814         (windows-at-side): Rename to window-at-side-list.
13815         (window-check, window-atom-check, window-atom-check-1)
13816         (window-side-check, window-size-ignore, window-size-fixed-1)
13817         (window-in-direction-2): Prefix with "window--".
13818         (window-tree-1): Rename to window--subtree, fix doc-string.
13820 2011-11-11  Glenn Morris  <rgm@gnu.org>
13822         * subr.el (eval-after-load): If FILE is already loaded,
13823         evaluate FORM before it gets wrapped in more stuff.  (Bug#10009)
13825 2011-11-10  Glenn Morris  <rgm@gnu.org>
13827         * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
13828         Call svn via vc-svn-command rather than vc-do-command.
13829         (vc-svn-command): Add --non-interactive.  (Bug#9993)
13830         (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
13832         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
13833         Add toggle-read-only.  (Bug#7292)
13834         * files.el (toggle-read-only): Mention that it should only
13835         be used interactively.  (Bug#10006)
13837 2011-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
13839         * progmodes/compile.el (compilation-error-regexp-alist-alist):
13840         Adjust regexp for OCaml warnings.
13842         * electric.el (electric-pair-post-self-insert-function): Let user
13843         turn it off buffer-locally (bug#9932).
13845         * progmodes/python.el (python-beginning-of-statement):
13846         Rewrite (bug#2703).
13848         * progmodes/compile.el: Better handle TABs (bug#9749).
13849         (compilation-internal-error-properties)
13850         (compilation-next-error-function): Obey the target buffer's
13851         compilation-error-screen-columns.
13853 2011-11-09  Juanma Barranquero  <lekktu@gmail.com>
13855         * progmodes/meta-mode.el: Remove obsolete comments.
13856         (meta-right-comment-regexp, meta-ignore-comment-regexp):
13857         Fix typos in docstrings.
13859 2011-11-09  Martin Rudalics  <rudalics@gmx.at>
13861         * window.el (window-size-fixed-p): Rewrite doc-string.
13862         (window-resizable-p): Rename to window--resizable-p.  Update callers.
13863         (window--resizable): New function.  Make all callers of
13864         window-resizable call window--resizable instead.
13865         (window-resizable): Rewrite in terms of window--resizable.
13867 2011-11-08  Glenn Morris  <rgm@gnu.org>
13869         * progmodes/delphi.el (delphi-mode-syntax-table):
13870         Let define-derived-mode define a proper syntax table.  (Bug#9994)
13872 2011-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
13874         * window.el: Stay away from defsubst.
13875         (window-list-no-nils): Remove.
13876         (window-state-get-1, window-state-get): Use backquote instead.
13878 2011-11-08  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
13880         * emacs-lisp/find-func.el (find-function-read):
13881         Fix incorrect use of default argument in `completing-read'.
13883 2011-11-08  Martin Rudalics  <rudalics@gmx.at>
13885         * window.el (display-buffer-function, special-display-function):
13886         Mention display-buffer-record-window but do not mention
13887         help-setup parameter in doc-strings.
13888         (window-min-delta): Fix doc-string typo.
13890 2011-11-08  Chong Yidong  <cyd@gnu.org>
13892         * window.el (window-total-height, window-total-width): Doc fix.
13893         (window-body-size): Move from C.
13894         (window-body-height, window-body-width): Move to C.
13896 2011-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
13898         * window.el: Make special-display like display-buffer-alist (bug#9532).
13899         (display-buffer--special-action): New function, morphed
13900         from display-buffer--special.
13901         (display-buffer): Use it to handle special-display-buffers at higher
13902         priority (just after display-buffer-alist).
13903         (display-buffer-fallback-action, display-buffer--other-frame-action)
13904         (pop-to-buffer-same-window): Remove display-buffer--special.
13906 2011-11-07  Glenn Morris  <rgm@gnu.org>
13908         * calendar/cal-menu.el (cal-menu-set-date-title):
13909         Do nothing if not in a calendar.  (Bug#9976)
13911 2011-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
13913         * files.el (find-file): Always use selected-window.
13915 2011-11-07  Martin Rudalics  <rudalics@gmx.at>
13917         * window.el (window-combinations): Make WINDOW argument
13918         mandatory.  Rewrite doc-string.
13919         (walk-window-subtree, window-atom-check, window-min-delta)
13920         (window-max-delta, window--resize-this-window)
13921         (window--resize-root-window-vertically, window-tree)
13922         (balance-windows, window-state-put): Rewrite doc-strings as to
13923         not mention the term "subwindow".
13924         (window--resize-subwindows-skip-p): Rename to
13925         window--resize-child-windows-skip-p.
13926         (window--resize-subwindows-normal): Rename to
13927         window--resize-child-windows-normal.
13928         (window--resize-subwindows): Rename to
13929         window--resize-child-windows.
13930         (window-or-subwindow-p): Rename to window--in-subtree-p.
13932 2011-11-07  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
13934         * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
13935         Ensure that mbox format messages end in two newlines (Bug#9974).
13937 2011-11-06  Chong Yidong  <cyd@gnu.org>
13939         * window.el (window-combination-p): Function deleted; its
13940         side-effect is not used in any existing code.
13941         (window-combinations, window-combined-p): Call window-*-child
13942         directly.
13944 2011-11-05  Chong Yidong  <cyd@gnu.org>
13946         * window.el (window-valid-p): Rename from window-any-p.
13947         (window-size-ignore, window-state-get): Callers changed.
13948         (window-normalize-window): Rename from window-normalize-any-window.
13949         New arg LIVE-ONLY, replacing window-normalize-live-window.
13950         (window-normalize-live-window): Delete.
13951         (window-combination-p, window-combined-p, window-combinations)
13952         (walk-window-subtree, window-atom-root, window-min-size)
13953         (window-sizable, window-sizable-p, window-size-fixed-p)
13954         (window-min-delta, window-max-delta, window-resizable)
13955         (window-resizable-p, window-full-height-p, window-full-width-p)
13956         (window-current-scroll-bars, window-point-1, set-window-point-1)
13957         (window-at-side-p, window-in-direction, window-resize)
13958         (adjust-window-trailing-edge, maximize-window, minimize-window)
13959         (window-deletable-p, delete-window, delete-other-windows)
13960         (record-window-buffer, unrecord-window-buffer)
13961         (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
13962         (quit-window, split-window, window-state-put)
13963         (set-window-text-height, fit-window-to-buffer)
13964         (shrink-window-if-larger-than-buffer): Callers changed.
13966 2011-11-04  Eli Zaretskii  <eliz@gnu.org>
13968         * mail/rmail.el (rmail-simplified-subject): Decode subject with
13969         rfc2047-decode-string.
13970         (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
13971         warnings.
13973         * window.el (window-body-height, window-body-width): Mention in
13974         the doc string that the return values are in frame's canonical
13975         units.  (Bug#9949)
13977 2011-11-03  Alan Mackenzie  <acm@muc.de>
13979         * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
13980         change in cc-engine.el.
13982 2011-11-02  Stefan Monnier  <monnier@iro.umontreal.ca>
13984         * window.el (switch-to-buffer): Use `force-same-window' interactively.
13986 2011-11-02  Martin Rudalics  <rudalics@gmx.at>
13988         * window.el (quit-window): Call unrecord-window-buffer after
13989         showing another buffer in the window.  (Bug#9937)
13990         (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
13992 2011-11-02  Juanma Barranquero  <lekktu@gmail.com>
13994         * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
13995         Accept status with more than 9 shelves.  (Bug#9935)
13996         Reported by Colin D Bennett <colin@gibibit.com>.
13998 2011-11-01  Martin Rudalics  <rudalics@gmx.at>
14000         * help.el (with-help-window): Don't reference
14001         temp-buffer-show-specifiers in doc-string.
14003 2011-10-31  Andreas Schwab  <schwab@linux-m68k.org>
14005         * subr.el (keymap--menu-item-with-binding): Ignore item if not a
14006         menu-item.
14008 2011-10-30  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
14010         * whitespace.el: New version 13.2.2.
14011         (whitespace-newline-mode): Disable properly.  Reported by Sarah
14012         <EmacsWiki>.
14014 2011-10-30  Ulf Jasper  <ulf.jasper@web.de>
14016         * net/newst-treeview.el: Remove "Time-stamp".
14017         (newsticker--group-manage-orphan-feeds): Do not call
14018         newsticker--treeview-tree-update.
14019         (newsticker-treeview-update, newsticker-treeview):
14020         Call newsticker--treeview-tree-update if necessary.
14022 2011-10-30  Martin Rudalics  <rudalics@gmx.at>
14024         * window.el (window-iso-combination-p, window-iso-combined-p)
14025         (window-iso-combinations): Remove "iso-" infix.
14026         Suggested by Chong Yidong.
14027         (window-min-size-1, window-size-fixed-1, window-min-delta-1)
14028         (window-max-delta-1, window-resize, window--resize-siblings)
14029         (window--resize-this-window, adjust-window-trailing-edge)
14030         (split-window, balance-windows-1)
14031         (shrink-window-if-larger-than-buffer):
14032         * calendar/calendar.el (calendar-generate-window):
14033         * help.el (resize-temp-buffer-window): Adjust callers accordingly.
14035 2011-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
14037         * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
14038         in place (bug#9907).
14039         (eshell-subcommand-arg-values, eshell-rewrite-named-command)
14040         (eshell-rewrite-if-command, eshell-rewrite-for-command)
14041         (eshell-structure-basic-command, eshell-rewrite-while-command)
14042         (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
14043         (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
14044         (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
14045         (eshell-do-pipelines-synchronously, eshell-eval-command):
14046         Use backquotes and prefer setq to set.
14047         (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
14048         (eshell-macrop): Use functionp.
14049         (eshell-do-eval): Handle multiple expressions in `while' body.
14051 2011-10-30  Chong Yidong  <cyd@gnu.org>
14053         * emulation/viper-cmd.el (viper-exec-change): Use push-mark
14054         instead of set-mark (Bug#9810).
14056 2011-10-30  Chong Yidong  <cyd@gnu.org>
14058         * window.el (split-window-below, split-window-right): Rename from
14059         split-window-above-each-other and split-window-side-by-side
14060         respectively.  All callers changed.
14061         (split-window-sensibly, split-window-sensibly): Use them.
14062         (split-window-keep-point): Doc fix.
14064         * isearch.el: Add isearch-scroll property to split-window-below
14065         and split-window-right.
14067         * follow.el (follow-mode):
14068         * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
14069         * progmodes/ada-xref.el (ada-gdb-application):
14070         * emulation/vip.el (vip-buffer-in-two-windows):
14071         * image-dired.el (image-dired-dired-with-window-configuration):
14072         * dired-x.el (dired-do-find-marked-files):
14073         * dired.el (dired-pop-to-buffer):
14074         * bs.el (bs--show-with-configuration):
14075         * vc/emerge.el (emerge-setup-windows):
14076         * textmodes/two-column.el (2C-two-columns):
14077         * textmodes/reftex-toc.el (reftex-toc):
14078         * progmodes/gdb-mi.el (gdb-setup-windows):
14079         * progmodes/fortran.el (fortran-window-create):
14080         * net/newst-treeview.el (newsticker--treeview-window-init):
14081         * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
14082         * emulation/tpu-edt.el (tpu-gold-map):
14083         * emulation/crisp.el (crisp-mode-map):
14084         * calendar/calendar.el (calendar-basic-setup): Callers changed.
14086 2011-10-29  Chong Yidong  <cyd@gnu.org>
14088         * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
14090         * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
14092         * textmodes/flyspell.el (flyspell-word): Fix char offset for
14093         forged Ispell output (Bug#7904).
14095         * emacs-lisp/package.el (package-refresh-contents): Add autoload.
14097 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
14099         * doc-view.el: Avoid ugly errors about not finding nil.
14100         (doc-view-ghostscript-program, doc-view-dvipdfm-program)
14101         (doc-view-dvipdf-program, doc-view-unoconv-program)
14102         (doc-view-ps2pdf-program, doc-view-pdftotext-program):
14103         Avoid nil or absolute file name as default value.
14104         (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
14106 2011-10-28  Alan Mackenzie  <acm@muc.de>
14108         * progmodes/cc-defs.el (c-version): -> 5.32.2.
14110 2011-10-28  Alan Mackenzie  <acm@muc.de>
14112         Amend the handling of c-beginning/end-of-defun in nested declaration
14113         scopes.
14115         * progmodes/cc-vars.el (c-defun-tactic): Move here from
14116         cc-langs.el.  Change it to a defcustom.
14118         * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
14119         cc-vars.el.
14121         * progmodes/cc-engine.el (c-beginning-of-statement-1):
14122         Prevent "class foo : bar" being spuriously recognized as a label.
14124         * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
14125         Add parameter `inclusive' (to include enclosing braces in the region).
14126         (c-widen-to-enclosing-decl-scope): New function.
14127         (c-while-widening-to-decl-block): New macro.
14128         (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
14129         outward for defun boundaries, and correspondingly change symbol
14130         `respect-enclosure' to `go-outward'.
14131         (c-declaration-limits): Change algorithm to report only the "innermost"
14132         defun's boundaries.
14134 2011-10-28  Deniz Dogan  <deniz@dogan.se>
14136         * net/rcirc.el (rcirc-mode): Use hard newlines.
14138 2011-10-28  Alan Mackenzie  <acm@muc.de>
14140         Amend to indent and fontify macros "which include their own semicolon"
14141         correctly, using the "virtual semicolon" mechanism.
14143         * progmodes/cc-defs.el: Update "virtual semicolon" comments.
14145         * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
14146         Recode to scan one line at a time rather than having \n and \r
14147         explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
14148         (c-forward-label): Amend for virtual semicolons.
14149         (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
14151         * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
14152         of the new C macros.
14154         * progmodes/cc-langs.el (c-at-vsemi-p-fn):
14155         (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
14156         (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
14157         (c-opt-cpp-macro-define): Make into a full language variable.
14158         (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
14159         AWK Mode (including \n, \r) removed, no longer needed.
14161         * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
14162         Invoke c-make-macro-with-semi-re.
14164         * progmodes/cc-vars.el (c-macro-with-semi-re):
14165         (c-macro-names-with-semicolon): New variables.
14166         (c-make-macro-with-semi-re): New function.
14168 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
14170         * vc/log-edit.el: Fill empty field rather than adding new one.
14171         (log-edit-add-field): New function.
14172         (log-edit-insert-changelog): Use it.
14174 2011-10-28  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
14176         * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
14178 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
14180         * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
14181         (gdb--check-interpreter): New function.
14182         (gdb): Use it.
14184 2011-10-27  Glenn Morris  <rgm@gnu.org>
14186         * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
14187         (least-positive-float, least-negative-float)
14188         (least-positive-normalized-float, least-negative-normalized-float)
14189         (float-epsilon, float-negative-epsilon):
14190         Remove unnecessary declarations.
14192         * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
14193         * emacs-lisp/cl.el (most-positive-float, most-negative-float)
14194         (least-positive-float, least-negative-float)
14195         (least-positive-normalized-float, least-negative-normalized-float)
14196         (float-epsilon, float-negative-epsilon): Add doc-strings,
14197         based on those in cl.texi.
14199         * files.el (set-visited-file-name): If the major-mode changed,
14200         reload the local variables.  (Bug#9796)
14202 2011-10-27  Chong Yidong  <cyd@gnu.org>
14204         * subr.el (change-major-mode-after-body-hook): New hook.
14205         (run-mode-hooks): Run it.
14207         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14208         Use change-major-mode-before-body-hook.
14210         * simple.el (fundamental-mode):
14211         * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
14212         change introducing fundamental-mode-hook.
14214 2011-10-26  Juanma Barranquero  <lekktu@gmail.com>
14216         * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
14218 2011-10-26  Michael Albinus  <michael.albinus@gmx.de>
14220         * ido.el (ido-file-name-all-completions-1): Do not require
14221         tramp.el explicitly.  (Bug#7583)
14223 2011-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
14225         * progmodes/octave-mod.el:
14226         * progmodes/octave-inf.el: Update maintainer.
14228 2011-10-26  Chong Yidong  <cyd@gnu.org>
14230         * subr.el (with-wrapper-hook): Rewrite doc.
14232 2011-10-25  Michael Albinus  <michael.albinus@gmx.de>
14234         * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
14235         filenames "/method:foo:".  (Bug#9793)
14237 2011-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
14239         * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
14240         (bug#9865).
14242 2011-10-24  Glenn Morris  <rgm@gnu.org>
14244         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.  (Bug#9819)
14246 2011-10-24  Michael Albinus  <michael.albinus@gmx.de>
14248         * notifications.el: Add the requirement of a running D-Bus session
14249         bus to the Commentary.
14251 2011-10-24  Juri Linkov  <juri@jurta.org>
14253         * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
14254         `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
14255         (Bug#9364)
14257 2011-10-24  Juri Linkov  <juri@jurta.org>
14259         * info.el (Info-following-node-name-re): Add newline to the list
14260         of allowed characters for leading space.  (Bug#9824)
14262 2011-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
14264         * progmodes/octave-inf.el (inferior-octave-mode-map):
14265         Fix C-c C-h binding.
14266         * progmodes/octave-mod.el (octave-help): Remove.
14268 2011-10-23  Michael Albinus  <michael.albinus@gmx.de>
14270         Sync with Tramp 2.2.3.
14272         * net/tramp-cache.el (top): Pacify byte-compiler using
14273         `init-file-user' and `site-run-file'.
14275         * net/trampver.el: Update release number.
14277 2011-10-23  Chong Yidong  <cyd@gnu.org>
14279         * files.el (toggle-read-only): Remove obsolete comment about
14280         version control.
14282         * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
14283         for toggle-read-only.  Note that this hasn't called vc-next-action
14284         since 2008-05-02, though it wasn't documented at the time.
14286         * vc/ediff-init.el (ediff-toggle-read-only-function):
14287         Use toggle-read-only.
14289 2011-10-22  Alan Mackenzie  <bug-cc-mode@gnu.org>
14291         Fix bug #9560, sporadic wrong indentation; improve instrumentation
14292         of c-parse-state.
14294         * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
14295         correct faulty logical expression.
14296         (c-parse-state-state, c-record-parse-state-state):
14297         (c-replay-parse-state-state): New defvar/defuns.
14298         (c-debug-parse-state): Use new functions.
14300 2011-10-22  Martin Rudalics  <rudalics@gmx.at>
14302         * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
14303         last fix.  Use window-in-direction correctly.
14305 2011-10-21  Chong Yidong  <cyd@gnu.org>
14307         * progmodes/idlwave.el (idlwave-mode):
14308         * progmodes/vera-mode.el (vera-mode): No need to set
14309         require-final-newline; that's done in prog-mode.
14310         Suggested by Stefan Monnier.
14312 2011-10-21  Martin Rudalics  <rudalics@gmx.at>
14314         * mouse.el (mouse-drag-window-above)
14315         (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
14316         (mouse-drag-mode-line-1, mouse-drag-header-line)
14317         (mouse-drag-vertical-line-rightward-window): Remove.
14318         (mouse-drag-line): New function.
14319         (mouse-drag-mode-line, mouse-drag-header-line)
14320         (mouse-drag-vertical-line): Call mouse-drag-line.
14321         * window.el (window-at-side-p, windows-at-side): New functions.
14323 2011-10-21  Ulrich Mueller  <ulm@gentoo.org>
14325         * tar-mode.el (tar-grind-file-mode):
14326         Fix handling of setuid/setgid, handle sticky bit.  (Bug#9817)
14328 2011-10-21  Chong Yidong  <cyd@gnu.org>
14330         * progmodes/idlwave.el (idlwave-mode):
14331         * progmodes/vera-mode.el (vera-mode):
14332         Use mode-require-final-newline.
14334 2011-10-20  Glenn Morris  <rgm@gnu.org>
14336         * vc/vc.el (vc-next-action): Handle removed directories.  (Bug#9781)
14338 2011-10-20  Christoph Scholtes  <cschol2112@googlemail.com>
14340         * emulation/cua-base.el (cua-set-mark): Fix case of string.
14342 2011-10-20  Chong Yidong  <cyd@gnu.org>
14344         * emulation/cua-base.el (cua-mode):
14345         * mail/footnote.el (footnote-mode):
14346         * mail/mailabbrev.el (mail-abbrevs-mode):
14347         * net/xesam.el (xesam-minor-mode):
14348         * progmodes/bug-reference.el (bug-reference-mode):
14349         * progmodes/cap-words.el (capitalized-words-mode):
14350         * progmodes/compile.el (compilation-minor-mode)
14351         (compilation-shell-minor-mode):
14352         * progmodes/gud.el (gud-tooltip-mode):
14353         * progmodes/hideif.el (hide-ifdef-mode):
14354         * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
14355         * progmodes/subword.el (subword-mode):
14356         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
14357         * progmodes/which-func.el (which-function-mode):
14358         * term/tvi970.el (tvi970-set-keypad-mode):
14359         * term/vt100.el (vt100-wide-mode):
14360         * textmodes/flyspell.el (flyspell-mode):
14361         * textmodes/ispell.el (ispell-minor-mode):
14362         * textmodes/nroff-mode.el (nroff-electric-mode):
14363         * textmodes/paragraphs.el (use-hard-newlines):
14364         * textmodes/refill.el (refill-mode):
14365         * textmodes/reftex.el (reftex-mode):
14366         * textmodes/rst.el (rst-minor-mode):
14367         * textmodes/sgml-mode.el (html-autoview-mode)
14368         (sgml-electric-tag-pair-mode):
14369         * textmodes/tex-mode.el (latex-electric-env-pair-mode):
14370         * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
14371         * emulation/crisp.el (crisp-mode):
14372         * emacs-lisp/eldoc.el (eldoc-mode):
14373         * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
14374         minor mode behavior.
14376 2011-10-19  Juri Linkov  <juri@jurta.org>
14378         * descr-text.el (describe-char): Add #x2010 and #x2011 to
14379         the list of hard-coded chars with escape-glyph face.
14381 2011-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
14383         * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
14385 2011-10-19  Michael Albinus  <michael.albinus@gmx.de>
14387         * net/tramp.el (tramp-connectable-p): Make a stronger check on a
14388         running process.
14390 2011-10-19  Glenn Morris  <rgm@gnu.org>
14392         * vc/vc-bzr.el (vc-bzr-after-dir-status):
14393         Ignore ignored files.  (Bug#9726)
14395 2011-10-19  Chong Yidong  <cyd@gnu.org>
14397         Doc fix for minor modes, stating that an omitted argument enables
14398         the mode unconditionally when called from Lisp.
14400         * abbrev.el (abbrev-mode):
14401         * allout.el (allout-mode):
14402         * autoinsert.el (auto-insert-mode):
14403         * autoarg.el (autoarg-mode, autoarg-kp-mode):
14404         * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
14405         (global-auto-revert-mode):
14406         * battery.el (display-battery-mode):
14407         * composite.el (global-auto-composition-mode)
14408         (auto-composition-mode):
14409         * delsel.el (delete-selection-mode):
14410         * desktop.el (desktop-save-mode):
14411         * dired-x.el (dired-omit-mode):
14412         * dirtrack.el (dirtrack-mode):
14413         * doc-view.el (doc-view-minor-mode):
14414         * double.el (double-mode):
14415         * electric.el (electric-indent-mode, electric-pair-mode):
14416         * emacs-lock.el (emacs-lock-mode):
14417         * epa-hook.el (auto-encryption-mode):
14418         * follow.el (follow-mode):
14419         * font-core.el (font-lock-mode):
14420         * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
14421         * help.el (temp-buffer-resize-mode):
14422         * hilit-chg.el (highlight-changes-mode)
14423         (highlight-changes-visible-mode):
14424         * hi-lock.el (hi-lock-mode):
14425         * hl-line.el (hl-line-mode, global-hl-line-mode):
14426         * icomplete.el (icomplete-mode):
14427         * ido.el (ido-everywhere):
14428         * image-file.el (auto-image-file-mode):
14429         * image-mode.el (image-minor-mode):
14430         * iswitchb.el (iswitchb-mode):
14431         * jka-cmpr-hook.el (auto-compression-mode):
14432         * linum.el (linum-mode):
14433         * longlines.el (longlines-mode):
14434         * master.el (master-mode):
14435         * mb-depth.el (minibuffer-depth-indicate-mode):
14436         * menu-bar.el (menu-bar-mode):
14437         * minibuf-eldef.el (minibuffer-electric-default-mode):
14438         * mouse-sel.el (mouse-sel-mode):
14439         * msb.el (msb-mode):
14440         * mwheel.el (mouse-wheel-mode):
14441         * outline.el (outline-minor-mode):
14442         * paren.el (show-paren-mode):
14443         * recentf.el (recentf-mode):
14444         * reveal.el (reveal-mode, global-reveal-mode):
14445         * rfn-eshadow.el (file-name-shadow-mode):
14446         * ruler-mode.el (ruler-mode):
14447         * savehist.el (savehist-mode):
14448         * scroll-all.el (scroll-all-mode):
14449         * scroll-bar.el (scroll-bar-mode):
14450         * server.el (server-mode):
14451         * shell.el (shell-dirtrack-mode):
14452         * simple.el (auto-fill-mode, transient-mark-mode)
14453         (visual-line-mode, overwrite-mode, binary-overwrite-mode)
14454         (line-number-mode, column-number-mode, size-indication-mode)
14455         (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
14456         * strokes.el (strokes-mode):
14457         * time.el (display-time-mode):
14458         * t-mouse.el (gpm-mouse-mode):
14459         * tool-bar.el (tool-bar-mode):
14460         * tooltip.el (tooltip-mode):
14461         * type-break.el (type-break-mode-line-message-mode)
14462         (type-break-query-mode):
14463         * view.el (view-mode):
14464         * whitespace.el (whitespace-mode, whitespace-newline-mode)
14465         (global-whitespace-mode, global-whitespace-newline-mode):
14466         * xt-mouse.el (xterm-mouse-mode): Doc fix.
14468         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14469         Fix autogenerated docstring.
14471 2011-10-19  Juri Linkov  <juri@jurta.org>
14473         * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
14474         by checking environment variables "DESKTOP_SESSION" and
14475         "XDG_CURRENT_DESKTOP".  (Bug#9779)
14477 2011-10-19  Juri Linkov  <juri@jurta.org>
14479         * net/browse-url.el (browse-url-browser-function): Add "Chromium".
14480         (browse-url-chromium-program, browse-url-chromium-arguments):
14481         New defcustoms.
14482         (browse-url-default-browser): Check for `browse-url-chromium' and
14483         call `browse-url-chromium-program'.
14484         (browse-url-chromium): New command.  (Bug#9779)
14486 2011-10-18  Juanma Barranquero  <lekktu@gmail.com>
14488         * facemenu.el (list-colors-duplicates): On Windows, detect more
14489         duplicates by assuming that only colors matching "^System" are
14490         special "system colors".  (Bug#9722)
14492 2011-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
14494         * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
14495         to distinguish the author from the committer.
14497 2011-10-18  Michael Albinus  <michael.albinus@gmx.de>
14499         * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
14501 2011-10-18  Jirka Kosek  <jirka@kosek.cz>  (tiny change)
14503         * international/mule.el (sgml-html-meta-auto-coding-function):
14504         Add support for detecting encoding in HTML5 specified only as
14505         <meta charset="UTF-8">.  Implementation just makes http-equiv and
14506         content-type parts from HTML4 encoding string optional.  (Bug#9716)
14508 2011-10-18  Glenn Morris  <rgm@gnu.org>
14510         * vc/vc.el (vc-initial-comment): Mark as obsolete.  (Bug#9745)
14512 2011-10-18  Chong Yidong  <cyd@gnu.org>
14514         * faces.el (cursor): Doc fix.
14516 2011-10-17  Chong Yidong  <cyd@gnu.org>
14518         * font-lock.el (font-lock-maximum-size): Mark as obsolete.
14520 2011-10-17  Ryan Barrett  <emacs@ryanb.org>  (tiny change)
14522         * dirtrack.el (dirtrack): Support shell buffers with path
14523         prefixes, e.g. tramp-based remote shells.  (Bug#9647)
14525 2011-10-17  Teodor Zlatanov  <tzz@lifelogs.com>
14527         * json.el: Bump version to 1.3 and note change in History.
14528         (json-alist-p, json-plist-p): Rewrite to avoid recursion.
14530 2011-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
14532         * comint.el (comint-insert-input, comint-send-input)
14533         (comint-get-old-input-default, comint-backward-matching-input)
14534         (comint-next-prompt): Use nil instead of `input' for field property of
14535         past user input (bug#114).
14537         * minibuffer.el (completion--replace): Inherit surrounding properties
14538         (bug#114).
14539         (minibuffer-complete-and-exit): Use it.
14541         * comint.el (comint--table-subvert): Quote the all-completions output
14542         (bug#9160).
14544 2011-10-17  Martin Rudalics  <rudalics@gmx.at>
14546         * ido.el (ido-default-buffer-method): Remove redundant :type entry.
14548         * menu-bar.el (menu-bar-file-menu): Add entry for making new
14549         window on right of selected.  (Bug#9350) Reword other window
14550         entries and separate them from frame entries.
14552 2011-10-15  Glenn Morris  <rgm@gnu.org>
14554         * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
14555         Doc fixes.
14557 2011-10-15  Chong Yidong  <cyd@stupidchicken.com>
14559         * net/network-stream.el (network-stream-open-starttls):
14560         Improve detection of failure due to lack of TLS support.
14562         * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
14563         putting the input text in front and in bold.
14565 2011-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
14567         * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
14569         * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
14570         empty buffer.
14572         * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
14573         unread-command-events rather than pushing yet-another event.
14575 2011-10-14  Eli Zaretskii  <eliz@gnu.org>
14577         * mail/sendmail.el (sendmail-query-once): Improve the wording of
14578         the explanation of the possible choices.  Make the options passed
14579         to completing-read shorter.
14581 2011-10-13  AgustĂ­n MartĂ­n Domingo  <agustin.martin@hispalinux.es>
14583         * textmodes/flyspell.el (flyspell-large-region): Make sure
14584         extended character mode is used if defined (Bug#1339).
14586 2011-10-13  Eli Zaretskii  <eliz@gnu.org>
14588         * simple.el (what-cursor-position): Fix the display of the
14589         character info for LRE, LRO, RLE, and RLO characters by appending
14590         an invisible PDF.
14592 2011-10-13  Stefan Monnier  <monnier@iro.umontreal.ca>
14594         * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
14595         even in case of error; add debug spec; simplify data flow.
14596         (with-timeout-handler): Remove.
14598 2011-10-12  Michael Albinus  <michael.albinus@gmx.de>
14600         Fix Bug#6019, Bug#9315.
14602         * files.el (set-auto-mode): Call `file-name-sans-versions' for the
14603         complete `buffer-file-name', the local file name part could look
14604         remotely (for example on VMS).
14606         * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
14607         `tramp-run-real-handler'.
14608         (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
14609         already quoted by '"'.
14611         * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
14612         Let `file-name-handler-alist' be nil, the local file name part
14613         could look remotely (for example on VMS).
14615 2011-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
14617         * textmodes/flyspell.el (flyspell-word): Move with-local-quit
14618         from here...
14619         (flyspell-post-command-hook): ...to here.
14621 2011-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
14623         * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
14624         if not needed.
14625         (sendmail-query-once): Remove OS dependencies.  Make it a 3-way choice
14626         using completion.  Protect against "slow" callers.
14627         Remove the "message hack".
14629 2011-10-11  Juri Linkov  <juri@jurta.org>
14631         * isearch.el (isearch-lazy-highlight-word): New variable.
14632         (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
14633         Use it.  (Bug#9727)
14635 2011-10-11  Glenn Morris  <rgm@gnu.org>
14637         * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
14638         like f90-previous-statement does.
14640 2011-10-11  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
14642         * eshell/eshell.el (eshell-command): History should be saved
14643         only in interactive use, to avoid error.
14645 2011-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
14647         * minibuffer.el (completion-file-name-table): Fix last change,
14648         i.e. ignore normal errors but not the other ones.
14650 2011-10-10  Martin Rudalics  <rudalics@gmx.at>
14652         * window.el (special-display-buffer-names)
14653         (special-display-regexps): Remove some remnants of earlier
14654         changes from doc-strings.
14655         (quit-windows-on): New function.
14657         * vc/vc.el (vc-revert, vc-rollback):
14658         * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
14659         instead of deleting windows.  (Bug#4557) (Bug#5310) (Bug#5556)
14660         (Bug#6183) (Bug#7074) (Bug#7447)
14662 2011-10-09  Martin Rudalics  <rudalics@gmx.at>
14664         * window.el (frame-auto-hide-function): Add version tag.
14665         (Bug#9699)
14667 2011-10-09  Michael Albinus  <michael.albinus@gmx.de>
14669         * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
14670         condition.
14672 2011-10-09  Leo Liu  <sdl.web@gmail.com>
14674         * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
14675         (Bug#9701)
14677 2011-10-08  Glenn Morris  <rgm@gnu.org>
14679         * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
14680         before the first code statement zero indent.  (Bug#9690)
14682 2011-10-08  Chong Yidong  <cyd@stupidchicken.com>
14684         * simple.el (count-words-region): Always count in the region.
14685         Report the number of lines and characters too.
14686         (count-words): New command, which counts in the buffer if the
14687         region is inactive, as count-words-region used to.
14688         (count-words--message): New function.  Handle plurals.
14689         (count-lines-region): Make it an alias for count-words-region.
14691         * bindings.el (esc-map): Replace count-lines-region with
14692         count-words-region.
14694 2011-10-08  Martin Rudalics  <rudalics@gmx.at>
14696         * window.el (window--delete): Delete dedicated frame
14697         unconditionally when argument KILL is non-nil.  (Bug#9699)
14698         (switch-to-buffer): Fix doc-string typo.
14700 2011-10-08  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
14702         * eshell/eshell.el (eshell-command): Avoid using hooks.
14704 2011-10-07  Chong Yidong  <cyd@stupidchicken.com>
14706         * bindings.el ([M-left],[M-right]): Bind to left-word and
14707         right-word respectively.
14709 2011-10-07  Glenn Morris  <rgm@gnu.org>
14711         * cus-start.el (debug-on-quit): Fix custom type.
14713 2011-10-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14715         * subr.el (define-key-after): Clarify that the function is not
14716         useful for non-menu keymaps.
14718         * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
14720 2011-10-06  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
14722         * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
14723         in current minibuffer (Fix bug with recursive minibuffers).
14725 2011-10-06  Chong Yidong  <cyd@stupidchicken.com>
14727         * progmodes/gdb-mi.el (gdb): Doc fix.
14729 2011-10-05  Martin Rudalics  <rudalics@gmx.at>
14731         * window.el (frame-auto-hide-function): New option replacing
14732         frame-auto-delete.  Suggested by Stefan Monnier.
14733         (window--delete): Call frame-auto-hide-function instead of
14734         investigating frame-auto-delete.
14735         (window-point-1, set-window-point-1): New functions.
14736         (window-in-direction, record-window-buffer, window-state-get-1)
14737         (display-buffer-record-window): Use window-point-1 instead of
14738         window-point.
14739         (set-window-buffer-start-and-point): Use set-window-point-1.
14741 2011-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
14743         * emacs-lisp/edebug.el: Heed checkdoc recommendations.
14745 2011-10-05  Glenn Morris  <rgm@gnu.org>
14747         * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
14748         (perl-calculate-indent): Suppress scan errors.  (Bug#2205)
14750 2011-10-05  Leo Liu  <sdl.web@gmail.com>
14752         * subr.el (read-char-choice): Fix argument to buffer-live-p which
14753         works with buffer object.
14755 2011-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
14757         * mpc.el (mpc-tool-bar-map): Add labels.
14759 2011-10-04  Glenn Morris  <rgm@gnu.org>
14761         * calendar/holidays.el (calendar-check-holidays): Doc fix.
14763 2011-10-04  Martin Rudalics  <rudalics@gmx.at>
14765         * window.el (window--delete): New function.
14766         (frame-auto-delete): Resuscitate option.
14767         (bury-buffer, replace-buffer-in-windows)
14768         (quit-window): Rewrite using window--delete.
14769         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
14770         Pass display-buffer-mark-dedicated to window--display-buffer-2
14771         (Bug#9639).
14773 2011-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
14775         * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
14776         returns a list (bug#9554).  Add remote file name completion.
14777         * comint.el (comint--table-subvert): Curry and get quote&unquote
14778         functions as arguments.
14779         (comint--complete-file-name-data): Adjust call accordingly.
14780         * pcomplete.el (pcomplete--table-subvert): Remove.
14781         (pcomplete-completions-at-point): Use comint--table-subvert instead.
14783         * minibuffer.el (completion-table-case-fold): Use currying.
14784         (completion--styles-type, completion--cycling-threshold-type):
14785         New constants.
14786         (completion-styles, completion-category-overrides)
14787         (completion-cycle-threshold): Use them.
14788         * pcomplete.el (pcomplete-completions-at-point): Adjust call to
14789         completion-table-case-fold.
14791 2011-10-03  Stephen Berman  <stephen.berman@gmx.net>
14793         * minibuffer.el (completion-category-overrides): Fix type of styles
14794         and add more user friendly tags (bug#9660).
14796 2011-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
14798         * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
14799         (mule-input-method-string): New widget.
14800         (default-input-method, language-info-custom-alist): Use it.
14802 2011-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
14804         * pcomplete.el: Require comint.
14805         (pcomplete--common-suffix): Remove.
14806         (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
14807         (pcomplete--table-subvert): Sync with comint--table-subvert.
14808         (pcomplete--entries): Use comint-completion-file-name-table.
14809         * comint.el (comint-unquote-filename): Simplify.
14810         (comint-completion-file-name-table): New function (bug#9616).
14811         (comint--complete-file-name-data): Use it.
14813         * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
14814         (pcmpl-gnu-tar-buffer): Remove.
14815         (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
14816         around.  Make sure pcomplete-suffix-list is only changed temporarily.
14817         Don't look inside the tar's file if it's too large.
14819 2011-10-01  Chong Yidong  <cyd@stupidchicken.com>
14821         * cus-edit.el (custom-mode-map):
14822         * epa.el (epa-key-list-mode-map):
14823         * man.el (Man-mode-map):
14824         * startup.el (splash-screen-keymap):
14825         * simple.el (special-mode-map): Use scroll-up-command and
14826         scroll-down-command.
14828         * progmodes/idlw-help.el (idlwave-help-mode-map):
14829         * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
14830         * net/newst-plainview.el (newsticker-mode-map):
14831         * emulation/ws-mode.el (wordstar-mode-map):
14832         * emulation/vi.el (vi-com-map):
14833         * calc/calc-graph.el (calc-graph-show-dumb):
14834         * term/sun.el (terminal-init-sun):
14835         * term/ns-win.el (global-map):
14836         * progmodes/grep.el (grep-mode-map):
14837         * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
14838         * mail/rmail.el (rmail-mode-map):
14839         * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
14841         * custom.el (custom-safe-themes, load-theme): Treat value of t for
14842         custom-safe-themes as special.
14844 2011-10-01  Julien Danjou  <julien@danjou.info>
14846         * notifications.el (notifications-notify): Fix docstring.
14848 2011-10-01  Per Starbäck  <per@starback.se>
14850         * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call.  (Bug#9643)
14852 2011-09-30  Martin Rudalics  <rudalics@gmx.at>
14854         * startup.el (command-line-1): Fix last fix by inserting
14855         initial-scratch-message into *scratch* before displaying it.
14856         (Bug#9605) and (Bug#9636)
14858 2011-09-29  Eli Zaretskii  <eliz@gnu.org>
14860         * simple.el (line-move): If auto-hscroll-mode is disabled and the
14861         window is hscrolled, move by logical lines.  (Bug#9607)
14862         (line-move-visual): Update the doc string to the above effect.
14864 2011-09-29  Martin Rudalics  <rudalics@gmx.at>
14866         * window.el (display-buffer-record-window): When WINDOW is the
14867         selected window use `point' instead of `window-point'.  (Bug#9626)
14869         * startup.el (command-line-1): Use insert-before-markers when
14870         inserting initial-scratch-message.  (Bug#9605)
14872         * help.el (help-window): Remove variable.
14874 2011-09-29  Glenn Morris  <rgm@gnu.org>
14876         * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
14878 2011-09-29  Juanma Barranquero  <lekktu@gmail.com>
14880         * descr-text.el (describe-char-categories): Accept category
14881         descriptions more than one line long.
14883 2011-09-28  Stefan Monnier  <monnier@iro.umontreal.ca>
14885         * simple.el (delete-trailing-whitespace): Fix last change.
14887         * progmodes/perl-mode.el (perl-syntax-propertize-function):
14888         Don't confuse "y => 3" as the beginning of a `y' operation.
14890         * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
14891         object has more than 4 slots (bug#9613).
14893 2011-09-28  Juanma Barranquero  <lekktu@gmail.com>
14895         * subr.el (with-output-to-temp-buffer):
14896         * net/quickurl.el (quickurl, quickurl-browse-url):
14897         Fix typos in docstrings.
14899 2011-09-27  Eli Zaretskii  <eliz@gnu.org>
14901         * minibuffer.el (completion-styles)
14902         (completion-category-overrides): Cross reference each other in doc
14903         strings.
14905 2011-09-27  Glenn Morris  <rgm@gnu.org>
14907         * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
14908         to split-string.  (Bug#9606)
14910 2011-09-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14912         * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
14913         (bug#9615).
14915 2011-09-27  Chong Yidong  <cyd@stupidchicken.com>
14917         * emacs-lisp/package.el (list-packages): Fix echo area message.
14919 2011-09-27  Leo Liu  <sdl.web@gmail.com>
14921         * ido.el (ido-read-internal): Accept cons cell HIST arg.
14923 2011-09-25  Michael Albinus  <michael.albinus@gmx.de>
14925         * net/dbus.el (dbus-unregister-object): Don't release services for
14926         registered signals.  (Bug#9581)
14928 2011-09-25  Teodor Zlatanov  <tzz@lifelogs.com>
14930         * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
14931         function that picks between cfengine 2 and 3 support
14932         automatically.  Update docs accordingly.
14934 2011-09-22  Kenichi Handa  <handa@m17n.org>
14936         * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
14937         ZERO.
14938         (indian-itrans-v5-table-for-tamil): New variable.
14939         (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
14941 2011-09-22  Ken Manheimer  <ken.manheimer@gmail.com>
14943         * allout.el (allout-this-command-hid-stuff): Buffer-local variable
14944         that's true if the current command involved collapsing of text.
14945         It's reset to false at the beginning of the next command.
14946         (allout-post-command-business): Move the cursor to the beginning
14947         of entry if the cursor is hidden and collapsing activity just
14948         happened.
14950 2011-09-24  Chong Yidong  <cyd@stupidchicken.com>
14952         * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
14953         tracking (Bug#9541).
14955 2011-09-24  Ulf Jasper  <ulf.jasper@web.de>
14957         * net/newst-reader.el (newsticker-html-renderer)
14958         (newsticker-show-news): Automatically load html rendering package
14959         if newsticker-html-renderer is set.  Fixes "Warning: defvar ignored
14960         because w3m-fill-column is let-bound" and the error "Symbol's value
14961         as variable is void: w3m-fill-column".
14963 2011-09-24  Michael Albinus  <michael.albinus@gmx.de>
14965         * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
14966         Release services only if they are defined.  (Bug#9581)
14968 2011-09-23  Richard Stallman  <rms@gnu.org>
14970         * textmodes/paragraphs.el (forward-sentence): For backwards case,
14971         distinguish start of paragraph from start of its text.
14973         * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
14975         * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
14976         (rmail-generate-viewer-buffer): Put that hook on view buffer.
14977         (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
14979 2011-09-23  Andreas Schwab  <schwab@linux-m68k.org>
14981         * international/mule-diag.el (mule-diag): Insert a newline after
14982         each fontset description.
14984 2011-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
14986         * simple.el (delete-trailing-whitespace):
14987         Document last change; simplify.
14989 2011-09-23  Peter J. Weisberg  <pj@irregularexpressions.net>
14991         * simple.el (delete-trailing-whitespace): Also delete
14992         extra newlines at the end of the buffer.
14994         * textmodes/picture.el: Make motion commands obey shift-select-mode.
14995         (picture-newline): Use forward-line so as to ignore fields.
14997 2011-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
14999         * subr.el (with-wrapper-hook): Fix edebug spec.
15001 2011-09-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15003         * simple.el (kill-line): Note effect of `show-trailing-whitespace'
15004         (bug#4538).
15006 2011-09-23  Michael Albinus  <michael.albinus@gmx.de>
15008         * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
15009         Fix nasty bug using wrong cached values.
15011 2011-09-23  Alan Mackenzie  <acm@muc.de>
15013         * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
15015 2011-09-23  Chong Yidong  <cyd@stupidchicken.com>
15017         * window.el (pop-to-buffer): Ensure right window is selected if we
15018         chose another frame.
15020 2011-09-22  Eli Zaretskii  <eliz@gnu.org>
15022         * simple.el (what-cursor-position): Use get-char-property-change
15023         and next-single-char-property-change, to be able to show display
15024         properties that come from overlays as well as text properties.
15026 2011-09-22  Chong Yidong  <cyd@stupidchicken.com>
15028         * window.el (pop-to-buffer-same-window): New (reinstated) fun.
15030         * cmuscheme.el (run-scheme, switch-to-scheme):
15031         * cus-edit.el (customize-group, custom-buffer-create)
15032         (customize-browse):
15033         * info.el (info):
15034         * shell.el (shell):
15035         * mail/sendmail.el (mail):
15036         * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
15038 2011-09-22  Richard Stallman  <rms@gnu.org>
15040         * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
15041         move back only to line beg, don't move back over blank lines.
15043 2011-09-22  Michael Albinus  <michael.albinus@gmx.de>
15045         * files.el (copy-directory): Set directory attributes only in case
15046         they could be retrieved from the source directory.  (Bug#9565)
15048 2011-09-22  Dima Kogan  <dkogan@secretsauce.net>  (tiny change)
15050         * progmodes/hideshow.el (hs-looking-at-block-start-p)
15051         (hs-find-block-beginning, hs-hide-level-recursive):
15052         Ignore strings as well as comments.  (Bug#9502)
15054 2011-09-22  Andrew Schein  <andrew@andrewschein.com>  (tiny change)
15056         * progmodes/sql.el (sql-comint-postgres):
15057         Convert port number to a string.  (Bug#9566)
15059 2011-09-22  Martin Rudalics  <rudalics@gmx.at>
15061         * window.el (quit-window): Undedicate window when switching to
15062         previous buffer.  Reported by Thierry Volpiatto
15063         <thierry.volpiatto@gmail.com>.
15064         (special-display-popup-frame): When popping up a new frame reset
15065         its previous buffers to nil.  Simplify code.
15067 2011-09-21  Michael Albinus  <michael.albinus@gmx.de>
15069         * net/tramp.el (tramp-handle-shell-command): Set process sentinel
15070         and process filter, as done also in `shell-command'.
15072 2011-09-21  Martin Rudalics  <rudalics@gmx.at>
15074         * window.el (set-window-buffer-start-and-point):
15075         Call set-window-start with NOFORCE argument t.
15076         Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
15077         (quit-window): Reword doc-string.  Handle new format of
15078         quit-restore parameter.  Don't delete window if it has a
15079         previous buffer we can show instead of the present one.
15080         (display-buffer-record-window): Rewrite using a new format for
15081         the quit-restore window parameter
15082         (special-display-popup-frame, display-buffer-same-window)
15083         (display-buffer-reuse-window, display-buffer-pop-up-frame)
15084         (display-buffer-pop-up-window, display-buffer-use-some-window):
15085         Adapt symbol passed to display-buffer-record-window.
15086         * help.el (help-window-setup): Handle new format of quit-restore
15087         parameter.
15089 2011-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
15091         * faces.el (face-list): Fix docstring (bug#9564).
15093         * window.el (display-buffer--action-function-custom-type):
15094         Don't include internal functions in the Custom interface.
15096 2011-09-20  Juri Linkov  <juri@jurta.org>
15098         * info.el (Info-history-skip-intermediate-nodes): New defcustom.
15099         (Info-forward-node, Info-backward-node, Info-next-preorder)
15100         (Info-last-preorder): Use it.  (Bug#9528)
15102 2011-09-20  Juri Linkov  <juri@jurta.org>
15104         * info.el (Info-last-preorder): Visit last menu item only when
15105         `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
15107 2011-09-20  Julien Danjou  <julien@danjou.info>
15109         * password-cache.el (password-cache-remove): Remove entries even if the
15110         value is nil, so that password with a nil value (negative caching) is
15111         possible to invalidate.
15113 2011-09-20  Lawrence Mitchell  <wence@gmx.li>
15115         * progmodes/f90.el (f90-break-line): If breaking inside comment delete
15116         all whitespace around breakpoint.  (Bug#9553)
15117         (f90-find-breakpoint): Only break at whitespace inside a comment.
15119 2011-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
15121         * minibuffer.el (completion-file-name-table): Keep track of errors.
15122         (completion-table-with-predicate): Handle the case where pred1 is nil.
15123         * pcomplete.el (pcomplete-completions-at-point): Simplify.
15125 2011-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
15127         * emacs-lisp/debug.el (debugger-args): Give it a docstring.
15128         (debugger-return-value): Signal an error if the debugging context does
15129         not await any return value.
15131         * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
15132         * image-mode.el (image-toggle-display-text)
15133         (image-toggle-display-image): Stay away from evil `intangible'.
15135 2011-09-19  Leo Liu  <sdl.web@gmail.com>
15137         * replace.el (occur-revert-arguments): Make it permanent-local.
15138         (occur-mode): Don't call font-lock-defontify.
15140 2011-09-19  Chong Yidong  <cyd@stupidchicken.com>
15142         * net/ldap.el (ldap-search-internal): Don't push empty search
15143         result (Bug#9508).
15145 2011-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
15147         * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
15149 2011-09-19  Michael Albinus  <michael.albinus@gmx.de>
15151         * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
15152         Suggested by Liam Stitt <stittl@cuug.ab.ca>.
15154 2011-09-18  Juri Linkov  <juri@jurta.org>
15156         * buff-menu.el (Buffer-menu-mode-map):
15157         * dired.el (dired-mode-map):
15158         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
15159         (lisp-interaction-mode-map):
15160         * emacs-lisp/package.el (package-menu-mode-map):
15161         * epa.el (epa-key-list-mode-map):
15162         * menu-bar.el (menu-bar-showhide-tool-bar-menu)
15163         (menu-bar-options-menu):
15164         * outline.el (outline-mode-menu-bar-map):
15165         * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
15166         * vc/vc-dir.el (vc-dir-menu-map):
15167         * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
15168         Capitalize non-function content words in menu item strings.
15170         * dired.el (dired-mode-map): Add menu item for
15171         `image-dired-dired-toggle-marked-thumbs'.
15173 2011-09-18  Juri Linkov  <juri@jurta.org>
15175         * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
15176         to `isearch-case-fold-search' and restore its original value
15177         after the `isearch-mode' call.
15179 2011-09-18  Juri Linkov  <juri@jurta.org>
15181         * progmodes/grep.el (grep-process-setup): Don't check code for 1
15182         because `zgrep' returns 1 for successful matches (bug#9226).
15184 2011-09-18  Juri Linkov  <juri@jurta.org>
15186         * info.el (Info-extract-menu-node-name): Check the second match
15187         for empty string (second test-case of bug#9528).
15188         (Info-last-preorder): Let-bind `Info-history' to nil to not add
15189         intermediate nodes to the history (first test-case of bug#9528).
15191 2011-09-18  Juri Linkov  <juri@jurta.org>
15193         * info.el (Info-mode-syntax-table): New variable.
15194         (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
15196 2011-09-18  Juri Linkov  <juri@jurta.org>
15198         * info.el (Info-file-supports-index-cookies):
15199         Increment line-beginning-position's arg from 3 to 4 because makeinfo
15200         outputs one more line for long file names (bug#4142).
15202 2011-09-18  Chong Yidong  <cyd@stupidchicken.com>
15204         * newcomment.el (comment-normalize-vars): If prompting for
15205         comment-start, set comment-start-skip too (Bug#8424).
15207 2011-09-18  Johan BockgĂ¥rd  <bojohan@gnu.org>
15209         * icomplete.el: Fix previous fix of Bug#5849.
15210         (icomplete-mode): Don't set completion-show-inline-help.
15211         (icomplete-minibuffer-setup): Set completion-show-inline-help
15212         locally during icompletion.
15214 2011-09-18  Chong Yidong  <cyd@stupidchicken.com>
15216         * woman.el (woman2-process-escapes): Don't delete unrecognized
15217         escapes (Bug#7843).
15219         * files.el (inhibit-first-line-modes-regexps): Add image files.
15220         (hack-local-variables-prop-line): Return nil for malformed
15221         prop-lines (Bug#9044).
15223 2011-09-18  Michael Albinus  <michael.albinus@gmx.de>
15225         * net/tramp.el (top): Don't require 'shell.
15226         (tramp-methods): Fix docstring.
15227         (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
15228         Return complete remote file name.  Handle "smb" case.
15229         Use `tramp-tmpdir', if defined for the respective method.
15230         (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
15232         * net/tramp-compat.el (top): Require 'shell.
15234         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
15235         (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
15236         `tramp-current-host'.
15237         (tramp-get-remote-tmpdir): Remove.
15239         * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
15240         `tramp-tmpdir' entries.
15241         (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
15242         (tramp-smb-handle-file-attributes): Ignore errors.
15243         (tramp-smb-wait-for-output): Check also for process end.
15245 2011-09-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15247         * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
15248         when sending QUIT (bug#9312).
15250 2011-09-17  Chong Yidong  <cyd@stupidchicken.com>
15252         * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
15253         (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
15254         occur-mode-display-occurrence.
15255         (occur-edit-mode): Add usage message.
15256         (occur-cease-edit): New command.
15257         (occur-after-change-function): Use text properties to find the
15258         position of the prefix text.
15259         (occur-engine): Set stickiness of prefix text properties.
15261 2011-09-17  Glenn Morris  <rgm@gnu.org>
15263         * progmodes/etags.el (complete-tag):
15264         Fix call to completion-in-region.  (Bug#9526)
15266 2011-09-17  Juri Linkov  <juri@jurta.org>
15268         * textmodes/ispell.el (ispell-word): Add to the error message
15269         the word, ispell program name and current dictionary (bug#9121).
15270         (ispell-tex-arg-end): Capitalize "error" in the error message.
15272 2011-09-17  Andreas Schwab  <schwab@linux-m68k.org>
15274         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
15275         check.  (Bug#4251)
15277 2011-09-17  Juri Linkov  <juri@jurta.org>
15279         * window.el (window-safe-min-height, window-safe-min-width):
15280         Fix typos (followup to bug#9522).
15282 2011-09-17  Sven Joachim  <svenjoac@gmx.de>
15284         * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
15286 2011-09-16  Eli Zaretskii  <eliz@gnu.org>
15288         * simple.el (line-move): If goal-column is set, move by logical
15289         lines, not by display lines.  (Bug#971)
15290         (next-line, previous-line, goal-column, line-move-visual): Doc fix
15291         to reflect the above change.
15293 2011-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
15295         * image.el (imagemagick-register-types): Use regexp-opt.
15297 2011-09-15  Chong Yidong  <cyd@stupidchicken.com>
15299         * window.el (display-buffer-base-action): Rename from
15300         display-buffer-default-action.  Make default value empty.
15301         (display-buffer-overriding-action): Convert to defvar.
15302         (display-buffer-fallback-action): New var.
15304 2011-09-15  Chong Yidong  <cyd@stupidchicken.com>
15306         * emacs-lisp/package.el (package-alist): Fix risky-local-variable
15307         declaration.
15308         (package--add-to-archive-contents): If there is a duplicate entry
15309         with an older version, remove it.
15310         (package-menu-mark-delete, package-menu-mark-install)
15311         (package-menu-mark-unmark): Make unused args optional.
15312         (package-menu-mark-obsolete-for-deletion):
15313         Use package-menu-get-status instead of a regexp search.
15314         (package-menu-get-status): Use tabulated-list-entry.
15315         (package-menu-mark-upgrades): New command.
15316         (package-menu-mode-map): Bind it to U.  Add it to menu bar.
15317         (package-menu-execute): Do installation before deletion.
15318         (package-menu-refresh, package-menu-execute): Use derived-mode-p
15319         instead of checking major-mode.
15320         (package-menu--find-upgrades): New function.
15322 2011-09-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15324         * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
15325         passwords in the log buffer.
15326         (smtpmail-process-filter): Update the process marker so that the
15327         "broken by peer" status message is inserted in the right place.
15329 2011-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
15331         * textmodes/bibtex.el (bibtex-complete-string-cleanup)
15332         (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
15333         bibtex-completion-at-point-function.
15334         (bibtex-completion-at-point-function): Use them.
15336         * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
15338         * mpc.el (mpc-constraints-tag-lookup): New function.
15339         (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
15340         also to browser "album|playlist".
15342 2011-09-14  Juri Linkov  <juri@jurta.org>
15344         * isearch.el (isearch-fail-pos): Add new arg `msg'.  Doc fix.
15345         (isearch-edit-string): Use length of `isearch-string' when
15346         `isearch-fail-pos' returns nil.
15347         (isearch-message): Remove duplicate code and call
15348         `isearch-fail-pos' with arg `t'.
15350 2011-09-14  Chong Yidong  <cyd@stupidchicken.com>
15352         * replace.el (occur-mode-goto-occurrence): Don't force using other
15353         window (Bug#9499).
15355         * dired-aux.el (dired-do-chmod): Don't provide initial input.
15357 2011-09-14  Martin Rudalics  <rudalics@gmx.at>
15359         * window.el (display-buffer-window): Remove.
15360         (display-buffer-record-window): Use help-setup window parameter
15361         instead of variable display-buffer-window.
15362         (display-buffer-function, special-display-buffer-names)
15363         (special-display-function): Mention help-setup parameter instead
15364         of display-buffer-window in doc-string.
15365         * help.el (help-window-setup): New argument help-window.
15366         Use help-window-setup parameter instead of display-buffer-window.
15367         Reword some messages.
15368         (with-help-window): Pass window used for displaying the buffer
15369         to help-window-setup.  Don't set display-buffer-window.
15371 2011-09-13  Glenn Morris  <rgm@gnu.org>
15373         * emacs-lisp/debug.el (debugger-make-xrefs):
15374         Preserve point.  (Bug#9462)
15376 2011-09-13  Chong Yidong  <cyd@stupidchicken.com>
15378         * window.el (window-deletable-p): Use next-frame.
15380 2011-09-13  Martin Rudalics  <rudalics@gmx.at>
15382         * window.el (window-auto-delete): Remove.
15383         (window-deletable-p): Remove argument FORCE.  Don't deal with
15384         dedication and previous buffers.
15385         (switch-to-prev-buffer): Don't delete window.
15386         (delete-windows-on): Delete a window's frame if and only if the
15387         window is dedicated.
15388         (replace-buffer-in-windows): Delete buffer's window or frame if
15389         and only if window is dedicated.
15390         (quit-window): Handle quit-restore as before last change.
15391         (bury-buffer): Delete window only if window-deletable-p returns t.
15393 2011-09-13  Chong Yidong  <cyd@stupidchicken.com>
15395         * window.el (window-deletable-p): Never delete the last frame on a
15396         given terminal.
15398 2011-09-13  Glenn Morris  <rgm@gnu.org>
15400         * help.el (describe-key-briefly): Copy previous standard-output change.
15402 2011-09-13  PJ Weisberg  <pj@irregularexpressions.net>
15404         * help.el (where-is): Respect non-standard standard-output.  (Bug#9030)
15406 2011-09-13  Glenn Morris  <rgm@gnu.org>
15408         * emacs-lisp/lisp-mode.el (lisp-indent-function):
15409         * progmodes/scheme.el (scheme-indent-function): Doc fixes.
15411 2011-09-12  Chong Yidong  <cyd@stupidchicken.com>
15413         * dired-aux.el (dired-mark-read-string): Don't return default
15414         value on empty input (Bug#9361).
15415         (dired-do-chxxx): Treat empty input for "touch" as no -t option.
15416         Omit initial minibuffer contents.
15417         (dired-do-chmod): Signal an error on empty input.
15418         (dired-mark-read-string): Don't return default on empty input.
15420         * files.el (file-modes-symbolic-to-number): Doc fix.
15422 2011-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
15424         * international/mule-cmds.el (ucs-completions): Remove.
15425         (read-char-by-name): Use complete-with-action instead; add metadata.
15427 2011-09-11  Chong Yidong  <cyd@stupidchicken.com>
15429         * window.el (display-buffer--action-function-custom-type)
15430         (display-buffer--action-custom-type): New vars.
15431         (display-buffer-alist, display-buffer-default-action)
15432         (display-buffer-overriding-action): Add defcustom types.
15434         * frame.el (delete-other-frames): Doc fix (Bug#276).
15436 2011-09-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15438         * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
15440 2011-09-11  Chong Yidong  <cyd@stupidchicken.com>
15442         Change modes that used same-window-* vars to use switch-to-buffer.
15444         * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
15445         Use switch-to-buffer.
15447         * cus-edit.el (customize-group, custom-buffer-create)
15448         (customize-browse, custom-buffer-create-other-window):
15449         Use switch-to-buffer or switch-to-buffer-other-window.
15451         * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
15452         (Info-prev, Info-up, Info-speedbar-goto-node)
15453         (info-display-manual): Use switch-to-buffer.
15454         (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
15456         * mail/sendmail.el (mail): Use switch-to-buffer.
15457         (mail-recover): Use switch-to-buffer-other-window.
15459         * cmuscheme.el (run-scheme, switch-to-scheme):
15460         * ielm.el (ielm):
15461         * shell.el (shell):
15462         * net/rlogin.el (rlogin):
15463         * net/telnet.el (telnet, rsh):
15464         * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
15466 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
15468         * dired.el (dired-sort-toggle-or-edit): Revert last changes.
15470 2011-09-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15472         * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
15473         so don't mention it (bug#9301).
15474         (dired-sort-toggle-or-edit): Clarify string further.
15476         * faces.el (face-spec-set-match-display): Make `(type graphic)'
15477         match `x', `w32' and `ns', like the manual says (bug#9029).
15479         * subr.el (eval-after-load): Doc string clarification (bug#9125).
15480         (process-kill-buffer-query-function): Mention the buffer name in
15481         the query.
15483         * image-mode.el (image-next-line): The line parameter is mandatory
15484         (bug#9258).
15486         * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
15487         which can be useful (bug#9301).
15489         * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
15491         * subr.el (match-string): Mention that the current buffer should
15492         be the same as the search was done in (bug#9282).
15494         * facemenu.el: Disable the remove-* commands if the mark isn't
15495         active (bug#9162).
15497 2011-09-10  Chong Yidong  <cyd@stupidchicken.com>
15499         * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
15500         of display-buffer.
15501         (Buffer-menu-2-window): Use switch-to-buffer-other-window.
15503         * replace.el (occur-mode-goto-occurrence)
15504         (occur-mode-display-occurrence) Use second arg of pop-to-buffer
15505         and display-buffer.
15507         * mail/reporter.el (reporter-submit-bug-report): Use second arg of
15508         display-buffer.
15510         * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
15511         special-display and same-window variables.
15512         (mail-other-window): Use switch-to-buffer-other-window.
15513         (mail-other-frame): USe switch-to-buffer-other-frame.
15515         * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
15516         Use display-buffer-other-frame.
15517         (gdb-display-gdb-buffer): Use pop-to-buffer.
15519         * progmodes/gud.el (gud-goto-info): Use info-other-window.
15521         * progmodes/python.el: Don't set same-window-buffer-names.
15523         * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
15525         * window.el (display-buffer-alist): Add *Python*.
15527 2011-09-10  Chong Yidong  <cyd@stupidchicken.com>
15529         * window.el (display-buffer-alist): Add entry for buffers
15530         previously handled same-window-*.
15531         (display-buffer-alist, display-buffer-default-action)
15532         (display-buffer-overriding-action): Mark as risky.
15533         (display-buffer-alist): Document action function changes.
15534         (display-buffer--same-window-action)
15535         (display-buffer--other-frame-action): New variables.
15536         (switch-to-buffer, display-buffer-other-frame): Use them.
15537         (display-buffer): Rename reuse-frame entry to reusable-frames.
15538         (display-buffer-reuse-selected-window): Function deleted.
15539         (display-buffer-reuse-window): Handle reusable-frames alist entry.
15540         If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
15541         (display-buffer-special): New function.
15542         (display-buffer--maybe-pop-up-frame-or-window): Rename from
15543         display-buffer-reuse-or-pop-window.  Split off special-display
15544         part into display-buffer-special.
15545         (display-buffer-use-some-window): Don't perform any special
15546         pop-up-frames handling.
15547         (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
15548         (display-buffer--maybe-same-window): Rename from
15549         display-buffer-maybe-same-window.
15551         * info.el: Don't set same-window-regexps.
15552         (info-setup): New function.
15553         (info-other-window, info): Call it.
15555         * cus-edit.el: Don't set same-window-regexps.
15556         (customize-group): New argument.
15557         (customize-group-other-window): Use it.
15558         (customize-face, customize-face-other-window): Likewise.
15559         (custom-buffer-create-other-window): Use pop-to-buffer directly.
15561         * net/rlogin.el:
15562         * net/telnet.el:
15563         * progmodes/gud.el: Don't set same-window-regexps.
15565         * cmuscheme.el:
15566         * ielm.el:
15567         * shell.el:
15568         * mail/sendmail.el:
15569         * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
15571 2011-09-10  Juri Linkov  <juri@jurta.org>
15573         * isearch.el (isearch-edit-string): Remove obsolete mention of
15574         `C-w' (`isearch-yank-word-or-char') from docstring.
15575         (isearch-query-replace): Fix typo in docstring (bug#9466).
15577 2011-09-10  Juri Linkov  <juri@jurta.org>
15579         * paren.el (show-paren-function): Don't show escaped parens.
15580         Let-bind `unescaped' to `t' when paren is not escaped.  (Bug#9461)
15582 2011-09-10  Eli Zaretskii  <eliz@gnu.org>
15584         * mail/sendmail.el (mml-to-mime, mml-attach-file)
15585         (mm-default-file-encoding): Remove autoload forms, they are
15586         replaced with autoload cookies in mml.el and mm-encode.el.
15587         (mail-add-attachment): New command.
15588         (mail-mode-map): Add a menu-bar item for mail-add-attachment.
15589         (mail-mode): Mention mail-insert-file and mail-add-attachment in
15590         the doc string.
15591         (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
15593 2011-09-10  Reuben Thomas  <rrt@sc3d.org>
15595         * simple.el (count-words-region): Use buffer if there's no region
15596         (bug#9429).
15598 2011-09-09  Juri Linkov  <juri@jurta.org>
15600         * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
15601         `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
15602         (wdired-isearch-filter-read-only): New function.  (Bug#6362)
15604 2011-09-09  Alan Mackenzie  <acm@muc.de>
15606         * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
15607         spuriously generating `awk-mode-syntax-table'.  (Bug #9448).
15609 2011-09-09  Eli Zaretskii  <eliz@gnu.org>
15611         Fix for Savannah bug#9392.
15612         * simple.el (mail-encode-mml): New defvar.
15614         * mail/rmail.el (mail-encode-mml): Add a defvar.
15615         (rmail-enable-mime-composing): Default to t.
15616         (rmail-forward): Use MIME method of forwarding only if both
15617         rmail-enable-mime-composing and rmail-enable-mime are non-nil.
15618         Set mail-encode-mml non-nil if the MIME method was used.
15620         * mail/sendmail.el (mml-to-mime): Add autoload form.
15621         (mail-encode-mml): Add a defvar.
15622         (mail-mode): Make mail-encode-mml buffer-local and initialize it
15623         to nil.
15624         (mail-send): If mail-encode-mml is non-nil, run the outgoing
15625         message through mml-to-mime, and reset mail-encode-mml to nil.
15627 2011-09-09  Glenn Morris  <rgm@gnu.org>
15629         * woman.el (woman-if-body): When processing an .el block,
15630         do not delete the next .el block as well.  (Bug#9447)
15631         (woman-special-characters): Add oq, cq, and hy characters.
15633 2011-09-08  Martin Rudalics  <rudalics@gmx.at>
15635         * window.el (window-deletable-p): Make sure window is live before
15636         invoking window-prev-buffers.
15638 2011-09-08  Leo Liu  <sdl.web@gmail.com>
15640         * net/rcirc.el (rcirc-cmd-invite): New rcirc command.  (Bug#9453)
15642 2011-09-08  Juri Linkov  <juri@jurta.org>
15644         * progmodes/compile.el (compilation-environment): Make it
15645         a defcustom (bug#8340).
15647 2011-09-08  Martin Rudalics  <rudalics@gmx.at>
15649         * window.el (frame-auto-delete): Rename to window-auto-delete.
15650         Make it control auto-deletion of windows and/or frames.
15651         (window-deletable-p): New argument FORCE.  Rewrite conditions
15652         for deleting window/frame.  (Bug#9419)
15653         (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
15654         Rewrite handling of case when window/frame can be deleted.
15655         (delete-windows-on): Call window-deletable-p with new FORCE
15656         argument t.  (Bug#9456)
15658 2011-09-07  Chong Yidong  <cyd@stupidchicken.com>
15660         * help-mode.el (help-mode): Restore autoload.
15662 2011-09-07  Juri Linkov  <juri@jurta.org>
15664         * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
15665         `compilation-environment'.  Set buffer-local
15666         `compilation-environment' to `thisenv' later after (funcall mode).
15667         (Bug#8340)
15669         * vc/vc-git.el (vc-git-grep): Remove --no-color.  (Bug#9408)
15670         (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
15671         instead of replacing its value.  (Bug#8340)
15673 2011-09-07  Juri Linkov  <juri@jurta.org>
15675         * progmodes/grep.el (grep-regexp-alist): Calculate column positions
15676         based on text properties put by `grep-filter' instead of matching
15677         escape sequences.
15678         (grep-mode): Set buffer-local `compilation-error-screen-columns'
15679         to the value of `grep-error-screen-columns' (bug#9438).
15681 2011-09-07  Juri Linkov  <juri@jurta.org>
15683         * simple.el (next-error-highlight, next-error-highlight-no-select):
15684         Doc fix (bug#9432).
15686 2011-09-07  OKAZAKI Tetsurou  <okazaki.tetsurou@gmail.com>  (tiny change)
15688         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
15689         Check for null c-opt-block-decls-with-vars-key.  (Bug#9443)
15691 2011-09-07  Leo Liu  <sdl.web@gmail.com>
15693         * net/rcirc.el (rcirc-mode): Conditionally initialize
15694         rcirc-input-ring.
15696 2011-09-07  Stefan Monnier  <monnier@iro.umontreal.ca>
15698         * emacs-lisp/find-func.el (find-function-C-source): Only set
15699         find-function-C-source-directory after checking that we found a source
15700         file there (bug#9440).
15702 2011-09-06  Alan Mackenzie  <acm@muc.de>
15704         * isearch.el (isearch-other-meta-char): Wherever a key list is
15705         unread, "unread" the prefix arg, too.  This fixes bug #8901.
15707 2011-09-05  Oleksandr Gavenko  <gavenkoa@gmail.com>  (tiny change)
15709         * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
15711 2011-09-05  Juri Linkov  <juri@jurta.org>
15713         * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
15715 2011-09-05  Juri Linkov  <juri@jurta.org>
15717         * progmodes/grep.el (grep-filter): Avoid incomplete processing by
15718         keeping point where processing of grep matches begins, and
15719         continue to delete remaining escape sequences from the same point.
15720         (grep-filter): Make leading zero optional in "0?1;31m" because
15721         git-grep emits "\033[1;31m" escape sequences unlike expected
15722         "\033[01;31m" as GNU Grep does (bug#9408).
15723         (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
15725 2011-09-05  Juri Linkov  <juri@jurta.org>
15727         * subr.el (y-or-n-p): Capitalize "yes".
15729 2011-09-04  Michael Albinus  <michael.albinus@gmx.de>
15731         * net/tramp.el (top): Require 'shell.  Use `tramp-unload-hook' but
15732         `tramp-cache-unload-hook' where appropriate.
15733         (tramp-methods): Rename `tramp-remote-sh' to
15734         `tramp-remote-shell'.  Add `tramp-remote-shell-args'.
15735         (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
15737         * net/tramp-sh.el (top): Don't require 'shell.
15738         (tramp-methods): Add `tramp-remote-shell' and
15739         `tramp-remote-shell-args' entries.
15740         (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
15741         (tramp-sh-handle-shell-command): Remove.
15742         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
15743         Use `tramp-remote-shell'.
15745 2011-09-03  Chong Yidong  <cyd@stupidchicken.com>
15747         * mail/sendmail.el (sendmail-query-once-function): Delete.
15748         (sendmail-query-once): Save directly to send-mail-function.
15749         Update message-send-mail-function too.
15751         * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
15753 2011-09-03  Christoph Scholtes  <cschol2112@googlemail.com>
15755         * progmodes/python.el (python-mode-map): Use correct function to
15756         start python interpreter from menu-bar (as reported by Geert
15757         Kloosterman).
15758         (inferior-python-mode-map): Fix typo.
15759         (python-shell-map): Remove.
15761 2011-09-03  Deniz Dogan  <deniz@dogan.se>
15763         * net/rcirc.el (rcirc-print): Simplify code for
15764         rcirc-scroll-show-maximum-output.  There is no need to walk
15765         through all windows to find the right one.
15767 2011-09-03  Christoph Scholtes  <cschol2112@googlemail.com>
15769         * help.el (help-return-method): Doc fix.
15771 2011-09-03  Martin Rudalics  <rudalics@gmx.at>
15773         * window.el (window-deletable-p): Don't return a non-nil value
15774         when there's a buffer that was shown in the window before.
15775         (Bug#9419)
15776         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
15777         Set window's previous buffers to nil.
15779 2011-09-03  Eli Zaretskii  <eliz@gnu.org>
15781         * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
15782         newline before and after the tag line, so it doesn't interfere
15783         with determining the paragraph direction of bidirectional text.
15785 2011-09-03  Leo Liu  <sdl.web@gmail.com>
15787         * files.el (find-file-not-true-dirname-list): Remove.  (Bug#9422)
15789 2011-09-02  Chong Yidong  <cyd@stupidchicken.com>
15791         * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
15792         (pop-to-buffer): Change interactive spec.  Pass second argument
15793         directly to display-buffer.
15794         (display-buffer): Fix interactive spec.  Use functionp to
15795         distinguish between a function and a list of functions.
15797         * abbrev.el (edit-abbrevs):
15798         * arc-mode.el (archive-extract):
15799         * autoinsert.el (auto-insert):
15800         * bookmark.el (bookmark-bmenu-list):
15801         * files.el (find-file):
15802         * view.el (view-buffer):
15803         * progmodes/compile.el (compilation-goto-locus):
15804         * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
15806 2011-09-02  Chong Yidong  <cyd@stupidchicken.com>
15808         * window.el (display-buffer-alist): Doc fix.
15809         (display-buffer): Add docstring.  Don't treat
15810         display-buffer-default specially.
15811         (display-buffer-reuse-selected-window)
15812         (display-buffer-same-window, display-buffer-maybe-same-window)
15813         (display-buffer-reuse-window, display-buffer-pop-up-frame)
15814         (display-buffer-pop-up-window)
15815         (display-buffer-reuse-or-pop-window)
15816         (display-buffer-use-some-window): New functions.
15817         (display-buffer-default-action): Use them.
15818         (display-buffer-default): Delete.
15819         (pop-to-buffer-1): Fix choice of actions.
15821 2011-09-02  Stefan Monnier  <monnier@iro.umontreal.ca>
15823         * minibuffer.el (completion--insert-strings): Don't get confused by
15824         completion entries that end with an LF char.
15826 2011-09-01  Eli Zaretskii  <eliz@gnu.org>
15828         * window.el (frame-auto-delete, window-deletable-p): Doc fix.
15830 2011-09-01  Chong Yidong  <cyd@stupidchicken.com>
15832         * window.el (display-buffer): Restore interactive spec.
15833         (display-buffer-same-window, display-buffer-other-window):
15834         New functions.
15835         (pop-to-buffer-1): New function.  Use the above.
15836         (pop-to-buffer, pop-to-buffer-same-window): Use it.
15837         (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
15839         * view.el (view-buffer-other-window, view-buffer-other-frame):
15840         Just use pop-to-buffer.
15842 2011-09-01  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
15844         * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories.  (Bug#9391)
15846 2011-09-01  Wilfred Hughes  <wilfred@potatolondon.com>  (tiny change)
15848         * vc/vc-git.el (vc-git-grep): Use --no-color.  (Bug#9408)
15850 2011-08-31  Richard Stallman  <rms@gnu.org>
15852         * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
15853         of the separation of rmail-view-buffer from rmail-buffer.
15854         If you say no to "replace original", the decrypt is in the
15855         view buffer.  If you say yes, the decrypt goes into the
15856         rmail buffer also.
15858 2011-08-31  Martin Rudalics  <rudalics@gmx.at>
15860         * window.el (display-buffer-window): Rewrite doc-string.
15861         (display-buffer-record-window): New function.
15862         (display-buffer-macro-specifiers)
15863         (display-buffer-even-window-sizes, display-buffer-set-height)
15864         (display-buffer-set-width, display-buffer-in-window)
15865         (display-buffer-reuse-window, display-buffer-split-specifiers)
15866         (display-buffer-side-specifiers, display-buffer-split-window-1)
15867         (display-buffer-split-window, display-buffer-split-atom-window)
15868         (display-buffer-pop-up-window, display-buffer-pop-up-frame)
15869         (display-buffer-pop-up-side-window, display-buffer-in-side-window)
15870         (display-buffer-other-window-means-other-frame)
15871         (display-buffer-normalize-special)
15872         (display-buffer-normalize-default)
15873         (display-buffer-normalize-argument)
15874         (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
15875         (display-buffer-normalize-specifiers, display-buffer-frame)
15876         (display-buffer-same-window, display-buffer-same-frame)
15877         (display-buffer-other-window)
15878         (display-buffer-same-frame-other-window)
15879         (display-buffer-other-frame, pop-to-buffer-same-window)
15880         (pop-to-buffer-same-frame, pop-to-buffer-other-window)
15881         (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
15882         (switch-to-buffer-same-frame)
15883         (switch-to-buffer-other-window-same-frame)
15884         (display-buffer-alist-of-strings-p, display-buffer-alist-add)
15885         (display-buffer-alist-set-1, display-buffer-alist-set-2)
15886         (display-buffer-alist-set): Remove.
15887         (display-buffer-function, special-display-buffer-names)
15888         (special-display-regexps, special-display-function):
15889         In doc-string refer to display-buffer-window and quit-restore
15890         parameter.
15891         (pop-up-frame-alist, pop-up-frame-function, special-display-p)
15892         (special-display-frame-alist, special-display-popup-frame)
15893         (same-window-buffer-names, same-window-regexps, same-window-p)
15894         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
15895         (split-window-preferred-function, split-height-threshold)
15896         (split-width-threshold, window-splittable-p)
15897         (split-window-sensibly, window--try-to-split-window)
15898         (window--frame-usable-p, even-window-heights)
15899         (window--even-window-heights, window--display-buffer-1)
15900         (window--display-buffer-2, display-buffer-other-frame):
15901         Restore old Emacs 23 code, order and doc-strings where applicable.
15902         (display-buffer-default, display-buffer-assq-regexp): New functions.
15903         (display-buffer-alist): Rewrite doc-string.
15904         (display-buffer-default-action)
15905         (display-buffer-overriding-action): New variables.
15906         (display-buffer, switch-to-buffer): Rewrite.
15907         (pop-to-buffer): Restore Emacs 23 behavior but use
15908         window-normalize-buffer-to-display.
15909         (switch-to-buffer-other-window, switch-to-buffer-other-frame):
15910         Restore Emacs 23 behavior but use
15911         window-normalize-buffer-to-switch-to.
15912         (pop-to-buffer-same-window): Rewrite.
15913         (pop-to-buffer-other-window, pop-to-buffer-other-frame):
15914         Rewrite using Emacs 23 options.
15916 2011-08-31  Michael Albinus  <michael.albinus@gmx.de>
15918         * net/tramp.el (tramp-root-regexp): Remove.
15919         (tramp-completion-file-name-regexp-unified)
15920         (tramp-completion-file-name-regexp-separate)
15921         (tramp-completion-file-name-regexp-url): Don't use leading volume
15922         letter on w32 systems.  (Bug#5303, Bug#9311)
15923         (tramp-drop-volume-letter): Simplify definition.
15924         Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
15926 2011-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
15928         * subr.el (event-modifiers): Fix "missing modifier" part of docstring
15929         (bug#9356).
15931 2011-08-30  Reuben Thomas  <rrt@sc3d.org>  (tiny change)
15933         * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
15935 2011-08-29  Juri Linkov  <juri@jurta.org>
15937         * isearch.el (isearch-done): Don't display message "Mark saved"
15938         when arg `edit' is non-nil to prevent its flicker in the echo area.
15940 2011-08-28  Chong Yidong  <cyd@stupidchicken.com>
15942         * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
15943         obsolete packages for deletion.
15945 2011-08-28  Christoph Scholtes  <cschol2112@googlemail.com>
15947         * help-mode.el (help-mode-map): Add special-mode-map to parent.
15948         (help-mode): Derive help-mode from special-mode.  Don't invoke
15949         view-mode from help-mode.
15950         (help-xref-override-view-map): Remove.
15951         (help-make-xrefs): Remove minor-mode-overriding-map-alist since
15952         view-mode is not used anymore.
15954 2011-08-28  Chong Yidong  <cyd@stupidchicken.com>
15956         * server.el (server-port): Doc fix.
15958         * cus-theme.el (custom-theme-choose-mode): Inherit from
15959         special-mode (Bug#9124).
15960         (custom-theme-choose-mode-map): Add special-mode to parent.
15962 2011-08-28  Alan Mackenzie  <acm@muc.de>
15964         * progmodes/cc-fonts.el
15965         (c-make-font-lock-BO-decl-search-function): New function.
15966         (c-basic-matchers-after - "Fontify the clauses after various
15967         keywords"): Extract the three keyword lists for the 3 erroneous
15968         constructs from the list of four, and use the new function above
15969         in place of an old one.
15971 2011-08-28  Deniz Dogan  <deniz@dogan.se>
15973         * net/rcirc.el (rcirc-insert-prev-input)
15974         (rcirc-insert-next-input): Remove unused argument.
15976 2011-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
15978         * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
15980 2011-08-27  Alan Mackenzie  <acm@muc.de>
15982         * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
15983         handle function pointer parameters properly.
15985 2011-08-27  Martin Rudalics  <rudalics@gmx.at>
15987         * window.el (display-buffer-reuse-window): Fix case where
15988         selected window was reused with non-nil OTHER-WINDOW argument.
15989         (Bug#9381)
15991 2011-08-27  Deniz Dogan  <deniz@dogan.se>
15993         * net/rcirc.el (rcirc-check-auth-status): Adding support for
15994         oftc's NickServ messages.
15996 2011-08-27  Glenn Morris  <rgm@gnu.org>
15998         * saveplace.el (save-place-limit): Make it finite.  (Bug#9352)
16000 2011-08-26  Chong Yidong  <cyd@stupidchicken.com>
16002         * emacs-lisp/package.el (package-install): Call package-initialize
16003         if called interactively.
16005 2011-08-26  Leo Liu  <sdl.web@gmail.com>
16007         * emacs-lisp/cl-macs.el (defstruct): Fix format.  (Bug#9357)
16009 2011-08-25  Juri Linkov  <juri@jurta.org>
16011         * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
16012         `search-whitespace-regexp' (bug#9364).
16014 2011-08-25  Juri Linkov  <juri@jurta.org>
16016         * isearch.el (isearch-edit-string): Let-bind `search-ring' and
16017         `regexp-search-ring' to their global values to protect from
16018         updating by `read-from-minibuffer' (bug#9185).
16020 2011-08-25  Juri Linkov  <juri@jurta.org>
16022         * textmodes/ispell.el (ispell-command-loop): Add newline
16023         at the end of the "Use option `i'..." line.
16025 2011-08-25  Juri Linkov  <juri@jurta.org>
16027         * battery.el (display-battery-mode): If `battery-status-function'
16028         or `battery-mode-line-format' is nil, display the message and set
16029         `display-battery-mode' to nil (bug#9363).
16031 2011-08-25  Eli Zaretskii  <eliz@gnu.org>
16033         * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
16034         bidi-string-mark-left-to-right; they are unnecessary now.
16036 2011-08-25  Deniz Dogan  <deniz@dogan.se>
16038         * net/quickurl.el: Documentation typo fixes.
16040 2011-08-25  Chong Yidong  <cyd@stupidchicken.com>
16042         * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
16044 2011-08-25  Glenn Morris  <rgm@gnu.org>
16046         * emacs-lisp/derived.el (define-derived-mode): Doc fix.
16048         * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
16049         (smtpmail-via-smtp): Handle nil response from smtp.
16051 2011-08-24  Juri Linkov  <juri@jurta.org>
16053         * proced.el (proced-marked): Inherit from `error' instead of
16054         `font-lock-warning-face'.
16056         * ibuffer.el (ibuffer-marked-face): Change default face from
16057         `font-lock-warning-face' to `warning'.
16058         (ibuffer-deletion-face): Change default face from
16059         `font-lock-type-face' to `error'.
16061         * battery.el (battery-update): Use the face `error' instead of
16062         `font-lock-warning-face' (bug#6117).
16064 2011-08-24  Juri Linkov  <juri@jurta.org>
16066         * faces.el (success): Change face color from "Green3" to
16067         "ForestGreen" on light background (bug#9353).
16069 2011-08-24  Chong Yidong  <cyd@stupidchicken.com>
16071         * window.el (quit-window): Rename from quit-restore-window.
16072         Use same arglist as old quit-window.
16073         (frame-auto-delete): Doc fix.
16075         * view.el (view-mode-exit): Use quit-window.
16077 2011-08-24  Juri Linkov  <juri@jurta.org>
16079         * isearch.el (isearch-ring-adjust1): Start visiting previous
16080         search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
16081         (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
16082         for empty search string (when the last search string is reused
16083         automatically) to adjust the isearch ring to the last element and
16084         prepare the correct index for further M-p commands (bug#9185).
16086 2011-08-24  Kenichi Handa  <handa@m17n.org>
16088         * international/ucs-normalize.el: If decomposition property of
16089         CHAR is the default one (i.e. a list of CHAR itself), treat it as
16090         nil.
16091         (nfd, nfkd): Likewise.
16093 2011-08-24  Stefan Monnier  <monnier@iro.umontreal.ca>
16095         * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
16096         from process filters aren't reliably transmitted to the surrounding
16097         accept-process-output.
16098         (mpc-proc-check): New function.
16099         (mpc-proc-sync): Use it (bug#8293)
16101 2011-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
16103         * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
16104         Add compatibility functions (bug#9313).
16106 2011-08-23  Eli Zaretskii  <eliz@gnu.org>
16108         * cus-start.el (all): Add entry for bidi-paragraph-direction.
16110         * international/uni-bidi.el: Regenerate.
16112 2011-08-23  Kenichi Handa  <handa@m17n.org>
16114         * international/charprop.el:
16115         * international/uni-bidi.el:
16116         * international/uni-category.el:
16117         * international/uni-combining.el:
16118         * international/uni-comment.el:
16119         * international/uni-decimal.el:
16120         * international/uni-decomposition.el:
16121         * international/uni-digit.el:
16122         * international/uni-lowercase.el:
16123         * international/uni-mirrored.el:
16124         * international/uni-name.el:
16125         * international/uni-numeric.el:
16126         * international/uni-old-name.el:
16127         * international/uni-titlecase.el:
16128         * international/uni-uppercase.el: Regenerate.
16130 2011-08-23  Martin Rudalics  <rudalics@gmx.at>
16132         * help.el (help-window-setup): Fix message displayed when other
16133         window is reused.  (Bug#9341)
16135 2011-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
16137         * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
16138         * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
16140         * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
16141         Mark obsolete.
16142         * shell.el (shell-parse-pcomplete-arguments): New function.
16143         (shell-completion-vars): Use it instead (bug#9160).
16145 2011-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
16147         * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
16148         strings and comments (bug#9333).
16150         * emacs-lisp/debug.el (debug-arglist): New function.
16151         (debug-convert-byte-code): Use it.  Handle lexical byte-codes.
16152         (debug-on-entry-1): Handle interpreted closures (bug#9120).
16154 2011-08-22  Juri Linkov  <juri@jurta.org>
16156         * progmodes/compile.el (compilation-mode-font-lock-keywords):
16157         Revert regexp that highlights output switches to its old
16158         pre-2010-10-28 value and remove one `?' from it (bug#9319).
16160         * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
16161         to check for empty output (bug#9226).
16163 2011-08-22  Chong Yidong  <cyd@stupidchicken.com>
16165         * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
16166         symbol-constituent as the default, as that stops font-lock from
16167         working properly (Bug#8843).
16169 2011-08-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16171         * mail/smtpmail.el (smtpmail-via-smtp): Only bind
16172         `coding-system-for-*' around the process open call to avoid
16173         auth-source side effects.
16174         (smtpmail-try-auth-methods): Expand the secret password.
16175         (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
16176         probe hangs.
16178 2011-08-21  Chong Yidong  <cyd@stupidchicken.com>
16180         * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
16182         * emacs-lisp/find-func.el (find-function-noselect): New arg
16183         lisp-only.
16185         * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
16186         signal an error for built-in functions (Bug#6664).
16188 2011-08-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16190         * mail/smtpmail.el (smtpmail-smtp-user): New variable.
16191         (smtpmail-try-auth-methods): Use it.
16193 2011-08-21  Chong Yidong  <cyd@stupidchicken.com>
16195         * font-lock.el (font-lock-fontify-region)
16196         (font-lock-unfontify-region, font-lock-default-fontify-buffer)
16197         (font-lock-default-unfontify-buffer)
16198         (font-lock-default-fontify-region)
16199         (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
16201         * progmodes/compile.el (compilation-error-properties):
16202         Fix confusion between file struct and message struct (Bug#9319).
16203         (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
16204         `ant' regexp.
16206         * net/browse-url.el (browse-url-firefox): Don't call
16207         browse-url-firefox-sentinel unless using -remote (Bug#9328).
16209 2011-08-20  Glenn Morris  <rgm@gnu.org>
16211         * tutorial.el (help-with-tutorial): Avoid an error on short screens.
16213         * tutorial.el (tutorial--default-keys): Update some default bindings.
16215         * files.el (hack-local-variables): Fully ignore case for "mode:".
16217 2011-08-20  Alan Mackenzie  <acm@muc.de>
16219         Resolve invalid use of a regexp in regexp-opt.
16221         * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
16222         detection for a java annotation.
16224         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
16225         detection for a java annotation.
16227         * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
16228         handling for java.
16229         (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
16231 2011-08-20  Chong Yidong  <cyd@stupidchicken.com>
16233         * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
16234         (Bug#9274).
16236 2011-08-20  Alan Mackenzie  <acm@muc.de>
16238         Fontify CPP expressions correctly when starting in the middle of
16239         such a construct.  Mainly for when jit-lock etc. starts a chunk
16240         here.
16242         * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
16243         variable.
16244         (c-make-font-lock-search-form): New function, extracted from
16245         c-make-font-lock-search-function.
16246         (c-make-font-lock-search-function): Use the above function.
16247         (c-make-font-lock-context-search-function): New function.
16248         (c-cpp-matchers): Enhance the preprocessor expression case with
16249         the above function
16250         (c-font-lock-complex-decl-prepare): Test for being in a CPP form
16251         which takes an expression.
16253         * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
16255 2011-08-20  Martin Rudalics  <rudalics@gmx.at>
16257         * window.el (display-buffer-reuse-window)
16258         (display-buffer-pop-up-window): Don't reuse or split a side
16259         window.
16261 2011-08-19  Glenn Morris  <rgm@gnu.org>
16263         * files.el (hack-local-variables-prop-line, hack-local-variables):
16264         Downcase "Mode:".  (Bug#9331)
16266 2011-08-18  Chong Yidong  <cyd@stupidchicken.com>
16268         * international/characters.el: Add L and R categories.
16270         * subr.el (bidi-string-mark-left-to-right): Rename from
16271         string-mark-left-to-right.  Use category search.
16273         * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
16275 2011-08-18  Juri Linkov  <juri@jurta.org>
16277         * faces.el (error, warning, success): New faces with definitions
16278         copied from old default values of `font-lock-warning-face',
16279         `compilation-warning', `compilation-info' (bug#6117).
16281         * font-lock.el (font-lock-warning-face): Inherit from `error'.
16283         * progmodes/compile.el (compilation-error): Inherit from `error'.
16284         (compilation-warning): Inherit from `warning'.
16285         (compilation-info): Inherit from `success'.
16287         * dired.el (dired-marked): Inherit from `warning'.
16288         (dired-flagged): Inherit from `error'.
16290 2011-08-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16292         * mail/smtpmail.el (auth-source): Require to avoid problems with
16293         binding variables (bug#9298).  Also clean up some unused
16294         autoloads.
16296         * net/network-stream.el (network-stream-open-starttls):
16297         Support using starttls.el without using gnutls-cli.
16299 2011-08-17  Juri Linkov  <juri@jurta.org>
16301         * progmodes/grep.el (rgrep): Handle the case when
16302         `grep-find-command' is a cons cell (bug#9278).
16304 2011-08-17  Martin Rudalics  <rudalics@gmx.at>
16306         * window.el (display-buffer-pop-up-frame): Run frame creation
16307         function with BUFFER current (as special-display-popup-frame
16308         does).  Reported by Drew Adams.
16310 2011-08-17  Daiki Ueno  <ueno@unixuser.org>
16312         * epa-mail.el: Simplify GnuPG group expansion using
16313         epg-expand-group.
16314         (epa-mail-group-alist, epa-mail-group-modtime)
16315         (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
16316         (epa-mail-sync-groups, epa-mail-expand-recipient-1)
16317         (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
16318         Remove.
16320 2011-08-16  Feng Li  <fengli@gmail.com>  (tiny change)
16322         * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
16324 2011-08-16  Alan Mackenzie  <acm@muc.de>
16326         * progmodes/cc-engine.el (c-state-cache-non-literal-place):
16327         Correct, to avoid the inside of macros.
16329 2011-08-16  Richard Stallman  <rms@gnu.org>
16331         * epa-mail.el: Handle GnuPG group definitions.
16332         (epa-mail-group-alist, epa-mail-group-modtime)
16333         (epa-mail-gnupg-conf-file): New variables.
16334         (epa-mail-parse-groups, epa-mail-sync-groups)
16335         (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
16336         (epa-mail-expand-recipients): New functions.
16337         (epa-mail-encrypt): Call epa-mail-expand-recipients.
16339         * mail/rmail.el (rmail-epa-decrypt): New command.
16341         * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
16342         Don't bind buffer-read-only, just inhibit-read-only.
16343         (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
16344         (epa-decrypt-armor-in-region): Make error message clearer.
16346 2011-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
16348         * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
16349         and "a2b" to "ab" for `prefix'.
16351 2011-08-14  Chong Yidong  <cyd@stupidchicken.com>
16353         * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
16354         filter groups.
16355         (ibuffer-included-in-filter-p-1): Use it.  Suggested by RafaĂ«l
16356         Fourquet (Bug#8804).
16358 2011-08-12  Juanma Barranquero  <lekktu@gmail.com>
16360         * startup.el (argi): Declare as global variable (bug#9275).
16362 2011-08-12  Chong Yidong  <cyd@stupidchicken.com>
16364         * subr.el (string-mark-left-to-right): Search the entire string
16365         for RTL script, not just the terminating character.  Doc fix.
16367 2011-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
16369         * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
16370         New function.
16371         (js--regexp-literal, js-syntax-propertize-function): Remove.
16372         (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
16373         (js-mode-map): Don't rebind electric keys.
16374         (js-insert-and-indent): Remove.
16375         (js-mode): Setup electric-layout and electric-indent instead.
16377         * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
16379 2011-08-12  Daiki Ueno  <ueno@unixuser.org>
16381         * epa.el (epa-progress-callback-function): Fix the logic of
16382         displaying progress.
16383         * epa-file.el (epa-file-insert-file-contents): Make progress
16384         display more user-friendly.
16385         (epa-file-write-region): Ditto.
16387 2011-08-10  Chong Yidong  <cyd@stupidchicken.com>
16389         * subr.el (string-mark-left-to-right): New function.
16391         * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
16392         Use string-mark-left-to-right.
16393         (list-buffers-noselect): Caller changed.
16395         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
16396         Use string-mark-left-to-right.
16397         (tabulated-list-print): Recenter after moving point.
16399 2011-08-10  Juri Linkov  <juri@jurta.org>
16401         * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
16402         This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
16403         intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
16405 2011-08-09  Chong Yidong  <cyd@stupidchicken.com>
16407         * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
16408         (Bug#7554).
16410 2011-08-09  Andreas Schwab  <schwab@linux-m68k.org>
16412         * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
16413         character.  (Bug#6594)
16415 2011-08-08  Chong Yidong  <cyd@stupidchicken.com>
16417         * image-dired.el: Don't use find-file for temporary work (Bug#7895).
16418         (image-dired--with-db-file): New macro.
16419         (image-dired-write-tags, image-dired-remove-tag)
16420         (image-dired-create-gallery-lists, image-dired-write-comments)
16421         (image-dired-get-comment, image-dired-mark-tagged-files)
16422         (image-dired-list-tags, image-dired-gallery-generate): Use it.
16423         (image-dired-gallery-generate): Use insert-file-contents.
16425         * time.el (display-time-world-list, display-time-world-display):
16426         * time-stamp.el (time-stamp-string):
16427         * vc/add-log.el (add-change-log-entry): Use setenv instead of
16428         set-time-zone-rule (Bug#7337).
16430 2011-08-08  Daiki Ueno  <ueno@unixuser.org>
16432         * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
16433         (epg-error-to-string, epg-errors-to-string): New function.
16434         (epg-wait-for-completion): Reverse errors list.
16435         (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
16436         (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
16437         (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
16438         (epg-sign-keys, epg-generate-key-from-file)
16439         (epg-generate-key-from-string): Format errors by using
16440         epg-errors-to-string (bug#9255).
16441         (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
16443 2011-08-07  Juri Linkov  <juri@jurta.org>
16445         * faces.el (list-faces-display): Remove extra angle bracket
16446         from `help-mode-map'.
16448         * info.el (Info-history-toc-nodes): Doc fix.
16450         * longlines.el (longlines-mode): Doc fix.
16452 2011-08-05  Stefan Monnier  <monnier@iro.umontreal.ca>
16454         * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
16455         of statements and in a few more cases (bug#9183).
16457         * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
16458         New functions.
16459         (cl-transform-lambda): Use them (bug#9239).
16461 2011-08-05  Martin Rudalics  <rudalics@gmx.at>
16463         * window.el (display-buffer-same-window)
16464         (display-buffer-same-frame, display-buffer-other-window)
16465         (pop-to-buffer-same-window, pop-to-buffer-same-frame)
16466         (pop-to-buffer-other-window)
16467         (pop-to-buffer-same-frame-other-window)
16468         (pop-to-buffer-other-frame): Make them defuns.
16469         (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
16471 2011-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
16473         * subr.el (make-composed-keymap): Move from C.  Change calling
16474         convention, and improve docstring to bring attention to a subtle point.
16475         * minibuffer.el (completing-read-default): Adjust accordingly.
16477 2011-08-03  Michael Albinus  <michael.albinus@gmx.de>
16479         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
16480         (tramp-open-shell): Use `tramp-shell-quote-argument'.
16482         * net/trampver.el: Update release number.
16484 2011-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
16486         * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
16487         "in" (bug#9190).
16489 2011-08-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16491         * mail/sendmail.el (sendmail-query-once): Restore the current
16492         buffer after querying (bug#9074).
16494         * dired.el (dired-flagged): Use different faces for marked and
16495         flagged files (bug#6117).
16497         * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
16498         (bug#4433).
16500         * ido.el (ido-mode): Switch off the message if called
16501         non-interactively.
16503         * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
16504         before 587, since it appears that that's more likely to work for
16505         more people.
16507         * cus-edit.el (custom-file): When running under emacs -q, always
16508         refuse to save the customizations, even if the .emacs file doesn't
16509         exist.
16511         * info.el: Remove the `Info-beginning-of-buffer' function
16512         (bug#8325).
16514         * net/network-stream.el (network-stream-open-starttls):
16515         Use `starttls-available-p' to see whether starttls.el can be used.
16517 2011-08-01  Martin Rudalics  <rudalics@gmx.at>
16519         * window.el (display-buffer-in-window): Don't set dedicated status
16520         of window here (Bug#9215).
16521         (display-buffer-pop-up-window, display-buffer-pop-up-frame)
16522         (display-buffer-pop-up-side-window)
16523         (display-buffer-in-side-window): Set dedicated status of window here.
16525 2011-08-01  Stefan Monnier  <monnier@iro.umontreal.ca>
16527         * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
16528         before binding generated-autoload-file.
16530 2011-08-01  Deniz Dogan  <deniz@dogan.se>
16532         * net/rcirc.el (rcirc-handler-333): Clarify docstring.
16534 2011-07-30  Michael Albinus  <michael.albinus@gmx.de>
16536         Sync with Tramp 2.2.2.
16538         * net/trampver.el: Update release number.
16540 2011-07-30  Juri Linkov  <juri@jurta.org>
16542         * dired-aux.el (dired-touch-initial): Remove function.
16543         (dired-do-chxxx): For op-symbol `touch', set `initial' to the
16544         current time, and `default' to the last modification time of the
16545         current marked file (bug#6887).
16547 2011-07-28  Jose E. Marchesi  <jemarch@gnu.org>
16549         * simple.el (goto-line): Use string-to-number to provide a
16550         numeric argument to read-number (bug#9163).
16552 2011-07-27  Michael Albinus  <michael.albinus@gmx.de>
16554         * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
16555         connection process, it could be nil.
16557 2011-07-27  Leo Liu  <sdl.web@gmail.com>
16559         Simplify url handling in rcirc-mode.
16561         * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
16562         (rcirc-browse-url-at-mouse): Remove.
16563         * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
16565 2011-07-26  Alan Mackenzie  <acm@muc.de>
16567         Fontify bitfield declarations properly.
16569         * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
16570         (c-symbol-chars): Now exported as a lang variable.
16571         (c-not-primitive-type-keywords): New lang variable.
16573         * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
16574         QT keyword "more" to prevent "more slots: ...." being spuriously
16575         parsed as a bitfield declaration.
16577         * progmodes/cc-engine.el (c-beginning-of-statement-1):
16578         Refactor and enhance to handle bitfield declarations.
16579         (c-punctuation-in): New function.
16580         (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
16581         declarations properly.
16583 2011-07-26  Ulf Jasper  <ulf.jasper@web.de>
16585         * calendar/icalendar.el (icalendar--all-events): Take care of
16586         multiple vcalendars in a single file.
16587         (icalendar--convert-float-to-ical): Checkdoc fixes.
16589 2011-07-25  Deniz Dogan  <deniz@dogan.se>
16591         * image.el (insert-image): Clarifying docstring.
16593 2011-07-24  Michael Albinus  <michael.albinus@gmx.de>
16595         * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
16596         `tramp-send-command-and-check' if there is no error.
16597         (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
16599 2011-07-22  Alan Mackenzie  <acm@muc.de>
16601         Prevent cc-langs.elc being loaded at run time.
16603         * progmodes/cc-mode.el: Remove two autoload forms which loaded
16604         cc-langs.
16606         * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
16607         "(require 'cc-langs)".  Quote a form so it will evaluate at
16608         (cc-mode's) compilation time.
16610 2011-07-22  Michael Albinus  <michael.albinus@gmx.de>
16612         * net/tramp.el (tramp-file-name-handler): Avoid recursive
16613         loading.  (Bug#9114)
16615 2011-07-21  Martin Rudalics  <rudalics@gmx.at>
16617         * window.el (display-buffer-pop-up-window)
16618         (display-buffer-pop-up-side-window)
16619         (display-buffer-in-side-window): Call display-buffer-set-height
16620         and display-buffer-set-width after setting the new window's
16621         buffer so `fit-window-to-buffer' and friends work on the right buffer.
16623 2011-07-20  Sam Steingold  <sds@gnu.org>
16625         * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
16626         (etags-tags-included-tables): Call `convert-standard-filename' on
16627         the file names contained in TAGS so that windows Emacs can handle
16628         TAGS files created by cygwin ctags.
16630 2011-07-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16632         * proced.el (proced-update): Revert yesterday's bug#1779 patch,
16633         which apparently didn't work.
16635 2011-07-19  Roland Winkler  <winkler@gnu.org>
16637         * proced.el (proced-send-signal): For *Marked Processes* buffer
16638         put point at beginning of buffer.
16640 2011-07-19  Stephen Berman  <stephen.berman@gmx.net>
16642         * proced.el (proced-format): Make header lines align with the text
16643         (bug#1779).
16645 2011-07-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16647         * view.el (view-buffer): Allow running in `special' modes if we're
16648         visiting a file (bug#8615).
16650 2011-07-19  Martin Rudalics  <rudalics@gmx.at>
16652         * window.el (display-buffer-alist-of-strings-p)
16653         (display-buffer-alist-set-1, display-buffer-alist-set-2):
16654         New functions.
16655         (display-buffer-alist-set): Rewrite to handle Emacs 23 options
16656         more accurately.
16658 2011-07-18  Alan Mackenzie  <acm@muc.de>
16660         Fontify declarators properly when, e.g., a jit-lock chunk begins
16661         inside a declaration.
16663         * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
16665         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
16666         New function.
16667         (c-complex-decl-matchers): Insert reference to
16668         c-font-lock-enclosing-decls.
16670         * progmodes/cc-engine.el (c-backward-single-comment):
16671         (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
16672         to nil around calls to (forward-comment -1).
16674 2011-07-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16676         * image.el (put-image): Doc typo fix.
16678         * progmodes/etags.el (tags-search): Doc typo fix.
16680         * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
16681         password if we get errors 550 to 554.
16683 2011-07-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16685         * net/gnutls.el (gnutls-log-level): Remove.
16687         * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
16688         indentation character (bug#6380).
16690         * files.el (buffer-offer-save): Made permanently local (bug#6241).
16692         * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
16693         to clarify what the problem is (bug#4291).
16695         * simple.el (current-kill): Clarify what
16696         `interprogram-paste-function' does (bug#7500).
16697         (auto-fill-mode): Document `auto-fill-function' in relation to
16698         `auto-fill-mode' (bug#2470).
16700 2011-07-16  Lawrence Mitchell  <wence@gmx.li>
16702         * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
16703         method if slot is read-only (bug#9035).
16705 2011-07-16  Martin Rudalics  <rudalics@gmx.at>
16707         * frame.el (select-frame-set-input-focus): New argument NORECORD.
16708         * window.el (pop-to-buffer): Select window used even if it was
16709         selected before, see discussion of (Bug#8615), (Bug#6954).
16710         Pass argument NORECORD on to select-frame-set-input-focus.
16712 2011-07-15  Glenn Morris  <rgm@gnu.org>
16714         * subr.el (read-char-choice): Allow quitting.  (Bug#9001)
16715         Respect help-form.
16717 2011-07-09  Lawrence Mitchell  <wence@gmx.li>
16719         * net/gnutls.el (gnutls-min-prime-bits): New variable.
16720         (gnutls-negotiate): Use it.
16722 2011-07-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16724         * net/gnutls.el (gnutls-negotiate):
16725         Upcase `gnutls-algorithm-priority'.
16727 2011-07-15  Glenn Morris  <rgm@gnu.org>
16729         * jka-compr.el (jka-compr-verbose): Move from here...
16730         * jka-cmpr-hook.el (jka-compr-verbose): ... to here.  (Bug#9090)
16731         Add missing :version tag.
16732         * info.el: No need to require jka-compr when compiling.
16734 2011-07-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16736         * net/gnutls.el (gnutls-algorithm-priority): New variable.
16737         (gnutls-negotiate): Use it.
16739         * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
16741         * info.el (Info-beginning-of-buffer): New command.
16742         (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
16743         announcing `b' as the key (bug#8325).
16744         (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
16746         * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
16748         * international/mule-cmds.el
16749         (describe-specified-language-support): Make the error message
16750         clearer (bug#8905).
16752         * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
16754         * isearch.el (isearch-barrier): Add a doc string, since it's
16755         mentioned in a function doc string (bug#8678).
16757 2011-07-15  Martin Rudalics  <rudalics@gmx.at>
16759         * window.el (switch-to-buffer): Call pop-to-buffer with normalized
16760         buffer argument (Bug#9083) and self-identifying label argument.
16762 2011-07-15  Glenn Morris  <rgm@gnu.org>
16764         * emacs-lisp/debug.el (debug): Doc fix.  (Bug#8273)
16766 2011-07-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16768         * man.el (Man-fontify-manpage): Fix message when formatting the
16769         man page (bug#7929).
16771 2011-07-14  Eli Zaretskii  <eliz@gnu.org>
16773         * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
16774         argument LRM; if non-nil, append an invisible LRM character to the
16775         buffer name.
16776         (list-buffers-noselect): Call Buffer-menu-buffer+size with the
16777         last argument non-nil, when formatting buffer names.
16778         (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
16779         paragraph direction.
16781 2011-07-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16783         * man.el (Man-bgproc-sentinel): Skip any arguments and only output
16784         the man page name (bug#7929).
16786         * image.el (put-image): Mention the `put-image' overlay property
16787         (bug#7834).
16789         * scroll-bar.el (set-scroll-bar-mode): Mention that
16790         `scroll-bar-mode' lists the values (bug#7772).
16792         * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
16793         command (bug#7729).
16795         * rect.el (apply-on-rectangle): Return the point after the last
16796         operation.
16797         (string-rectangle): Go to the point after the last operation
16798         (bug#7522).
16800         * printing.el (pr-toggle-region): Clarify the documentation
16801         slightly (bug#7493).
16803         * time.el (display-time-update):
16804         Allow `display-time-mail-function' to return nil (bug#7158).
16805         Fix suggested by Detlev Zundel.
16807         * vc/diff.el (diff): Clarify the order the file names are read
16808         (bug#7111).
16810         * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
16811         the doc string (bug#7015).
16813         * font-lock.el (font-lock-maximum-decoration): Mention what
16814         numeric levels mean (bug#6935).
16816         * startup.el (initial-buffer-choice): Don't mention the `none'
16817         selection, which is against policy.
16819 2011-07-14  Martin Rudalics  <rudalics@gmx.at>
16821         * window.el (display-buffer-normalize-special):
16822         Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
16824 2011-07-14  Eli Zaretskii  <eliz@gnu.org>
16826         * subr.el (version<, version<=, version=): Mention "-CVS" and
16827         "-12345" alpha version numbers.
16829 2011-07-14  Chong Yidong  <cyd@stupidchicken.com>
16831         * bindings.el: Add advertised binding for set-mark-command
16832         (Bug#5772).
16834 2011-07-14  Chong Yidong  <cyd@stupidchicken.com>
16836         * bindings.el (mode-line-other-buffer):
16837         * bookmark.el (bookmark-bmenu-2-window):
16838         * bs.el (bs-cycle-next, bs-cycle-previous):
16839         * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
16840         switch-to-buffer.
16842         * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
16843         Delete.
16845 2011-07-14  Juanma Barranquero  <lekktu@gmail.com>
16847         * follow.el (follow-debug-message, follow-redisplay):
16848         * jka-cmpr-hook.el (with-auto-compression-mode):
16849         Fix typos in docstrings.
16851 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16853         * subr.el (with-silent-modifications): Clarify somewhat what the
16854         macro inhibits (bug#6525).
16856         * simple.el (eval-expression): Note what it does if called
16857         interactively (bug#6495).
16859 2011-07-13  Chong Yidong  <cyd@stupidchicken.com>
16861         * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
16862         Use pop-to-buffer buffer-or-name if it is nil.
16864         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
16865         Remove switch-to-buffer.
16867 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16869         * files.el (make-directory): Clarify that an error will be raised
16870         if there's an error (bug#6397).
16872         * startup.el (initial-buffer-choice): Add `none' as a choice
16873         (bug#6234).
16875         * subr.el (add-hook): Clarify section about buffer-local hooks
16876         (bug#6218).
16878         * dired.el (dired-flagged): Clarify doc string (bug#6117).
16880 2011-07-13  Juanma Barranquero  <lekktu@gmail.com>
16882         * tabify.el (untabify): Preserve the current column so that point
16883         doesn't move (bug#6032).
16885 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16887         * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
16888         Rewrite to avoid awkward possessive "s" (bug#5986).
16890 2011-07-13  Glenn Morris  <rgm@gnu.org>
16892         * dired.el (dired-use-ls-dired): Doc fix.  (Bug#9039).
16893         (dired-insert-directory): Give a message the first time
16894         if ls is found not to support --dired.
16896 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16898         * simple.el (toggle-truncate-lines): Clarify what is toggled
16899         (bug#5580).  Text by Drew Adams.
16901 2011-07-13  Chong Yidong  <cyd@stupidchicken.com>
16903         * simple.el (blink-matching-open): Make the error message from the
16904         last change less verbose.
16906 2011-07-13  Dan Nicolaescu  <dann@ics.uci.edu>
16908         * font-lock.el (font-lock-comment-face): Use the high contrast
16909         "yellow" color for font-lock-comment-face on low color terminals
16910         using a dark background color (bug#4221).
16912 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16914         * dired.el (dired-insert-set-properties): Make the doc string
16915         reflect what it does now (bug#5325).
16917         * simple.el (blink-matching-open): Say that we were unable to find
16918         the match within the limit, if we're limited (bug#5122).
16920         * international/mule-cmds.el (prefer-coding-system): Add an
16921         example (bug#4869).
16923         * progmodes/etags.el (tags-search): Document `file-list-form'
16924         (bug#4731).
16926 2011-07-13  Lawrence Mitchell  <wence@gmx.li>
16928         * net/browse-url.el (browse-url-default-browser)
16929         (browse-url-browser-function): Make the default browser choice a
16930         bit more logical (bug#4300).  Also clean up the doc string.
16932 2011-07-13  Juanma Barranquero  <lekktu@gmail.com>
16934         * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
16935         binary endings (bug#4440).
16937 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16939         * info.el (info-insert-file-contents): Inhibit jka-compr messages,
16940         which can be pretty annoying (bug#8971).
16942         * jka-compr.el (jka-compr-verbose): New variable, and use
16943         throughout (bug#8971).
16945         * info.el (Info-find-file): Fall back on the installation
16946         directory if we can't find the info node anywhere else.
16948 2011-07-13  Sergei Organov  <osv@javad.com>  (tiny change)
16950         * vc/vc.el (vc-revert-file):
16951         Don't set file time-stamp in the past.  (Bug#5181)
16953 2011-07-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16955         * files.el (after-find-file): Give a better error message when
16956         trying to find a symlink that points to a file that doesn't exist
16957         (bug#4398).
16959         * progmodes/cc-vars.el: Remove (probably) misleading comment
16960         (bug#4396).
16962 2011-07-12  Johan BockgĂ¥rd  <bojohan@gnu.org>
16964         * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
16966 2011-07-12  Chong Yidong  <cyd@stupidchicken.com>
16968         * mouse-sel.el: Hack restoring functionality, while keeping
16969         compatibility with 2010-07-03 changes to mouse selection.
16970         (mouse-sel-primary-overlay): New var.
16971         (mouse-sel-selection-alist): Use it.
16972         (mouse-sel-mode): Doc fix; remove points that are default features
16973         of mouse.el.
16975 2011-07-12  Johan BockgĂ¥rd  <bojohan@gnu.org>
16977         * progmodes/compile.el (compilation-error-regexp-alist-alist):
16978         Fix previous fix (bug#2490).
16980 2011-07-12  Roland Winkler  <winkler@gnu.org>
16982         * textmodes/bibtex.el (bibtex-initialize):
16983         Use pop-to-buffer-same-window.
16984         (bibtex-search-entries): Fix interactive call.
16986 2011-07-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16988         * progmodes/compile.el (compilation-error-regexp-alist-alist):
16989         Fontise bytecomp Error lines more correctly (bug#2490).
16990         Fix suggested by Johan BockgĂ¥rd.
16992         * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
16994         * dired-x.el (dired-guess-default): Use `delete-dups'.
16996 2011-07-12  Chong Yidong  <cyd@stupidchicken.com>
16998         * dired.el (dired-mark-prompt):
16999         * dired-aux.el (dired-read-shell-command): Doc fix.
17001 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17003         * mail/sendmail.el (sendmail-query-once):
17004         Use `customize-save-variable' unconditionally, now that it works under
17005         emacs -Q.
17007         * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
17009         * cus-edit.el (custom-file): Take an optional no-error variable.
17010         (customize-save-variable): Set the variable, and give a warning if
17011         running under "emacs -q".
17013 2011-07-11  Juanma Barranquero  <lekktu@gmail.com>
17015         * loadhist.el (unload-feature-special-hooks):
17016         Add `auto-coding-functions', `fill-nobreak-predicate' and
17017         `find-directory-functions' (bug#5327).
17019 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17021         * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
17023         * cus-edit.el (custom-guess-name-alist): -alist variables should
17024         use the `alist' type (bug#3120).  Suggested by Drew Adams.
17026         * printing.el: Add documentation to all the `pr-toggle-' commands.
17028 2011-07-11  Leo Liu  <sdl.web@gmail.com>
17030         * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
17031         backends where it makes sense (bug#2623).
17033 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17035         * dired-x.el (dired-guess-default): Remove duplicate shell command
17036         entries (bug#2028).
17037         (dired-guess-default): Fix grammar in doc string (bug#2028).
17038         (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
17040         * subr.el (remove-duplicates): New conveniency function.
17042 2011-07-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17044         * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
17045         (bug#1526).
17047 2011-07-10  Martin Rudalics  <rudalics@gmx.at>
17049         * window.el (display-buffer-normalize-default): Don't invert
17050         meaning of even-window-heights.  Reported by Eli Zaretskii
17051         <eliz@gnu.org>.
17053 2011-07-10  Bob Rogers  <rogers@rgrjr.dyndns.org>
17055         * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
17057 2011-07-10  Chong Yidong  <cyd@stupidchicken.com>
17059         * window.el (display-buffer): Fix arguments to
17060         display-buffer-reuse-window in last change.
17062         * faces.el (link): Use a less saturated blue on light backgrounds.
17064         * startup.el (fancy-startup-text, fancy-about-text)
17065         (fancy-startup-tail): Use font-lock faces, for background safety.
17067 2011-07-09  Bob Nnamtrop  <bobnnamtrop@gmail.com>  (tiny change)
17069         * emulation/viper-cmd.el (viper-change-state-to-vi):
17070         Limit triggering of abbrev expansion (Bug#9038).
17072 2011-07-09  Martin Rudalics  <rudalics@gmx.at>
17074         * window.el (display-buffer-default-specifiers): Remove.
17075         (display-buffer-macro-specifiers): Remove default specifiers.
17076         (display-buffer-alist): Default to nil.
17077         (display-buffer-reuse-window): New optional argument other-window.
17078         (display-buffer-pop-up-window): Allow splitting internal
17079         windows.  Check whether a live window was created.
17080         (display-buffer-other-window-means-other-frame)
17081         (display-buffer-normalize-arguments): Rename to
17082         display-buffer-normalize-argument and rewrite.  Set the
17083         other-window specifier.
17084         (display-buffer-normalize-special): New function.
17085         (display-buffer-normalize-options): Rename to
17086         display-buffer-normalize-default and rewrite.
17087         (display-buffer-normalize-options-inhibit): Remove.
17088         (display-buffer-normalize-specifiers): Rewrite.
17089         (display-buffer): Process other-window specifier and call
17090         display-buffer-reuse-window with it.  Emulate Emacs 23 behavior
17091         more faithfully.
17092         (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
17093         (display-buffer-alist-set): Don't handle 'unset default values.
17094         (display-buffer-in-window, display-buffer-alist-set):
17095         Replace symbol "dedicated" by "dedicate".  Reported by Tassilo Horn
17096         <tassilo@member.fsf.org>.
17098 2011-07-09  Leo Liu  <sdl.web@gmail.com>
17100         * register.el (insert-register): Restore accidental change on
17101         2011-06-26.  (Bug#9028)
17103 2011-07-09  Glenn Morris  <rgm@gnu.org>
17105         * subr.el (remq): Handle the empty list.  (Bug#9024)
17107 2011-07-08  Andreas Schwab  <schwab@linux-m68k.org>
17109         * mail/sendmail.el (send-mail-function): No longer delay custom
17110         initialization.
17111         * custom.el (custom-initialize-delay): Doc fix.
17113 2011-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
17115         * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
17117 2011-07-08  Michael Albinus  <michael.albinus@gmx.de>
17119         * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
17120         human-friendly prompt.
17122 2011-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
17124         * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
17125         provided by a particular plugin.
17127 2011-07-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17129         * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
17130         save customizations (with "emacs -Q"), just set the variable
17131         instead of erroring out.
17133         * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
17135 2011-07-08  Juri Linkov  <juri@jurta.org>
17137         * arc-mode.el (archive-zip-expunge, archive-zip-update)
17138         (archive-zip-update-case): Use 7z if found by `executable-find'.
17139         The order of searching the available programs is the same as in
17140         `archive-zip-extract' (bug#8968).
17142 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
17144         * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
17145         (menu-bar-options-menu): Tweak descriptions.
17147 2011-07-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17149         * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
17150         menu items into verb phrases (bug#1421).  Also refill to fit under
17151         80 columns.
17153 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
17155         * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
17156         (Info-read-node-name): Doc fix (Bug#1084).
17158         * thingatpt.el (forward-thing, bounds-of-thing-at-point)
17159         (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
17160         (end-of-sexp, beginning-of-sexp)
17161         (thing-at-point-bounds-of-list-at-point, forward-whitespace)
17162         (forward-symbol, forward-same-syntax, word-at-point)
17163         (sentence-at-point): Doc fix (Bug#1144).
17165 2011-07-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17167         * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
17168         should cover it (bug#1281).
17170         * cus-edit.el (custom-show): Mark as obsolete.
17172         * net/network-stream.el (network-stream-open-starttls): If GnuTLS
17173         negotiation fails, then possibly try again with a non-encrypted
17174         connection (bug#9017).
17176         * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
17177         be used.
17179 2011-07-07  Richard Stallman  <rms@gnu.org>
17181         * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
17182         property, and handle its changed format.
17183         Look for the correct line number.
17184         Use file's line contents (but not past first =) to find
17185         correct line in message.
17187 2011-07-07  Kenichi Handa  <handa@m17n.org>
17189         * international/characters.el (build-unicode-category-table):
17190         Delete it.
17191         (unicode-category-table): Set it by unicode-property-table-internal.
17193         * international/mule-cmds.el (char-code-property-alist): Move to
17194         to src/chartab.c.
17195         (get-char-code-property): Call unicode-property-table-internal to
17196         load a file.  Call get-unicode-property-internal where necessary.
17197         (put-char-code-property): Call unicode-property-table-internal to
17198         load a file.  Call put-unicode-property-internal where necessary.
17199         put-unicode-property-internal where necessary.
17200         (char-code-property-description):
17201         Call unicode-property-table-internal to load a file.
17203         * international/charprop.el:
17204         * international/uni-bidi.el:
17205         * international/uni-category.el:
17206         * international/uni-combining.el:
17207         * international/uni-comment.el:
17208         * international/uni-decimal.el:
17209         * international/uni-decomposition.el:
17210         * international/uni-digit.el:
17211         * international/uni-lowercase.el:
17212         * international/uni-mirrored.el:
17213         * international/uni-name.el:
17214         * international/uni-numeric.el:
17215         * international/uni-old-name.el:
17216         * international/uni-titlecase.el:
17217         * international/uni-uppercase.el: Regenerate.
17219         * loadup.el: Load international/charprop.el before
17220         international/characters.
17222 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
17224         * window.el (next-buffer, previous-buffer): Signal an error if
17225         called from a minibuffer window.
17227         * bindings.el: Revert 2011-07-04 change.
17229 2011-07-06  Richard Stallman  <rms@gnu.org>
17231         * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
17232         (rmail-mime-insert-bulk, rmail-mime-insert-text):
17233         Treat markers like ints.
17234         (rmail-mime-entity): Doc fix.
17236 2011-07-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17238         * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
17239         defcustom again for backwards compatibility.
17241         * simple.el (shell-command-on-region): Fill.
17243         * dired-aux.el (dired-kill-line): Add a doc string.
17245         * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
17246         to "\\sw\\|\\s_" (bug#358).
17248         * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
17249         (dired-unmark-backward): Ditto.
17250         (dired-flag-backup-files): Ditto.
17252         * dired-x.el (dired-mark-sexp): Ditto.
17254 2011-07-06  Richard Stallman  <rms@gnu.org>
17256         * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
17257         (rmail-mime-entity): New arg TRUNCATED.
17258         (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
17259         New functions.
17260         (rmail-mime-save): Warn if entity is truncated.
17261         (rmail-mime-toggle-hidden): Likewise, for showing.
17262         (rmail-mime-process-multipart): Record when an entity is truncated.
17264         * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
17265         if ENTITY is a string.
17267 2011-07-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17269         * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
17270         of faces when `M-C-x'-ing their definitions (bug#8378).
17271         Also clean up the code slightly.
17273         * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
17274         because that makes the colors go away.
17276         * mail/sendmail.el (send-mail-function): Change the default to
17277         `sendmail-query-once'.
17278         (sendmail-query-once): Add an autoload cookie.
17280         * net/network-stream.el (network-stream-open-starttls): Try using
17281         a plain connection even if the server offered STARTTLS, and we
17282         kinda wanted to use it, if Emacs doesn't have any STARTTLS
17283         capability.  This should make smtpmail.el work in slightly more
17284         configurations.
17286 2011-07-06  Michael Albinus  <michael.albinus@gmx.de>
17288         * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
17289         New defun.
17290         * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
17292 2011-07-06  Michael R. Mauger  <mmaug@yahoo.com>
17294         * progmodes/sql.el: Version 3.0
17295         (sql-product-alist): Add product :completion-object,
17296         :completion-column, and :statement attributes.
17297         (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
17298         (sql-mode-syntax-table): Mark all punctuation.
17299         (sql-font-lock-keywords-builder): Temporarily remove fallback on
17300         ansi keywords.
17301         (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
17302         (sql-mode-oracle-font-lock-keywords): Improve.
17303         (sql-oracle-show-reserved-words): New function for development.
17304         (sql-product-font-lock): Simplify for source code buffers.
17305         (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
17306         New functions.
17307         (sql-highlight-product): Set product specific syntax table.
17308         (sql-mode-map): Add statement movement functions.
17309         (sql-ansi-statement-starters, sql-oracle-statement-starters):
17310         New variable.
17311         (sql-statement-regexp, sql-beginning-of-statement)
17312         (sql-end-of-statement, sql-signum): New functions.
17313         (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
17314         (sql-show-sqli-buffer): Bug fix.
17315         (sql-interactive-mode): Store connection data as buffer local.
17316         (sql-connect): Add NEW-NAME parameter.  Redesign interaction
17317         with sql-interactive-mode.
17318         (sql-save-connection): Save buffer local settings.
17319         (sql-connection-menu-filter): Change menu entry name.
17320         (sql-product-interactive): Bug fix.
17321         (sql-preoutput-hold): New variable.
17322         (sql-interactive-remove-continuation-prompt): Bug fixes.
17323         (sql-debug-redirect): New variable.
17324         (sql-str-literal): New function.
17325         (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
17326         Redesign.
17327         (sql-oracle-save-settings, sql-oracle-restore-settings)
17328         (sql-oracle-list-all, sql-oracle-list-table): New functions.
17329         (sql-completion-object, sql-completion-column)
17330         (sql-completion-sqlbuf): New variables.
17331         (sql-build-completions-1, sql-build-completions)
17332         (sql-try-completion): New functions.
17333         (sql-read-table-name): Use them.
17334         (sql-contains-names): New buffer local variable.
17335         (sql-list-all, sql-list-table): Use it.
17336         (sql-oracle-completion-types): New variable.
17337         (sql-oracle-completion-object, sql-sqlite-completion-object)
17338         (sql-postgres-completion-object): New functions.
17340 2011-07-06  Glenn Morris  <rgm@gnu.org>
17342         * window.el (pop-to-buffer): Doc fix.
17344 2011-07-06  Markus Heiser  <markus.heiser@darmarit.de>  (tiny change)
17346         * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
17348 2011-07-06  Chong Yidong  <cyd@stupidchicken.com>
17350         * window.el (special-display-popup-frame): Doc fix (Bug#8853).
17352         * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
17354 2011-07-05  Chong Yidong  <cyd@stupidchicken.com>
17356         * button.el (button): Inherit from link face.  Suggested by Dan
17357         Nicolaescu.
17359 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
17361         * progmodes/gdb-mi.el: Fit in 80 columns.
17362         (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
17363         switch-to-buffer.
17365         * progmodes/which-func.el (which-func-ff-hook): Don't output a message
17366         if imenu is simply not configured (bug#8941).
17368 2011-07-05  Ken Manheimer  <ken.manheimer@gmail.com>
17370         * allout.el (allout-post-undo-hook): New allout outline-change
17371         event hook to signal undo activity.
17372         (allout-post-command-business): Run allout-post-undo-hook if an
17373         undo just occurred.
17374         (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
17375         * allout-widgets.el (allout-widgets-after-undo-function):
17376         Ensure the integrity of the current item's decoration after it has been
17377         in the vicinity of an undo.
17378         (allout-widgets-mode): Include allout-widgets-after-undo-function
17379         on the new allout-post-undo-hook.
17381 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
17383         * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
17384         Let define-derived-mode define it.
17385         * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
17386         cycles of abbrev-table inheritance (bug#8998).
17388 2011-07-05  Roland Winkler  <winkler@gnu.org>
17390         * textmodes/bibtex.el: Add support for biblatex.
17391         (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
17392         (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
17393         (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
17394         (bibtex-entry-alist, bibtex-field-alist): New variables.
17395         (bibtex-entry-field-alist): Obsolete alias for
17396         bibtex-BibTeX-entry-alist.
17397         (bibtex-entry-alist, bibtex-field-alist): New widgets.
17398         (bibtex-set-dialect): New command.
17399         (bibtex-entry-type, bibtex-entry-head)
17400         (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
17401         Bind via bibtex-set-dialect.
17402         (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
17403         (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
17404         (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
17405         (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
17406         Define via bibtex-set-dialect.
17407         (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
17408         Obey bibtex-no-opt-remove-re.
17409         (bibtex-vec-push, bibtex-vec-incr): New functions.
17410         (bibtex-format-entry, bibtex-field-list)
17411         (bibtex-print-help-message, bibtex-validate)
17412         (bibtex-search-entries): Use new format of bibtex-entry-alist.
17414 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
17416         * progmodes/compile.el (compilation-goto-locus):
17417         * net/tramp-cmds.el (tramp-append-tramp-buffers):
17418         * bs.el (bs-cycle-next, bs-cycle-previous):
17419         * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
17420         * bindings.el (mode-line-other-buffer):
17421         * autoinsert.el (auto-insert):
17422         * arc-mode.el (archive-extract):
17423         * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
17425 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
17427         * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
17428         Fix check of `emacs-lock-unlockable-modes'.
17429         Coerce true values of `emacs-lock--try-unlocking' to t.
17431 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
17433         * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
17434         * emacs-lock.el: New file.
17436 2011-07-05  Julien Danjou  <julien@danjou.info>
17438         * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
17439         than `boundp' to check if face is set.
17441 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
17443         * register.el (registerv-make):
17444         * window.el (window-min-height): Fix typos in docstrings.
17446 2011-07-05  Jan Djärv  <jan.h.d@swipnet.se>
17448         * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
17449         Update doc string.
17451 2011-07-04  Juanma Barranquero  <lekktu@gmail.com>
17453         * server.el (server-execute): Catch quit and call
17454         `server-return-error' to pass the error back to emacsclient and
17455         close the connection (bug#8942).
17457 2011-07-04  Ken Manheimer  <ken.manheimer@gmail.com>
17459         * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
17460         insecure exception for current topic.  Also note that auto-saves
17461         are handled differently.
17463         (allout-auto-save-temporarily-disabled, allout-just-did-undo):
17464         State variables for tracking auto-save inhibition situation.
17466         (allout-write-contents-hook-handler): Rename from
17467         'allout-write-file-hook-handler', and describe how it depends on
17468         write-contents-functions sensitivity to non-nil value to prevent
17469         file write.
17471         (allout-auto-save-hook-handler): Remove.  auto-save does not check
17472         this in individual buffers, only in the starting buffer, so this
17473         is not the right way for us to inhibit auto-save in a buffer
17474         according to its condition.
17476         (allout-mode): Use new allout-write-contents-hook-handler, and
17477         only with write-contents-functions.  Remove auto-save provisions -
17478         they're implemented elsewhere.
17480         (allout-before-change-handler): If undo is in progress, note that
17481         for attention of allout-post-command-business.
17483         (allout-post-command-business): If the command we're following was
17484         an undo, check for change in the status of encrypted items and
17485         adjust auto-save inhibitions accordingly.
17487         (allout-toggle-subtree-encryption): Adjust auto-save inhibition
17488         according to whether there are or aren't any plain-text topics
17489         pending encryption.
17491         (allout-inhibit-auto-save-info-for-decryption):
17492         Adjust buffer-saved-size and some allout state to inhibit auto-saves
17493         if there are plain-text topics pending encryption.
17495         (allout-maybe-resume-auto-save-info-after-encryption): Adjust
17496         buffer-saved-size and some allout state to not inhibit auto-saves
17497         if there are no longer any plain-text topics pending encryption.
17499         (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
17500         No longer provide for exemption of the current topic.
17502 2011-07-04  Juri Linkov  <juri@jurta.org>
17504         Add 7z operations to delete and save changed members (bug#8968).
17505         * arc-mode.el (archive-7z-expunge, archive-7z-update):
17506         New defcustoms.
17507         (archive-7z-write-file-member): New function.
17508         (archive-7z-summarize): Fix the number of dashes in the
17509         listing output.
17511 2011-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
17513         * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
17514         (bug#8958).
17516 2011-07-04  Chong Yidong  <cyd@stupidchicken.com>
17518         * bindings.el: Ignore next-buffer and previous-buffer in
17519         minibuffer-local-map.
17521         * font-lock.el (font-lock-builtin-face): Change light background
17522         color to dark slate blue (Bug#6693).
17524 2011-07-04  Wang Diancheng  <dcwang@kingbase.com.cn>  (tiny change)
17526         * progmodes/gdb-mi.el (gdb): Use completion-at-point.
17528 2011-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
17530         * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
17531         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
17532         Add switch-to-buffer.
17534 2011-07-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17536         * isearch.el (isearch-search-fun-function): Clarify further the
17537         meaning of the function returned.
17539 2011-07-04  Michael Albinus  <michael.albinus@gmx.de>
17541         * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
17543         * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
17544         (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
17545         Use it.
17546         (tramp-remote-path): Add "/bin" and "/usr/bin".  On busyboxes,
17547         `tramp-default-remote-path' does not exist.
17548         (tramp-send-command-and-read): New optional argument NOERROR.
17549         (tramp-open-connection-setup-interactive-shell)
17550         (tramp-get-remote-path, tramp-get-remote-stat): Use it.
17551         (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
17552         (tramp-process-sentinel): Flush also process' connection property.
17553         (tramp-sh-handle-start-file-process): Do not set process
17554         sentinel.  It is done now ...
17555         (tramp-maybe-open-connection): ... here.  (Bug#8929)
17557 2011-07-04  MON KEY  <monkey@sandpframing.com>
17559         * play/animate.el (animate-string): Doc fixes and allow changing
17560         the buffer name (bug#5417).
17562 2011-07-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17564         * play/animate.el (animation-buffer-name): Rename from *animate*.
17566 2011-07-04  Paul Eggert  <eggert@cs.ucla.edu>
17568         * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
17569         This is simpler and helps future-proof the code.
17570         (timer-until): Use time-subtract and float-time.
17571         (timer--time-less-p): Use time-less-p.
17573 2011-07-04  Juanma Barranquero  <lekktu@gmail.com>
17575         * type-break.el (timep): Use the value of `float-time' to avoid a
17576         byte-compiler warning.
17578         * server.el (server-eval-and-print): Return any result, even nil.
17580 2011-07-03  Paul Eggert  <eggert@cs.ucla.edu>
17582         * type-break.el: Accept time formats that the builtins accept.
17583         (timep, type-break-time-difference): Accept any format that
17584         float-time accepts, rather than insisting on (HIGH LOW USECS) format.
17585         This is simpler and helps future-proof the code.
17586         (type-break-time-difference): Round rather than ignoring
17587         subseconds components.
17589 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17591         * info.el (Info-apropos-matches): Make non-interactive, since it
17592         doesn't seem to do anything useful as a command (bug#8829).
17594 2011-07-03  Chong Yidong  <cyd@stupidchicken.com>
17596         * frame.el (frame-background-mode, frame-set-background-mode):
17597         Move from faces.el.
17598         (frame-default-terminal-background): New function.
17600         * custom.el (custom-push-theme): Don't record faces in `changed'
17601         theme; this doesn't work correctly for per-frame face settings.
17602         (disable-theme): Use face-set-after-frame-default to reset faces.
17603         (custom--frame-color-default): New function.
17605 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17607         * dired.el (dired-flagging-regexp): Remove unused variable
17608         (bug#8769).
17610 2011-03-29  Kevin Ryde  <user42@zip.com.au>
17612         * progmodes/compile.el (compilation-error-regexp-alist-alist):
17613         `perl-Test2' extend to match possible "fail #N" rep count
17614         (bug#8377).
17616 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17618         * mail/feedmail.el (feedmail-buffer-to-smtpmail):
17619         `smtpmail-via-smtp' now returns the error instead of nil.
17621         * isearch.el (isearch-search-fun-function): Clarify the doc string
17622         (bug#8101).
17624 2011-07-03  Richard Kim  <emacs18@gmail.com>  (tiny change)
17626         * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
17627         unnecessary spaces (bug#8987).
17629 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17631         * net/network-stream.el (open-network-stream): Use the
17632         :end-of-capability command thoughout.
17634 2011-07-03  Wolfgang Jenkner  <wjenkner@inode.at>  (tiny change)
17636         * net/network-stream.el (open-network-stream): Add the
17637         :end-of-capability command parameter, used by pop3.el.
17639 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17641         * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
17643         * fringe.el (fringe-query-style): Remove redundant text " (type ?
17644         for list)" (bug#6475).
17646         * files.el (file-expand-wildcards): Ignore non-readable
17647         sub-directories while trying to find matches instead of signaling
17648         an error (bug#6297).
17650         * man.el (Man-reference-regexp): Allow matching possible
17651         word-wrapped references (bug#6289).
17653         * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
17654         for consistency with the other vc buffers (bug#6197).
17655         (vc-checkin): Ditto.
17657         * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
17659         * longlines.el (longlines-mode): Document what ARG does (bug#6150).
17661 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17663         * custom.el (defcustom): Clarify that :set is only used in the
17664         Customize user interface (bug#6089).
17666         * progmodes/flymake.el (flymake-mode): If the buffer isn't
17667         associated with a file, refuse to run instead of erroring out
17668         (bug#6084).
17670         * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
17671         the doc string, since it appears that using `fill-column' always
17672         controls the width (bug#7845).
17674         * simple.el (shell-command-on-region): Say where the error output
17675         went if `shell-command-default-error-buffer' is set (bug#6857).
17677 2011-07-02  Ken Manheimer  <ken.manheimer@gmail.com>
17679         * allout.el (allout-yank-processing): Adjust cursor position for
17680         backwards-deleted space.
17682         (allout-rebullet-heading): Register changes with
17683         allout-exposure-changed-hook, so the modified topic is properly
17684         decorated.
17686 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17688         * minibuffer.el (completion-in-region): Document PREDICATE
17689         (bug#7136).
17691         * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
17692         of keyword/argument pairs (bug#6904).
17694         * replace.el (multi-occur):
17695         Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
17697 2011-07-02  Drew Adams  <drew.adams@oracle.com>
17699         * dired.el (dired-mark-if): Make the message about whether it's
17700         marking or unmarking clearer (bug#8523).
17702 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17704         * disp-table.el (display-table-print-array): New function.
17705         (describe-display-table): Use it to print the vectors more pretty
17706         (Bug#8859).
17708 2011-07-02  Martin Rudalics  <rudalics@gmx.at>
17710         * window.el (window-state-get-1): Don't assign clone numbers.
17711         Add clone-of item to list of window parameters.
17712         (window-state-put-2): Don't process clone numbers.
17713         (display-buffer-alist): Fix doc-string.
17715 2011-07-02  Stefan Monnier  <monnier@iro.umontreal.ca>
17717         * subr.el (remq): Don't allocate if it's not needed.
17718         (keymap--menu-item-binding, keymap--menu-item-with-binding)
17719         (keymap--merge-bindings): New functions.
17720         (keymap-canonicalize): Use them to refine the canonicalization.
17721         * minibuffer.el (minibuffer-local-completion-map)
17722         (minibuffer-local-must-match-map): Move initialization from C.
17723         (minibuffer-local-filename-completion-map): Move initialization from C;
17724         don't inherit from anything here.
17725         (minibuffer-local-filename-must-match-map): Make obsolete.
17726         (completing-read-default): Use make-composed-keymap to combine
17727         minibuffer-local-filename-completion-map with either
17728         minibuffer-local-must-match-map or
17729         minibuffer-local-filename-completion-map.
17731 2011-07-01  Glenn Morris  <rgm@gnu.org>
17733         * type-break.el (type-break-time-sum): Use dolist.
17735         * textmodes/flyspell.el (flyspell-word-search-backward):
17736         Replace CL function.
17738 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
17740         * mouse.el (mouse--strip-first-event): New function.
17741         (function-key-map): Use it to map fringe clicks to normal clicks
17742         by default.
17744         * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
17745         (vc-bzr-revision-completion-table): Add support for annotate and date.
17747         * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
17748         inherit from parent.
17750 2011-07-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17752         * dired-aux.el (dired-diff): Doc fixup (bug#8816).
17753         (dired-show-file-type): Doc fixup (bug#8818).
17755         * dired.el (dired-mode): Fix up the doc string as suggested by
17756         Drew Adams (bug#8817).
17758         * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
17759         cookie, since the manual says that it should be possible to add
17760         this function to `find-file-hook' (bug#8709).
17762 2011-07-01  Teodor Zlatanov  <tzz@lifelogs.com>
17764         * progmodes/cfengine.el: Moved all cfengine3.el functionality
17765         here.  Noted Ted Zlatanov as the maintainer.
17766         (cfengine-common-settings, cfengine-common-syntax): New functions
17767         to set up common things between `cfengine-mode' and
17768         `cfengine3-mode'.
17769         (cfengine3-mode): New mode.
17770         (cfengine3-defuns cfengine3-defuns-regex
17771         (cfengine3-class-selector-regex cfengine3-category-regex)
17772         (cfengine3-vartypes cfengine3-font-lock-keywords)
17773         (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
17774         (cfengine3-indent-line): Add from cfengine3.el.
17776 2011-07-01  Michael Albinus  <michael.albinus@gmx.de>
17778         * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
17780         * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
17782 2011-07-01  Martin Rudalics  <rudalics@gmx.at>
17784         * window.el (same-window-buffer-names, same-window-regexps)
17785         (same-window-p, special-display-frame-alist)
17786         (special-display-popup-frame, special-display-function)
17787         (special-display-buffer-names, special-display-regexps)
17788         (special-display-p, pop-up-frame-alist, pop-up-frame-function)
17789         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
17790         (split-window-preferred-function, split-height-threshold)
17791         (split-width-threshold, even-window-heights)
17792         (display-buffer-mark-dedicated, window-splittable-p)
17793         (split-window-sensibly, window-safely-shrinkable-p):
17794         Un-obsolete.
17795         (display-buffer): Don't spread args with function specifier
17796         because special-display-popup-frame won't like it.
17798 2011-07-01  Paul Eggert  <eggert@cs.ucla.edu>
17800         Time-stamp simplifications and fixes.
17801         These improve accuracy slightly, and future-proof the code
17802         against some potential changes to current-time format.
17804         * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
17805         by using time-since and float-time.
17807         * vc/ediff-util.el (ediff-calc-command-time): Use time-since
17808         and float-time.  Say "NNN.NNN seconds" rather than "NNN seconds
17809         + NNN microseconds".
17811         * type-break.el (type-break-time-sum): Rewrite using time-add.
17813         * play/hanoi.el (hanoi-current-time-float): Remove.
17814         All uses replaced by float-time.
17816         * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
17817         This yields a more-accurate answer.
17818         (rng-time-to-float): Remove; no longer needed.
17820         * emacs-lisp/timer.el (timer-relative-time): Use time-add.
17822         * calendar/timeclock.el (timeclock-seconds-to-time):
17823         Defalias to seconds-to-time, since they're the same thing.
17825         * emacs-lisp/elp.el (elp-elapsed-time):
17826         * emacs-lisp/benchmark.el (benchmark-elapse):
17827         * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
17829 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
17831         * window.el (bury-buffer): Don't iconify the only frame.
17832         (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
17833         to pop-to-buffer.  Use pop-to-buffer-same-frame if you don't like that.
17835 2011-07-01  Chong Yidong  <cyd@stupidchicken.com>
17837         * eshell/em-smart.el (eshell-smart-display-navigate-list):
17838         Add mouse-yank-primary.
17840 2011-07-01  Teodor Zlatanov  <tzz@lifelogs.com>
17842         * progmodes/cfengine3.el: New file to support CFEngine 3.x.
17844 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
17846         * emacs-lisp/find-func.el (find-library--load-name): New fun.
17847         (find-library-name): Use it to find relative load names when provided
17848         absolute file name (bug#8803).
17850 2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17852         * textmodes/flyspell.el (flyspell-word): Consider words that
17853         differ only in case as potential doublons (bug#5687).
17855         * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
17856         Remove two rather uninteresting debugging-like messages to make
17857         debbugs.el more silent.
17859         * comint.el (comint-password-prompt-regexp): Accept "Response" as
17860         a password-like phrase.
17862 2011-06-30  Masatake YAMATO  <yamato@redhat.com>
17864         * progmodes/cc-guess.el: New file.
17866         * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
17868         * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
17869         derived from `c-basic-common-init'.
17871         * progmodes/cc-mode.el (top-level): Require cc-guess.
17872         (c-basic-common-init): Use `cc-choose-style-for-mode'.
17874 2011-06-30  Lawrence Mitchell  <wence@gmx.li>
17876         * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
17878 2011-06-30  Alan Mackenzie  <acm@muc.de>
17880         * progmodes/cc-engine.el (c-guess-continued-construct):
17881         Correct the handling of template-args-cont, particularly for when font
17882         lock is disabled.  Name this case as "CASE G".
17884 2011-06-30  Ken Manheimer  <ken.manheimer@gmail.com>
17886         * allout.el (allout-yank-processing): Fix injection of extra space
17887         between bullet and non-whitespace character in first topic when
17888         pasting, ensuring that the actual spacing in the pasted topic
17889         following the bullet char is preserved.  This extra space was
17890         causing pasted encrypted topics to get a decrypted status even
17891         when the content was actually still encrypted.  Now the decryption
17892         status from before the paste is preserved.
17894         (allout-flag-region): Set all allout overlays so they evaporate
17895         when reduced to zero length (evanescent), to prevent overlay
17896         leakage.
17898 2011-06-30  Glenn Morris  <rgm@gnu.org>
17900         * w32-fns.el (w32-charset-info-alist): Declare.
17902         * find-dired.el (find-grep-options): Simplify.
17904         * term/ns-win.el (ns-set-resource): Declare.
17906         * ses.el (row, col): Declare dynamic variables honestly.
17908         * textmodes/reftex-parse.el (index-tags): Declare.
17910 2011-06-30  Chong Yidong  <cyd@stupidchicken.com>
17912         * cus-edit.el (customize-push-and-save): New function.
17914         * files.el (hack-local-variables-confirm): Use it.
17916         * custom.el (load-theme): New arg NO-CONFIRM.
17917         Use customize-push-and-save (Bug#8720).
17918         (custom-enabled-themes): Doc fix.
17920         * cus-theme.el (customize-create-theme)
17921         (custom-theme-merge-theme): Callers to load-theme changed.
17923 2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17925         * thingatpt.el (thing-at-point-short-url-regexp): Require that
17926         short URLs have at least one dot in them (bug #7614).
17928         * progmodes/grep.el (rgrep): Bind `process-connection-type' to
17929         nil, because using a pty is apparently too slow (bug #895).
17931 2011-06-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17933         * mail/sendmail.el (sendmail-query-once): New function.
17934         (sendmail-query-once-function): New variable.
17936 2011-06-29  Glenn Morris  <rgm@gnu.org>
17938         * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
17940         * ses.el (top-level): Require cl when compiling.
17941         (ses-set-localvars): Fix error statement.
17942         Call it at compile time to silence a storm of warnings.
17944 2011-06-29  Martin Rudalics  <rudalics@gmx.at>
17946         * window.el (normalize-live-buffer): Rename to
17947         window-normalize-buffer.
17948         (normalize-live-frame): Rename to window-normalize-frame.
17949         (normalize-any-window): Rename to window-normalize-any-window.
17950         (normalize-live-window): Rename to window-normalize-live-window.
17951         (make-window-atom): Rename to window-make-atom.
17952         (window-resize-reset): Rename to window--resize-reset.
17953         (window-resize-reset-1): Rename to window--resize-reset-1.
17954         (resize-mini-window): Rename to window--resize-mini-window.
17955         (resize-subwindows-skip-p): Rename to
17956         window--resize-subwindows-skip-p.
17957         (resize-subwindows-normal): Rename to
17958         window--resize-subwindows-normal.
17959         (resize-subwindows): Rename to window--resize-subwindows.
17960         (resize-other-windows): Rename to window--resize-siblings.
17961         (resize-this-window): Rename to window--resize-this-window.
17962         (resize-root-window): Rename to window--resize-root-window.
17963         (resize-root-window-vertically): Rename to
17964         window--resize-root-window-vertically.
17965         (normalize-buffer-to-display): Rename to
17966         window-normalize-buffer-to-display.
17967         (normalize-buffer-to-switch-to): Rename to
17968         window-normalize-buffer-to-switch-to.
17969         Correspondingly update all callers of the functions listed
17970         above.
17971         (display-buffer-alist, display-buffer-normalize-arguments)
17972         (display-buffer-normalize-options, display-buffer)
17973         (display-buffer-alist-set): Use "function" instead of
17974         "fun-with-args".
17976 2011-06-28  Chong Yidong  <cyd@stupidchicken.com>
17978         * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
17979         addresses more clearly.  Add hyperlinks for bug-gnu-emacs and
17980         debbugs.gnu.org.  Mention acknowledgment email.
17982 2011-06-28  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17984         * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
17985         buffer multibyteness, since it shouldn't matter.
17987 2011-06-28  Martin Rudalics  <rudalics@gmx.at>
17989         * window.el (display-buffer-in-side-window): Handle dedicated
17990         windows as in display-buffer-reuse-window.
17991         (display-buffer-normalize-alist): Use value of override
17992         specifier.
17993         (display-buffer-normalize-specifiers): Use value of
17994         other-window-means-other-frame specifier.
17995         (display-buffer-alist): Rewrite some texts in widgets.
17996         (display-buffer): Spread arguments when calling function
17997         specified by fun-with-args.
17999 2011-06-28  Deniz Dogan  <deniz@dogan.se>
18001         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
18002         Unnest `let'.
18004         * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
18005         selectors (Bug#5732).
18006         (css-proprietary-nmstart-re): Use `regexp-opt'.
18008 2011-06-27  Jari Aalto  <jari.aalto@cante.net>
18010         * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
18011         (eshell-ls-date-format): New defcustom.
18012         (eshell-ls-file): Use it.
18014 2011-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
18016         * help-fns.el (describe-variable): Fix message for terminal-local vars.
18018 2011-06-27  Katsumi Yamaoka  <yamaoka@jpl.org>
18020         * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
18021         (ange-ftp-make-tmp-name): New arg.
18022         (ange-ftp-file-local-copy): Use it.
18024 2011-06-27  Jambunathan K  <kjambunathan@gmail.com>
18026         * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
18027         no-conversion (Bug#8870).
18029 2011-06-27  Martin Rudalics  <rudalics@gmx.at>
18031         * window.el (window-right, window-left, window-child)
18032         (window-child-count, window-last-child)
18033         (window-iso-combination-p, walk-window-tree-1)
18034         (window-atom-check-1, window-tree-1, delete-window)
18035         (window-state-get-1, display-buffer-even-window-sizes): Adapt to
18036         new naming conventions - window-vchild, window-hchild,
18037         window-next and window-prev are now called window-top-child,
18038         window-left-child, window-next-sibling and window-prev-sibling
18039         respectively.
18040         (resize-window-reset): Rename to window-resize-reset.
18041         (resize-window-reset-1): Rename to window-resize-reset-1.
18042         (resize-window): Rename to window-resize.
18043         (window-min-height, window-min-width)
18044         (resize-mini-window, resize-this-window, resize-root-window)
18045         (resize-root-window-vertically, adjust-window-trailing-edge)
18046         (enlarge-window, shrink-window, maximize-window)
18047         (minimize-window, delete-window, quit-restore-window)
18048         (split-window, balance-windows, balance-windows-area-adjust)
18049         (balance-windows-area, window-state-put-2)
18050         (display-buffer-even-window-sizes, display-buffer-set-height)
18051         (display-buffer-set-width, set-window-text-height)
18052         (fit-window-to-buffer): Rename all "resize-window" prefixed
18053         calls to use the "window-resize" prefix convention.
18054         (display-buffer-alist): Fix symbol for label specifier.
18055         (display-buffer-reuse-window): Set reuse-dedicated to cdr of
18056         corresponding specifier.
18057         Reported by Juanma Barranquero <lekktu@gmail.com>.
18059 2011-06-27  Vincent BelaĂ¯che  <vincentb1@users.sourceforge.net>
18061         * ses.el (ses-destroy-cell-variable-range): Fix heading comment
18062         convention.
18063         (ses-call-printer): Does not pass an empty string to formatter when the
18064         cell is empty to keep from barking printer Calc math-format-value.
18066 2011-06-27  Richard Stallman  <rms@gnu.org>
18068         * battery.el (battery-mode-line-limit): New variable.
18069         (battery-update): Handle it.
18071         * mail/rmailmm.el (rmail-mime-process-multipart):
18072         Handle truncated messages.
18074 2011-06-27  Glenn Morris  <rgm@gnu.org>
18076         * progmodes/flymake.el (flymake-err-line-patterns):
18077         Allow for column numbers in the ant/javac pattern.  (Bug#8866)
18079 2011-06-27  Vincent BelaĂ¯che  <vincentb1@users.sourceforge.net>
18081         * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
18082         (ses--clean-!, ses--clean-_): New functions.
18083         (ses-range): Add configurability of readout order, and conversion
18084         to Calc vector.
18086         * ses.el (ses-repair-cell-reference-all): New function.
18087         (ses-cell-symbol): Set macro as safe, so that it can be used in
18088         formulas.
18090         * ses.el: Update cycle detection algorithm.
18091         (ses-localvars): Add ses--Dijkstra-attempt-nb and
18092         ses--Dijkstra-weight-bound, and initial values thereof when applicable.
18093         (ses-set-localvars): New function.
18094         (ses-make-cell): Add property-list as a cell element.
18095         (ses-cell-property-get-fun, ses-cell-property-get)
18096         (ses-cell-property-delq-fun, ses-cell-property-set-fun)
18097         (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
18098         New functions.
18099         (ses-cell-property-set, ses-cell-property-pop)
18100         (ses-cell-property-get-handle): New macro.
18101         (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
18102         New aliases, used for code readability.
18103         (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
18104         cycle detection.
18105         (ses-self-reference-early-detection): New defcustom.
18106         (ses-formula-references): Robustify against self-referring cells.
18107         (ses-mode): Use ses-set-localvars.
18108         (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
18109         before lauching the update processing.
18110         (ses-initialize-Dijkstra-attempt): New function.
18111         (ses-recalculate-cell): Update for cycle detection based on
18112         Dijkstra algorithm.
18114         * ses.el: Fix commenting and indenting convention.
18116 2011-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
18118         * bs.el (bs-cycle-next): Complete last change.
18120 2011-06-27  Drew Adams  <drew.adams@oracle.com>
18122         * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
18124 2011-06-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18126         * net/network-stream.el (network-stream-open-starttls):
18127         Don't re-get capabilities unless we've reestablished connection.
18128         (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
18130         * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
18131         to binary to possibly avoid line encoding issues on Windows (among
18132         other things).
18134 2011-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18136         * net/network-stream.el (open-network-stream): Return an :error
18137         saying what the problem was, if possible.
18139         * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
18140         server.
18142         * net/network-stream.el (network-stream-open-starttls): If we
18143         wanted to use STARTTLS, and the server offered it, but we weren't
18144         able to because we had no STARTTLS support, then close the connection.
18145         (open-network-stream): Return an :error element, if present.
18147 2011-06-26  Chong Yidong  <cyd@stupidchicken.com>
18149         * hl-line.el (hl-line-sticky-flag): Doc fix.
18150         (global-hl-line-sticky-flag): New option (Bug#8323).
18151         (global-hl-line-highlight): Obey it.
18153         * vc/vc.el (vc-revert-show-diff): Default to t.
18155 2011-06-26  Ken Manheimer  <ken.manheimer@gmail.com>
18157         * allout-widgets.el (allout-widgets-post-command-business):
18158         Stop decorating intermediate isearch matches.  They're not being
18159         undecorated when an isearch is continued past, and isearch
18160         automatically collapses them.  This leads to "widget leaks", where
18161         decorated items accumulate in collapsed areas.  Lines with lots of
18162         hidden widgets can slow down cursor travel, substantially.
18163         Too much complicated machinery would be needed to ensure undecoration,
18164         so we're doing without this nicety.
18166         (allout-widgets-tally-string): Don't try to do a hash-table-count
18167         of allout-widgets-tally when it's nil.  This eliminates spurious "Error
18168         during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
18169         *Messages* when allout-widgets-maintain-tally is t.
18171 2011-06-26  Martin Rudalics  <rudalics@gmx.at>
18173         * window.el (display-buffer-normalize-argument): Rename to
18174         display-buffer-normalize-arguments.  Handle special meaning of
18175         LABEL argument.  Respect special-display-function when popping up
18176         a new frame.  Fix code searching for a window showing the buffer
18177         on another frame.
18178         (display-buffer-normalize-specifiers):
18179         Call display-buffer-normalize-arguments.
18180         (display-buffer-in-window): Don't undedicate the window if its
18181         buffer remains the same.
18182         Reported by Drew Adams <drew.adams@oracle.com>.
18183         (display-buffer-alist): Add choice for same-window macro
18184         specfier.
18185         (display-buffer): Mention special meaning of LABEL argument in
18186         doc-string.  Fix quoting.  Don't pop up a new frame even as
18187         fallback.
18189 2011-06-26  Juanma Barranquero  <lekktu@gmail.com>
18191         * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
18192         avoid deleting the current window in some cases (bug#8911).
18194 2011-06-26  Andreas Schwab  <schwab@linux-m68k.org>
18196         * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
18197         (Bug#8934)
18199 2011-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18201         * net/network-stream.el (network-stream-open-starttls):
18202         Use built-in TLS support if `gnutls-available-p' is true.
18203         (network-stream-open-tls): Ditto.
18205 2011-06-26  Leo Liu  <sdl.web@gmail.com>
18207         * register.el (registerv): New struct.
18208         (registerv-make): New function.
18209         (jump-to-register, describe-register-1, insert-register):
18210         Support the jump-func, print-func and insert-func slot of a registerv
18211         struct.  (Bug#8415)
18213 2011-06-26  Chong Yidong  <cyd@stupidchicken.com>
18215         * vc/vc.el (vc-revert-show-diff): New defcustom.
18216         (vc-diff-internal): New arg specifying diff buffer.
18217         (vc-revert): Obey vc-revert-show-diff.  If we show a diff, don't
18218         reuse an existing *vc-diff* buffer (Bug#8927).
18220         * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
18222 2011-06-26  Glenn Morris  <rgm@gnu.org>
18224         * progmodes/f90.el (f90-critical-indent): New option.
18225         (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
18226         (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
18227         (f90-mode): Doc fix.
18228         (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
18229         (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
18230         (f90-beginning-of-block, f90-next-block, f90-indent-region)
18231         (f90-match-end): Handle block, critical.
18233 2011-06-25  Glenn Morris  <rgm@gnu.org>
18235         * calendar/diary-lib.el (diary-included-files): Doc fix.
18236         (diary-include-files): New function, extracted from
18237         diary-include-other-diary-files and diary-mark-included-diary-files.
18238         (diary-include-other-diary-files, diary-mark-included-diary-files):
18239         Just call diary-include-files.
18240         (diary-mark-entries): Reset diary-included-files on first call.
18242         * calendar/diary-lib.el (diary-mark-entries)
18243         (diary-mark-included-diary-files):
18244         Visit included diary-files in temp buffers.
18246         * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
18247         (f90-blocks-re, f90-program-block-re, f90-end-block-re)
18248         (f90-start-block-re, f90-imenu-generic-expression)
18249         (f90-looking-at-program-block-start, f90-no-block-limit):
18250         Add support for submodules.
18252         * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
18253         (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
18255 2011-06-25  Eli Zaretskii  <eliz@gnu.org>
18257         * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
18258         buffer-file-type before setting its value, to avoid disastrous
18259         global effects on decoding files for DOS/Windows systems.  (Bug#8780)
18261 2011-06-25  Juanma Barranquero  <lekktu@gmail.com>
18263         * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
18265         * ses.el (ses-unload-function):
18266         * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
18268         * proced.el (proced-unload-function):
18269         * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
18271 2011-06-25  Andreas Rottmann  <a.rottmann@gmx.at>
18273         * server.el (server-create-window-system-frame): Add parameters arg.
18274         (server-process-filter): Doc fix.  Handle frame-parameters.
18276 2011-06-25  Juanma Barranquero  <lekktu@gmail.com>
18278         Fix bug#8730, bug#8781.
18280         * loadhist.el (unload--set-major-mode): New function.
18281         (unload-feature): Use it.
18283         * progmodes/python.el (python-after-info-look): Add autoload cookie.
18284         (python-unload-function): New function.
18286 2011-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
18288         * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
18290 2011-06-25  Giuseppe Scrivano  <gscrivano@gnu.org>
18292         * net/browse-url.el (browse-url-firefox-program): Add icecat to
18293         the candidates list.
18295 2011-06-24  Juanma Barranquero  <lekktu@gmail.com>
18297         * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
18299 2011-06-23  Richard Stallman  <rms@gnu.org>
18301         * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
18302         (rmail-variables): Set next-error-move-function.
18303         (rmail-what-message): Take argument POS.
18304         (rmail-next-error-move): New function.
18306 2011-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
18308         * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
18309         messages for adjacent non-terminals.
18311 2011-06-23  Richard Stallman  <rms@gnu.org>
18313         * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
18314         (rmail-show-message-1): Preserve buffer modified flag.
18315         (rmail-start-mail): Don't specify use of rmail-mail-return;
18316         that's done by mail-bury now.
18317         (rmail-mail-return): Handle arg NEWBUF.
18319 2011-06-23  Michael Albinus  <michael.albinus@gmx.de>
18321         * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
18322         SIZE is a number.
18324 2011-06-23  Martin Rudalics  <rudalics@gmx.at>
18326         * window.el (get-lru-window, get-mru-window)
18327         (get-largest-window): Never return a minibuffer window.
18328         (display-buffer-pop-up-window): Fix a bug that could lead to
18329         reusing the minibuffer window.
18330         (display-buffer): Pass original specifier argument to
18331         display-buffer-function instead of the normalized one.
18332         Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
18334 2011-06-22  Leo Liu  <sdl.web@gmail.com>
18336         * minibuffer.el (completing-read-function)
18337         (completing-read-default): Move from minibuf.c.
18339 2011-06-22  Richard Stallman  <rms@gnu.org>
18341         * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
18342         to Rmail even if not started by a special Rmail command.
18344         * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
18345         Copy the buffer currently showing just one message.
18347 2011-06-22  Roland Winkler  <winkler@gnu.org>
18349         * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
18350         (bibtex-clean-entry): First delete the old key so that a
18351         customized algorithm for generating the new key does not get
18352         confused by the old key.
18353         (bibtex-url): Obey regexp of first step.
18354         (bibtex-search-entries): Do not use add-to-list with local
18355         list-var.
18357 2011-06-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18359         * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
18360         stored a user name, then query for the password first, instead of
18361         waiting for SMTP to give an error message and the trying again.
18363 2011-06-22  Lawrence Mitchell  <wence@gmx.li>
18365         * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
18366         BUFFER in call-process.
18368 2011-06-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18370         * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
18371         QUIT twice.
18372         (smtpmail-try-auth-methods): Require user name and password from
18373         auth-source.
18375 2011-06-22  Martin Rudalics  <rudalics@gmx.at>
18377         * window.el (display-buffer-default-specifiers)
18378         (display-buffer-alist): Remove entries for pop-up-frame-alist.
18379         Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
18380         (split-window): Normalize SIDE argument (Bug#8916).
18382         * frame.el (pop-up-frame-alist, pop-up-frame-function)
18383         (special-display-frame-alist, special-display-popup-frame):
18384         Remove duplicate declarations.  These are now in window.el.
18386 2011-06-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18388         * mail/smtpmail.el (smtpmail-via-smtp):
18389         Set :use-starttls-if-possible so that we always use STARTTLS if the
18390         server supports it.  SMTP servers that support STARTTLS commonly
18391         require it.
18393         * net/network-stream.el (network-stream-open-starttls): Support
18394         upgrading to STARTTLS always, even if we don't have built-in support.
18395         (open-network-stream): Add the :always-query-capabilities keyword.
18397         * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
18398         upgrades with `open-network-stream', and rely solely on
18399         auth-source for all credentials.  Big changes throughout the file,
18400         but in particular:
18401         (smtpmail-auth-credentials): Remove.
18402         (smtpmail-starttls-credentials): Remove.
18403         (smtpmail-via-smtp): Check for servers saying they want AUTH after
18404         MAIL FROM, too.
18406         * net/network-stream.el (network-stream-open-starttls):
18407         Provide support for client certificates both for external and built-in
18408         STARTTLS.
18409         (auth-source): Require.
18410         (open-network-stream): Document the :client-certificate keyword.
18411         (network-stream-certificate): Change cert-cert to cert and
18412         cert-key to key.
18414 2011-06-21  Michael Albinus  <michael.albinus@gmx.de>
18416         * net/tramp-cache.el (top): Don't load the persistency file when
18417         "emacs -Q" has been called.
18419 2011-06-21  Tim Harper  <timcharper@gmail.com>
18421         * term/ns-win.el (ns-initialize-window-system):
18422         Set application-specific `ApplePressAndHoldEnabled' system
18423         resource to NO as it is not yet supported by the NS port.
18425 2011-06-21  Juanma Barranquero  <lekktu@gmail.com>
18427         * misc.el (list-dynamic-libraries--refresh): Compute header here...
18428         (list-dynamic-libraries): ...not here.
18430 2011-06-21  Leo Liu  <sdl.web@gmail.com>
18432         * subr.el (sha1): Implement sha1 using secure-hash.
18434 2011-06-21  Martin Rudalics  <rudalics@gmx.at>
18436         * window.el (display-buffer-alist): In default value do not
18437         enforce searching a window on any but the selected frame.
18438         Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
18439         (display-buffer-select-window): Remove function.
18440         (display-buffer-in-window): When a window on another frame gets
18441         reused, do not select it any more but just raise its frame if
18442         necessary (Bug#8851) and (Bug#8856).
18443         (display-buffer-normalize-options): Handle pop-up-frames related
18444         options more faithfully.
18445         (pop-to-buffer): Don't rely on `display-buffer' selecting the
18446         window if it is on another frame.
18447         (display-buffer-alist, display-buffer-default-specifiers):
18448         Don't make new frame unsplittable by default.
18449         (display-buffer-normalize-argument): Fix doc-string typo and use
18450         'same-frame-other-window instead of 'other-window when associating
18451         with display-buffer-macro-specifiers.
18453 2011-06-21  Vincent BelaĂ¯che  <vincent.b.1@hotmail.fr>
18455         * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
18456         New functions.
18457         (5x5-mode-map, 5x5-mode-menu): Bind them.
18458         (5x5-draw-grid): Tweak the solver's rendering.
18460 2011-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
18462         * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
18463         `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
18465 2011-06-21  Drew Adams  <drew.adams@oracle.com>
18467         * menu-bar.el: Use function variable instead of switch-to-buffer.
18468         (menu-bar-select-buffer-function): New variable.
18469         (menu-bar-update-buffers): Use it (bug#8876).
18471 2011-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
18473         * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
18474         variable's status.
18476 2011-06-20  Jan Djärv  <jan.h.d@swipnet.se>
18478         * x-dnd.el (x-dnd-version-from-flags)
18479         (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
18480         and long as number (Bug#8899).
18481         (x-dnd-handle-xdnd): Call functions above (Bug#8899).
18483 2011-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
18485         * minibuffer.el (completion-metadata): Add `metadata' to the alist.
18486         (completion-try-completion, completion-all-completions): Compute the
18487         metadata argument if it's missing; make it optional (bug#8795).
18489         * wid-edit.el: Use lex-bind and move towards completion-at-point.
18490         (widget-complete): Use new :completion-function property.
18491         (widget-completions-at-point): New function.
18492         (default): Use :completion-function instead of :complete.
18493         (widget-default-completions): Rename from widget-default-complete;
18494         Rewrite.
18495         (widget-string-complete, widget-file-complete, widget-color-complete):
18496         Remove functions.
18497         (file, symbol, function, variable, coding-system, color):
18498         * international/mule-cmds.el (default-input-method, charset)
18499         (language-info-custom-alist):
18500         * cus-edit.el (face): Use new property :completions.
18502         * progmodes/pascal.el (pascal-completions-at-point): New function.
18503         (pascal-mode): Use it.
18504         (pascal-mode-map): Use completion-at-point.
18505         (pascal-toggle-completions): Make obsolete.
18506         (pascal-complete-word, pascal-show-completions):
18507         * progmodes/octave-mod.el (octave-complete-symbol):
18508         Redefine as obsolete alias.
18509         * progmodes/octave-inf.el (inferior-octave-completion-at-point):
18510         Signal absence of completion info for old Octave,
18511         (inferior-octave-complete): Redefine as obsolete alias.
18512         * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
18513         (meta-completions-at-point): Rename from meta-complete-symbol and
18514         adapt it for use on completion-at-point-functions.
18515         (meta-common-mode): Use it.
18516         (meta-looking-at-backward, meta-match-buffer): Remove.
18517         (meta-complete-symbol): Redefine as obsolete alias.
18518         (meta-common-mode-map): Use completion-at-point.
18519         * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
18520         (makefile-mode-map): Use completion-at-point.
18521         (makefile-completions-at-point): Rename from makefile-complete and
18522         adapt it for use on completion-at-point-functions.
18523         (makefile-mode): Use it.
18524         (makefile-complete): Redefine as obsolete alias.
18526 2011-06-20  Deniz Dogan  <deniz@dogan.se>
18528         * net/rcirc.el: Delete trailing whitespaces once and for all.
18530 2011-06-20  Daniel Colascione  <dan.colascione@gmail.com>
18532         * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
18534 2011-06-19  Chong Yidong  <cyd@stupidchicken.com>
18536         * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
18538         * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
18540 2011-06-19  Martin Rudalics  <rudalics@gmx.at>
18542         * window.el (display-buffer-other-window-means-other-frame):
18543         Call display-buffer-normalize-alist.
18544         (display-buffer-normalize-specifiers-1): Rename to
18545         display-buffer-normalize-argument.  New argument other-frame.
18546         Rewrite.
18547         (display-buffer-normalize-specifiers-2): Rename to
18548         display-buffer-normalize-options.
18549         (display-buffer-normalize-alist-1): New function.
18550         (display-buffer-normalize-specifiers-3): Rename to
18551         display-buffer-normalize-alist.
18552         Call display-buffer-normalize-alist-1.
18553         (display-buffer-normalize-options-inhibit): New variable.
18554         (display-buffer-normalize-specifiers): Rewrite calling
18555         display-buffer-normalize-alist,
18556         display-buffer-normalize-argument, and
18557         display-buffer-normalize-options.  Don't call the latter if
18558         display-buffer-normalize-options-inhibit is non-nil.
18559         (frame-auto-delete): New option.
18560         (window-deletable-p): Use frame-auto-delete.
18561         (window-list-no-nils, window-state-ignored-parameters)
18562         (window-state-get-1, window-state-get, window-state-put-list)
18563         (window-state-put-1, window-state-put-2, window-state-put):
18564         New functions.
18565         (display-buffer-normalize-options): Move special-display-p group
18566         after pop-up-frame group (Bug#8851) and (Bug#8856).
18568 2011-06-18  Chong Yidong  <cyd@stupidchicken.com>
18570         * emacs-lisp/rx.el (rx-constituents): Add support for numbered
18571         groups (Bug#8776).
18572         (rx-submatch-n): New function.
18573         (rx): Document it.
18575         * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
18576         (Bug#8768).
18578         * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
18580         * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
18582         * cus-face.el (custom-declare-face): Call custom-theme-recalc face
18583         anytime existing face settings are present (Bug#8889).
18585         * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
18586         (delphi-mode): Use define-derived-mode to inherit from prog-mode.
18587         Remove unused argument.
18589 2011-06-18  Martin Rudalics  <rudalics@gmx.at>
18591         * window.el (display-buffer-default-specifiers):
18592         Remove pop-up-frame.  Add pop-up-window-min-height,
18593         pop-up-window-min-width, and another reuse-window specifier
18594         (Bug#8882).  Reported by Dan Nicolaescu <dann@gnu.org>.
18595         (display-buffer-normalize-specifiers-2):
18596         Handle split-height-threshold and split-width-threshold also when
18597         pop-up-windows is unset.  Add a reuse-window specifier for the
18598         case popping up a new window fails.
18599         (special-display-popup-frame): Remove double quoting.
18600         (display-buffer-normalize-specifiers-1): Fix thinko.
18602 2011-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
18604         * shell.el (shell-completion-vars): Set pcomplete-termination-string
18605         according to comint-completion-addsuffix.
18607         * pcomplete.el: Convert to lexical binding and fix bug#8819.
18608         (pcomplete-suffix-list): Mark as obsolete.
18609         (pcomplete-completions-at-point): Capture pcomplete-norm-func and
18610         pcomplete-seen in the closure.
18611         (pcomplete-comint-setup): Setup completion-at-point as well.
18612         (pcomplete--entries): New function.
18613         (pcomplete--env-regexp): New var.
18614         (pcomplete-entries): Rewrite to work with partial-completion and
18615         without relying on pcomplete-suffix-list.
18616         (pcomplete-pare-list): Remove, unused.
18618 2011-06-17  Martin Rudalics  <rudalics@gmx.at>
18620         * window.el (display-buffer-alist): Set pop-up-window-min-height
18621         and pop-up-window-min-width in default value.  Reported by
18622         Thierry Volpiatto <thierry.volpiatto@gmail.com>.  New specifier
18623         other-window-means-other-frame.
18624         (display-buffer-macro-specifiers): Comment out entry for
18625         other-window specifier.
18626         (display-buffer-other-window-means-other-frame): New function.
18627         (display-buffer-normalize-specifiers-1): New arguments
18628         buffer-name and label.  Treat other-window case specially.
18629         (display-buffer-normalize-specifiers-2): Treat other-window case
18630         specially.
18631         (display-buffer-normalize-specifiers-3): New function.
18632         (display-buffer-normalize-specifiers):
18633         Call display-buffer-normalize-specifiers-3.
18635 2011-06-17  Martin Rudalics  <rudalics@gmx.at>
18637         * window.el (same-window-p): Fix two typos introduced when
18638         adding with-no-warnings.
18639         (display-buffer-normalize-specifiers-1): Don't check
18640         pop-up-frames for 'unset initialization.
18641         (display-buffer-normalize-specifiers-2): Major rewrite using
18642         special-display-p and same-window-p (Bug#8851) and (Bug#8856).
18643         (pop-up-frames, display-buffer-reuse-frames)
18644         (display-buffer-mark-dedicated): Don't initialize to 'unset.
18645         Suggested by David Engster <deng@randomsample.de>.
18646         (even-window-heights): Initialize to 'unset.
18647         (display-buffer-alist-set): Handle new 'unset initializations.
18648         (display-buffer-macro-specifiers): Don't pop up a new frame in the
18649         other window case.
18651 2011-06-16  Martin Rudalics  <rudalics@gmx.at>
18653         * window.el (display-buffer-normalize-specifiers-1):
18654         Respect current value of pop-up-frames for most reasonable values of
18655         second argument of display-buffer (Bug#8865).
18656         (switch-to-buffer-same-frame, switch-to-buffer-other-window)
18657         (switch-to-buffer-other-window-same-frame)
18658         (switch-to-buffer-other-frame): Fix doc-strings.  Reported by Drew
18659         Adams (Bug#8875).
18660         (display-buffer): Don't check noninteractive when calling
18661         display-buffer-pop-up-frame.
18662         (display-buffer-pop-up-frame): Never pop up a frame in
18663         noninteractive mode (Bug#8857).
18664         (enlarge-window, shrink-window): Don't report an error when the
18665         window can't be resized as requested (Bug#8862).
18667 2011-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
18669         * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
18671         * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
18673         * abbrev.el (define-abbrev-table): Don't add a table multiple times.
18675 2011-06-15  Alan Mackenzie  <acm@muc.de>
18677         * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
18678         for declarators, disable knr checking to speed up for normal files.
18679         2: Refactor, replacing a sequence of nested if forms by a cond form.
18681 2011-06-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18683         * net/network-stream.el (open-network-stream): Add the keyword
18684         :always-query-capabilities for the case where you want to force a
18685         `plain' network connection, but the protocol still requires the
18686         capabilitiy command (i.e., SMTP and EHLO).
18688         * subr.el (process-live-p): Rename from `process-alive-p' for
18689         consistency with other `-live-p' functions.
18691 2011-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
18693         * window.el (same-window-buffer-names, same-window-regexps)
18694         (special-display-frame-alist, special-display-popup-frame)
18695         (special-display-function, special-display-buffer-names)
18696         (special-display-regexps, pop-up-frame-alist)
18697         (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
18698         (pop-up-windows, split-window-preferred-function)
18699         (split-height-threshold, split-width-threshold, even-window-heights)
18700         (display-buffer-mark-dedicated): Don't encourage the use of
18701         display-buffer-alist from Elisp code.
18703 2011-06-15  Dan Nicolaescu  <dann@ics.uci.edu>
18705         * progmodes/python.el (python-mode): Derive from prog-mode.
18706         * progmodes/ps-mode.el (ps-mode):
18707         * progmodes/mixal-mode.el (mixal-mode):
18708         * progmodes/cfengine.el (cfengine-mode):
18709         * progmodes/ld-script.el (ld-script-mode): Likewise.
18711 2011-06-15  Martin Rudalics  <rudalics@gmx.at>
18713         * window.el (display-buffer-alist): Trim default value to avoid
18714         popping up a new frame (Bug#8857) or reusing an arbitrary window
18715         on another frame.
18716         (display-buffer): Do not fall back on popping up a new frame in
18717         batch mode (Bug#8857).
18719 2011-06-14  Chong Yidong  <cyd@stupidchicken.com>
18721         * cus-theme.el (describe-theme-1): Use custom-theme-p.
18722         (custom-theme-summary): New function.
18723         (customize-themes): Use it.
18725 2011-06-13  Glenn Morris  <rgm@gnu.org>
18727         * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
18729 2011-06-13  Martin Rudalics  <rudalics@gmx.at>
18731         * help.el (help-window): Remove variable.
18732         (help-window-point-marker, temp-buffer-max-height)
18733         (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
18734         (help-print-return-message): Don't set help-window.
18735         (resize-temp-buffer-window): Rewrite cod eand doc-string.
18736         (help-window-setup-finish): Remove.
18737         (help-window-display-message, help-window-setup)
18738         (with-help-window): Major rewrite based on new
18739         display-buffer-window variable.
18741         * help-mode.el (help-mode-finish): Remove help-window related
18742         code.
18744         * view.el (view-exits-all-viewing-windows): Remove reference to
18745         view-return-to-alist in doc-string.
18746         (view-return-to-alist): Make obsolete.
18747         (view-buffer): Call pop-to-buffer-same-window and remove
18748         undo-window code.
18749         (view-buffer-other-window): Call pop-to-buffer-other-window and
18750         simplify code.  Ignore second argument.
18751         (view-buffer-other-frame): Call pop-to-buffer-other-frame and
18752         simplify code.  Ignore second argument.
18753         (view-return-to-alist-update): Make obsolete.
18754         (view-mode-enter): Rename second argument to QUIT-RESTORE.
18755         Rewrite using quit-restore window parameters.
18756         (view-mode-exit): Rename second argument to EXIT-ONLY.
18757         Rewrite using quit-restore-window.
18758         (View-exit, View-exit-and-edit, View-leave, View-quit)
18759         (View-quit-all, View-kill-and-leave): Call view-mode-exit with
18760         appropriate arguments.
18761         (view-end-message): Use quit-restore window parameter.
18763         * window.el (display-buffer-function): Rewrite doc-string.
18764         (display-buffer-window, display-buffer-alist): New variables.
18765         (display-buffer-split-specifiers)
18766         (display-buffer-side-specifiers)
18767         (display-buffer-macro-specifiers): New constants.
18768         (display-buffer-even-window-sizes, display-buffer-set-height)
18769         (display-buffer-set-width, display-buffer-select-window)
18770         (display-buffer-in-window, display-buffer-reuse-window)
18771         (display-buffer-split-window-1, display-buffer-split-window)
18772         (display-buffer-split-atom-window, display-buffer-pop-up-window)
18773         (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
18774         (display-buffer-in-side-window, normalize-buffer-to-display)
18775         (display-buffer-normalize-specifiers-1)
18776         (display-buffer-normalize-specifiers-2)
18777         (display-buffer-normalize-specifiers, display-buffer-frame):
18778         New functions.
18779         (display-buffer): Major rewrite.
18780         (display-buffer-other-window, display-buffer-other-frame)
18781         (pop-to-buffer, switch-to-buffer-other-window)
18782         (switch-to-buffer-other-frame): Rewrite.
18783         (display-buffer-same-window, display-buffer-same-frame)
18784         (display-buffer-same-frame-other-window)
18785         (pop-to-buffer-same-window, pop-to-buffer-same-frame)
18786         (pop-to-buffer-other-window)
18787         (pop-to-buffer-same-frame-other-window)
18788         (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
18789         (switch-to-buffer-other-window-same-frame): New functions.
18790         (same-window-p, special-display-p): Rewrite disabling warnings.
18791         Make obsolete.
18792         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
18793         (display-buffer-mark-dedicated): Initialize to symbol 'unset.
18794         Make obsolete
18795         (same-window-buffer-names, same-window-regexps)
18796         (special-display-frame-alist, special-display-popup-frame)
18797         (special-display-function, special-display-buffer-names)
18798         (special-display-regexps, pop-up-frame-alist)
18799         (pop-up-frame-function, split-window-preferred-function)
18800         (split-height-threshold, split-width-threshold)
18801         (even-window-heights): Make obsolete.
18803 2011-06-12  Glenn Morris  <rgm@gnu.org>
18805         * term/xterm.el (terminal-init-xterm): `version' may be nil.  (Bug#8838)
18806         Misc simplifications.
18808 2011-06-12  Martin Rudalics  <rudalics@gmx.at>
18810         * window.el (window-safely-shrinkable-p): Restore function which
18811         was inadvertently removed in change from 2011-06-11.  Declare as
18812         obsolete.
18814         * calendar/calendar.el (calendar-generate-window):
18815         Use window-iso-combined-p instead of combination of one-window-p and
18816         window-safely-shrinkable-p.
18818 2011-06-12  Glenn Morris  <rgm@gnu.org>
18820         * progmodes/fortran.el (fortran-mode-syntax-table):
18821         * progmodes/f90.el (f90-mode-syntax-table):
18822         Set % to punctuation.  (Bug#8820)
18823         (f90-find-tag-default): Remove, no longer needed.
18825 2011-06-12  Daniel Colascione  <dan.colascione@gmail.com>
18827         * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
18829 2011-06-11  Chong Yidong  <cyd@stupidchicken.com>
18831         * image.el (image-animated-p): Return animation delay in seconds.
18832         Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
18833         (image-animate-timeout): Remove DELAY argument.  Don't assume
18834         every subimage has the same delay; get it from image-animated-p.
18835         (image-animate): Caller changed.
18837 2011-06-11  Michael Albinus  <michael.albinus@gmx.de>
18839         * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
18840         to ignored backtrace functions.
18842 2011-06-11  Glenn Morris  <rgm@gnu.org>
18844         * calendar/appt.el (appt-disp-window-function): Doc fix.
18845         (appt-check): Handle overlapping appointments.  (Bug#8337)
18847 2011-06-11  Martin Rudalics  <rudalics@gmx.at>
18849         * window.el (window-tree-1, window-tree): New functions, moving
18850         the latter to window.el.
18851         (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
18852         (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
18853         (bw-refresh-edges): Remove.
18854         (balance-windows-1, balance-windows-2): New functions.
18855         (balance-windows): Rewrite in terms of window tree functions,
18856         balance-windows-1 and balance-windows-2.
18857         (bw-adjust-window): Remove.
18858         (balance-windows-area-adjust): New function with functionality of
18859         bw-adjust-window but using resize-window.
18860         (set-window-text-height): Rewrite doc-string.
18861         Use normalize-live-window and resize-window.
18862         (enlarge-window-horizontally, shrink-window-horizontally):
18863         Rename argument to DELTA.
18864         (window-buffer-height): New function.
18865         (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
18866         Rewrite using new window resize routines.
18867         (kill-buffer-and-window, mouse-autoselect-window-select):
18868         Use ignore-errors instead of condition-case.
18869         (quit-window): Call delete-frame instead of delete-windows-on
18870         for the only buffer on frame.
18872 2011-06-10  Martin Rudalics  <rudalics@gmx.at>
18874         * loadup.el (top-level): Load window before files for the sake
18875         of replace-buffer-in-windows.
18877         * files.el (read-buffer-to-switch)
18878         (switch-to-buffer-other-window)
18879         (switch-to-buffer-other-frame, display-buffer-other-frame):
18880         Move to window.el.
18882         * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
18883         (previous-buffer): Move to window.el.
18885         * bindings.el (unbury-buffer): Move to window.el.
18887         * window.el (delete-other-windows-vertically): Move after
18888         definition of delete-other-windows.
18889         (other-window, delete-windows-on, replace-buffer-in-windows):
18890         Move here from window.c.
18891         (record-window-buffer, unrecord-window-buffer)
18892         (set-window-buffer-start-and-point, switch-to-prev-buffer)
18893         (switch-to-next-buffer): New functions.
18894         (get-next-valid-buffer, last-buffer, next-buffer): Move here
18895         from simple.el.  Call switch-to-next-buffer.
18896         (previous-buffer): Move here from simple.el.
18897         Call switch-to-prev-buffer.
18898         (bury-buffer): Move here from buffer.c.  Switch to previous
18899         buffer when window cannot be deleted.
18900         (unbury-buffer): Move here from bindings.el.
18901         (ctl-x-map): Move binding for other-window from window.c to
18902         here.
18903         (read-buffer-to-switch, switch-to-buffer-other-window)
18904         (switch-to-buffer-other-frame): Move here from files.el.
18905         (normalize-buffer-to-switch-to): New functions.
18906         (switch-to-buffer): Move here from buffer.c.
18907         Use read-buffer-to-switch and normalize-buffer-to-switch-to.
18909 2011-06-10  Martin Rudalics  <rudalics@gmx.at>
18911         * window.el (window-min-height, window-min-width): Move here
18912         from window.c.  Add defcustoms and rewrite doc-strings.
18913         (resize-mini-window, resize-window): New functions.
18914         (adjust-window-trailing-edge, enlarge-window, shrink-window):
18915         Move here from window.c.
18916         (maximize-window, minimize-window): New functions.
18917         (delete-window, delete-other-windows, split-window): Move here
18918         from window.c.
18919         (window-split-min-size): New function.
18920         (split-window-keep-point): Mention split-window-above-each-other
18921         instead of split-window-vertically.
18922         (split-window-above-each-other, split-window-vertically):
18923         Rename split-window-vertically to split-window-above-each-other
18924         and provide defalias for old definition.
18925         (split-window-side-by-side, split-window-horizontally):
18926         Rename split-window-horizontally to split-window-side-by-side
18927         and provide defalias for the old definition.
18928         (ctl-x-map): Move bindings for delete-window,
18929         delete-other-windows and enlarge-window here from window.c.
18930         Replace bindings for split-window-vertically and
18931         split-window-horizontally by bindings for
18932         split-window-above-each-other and split-window-side-by-side.
18934         * cus-start.el (all): Remove entries for window-min-height and
18935         window-min-width.  Add entries for window-splits and
18936         window-nest.
18938 2011-06-09  Glenn Morris  <rgm@gnu.org>
18940         * calendar/appt.el (appt-mode-line): New function.
18941         (appt-check, appt-disp-window): Use it.
18943         * files.el (hack-one-local-variable-eval-safep):
18944         Allow minor-modes with explicit +/-1 arguments.
18946 2011-06-09  Teodor Zlatanov  <tzz@lifelogs.com>
18948         * term/xterm.el (xterm): Add defgroup.
18949         (xterm-extra-capabilities): Add defcustom to supply known xterm
18950         capabilities, skip querying them, or query them (default).
18951         (terminal-init-xterm): Use it.
18952         (terminal-init-xterm-modify-other-keys): New function to set up
18953         modifyOtherKeys support to simplify `terminal-init-xterm'.
18955 2011-06-09  Martin Rudalics  <rudalics@gmx.at>
18957         * window.el (resize-window-reset, resize-window-reset-1)
18958         (resize-subwindows-skip-p, resize-subwindows-normal)
18959         (resize-subwindows, resize-other-windows, resize-this-window)
18960         (resize-root-window, resize-root-window-vertically)
18961         (window-deletable-p, window-or-subwindow-p)
18962         (frame-root-window-p): New functions.
18964 2011-06-09  Glenn Morris  <rgm@gnu.org>
18966         * net/ange-ftp.el (ange-ftp-switches-ok): New function.
18967         (ange-ftp-get-files): Use it.
18969 2011-06-09  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
18971         * mail/sendmail.el (mail-recover-1, mail-recover):
18972         * files.el (recover-file, recover-session):
18973         Handle dired-listing-switches not being just a single short option.
18975 2011-06-09  Glenn Morris  <rgm@gnu.org>
18977         * calendar/appt.el (appt-display-message, appt-disp-window):
18978         Handle lists of appointments.
18980 2011-06-08  Martin Rudalics  <rudalics@gmx.at>
18982         * window.el (one-window-p): Move down in code.
18983         Rewrite doc-string.
18984         (window-current-scroll-bars): Rewrite doc-string.
18985         Normalize live window argument.
18986         (walk-windows, get-window-with-predicate, count-windows):
18987         Rewrite doc-string.  Use window-list-1.
18988         (window-in-direction-2, window-in-direction, get-mru-window):
18989         New functions.
18991 2011-06-08  Reuben Thomas  <rrt@sc3d.org>
18993         * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
18994         Doc fix (Bug#8713).
18996 2011-06-08  Chong Yidong  <cyd@stupidchicken.com>
18998         * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
19000 2011-06-08  Juanma Barranquero  <lekktu@gmail.com>
19002         * loadhist.el (unload-feature-special-hooks):
19003         Add `comint-output-filter-functions'.
19005 2011-06-08  Ivan Kanis  <gnu@kanis.fr>
19007         * calendar/appt.el (appt-check): Move some initializations into the let.
19009 2011-06-08  Martin Rudalics  <rudalics@gmx.at>
19011         * window.el (window-height): Defalias to window-total-height.
19012         (window-width): Defalias to window-body-width.
19014 2011-06-07  Chong Yidong  <cyd@stupidchicken.com>
19016         * image-mode.el (image-toggle-animation): New command.
19017         (image-mode-map): Bind it to RET.
19018         (image-mode): Update message.
19019         (image-toggle-display-image): Avoid a spurious cache flush.
19020         (image-transform-rotation): Doc fix.
19021         (image-transform-properties): Return quickly in the normal case.
19022         (image-animate-loop): Rename from image-animate-max-time.
19024         * image.el (image-animate-max-time): Move to image-mode.el.
19025         (create-animated-image): Remove unnecessary function.
19026         (image-animate): Rename from image-animate-start.  New arg.
19027         (image-animate-stop): Remove; just use image-animate-timer.
19028         (image-animate-timer): Use car-safe.
19029         (image-animate-timeout): Rename argument.
19031 2011-06-07  Martin Rudalics  <rudalics@gmx.at>
19033         * window.el (get-lru-window, get-largest-window): Move here from
19034         window.c.  Rename first argument to ALL-FRAMES.
19035         Rephrase doc-strings.
19036         (get-buffer-window-list): Rewrite using window-list-1.
19037         Rephrase doc-string.
19038         (window-safe-min-height, window-safe-min-width): New constants.
19039         (window-size-ignore, window-min-size, window-min-size-1)
19040         (window-sizable, window-sizable-p, window-size-fixed-1)
19041         (window-size-fixed-p, window-min-delta-1, window-min-delta)
19042         (window-max-delta-1, window-max-delta, window-resizable)
19043         (window-resizable-p, window-total-height, window-total-width)
19044         (window-body-width): New functions.
19045         (window-full-height-p, window-full-width-p): Rewrite using
19046         window-total-size.
19047         (window-body-height): Rewrite using window-body-size.
19049 2011-06-06  Martin Rudalics  <rudalics@gmx.at>
19051         * window.el (window-right, window-left, window-child)
19052         (window-child-count, window-last-child, window-any-p)
19053         (normalize-live-buffer, normalize-live-frame)
19054         (normalize-any-window, normalize-live-window)
19055         (window-iso-combination-p, window-iso-combined-p)
19056         (window-iso-combinations)
19057         (walk-window-tree-1, walk-window-tree, walk-window-subtree)
19058         (windows-with-parameter, window-with-parameter)
19059         (window-atom-root, make-window-atom, window-atom-check-1)
19060         (window-atom-check, window-side-check, window-check):
19061         New functions.
19062         (ignore-window-parameters, window-sides, window-sides-vertical)
19063         (window-sides-slots): New variables.
19064         (window-size-fixed): Move down in code.  Minor doc-string fix.
19066 2011-06-05  Andreas Schwab  <schwab@linux-m68k.org>
19068         * comint.el (comint-dynamic-complete-as-filename)
19069         (comint-dynamic-complete-filename): Correctly call
19070         completion-in-region.
19072 2011-06-05  Deniz Dogan  <deniz@dogan.se>
19074         * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
19075         in last change.
19077 2011-06-05  Deniz Dogan  <deniz@dogan.se>
19079         * net/rcirc.el (rcirc-prompt-for-encryption): New function.
19080         (rcirc): Use it to prompt for encryption.
19082 2011-06-05  Roland Winkler  <winkler@gnu.org>
19084         * textmodes/bibtex.el (bibtex-search-buffer): New variable.
19085         (bibtex-search-entries): New command bound to C-c C-a.
19086         (bibtex-display-entries): New function.
19088 2011-06-05  Roland Winkler  <winkler@gnu.org>
19090         * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
19091         (bibtex-insert-kill): After yanking insert newline if necessary.
19092         (bibtex-initialize): Call bibtex-string-files-init only once.
19093         (bibtex-mode): Do not call easy-menu-add.
19094         (bibtex-validate-globally): Use save-excursion in bibtex buffers.
19095         (bibtex-yank): Set arg properly if nil.
19097 2011-06-05  Roland Winkler  <winkler@gnu.org>
19099         * textmodes/bibtex.el (bibtex-search-entry-globally):
19100         New variable.
19101         (bibtex-search-entry): Use it.
19103 2011-06-05  Roland Winkler  <winkler@gnu.org>
19105         * textmodes/bibtex.el (bibtex-entry-format): New option
19106         sort-fields.
19107         (bibtex-format-entry, bibtex-reformat): Honor this option.
19108         (bibtex-parse-entry): Return fields in proper order.
19110 2011-06-05  Juanma Barranquero  <lekktu@gmail.com>
19112         * doc-view.el (doc-view-remove-if): Move computation of result out
19113         of `dolist' to silence misleading lexical-binding warning.
19115 2011-06-04  Chong Yidong  <cyd@stupidchicken.com>
19117         * emacs-lisp/timer.el (timer-activate): Remove unused arg.
19118         (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
19120 2011-06-04  Michael Albinus  <michael.albinus@gmx.de>
19122         * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
19123         "SunOS 5.10".
19125 2011-06-04  Michael Albinus  <michael.albinus@gmx.de>
19127         * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
19128         (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
19129         (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
19130         (tramp-parse-putty):
19131         * net/tramp-sh.el (tramp-completion-function-alist-rsh)
19132         (tramp-completion-function-alist-ssh)
19133         (tramp-completion-function-alist-telnet)
19134         (tramp-completion-function-alist-su)
19135         (tramp-completion-function-alist-putty): Set `tramp-autoload'
19136         cookie.
19138         * net/tramp-ftp.el:
19139         * net/tramp-sh.el:
19140         * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
19141         load "tramp.el" `tramp-set-completion-function'.
19143 2011-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
19145         * shell.el: Require and use pcomplete.
19146         (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
19147         (shell-completion-vars): Set pcomplete-default-completion-function.
19149 2011-06-04  Deniz Dogan  <deniz@dogan.se>
19151         * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
19152         `memq' (Bug#8799).
19154 2011-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
19156         * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
19158 2011-06-02  Juanma Barranquero  <lekktu@gmail.com>
19160         * bs.el (bs--mark-unmark, bs--nth-wrapper):
19161         * mpc.el (mpc-select-extend, mpc-songpointer-context):
19162         * vc/log-view.el (log-view-beginning-of-defun):
19163         * vc/smerge-mode.el (smerge-apply-resolution-patch)
19164         (smerge-refine-forward, smerge-refine-chopup-region):
19165         Silence warning for unused `dotimes' counter variables.
19167 2011-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
19169         * net/tramp.el (tramp-with-progress-reporter): Rename from
19170         with-progress-reporter.  Use `declare'.
19171         * net/tramp-smb.el:
19172         * net/tramp-sh.el:
19173         * net/tramp-gvfs.el: Update all uses.
19175 2011-06-02  Jay Belanger  <jay.p.belanger@gmail.com>
19177         * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
19178         buffer isn't killed before making it current.
19180 2011-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
19182         Silence various byte-compiler warnings.
19183         * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
19184         `access-type' and new obsolescence format.
19185         * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
19186         new format.
19187         (byte-compile-check-variable): New `access-type' argument.
19188         Only warn if the access-type is obsolete.
19189         (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
19190         (byte-compile-variable-set): Adjust callers.
19191         * help-fns.el (describe-variable): Adjust to new obsolescence format.
19192         * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
19193         setting it as obsolete.
19194         * simple.el (minibuffer-completing-symbol):
19195         * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
19196         access as obsolete.
19197         * minibuffer.el (minibuffer-completing-file-name): Don't make it
19198         obsolete yet.
19199         * international/quail.el (quail-mouse-choose-completion): Remove unused
19200         code referring to obsolete var.
19201         (quail-choose-completion-string): Remove.
19202         * server.el (server-clients-with, server-kill-buffer-query-function)
19203         (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
19204         * proced.el (proced-send-signal):
19205         * emacs-lisp/lisp.el (lisp-complete-symbol):
19206         Replace completion-annotate-function with completion-extra-properties.
19208 2011-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
19210         * simple.el (goto-line): Use read-number.
19211         (overriding-map-is-bound): Remove.
19212         (saved-overriding-map): Change default.
19213         (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
19214         Take the map as argument.
19215         (universal-argument, negative-argument, digit-argument): Use it.
19216         (restore-overriding-map): Adjust.
19217         (do-auto-fill): Use fill-forward-paragraph.
19218         (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
19220         * minibuffer.el (minibuffer-inactive-mode-map): New var.
19221         (minibuffer-inactive-mode): New major mode.
19222         * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
19223         the *Messages* buffer" hack.
19224         (mouse-popup-menubar): Don't burp if the event is a normal key.
19226         Miscellaneous tweaks.
19227         * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
19228         lexical scoping as in subr.el's dolist and dotimes.
19229         * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
19230         Silence compiler warning.
19231         * thingatpt.el (forward-whitespace): Trivial coding style fix.
19232         * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
19233         * international/ccl.el (ccl-compile): Trivial simplification.
19234         * help-fns.el (help-do-arg-highlight): Silence compiler warning.
19235         * emacs-lisp/testcover.el (testcover-end): Remove spurious
19236         `printflag' argument.
19237         * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
19238         Purecopy the whole obsolescence data.
19240 2011-06-01  Leo Liu  <sdl.web@gmail.com>
19242         * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
19243         improve doc-string as suggested by Marco Pessotto
19244         <melmothx@gmail.com>.
19245         (rcirc-print): Fix last change.
19247 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
19249         * minibuffer.el (complete-with-action): Return nil for the metadata and
19250         boundaries of non-functional tables.
19251         (completion-table-dynamic): Return nil for the metadata.
19252         (completion-table-with-terminator): Add default case, using
19253         complete-with-action.
19254         (completion--metadata): New function.
19255         (completion-all-sorted-completions, minibuffer-completion-help): Use it
19256         to try and avoid pathological performance problems.
19257         (completion--embedded-envvar-table): Return `category' metadata.
19259 2011-05-31  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19261         * subr.el (process-alive-p): New tiny convenience function.
19263 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
19265         * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
19266         content but also its previous major mode.
19268 2011-05-31  Helmut Eller  <eller.helmut@gmail.com>
19270         * emacs-lisp/debug.el (debug): Restore the previous content of the
19271         *Backtrace* buffer when we exit with C-M-c.
19273 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
19275         * minibuffer.el: Add metadata method to completion tables.
19276         (completion-category-overrides): New defcustom.
19277         (completion-metadata, completion--field-metadata)
19278         (completion-metadata-get, completion--styles)
19279         (completion--cycle-threshold): New functions.
19280         (completion-try-completion, completion-all-completions):
19281         Add `metadata' argument to choose completion-styles.
19282         (completion--do-completion): Use metadata to choose cycling.
19283         (completion-all-sorted-completions): Use metadata for sorting.
19284         Remove :completion-cycle-penalty which is not needed any more.
19285         (completion--try-word-completion): Add `metadata' argument.
19286         (minibuffer-completion-help): Check metadata for annotation function
19287         and sorting.
19288         (completion-file-name-table): Return `category' metadata.
19289         (minibuffer-completing-file-name): Make obsolete.
19290         * simple.el (minibuffer-completing-symbol): Make obsolete.
19291         * icomplete.el (icomplete-completions): Pass new `metadata' param to
19292         completion-try-completion.
19294 2011-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
19296         * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
19298 2011-05-30  Leo Liu  <sdl.web@gmail.com>
19300         * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
19301         (rcirc-print): Decode all incoming messages (bug#8744).
19302         (rcirc-decode-coding-system): Allow value nil for automatic coding
19303         system detection.
19305 2011-06-01  Glenn Morris  <rgm@gnu.org>
19307         * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
19309 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
19311         * image.el (image-animate-max-time): Allow nil and t values.
19312         Default to nil.
19313         (create-animated-image): Doc fix.
19314         (image-animate-start): Remove second arg; just use
19315         image-animate-max-time.
19316         (image-animate-timeout): Doc fix.  Args changed.
19318         * image-mode.el (image-toggle-display-image): Ensure that the
19319         image spec passed to the animate timer is the same object as in
19320         the buffer's display property (Bug#6981).
19321         (image-transform-properties): Doc fix.
19323         * image.el (image-animate-max-time): Default to nil.
19325 2011-05-29  Martin Rudalics  <rudalics@gmx.at>
19327         * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
19328         entire buffer list (Bug#8184).
19330 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
19332         * image.el (imagemagick-types-inhibit)
19333         (imagemagick-register-types): Doc fix.
19335 2011-05-29  Deniz Dogan  <deniz@dogan.se>
19337         * net/rcirc.el (rcirc): Use the user's stored encryption method by
19338         default.
19340 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
19342         * select.el: Don't perform clipboard-manager saving in hooks;
19343         leave the hooks empty.
19345 2011-05-28  Leo Liu  <sdl.web@gmail.com>
19347         * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
19348         (occur-mode-map): Bind occur-edit-mode.  Use occur-menu-map.
19349         (occur-edit-mode): New major mode (Bug#8463).
19350         (occur-after-change-function): New function.
19351         (occur-engine): Give Occur tags a read-only property.
19353 2011-05-28  Kevin Ryde  <user42@zip.com.au>
19355         * subr.el (def-edebug-spec): Doc fix (Bug#8430).
19357 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
19359         * bindings.el (help-echo): Make the initial non-indicator dash
19360         empty on graphical terminals (Bug#7295).
19362         * files.el (auto-mode-alist): Move config rule after the
19363         in-stripping one (Bug#8547).
19365         * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
19367         * startup.el (normal-splash-screen): Remove gratuitous mode-line
19368         setting (Bug#8740).
19370 2011-05-28  Alp Aker  <aker@pitt.edu>  (tiny change)
19372         * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
19373         (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
19374         (Bug#8539).
19376 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
19378         * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
19380 2011-05-28  Dima Kogan  <dkogan@cds.caltech.edu>  (tiny change)
19382         * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
19383         (hs-hide-block-at-point, hs-find-block-beginning)
19384         (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
19385         (Bug#8279).
19387 2011-05-28  Glenn Morris  <rgm@gnu.org>
19389         * startup.el (fancy-about-screen): Use standard mode line.  (Bug#8740)
19391 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
19393         * help-fns.el (describe-function-1): If the function is a derived
19394         major mode, print the parent mode.
19396         * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
19397         (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
19399 2011-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
19401         * minibuffer.el (completion--capf-wrapper): Check applicability before
19402         returning non-nil for non-exclusive completion data.
19403         * progmodes/etags.el (tags-completion-at-point-function):
19404         * info-look.el (info-lookup-completions-at-point): Mark as
19405         non-exclusive.
19406         (info-complete): Adjust accordingly.
19408         * info-look.el: Convert to lexical-binding and completion-at-point.
19409         (info-lookup-completions-at-point): New function.
19410         (info-complete): Use it and completion-in-region.
19412 2011-05-28  Drew Adams  <drew.adams@oracle.com>
19414         * isearch.el: Let M-e start with point at the first mismatched char.
19415         (isearch-fail-pos): New function.
19416         (isearch-edit-string): Use it.
19418 2011-05-28  Dmitry Kurochkin  <dmitry.kurochkin@gmail.com>  (tiny change)
19420         * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
19422 2011-05-27  Toby Cubitt  <toby-predictive@dr-qubit.org>
19424         * emacs-lisp/avl-tree.el: New avl-tree-stack datatype.  Add new
19425         traversal functions for avl-trees.
19426         (avl-tree--stack): New struct.
19427         (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
19428         (avl-tree-enter): Add optional `updatefun' arg.
19429         (avl-tree--do-enter): Add optional `updatefun' arg.
19430         Change return value.
19431         (avl-tree-delete): Add optional `test' and `nilflag' args.
19432         (avl-tree--do-delete): Add `test' and `nilflag' args.
19433         Change return value.
19434         (avl-tree-member): Add optional `nilflag'
19435         (avl-tree-member-p): New function.
19436         (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
19437         (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
19438         (avl-tree-stack-empty-p): New functions.
19440         * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
19441         avl-tree--del-balance1 and make it work both ways.
19442         (avl-tree--del-balance2): Remove.
19443         (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
19444         make it work both ways.
19445         (avl-tree--enter-balance2): Remove.
19446         (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
19447         New macros.
19448         (avl-tree--mapc, avl-tree-map): Add direction argument.
19450 2011-05-27  David Michael  <fedora.dm0@gmail.com>  (tiny change)
19452         * files.el (interpreter-mode-alist): Add rbash (bug#8745).
19454 2011-05-27  Chong Yidong  <cyd@stupidchicken.com>
19456         * select.el: Support clipboard managers with built-in function
19457         x-clipboard-manager-save, via delete-frame-functions and
19458         kill-emacs-hook.
19459         (xselect-convert-to-targets): Add MULTIPLE target to list.
19460         (xselect-convert-to-save-targets): New function.
19462 2011-05-27  Kenichi Handa  <handa@m17n.org>
19464         * mail/sendmail.el (mail-encode-header): Avoid double encoding by
19465         let-binding rfc2047-encode-encoded-words to nil.
19467 2011-05-27  Glenn Morris  <rgm@gnu.org>
19469         * mail/emacsbug.el: Don't require url-util.
19471         * shell.el (shell-directory-tracker): Case matters.  (Bug#8735)
19473         * files.el (set-auto-mode):
19474         Also respect mode: entries at the end of the file.  (Bug#8586)
19476 2011-05-26  Glenn Morris  <rgm@gnu.org>
19478         * files.el (hack-local-variables-prop-line, hack-local-variables):
19479         Downcase mode names, as seems to be traditional.
19480         (hack-local-variables, hack-local-variables-apply): Doc fixes.
19482         * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
19483         (report-emacs-bug-hook): Try to validate the From address.  (Bug#8038)
19485 2011-05-25  Julien Danjou  <julien@danjou.info>
19487         * textmodes/rst.el (rst-define-level-faces): Do not define face
19488         symbol if it is already defined.
19490 2011-05-24  Vincent BelaĂ¯che  <vincentb1@users.sourceforge.net>
19492         * play/5x5.el (5x5-new-game, 5x5-randomize):
19493         Reset 5x5-solver-output to nil when a new grid is cast.
19494         (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
19495         these debugging traces, as defmacro breaks the compiled code.
19497 2011-05-24  Dmitry Kurochkin  <dmitry.kurochkin@gmail.com>  (tiny change)
19499         * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
19501 2011-05-24  Leo Liu  <sdl.web@gmail.com>
19503         * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
19504         (vc-bzr-sha1): Adapt.
19506         * sha1.el: Remove.  Function `sha1' is now builtin.
19508         * bindings.el: Provide sha1 feature.
19510 2011-05-24  Kenichi Handa  <handa@m17n.org>
19512         * mail/sendmail.el: Require `rfc2047'.
19513         (mail-insert-from-field): Do not perform RFC2047 encoding.
19514         (mail-encode-header): New function.
19515         (sendmail-send-it): Set buffer-file-coding-system of the work
19516         buffer to the return value of select-message-coding-system.
19517         Call mail-encode-header.
19519         * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
19521 2011-05-24  Sean Neakums  <sneakums@zork.net>  (tiny change)
19523         * mail/supercite.el (sc-default-cite-frame):
19524         Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
19526 2011-05-24  Glenn Morris  <rgm@gnu.org>
19528         * progmodes/python.el (brm-menu): Declare.
19530         * emulation/viper.el (viper-set-hooks): Declare.
19532         * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
19533         (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
19534         (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
19535         (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
19536         (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
19537         (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
19539 2011-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
19541         Add an :exit-function for completion-at-point.
19543         * minibuffer.el (completion--done): New fun.
19544         (completion--do-completion): Use it.  New arg `expect-exact'.
19545         (minibuffer-complete, minibuffer-complete-word): Don't output message,
19546         since completion--do-completion does it for us now.
19547         (minibuffer-force-complete): Use completion--done and
19548         completion--replace.  Handle sole-completion case with more care.
19549         (minibuffer-complete-and-exit): Use new `expect-exact' arg.
19550         (completion-extra-properties): New var.
19551         (completion-annotate-function): Make obsolete.
19552         (minibuffer-completion-help): Adjust accordingly.
19553         Use completion-list-insert-choice-function.
19554         (completion-at-point, completion-help-at-point):
19555         Bind completion-extra-properties.
19556         (completion-pcm-word-delimiters): Add | (for uniquify, for example).
19557         * simple.el (completion-list-insert-choice-function): New var.
19558         (completion-setup-function): Preserve it.
19559         (choose-completion): Pay attention to it, shuffle the code a bit.
19560         (choose-completion-string): New arg `insert-function'.
19562         * textmodes/bibtex.el: Convert to lexical binding.
19563         (bibtex-mode-map): Use completion-at-point.
19564         (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
19565         (bibtex-completion-at-point-function): New fun, from bibtex-complete.
19566         (bibtex-complete): Define as obsolete alias.
19567         (bibtex-complete-internal): Remove.
19568         (bibtex-format-entry): Remove unused sub-group in regexp.
19569         * shell.el (shell--command-completion-data)
19570         (shell-environment-variable-completion):
19571         * pcomplete.el (pcomplete-completions-at-point):
19572         * comint.el (comint--complete-file-name-data): Use :exit-function
19573         instead of completion-table-with-terminator so it also works for
19574         choose-completion.
19576 2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
19578         * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
19580         * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
19581         (bug#8710).
19583         * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
19585 2011-05-23  Ken Manheimer  <ken.manheimer@gmail.com>
19587         * allout.el (allout-inhibit-auto-fill-on-headline): Create new
19588         customization variable and implement: If non-nil, auto-fill will
19589         be inhibited while on topic's header line.
19591 2011-05-23  Vincent BelaĂ¯che  <vincentb1@users.sourceforge.net>
19593         * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
19594         click on.  II/ Make 5x5 multisession.  III/ Ensure that random grids
19595         always have a solution in grid size = 5 cases.
19596         (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
19597         (5x5-solver-output, 5x5-log-buffer): New vars.
19598         (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
19599         Make these variables buffer local to achieve 5x5 multi-session-ness.
19600         (5x5): Set 5x5-grid-size only if SIZE is non-negative.
19601         (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
19602         (5x5-solve-suggest): New funs.
19603         (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
19604         randomize a grid so that we ensure that there is always a solution.
19605         (5x5-make-random-grid): Allow other movement than flipping.
19607 2011-05-23  Kevin Ryde  <user42@zip.com.au>
19609         * emacs-lisp/advice.el (ad-read-advised-function):
19610         Use `function-called-at-point' as the default, if it has
19611         advice and passes PREDICATE.
19613 2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
19615         * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
19616         byte-compile-lambda if it's actually a lambda.
19618         * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
19619         Fix function quoting.  Use backquote better.
19621 2011-05-22  Yuanle Song  <sylecn@gmail.com>
19623         * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
19624         matching (Bug#8516).
19626 2011-01-22  Jari Aalto  <jari.aalto@cante.net>
19628         * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
19629         different face (Bug#8178).
19631 2011-05-22  Chong Yidong  <cyd@stupidchicken.com>
19633         * vc/diff-mode.el (diff-changed): Don't use terminal specs for
19634         defface (Bug#8144).
19636 2011-05-22  Stefan Monnier  <monnier@iro.umontreal.ca>
19638         * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
19639         funcall as well (bug#8712).  Warn when performing those conversions.
19640         * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
19642         * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
19644 2011-05-22  Glenn Morris  <rgm@gnu.org>
19646         * files.el (hack-local-variables-prop-line): Small simplifications.
19647         (hack-local-variables, hack-local-variables-prop-line):
19648         If MODE-ONLY, return the mode, rather than just `t'.
19650 2011-05-21  Stefan Monnier  <monnier@iro.umontreal.ca>
19652         * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
19654 2011-05-21  Glenn Morris  <rgm@gnu.org>
19656         * files.el (hack-local-variables-prop-line, hack-local-variables):
19657         If only interested in the mode, don't bother doing the other stuff.
19659         * image-mode.el (image-after-revert-hook):
19660         Redraw all frames on which the image is visible.  (Bug#8567)
19662         * dired-aux.el (dired-touch-initial): Just use current-time.  (Bug#6887)
19664         * wid-edit.el (widget-checklist-match-inline):
19665         Fix 2011-04-19 change.  (Bug#8649)
19667 2011-05-20  Stefan Monnier  <monnier@iro.umontreal.ca>
19669         * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
19670         Also allow singlespace after single-letter capitals followed by a dot.
19672         * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
19673         enabled.  Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
19675 2011-05-20  Nix  <nix@esperi.org.uk>
19677         * files.el (basic-save-buffer-2):
19678         Fix handling of break-hardlink-on-save with non-existent files.
19680 2011-05-19  Deniz Dogan  <deniz@dogan.se>
19682         * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
19683         (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
19685 2011-05-19  Glenn Morris  <rgm@gnu.org>
19687         * progmodes/f90.el (f90-type-def-re):
19688         Handle "type, bind(c)".  (Bug#8691)
19690         * emacs-lisp/autoload.el (batch-update-autoloads):
19691         Set autoload-excludes by parsing loadup.el rather than Makefiles.
19693 2011-05-18  Michael Albinus  <michael.albinus@gmx.de>
19695         * net/tramp.el (tramp-process-actions): Set "first-password-request"
19696         property for the correct connection in case of multihops.
19698 2011-05-18  Glenn Morris  <rgm@gnu.org>
19700         * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
19701         * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
19703         Rationalize calendar handling of day and month abbrev-arrays.
19704         * calendar/calendar.el (calendar-customized-p): New function.
19705         (calendar-abbrev-construct, calendar-make-alist): Change what it does.
19706         (calendar-day-name-array, calendar-month-name-array): Doc fix.
19707         Add :set function.
19708         (calendar-abbrev-length, calendar-day-abbrev-array)
19709         (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
19710         (calendar-day-abbrev-array, calendar-month-abbrev-array):
19711         Elements may no longer be nil.
19712         (calendar-day-name, calendar-month-name):
19713         Update for changed nature of abbrev arrays.
19714         * calendar/diary-lib.el (diary-name-pattern):
19715         Update for changed nature of abbrev arrays.
19716         (diary-mark-entries-1): Update calendar-make-alist calls.
19717         (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
19718         * calendar/cal-html.el (cal-html-day-abbrev-array):
19719         Simply inherit from calendar-day-abbrev-array.
19721 2011-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
19723         * progmodes/grep.el (grep-mode): Disable default
19724         compilation-directory-matcher setting (bug#8684).
19726 2011-05-17  Michael Albinus  <michael.albinus@gmx.de>
19728         * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
19729         instead of "head" and "tail".  There were problems with SunOS 5.9,
19730         and it performs better.
19732 2011-05-17  Glenn Morris  <rgm@gnu.org>
19734         * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
19736         * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
19737         Replace obsolete function.
19739         * shell.el (pcomplete-parse-arguments-function): Declare.
19741         * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
19742         (appt-display-diary, appt-display-interval, appt-prev-comp-time)
19743         (appt-check): Doc fixes.
19744         (appt-disp-window-function, appt-delete-window-function):
19745         Remove needless special case in custom :type.
19746         (appt-display-count): Default to 0, not nil.
19747         (appt-check): Reset appt-display-count to 0, not nil.
19749 2011-05-17  Juanma Barranquero  <lekktu@gmail.com>
19751         * progmodes/python.el (python-font-lock-keywords):
19752         Add the Python 3.X keyword "nonlocal" (bug#8639).
19754 2011-05-16  Stefan Monnier  <monnier@iro.umontreal.ca>
19756         * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
19758 2011-05-16  Kevin Ryde  <user42@zip.com.au>
19760         * info-look.el (makefile-automake-mode): New setups, looking in
19761         automake manual, then makefile-mode.
19762         (makefile-mode): Remove automake manual, have it just in
19763         makefile-automake-mode since there's various things different or
19764         not relevant to plain make.
19765         (makefile-mode): Remove "other-modes" non-existent automake-mode,
19766         believe a hypothetical automake-mode would go to makefile-mode,
19767         not the other way around.
19769 2011-05-15  Chong Yidong  <cyd@stupidchicken.com>
19771         * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
19772         hunk-end tags (Bug#8672).
19774         * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
19775         vc-annotate-show-diff-revision-at-line (Bug#8671).
19777 2011-05-14  Glenn Morris  <rgm@gnu.org>
19779         * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
19780         in the middle of an existing one with multiple authors.  (Bug#8645)
19781         (change-log-font-lock-keywords): Also handle multiple author lines
19782         with leading tabs.  (Bug#8644)
19784         * calendar/appt.el (appt-check): Rename some local variables.
19785         Some simplification/reordering.
19787         * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
19788         (feedmail-sendmail-f-doesnt-sell-me-out)
19789         (feedmail-queue-slug-suspect-regexp, feedmail-debug)
19790         (feedmail-debug-sit-for, feedmail-queue-express-hook)
19791         (feedmail-queue-runner-message-sender): Set :version.
19792         (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
19793         (bbdb-dwim-net-address, vm-mail): Declare.
19794         (feedmail-binmail-gnulinuxish-template):
19795         Rename from feedmail-binmail-linuxish-template.
19796         (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
19797         Use insert-buffer-substring.
19799 2011-05-14  Bill Carpenter  <bill@carpenter.org>
19801         * mail/feedmail.el (feedmail-patch-level): Increase.
19802         (feedmail-debug): New custom group.
19803         (feedmail-confirm-outgoing-timeout)
19804         (feedmail-sendmail-f-doesnt-sell-me-out)
19805         (feedmail-queue-slug-suspect-regexp, feedmail-debug)
19806         (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
19807         (feedmail-sender-line, feedmail-from-line)
19808         (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
19809         (feedmail-spray-this-address)
19810         (feedmail-spray-address-fiddle-plex-list)
19811         (feedmail-queue-use-send-time-for-date)
19812         (feedmail-queue-use-send-time-for-message-id)
19813         (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
19814         (feedmail-buffer-eating-function):
19815         Doc fixes.
19816         (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
19817         (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
19818         (feedmail-message-action-scroll-down): New functions.
19819         (feedmail-queue-directory, feedmail-queue-draft-directory):
19820         Use expand-file-name.
19821         (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
19822         Remove C-v help entry.
19823         (feedmail-queue-buffer-file-name): New variable.
19824         (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
19825         (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
19826         (feedmail-message-action-send-strong, feedmail-message-action-edit)
19827         (feedmail-message-action-draft, feedmail-message-action-draft-strong)
19828         (feedmail-message-action-queue, feedmail-message-action-queue-strong)
19829         (feedmail-message-action-toggle-spray)
19830         (feedmail-run-the-queue-no-prompts)
19831         (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
19832         (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
19833         (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
19834         (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
19835         (feedmail-envelope-deducer, feedmail-fiddle-from)
19836         (feedmail-fiddle-sender, feedmail-default-date-generator)
19837         (feedmail-fiddle-date, feedmail-fiddle-message-id)
19838         (feedmail-fiddle-spray-address)
19839         (feedmail-fiddle-list-of-spray-fiddle-plexes)
19840         (feedmail-fiddle-list-of-fiddle-plexes)
19841         (feedmail-fill-to-cc-function, feedmail-fill-this-one)
19842         (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
19843         (feedmail-queue-runner-message-sender, feedmail-binmail-template):
19844         Change default.  Doc fix.
19845         (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
19846         (feedmail-binmail-linuxish-template): New constant.
19847         (feedmail-buffer-to-sendmail): Doc fix.  Add debug call.
19848         Respect feedmail-sendmail-f-doesnt-sell-me-out.
19849         (feedmail-send-it): Add debug call.
19850         Use feedmail-queue-buffer-file-name, and
19851         feedmail-send-it-immediately-wrapper.
19852         (feedmail-message-action-send): Add debug call.
19853         Use feedmail-send-it-immediately-wrapper.
19854         (feedmail-queue-express-to-queue): Add debug call.
19855         Run feedmail-queue-express-hook.
19856         (feedmail-message-action-help): Add debug call.  Use feedmail-p-h-b-n.
19857         (feedmail-message-action-help-blat):
19858         Rename from feedmail-queue-send-edit-prompt-help-first.
19859         (feedmail-run-the-queue): Add debug call.  Set buffer-file-type.
19860         Check line-endings.  Handle errors better.
19861         (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
19862         Doc fix.  Add debug call.
19863         (feedmail-queue-send-edit-prompt): Doc fix.  Add debug call.
19864         Use feedmail-queue-send-edit-prompt-inner.
19865         (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
19866         (feedmail-queue-send-edit-prompt-inner): New function, extracted
19867         from feedmail-queue-send-edit-prompt.
19868         (feedmail-queue-send-edit-prompt-help)
19869         (feedmail-queue-send-edit-prompt-help-later): Remove functions.
19870         (feedmail-tidy-up-slug): Add debug call.
19871         Respect feedmail-queue-slug-suspect-regexp.
19872         (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
19873         (feedmail-dump-message-to-queue): Add debug call.
19874         Expand queue-directory.
19875         (feedmail-dump-message-to-queue): Change message slightly.
19876         Use feedmail-say-chatter.
19877         (feedmail-rfc822-date): Add debug call.  Bind system-time-locale.
19878         (feedmail-send-it-immediately-wrapper): New function.
19879         (feedmail-send-it-immediately): Add debug calls.  Use let not let*.
19880         Insert empty string rather than newline.  Handle full-frame case.
19881         Use catch/throw.  Use feedmail-say-chatter.
19882         (feedmail-fiddle-from): Try mail-host-address.
19883         (feedmail-default-message-id-generator): Doc fix.
19884         Bind system-time-locale.  Handle missing end.
19885         (feedmail-fiddle-x-mailer): Add debug call.
19886         Handle feedmail-x-mailer-line being nil.
19887         (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
19888         Add debug call.  Use buffer-substring-no-properties.
19889         (feedmail-say-debug, feedmail-say-chatter): New functions.
19890         (feedmail-find-eoh): Give an explicit error.
19892 2011-05-13  Ulf Jasper  <ulf.jasper@web.de>
19894         * net/newst-treeview.el (newsticker-treeview-face): Change default
19895         family from helvetica to sans.
19896         (newsticker-treeview-tool-bar-map): Move tool-bar icons to
19897         etc/images/newsticker.
19899         * net/newst-reader.el (newsticker-feed-face): Change default
19900         family from helvetica to sans.
19902         * net/newst-plainview.el (newsticker-new-item-face)
19903         (newsticker-old-item-face, newsticker-immortal-item-face)
19904         (newsticker-obsolete-item-face, newsticker-date-face)
19905         (newsticker-statistics-face): Change default family from
19906         helvetica to sans.
19907         (newsticker--plainview-tool-bar-map): Move tool-bar icons to
19908         etc/images/newsticker.
19910         * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
19911         (newsticker--process-auto-mark-filter-match): Tell user about
19912         auto-marking.
19914 2011-05-13  Didier Verna  <didier@xemacs.org>
19916         Common Lisp indentation improvements on defmethod and lambda-lists.
19917         * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
19918         TODO entries.
19919         (lisp-lambda-list-keyword-parameter-indentation)
19920         (lisp-lambda-list-keyword-parameter-alignment)
19921         (lisp-lambda-list-keyword-alignment): New customizable user options.
19922         (lisp-indent-defun-method): Improve docstring.
19923         (extended-loop-p): Fix comment.
19924         (lisp-indent-lambda-list-keywords-regexp): New variable.
19925         (lisp-indent-lambda-list): New function.
19926         (lisp-indent-259): Use it.
19927         (lisp-indent-defmethod): Support for more than one
19928         method qualifier and properly indent methods lambda-lists.
19929         (defgeneric): Provide a missing common-lisp-indent-function property.
19931 2011-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
19933         * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
19934         bounds for the empty string (bug#8667).
19936 2011-05-13  Glenn Morris  <rgm@gnu.org>
19938         * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
19940         * mail/sendmail.el (sendmail-program): Try executable-find first.
19941         (sendmail-send-it): `sendmail-program' cannot be unbound.
19943         * calendar/appt.el (appt-make-list): Simplify.
19944         (appt-time-msg-list): Doc fix.
19945         (appt-check): Change mode-line message at the time of the appointment.
19947 2011-05-12  Andreas Schwab  <schwab@linux-m68k.org>
19949         * progmodes/ld-script.el (ld-script-keywords)
19950         (ld-script-builtins): Update keywords list.
19952 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
19954         * progmodes/grep.el (grep-filter): Don't trip on partial lines.
19956         * shell.el (shell-completion-vars): New function.
19957         (shell-mode):
19958         * simple.el (read-shell-command): Use it.
19959         (blink-matching-open): No need for " [...]" in minibuffer-message.
19961 2011-05-12  Glenn Morris  <rgm@gnu.org>
19963         * calendar/appt.el (appt-now-displayed): Remove pointless variable.
19964         (appt-check): Simplify.
19966 2011-05-12  Eli Zaretskii  <eliz@gnu.org>
19968         * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
19969         literal "/dev/null".
19971 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
19973         * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
19974         Fix typo.
19976 2011-05-12  Ralph Schleicher  <rs@ralph-schleicher.de>
19978         * progmodes/which-func.el (which-function):
19979         Use add-log-current-defun instead of add-log-current-defun-function,
19980         which might not be defined (Bug#8260).
19982 2011-05-12  Glenn Morris  <rgm@gnu.org>
19984         * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
19985         Let byte-compile-initial-macro-environment always take precedence.
19987 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
19989         * net/rcirc.el: Add support for SSL/TLS connections.
19990         (rcirc-server-alist): New field `encryption'.
19991         (rcirc): Check `encryption' settings.
19992         (rcirc-connect): New arg `encryption'.  Use open-network-stream.
19993         Merge make-local-variable into `set'.
19994         (rcirc--connection-open-p): New function.
19995         (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
19996         the process is not a network process (e.g. running gnutls-cli).
19997         (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
19998         Make rcirc-(en|de)code-coding-system local here.
19999         (rcirc-mode): Merge make-local-variable into `set'.
20000         (rcirc-parent-buffer): Make permanent buffer-local.
20001         (rcirc-multiline-minor-mode): Don't do it here.
20002         (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
20003         there's no server buffer.
20005 2011-05-11  Glenn Morris  <rgm@gnu.org>
20007         * newcomment.el (comment-kill): Prefix "unused" local.
20009         * term/w32console.el (get-screen-color): Declare.
20011         * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
20012         Handle symbol elements of byte-compile-initial-macro-environment.
20014 2011-05-10  Leo Liu  <sdl.web@gmail.com>
20016         * bookmark.el (bookmark-bmenu-mode-map):
20017         Bind bookmark-bmenu-search to `/'.
20019         * mail/footnote.el: Convert to utf-8 encoding.
20020         (footnote-unicode-string, footnote-unicode-regexp): New variable.
20021         (Footnote-unicode): New function.
20022         (footnote-style-alist): Add unicode style to the list.
20023         (footnote-style): Doc fix.
20025 2011-05-10  Jim Meyering  <meyering@redhat.com>
20027         Fix doubled-word typos.
20028         * international/quail.el (quail-insert-kbd-layout): and and -> and
20029         * kermit.el: and and -> and
20030         * net/ldap.el (ldap-search-internal): to to -> to
20031         * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
20032         * progmodes/js.el (js-mode): and and -> and
20033         * textmodes/artist.el (artist-move-to-xy): at at -> at
20034         (artist-draw-region-trim-line-endings): if if -> if
20035         And Safetyc -> Safety.
20036         * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
20038 2011-05-10  Glenn Morris  <rgm@gnu.org>
20039             Stefan Monnier  <monnier@iro.umontreal.ca>
20041         * files.el (hack-one-local-variable-eval-safep):
20042         Consider "eval: (foo-mode)" to be safe.  (Bug#8613)
20044 2011-05-10  Glenn Morris  <rgm@gnu.org>
20046         * calendar/diary-lib.el (diary-list-entries-hook)
20047         (diary-mark-entries-hook, diary-nongregorian-listing-hook)
20048         (diary-nongregorian-marking-hook, diary-list-entries)
20049         (diary-include-other-diary-files, diary-mark-entries)
20050         (diary-mark-included-diary-files): Doc fixes.
20052 2011-05-09  Juanma Barranquero  <lekktu@gmail.com>
20054         * misc.el: Require tabulated-list.el during compilation.
20056 2011-05-09  Chong Yidong  <cyd@stupidchicken.com>
20058         * progmodes/compile.el (compilation-start):
20059         Run compilation-filter-hook for the async case too.
20060         (compilation-filter-hook): Doc fix.
20062 2011-05-09  Deniz Dogan  <deniz@dogan.se>
20064         * wdired.el: Remove outdated installation comment.  Fix usage
20065         comment.
20067 2011-05-09  Juanma Barranquero  <lekktu@gmail.com>
20069         * misc.el: Implement new command `list-dynamic-libraries'.
20070         (list-dynamic-libraries--loaded-only-p): New variable.
20071         (list-dynamic-libraries--refresh): New function.
20072         (list-dynamic-libraries): New command.
20074 2011-05-09  Chong Yidong  <cyd@stupidchicken.com>
20076         * progmodes/compile.el (compilation-error-regexp-alist-alist):
20077         Fix the ant regexp to handle end-line and end-column info from jikes.
20078         Re-introduce maven regexp.  Give the ruby-Test::Unit regexp a
20079         higher priority to avoid clobbering by gnu.
20081 2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
20083         * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
20084         if the face has existing theme settings (Bug#8454).
20086 2011-05-08  Ralph Schleicher  <rs@ralph-schleicher.de>
20088         * progmodes/perl-mode.el (perl-imenu-generic-expression):
20089         Only match variables declared via `my' or `our' (Bug#8261).
20091         * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
20092         special file names `.' and `..' (Bug#8259).
20094 2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
20096         * progmodes/grep.el (grep-mode-font-lock-keywords):
20097         Remove buffer-changing entries.
20098         (grep-filter): New function.
20099         (grep-mode): Add it to compilation-filter-hook.
20101         * progmodes/compile.el (compilation-filter-hook)
20102         (compilation-filter-start): New defvars.
20103         (compilation-filter): Call compilation-filter-hook prior to
20104         updating the process mark.
20106 2011-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
20108         * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
20110 2011-05-07  Eli Zaretskii  <eliz@gnu.org>
20112         * mail/sendmail.el (send-mail-function): On MS-Windows, default to
20113         mailclient-send-it even if window-system is nil.  (Bug#8595)
20115         * term/w32console.el (terminal-init-w32console):
20116         Call get-screen-color and use its output to set the frame
20117         background-mode.  (Bug#8597)
20119 2011-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
20121         Make bytecomp.el understand that defmethod defines funs (bug#8631).
20122         * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
20123         New functions.
20124         (defgeneric, eieio--defmethod): Use them.
20125         (eieio-defgeneric): Remove.
20126         (defmethod): Call defgeneric in a way visible to the byte-compiler.
20128 2011-05-07  Glenn Morris  <rgm@gnu.org>
20130         * calendar/timeclock.el (timeclock-log-data): Remove unused local.
20131         Use let rather than let*.
20132         (timeclock-find-discrep): Remove unused local.
20134         * calendar/diary-lib.el (diary-comment-start): Doc fix.
20136         * calendar/appt.el (appt-time-msg-list): Doc fix.
20138 2011-05-06  Noah Friedman  <friedman@splode.com>
20140         * apropos.el (apropos-print-doc): Only use
20141         emacs-lisp-docstring-fill-column when it is bound to an integer,
20142         per that variable's documentation.
20144 2011-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
20146         * lpr.el (print-region-1): Echo lpr-program's output, so error messages
20147         and warnings are not silently discarded (e.g. use -d instead of -P).
20149 2011-05-06  Glenn Morris  <rgm@gnu.org>
20151         * calendar/appt.el (appt-message-warning-time): Doc fix.
20152         (appt-warning-time-regexp): New option.
20153         (appt-make-list): Respect appt-message-warning-time.
20155         * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
20156         New options.
20157         (diary-add-to-list): Strip comments from the displayed string.
20158         (diary-mode): Set comment-start and comment-end.
20160         * vc/diff-mode.el (smerge-refine-subst): Declare.
20161         (diff-refine-hunk): Don't require smerge-mode when compiling.
20163 2011-05-06  Juanma Barranquero  <lekktu@gmail.com>
20165         * simple.el (list-processes): Return nil as the docstring says.
20167 2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
20169         * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
20170         to "".
20171         (ange-ftp-write-region, ange-ftp-insert-file-contents)
20172         (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
20173         determining of binary transfer.  (Bug#7383)
20175 2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
20177         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
20178         Fix port computation bug.  (Bug#8618)
20180 2011-05-05  Glenn Morris  <rgm@gnu.org>
20182         * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
20184         * simple.el (shell-dynamic-complete-functions)
20185         (comint-dynamic-complete-functions): Declare.
20187         * net/network-stream.el (gnutls-negotiate):
20188         * simple.el (tabulated-list-print): Fix declarations.
20190         * progmodes/gud.el (syntax-symbol, syntax-point):
20191         Remove unnecessary and incorrect declarations.
20193         * emacs-lisp/check-declare.el (check-declare-scan):
20194         Handle byte-compile-initial-macro-environment in bytecomp.el.
20196 2011-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
20198         Fix earlier half-done eieio-defmethod change (bug#8338).
20199         * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
20200         Streamline and change calling convention.
20201         (defmethod): Adjust accordingly and simplify.
20202         (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
20203         new eieio--defmethod.
20204         (slot-boundp): Minor CSE simplification.
20206 2011-05-05  Milan Zamazal  <pdm@zamazal.org>
20208         * progmodes/glasses.el (glasses-separate-capital-groups): New option.
20209         (glasses-make-readable): Use glasses-separate-capital-groups.
20211 2011-05-05  Juanma Barranquero  <lekktu@gmail.com>
20213         * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
20214         (warning-series): Doc fix.
20215         (display-warning): Don't try to create the buffer if we just found it.
20217 2011-05-04  Chong Yidong  <cyd@stupidchicken.com>
20219         * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
20220         (autoload-find-generated-file): New function.
20221         (generate-file-autoloads): Bind generated-autoload-file to
20222         buffer-file-name.
20223         (update-file-autoloads, update-directory-autoloads):
20224         Use autoload-find-generated-file.  If called interactively, prompt for
20225         output file (Bug#7989).
20226         (batch-update-autoloads): Doc fix.
20228 2011-05-04  Juanma Barranquero  <lekktu@gmail.com>
20230         * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
20232 2011-05-04  Glenn Morris  <rgm@gnu.org>
20234         * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
20235         function, so it follows changes in calendar-date-style.
20236         (diary-fancy-date-matcher): New function.
20237         (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
20238         (diary-fancy-font-lock-fontify-region-function):
20239         Use diary-fancy-date-pattern as a function.
20241         * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
20242         non-numbers for `year' etc pseudo-variables.  (Bug#8583)
20244 2011-05-04  Teodor Zlatanov  <tzz@lifelogs.com>
20246         * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
20247         instead of positional arguments.  Allow :keylist and :crlfiles
20248         arguments.
20249         (open-gnutls-stream): Call it.
20251         * net/network-stream.el (network-stream-open-starttls): Adjust to
20252         call `gnutls-negotiate' with :process and :hostname arguments.
20254 2011-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
20256         * minibuffer.el (completion--message): New function.
20257         (completion--do-completion, minibuffer-complete)
20258         (minibuffer-force-complete, minibuffer-complete-word): Use it.
20259         (completion--do-completion): Don't ignore completion-auto-help when in
20260         icomplete-mode.
20262         * whitespace.el (whitespace-trailing-regexp): Don't rely on the
20263         internal encoding (e.g. tibetan zero is not whitespace).
20264         (global-whitespace-mode): Prefer save-current-buffer.
20265         (whitespace-trailing-regexp): Remove useless save-match-data.
20266         (whitespace-empty-at-bob-regexp): Minor simplification.
20268 2011-05-03  Chong Yidong  <cyd@stupidchicken.com>
20270         * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
20272 2011-05-03  AgustĂ­n MartĂ­n Domingo  <agustin.martin@hispalinux.es>
20274         * textmodes/ispell.el (ispell-add-per-file-word-list):
20275         Use `concat' to create string for insertion.
20277 2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
20279         * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
20280         Avoid open-line which runs post-self-insert-hook.
20281         (bibtex-fill-entry): Remove unused `end' var.
20283 2011-05-03  Dirk Ullrich  <dirk.ullrich@googlemail.com>  (tiny change)
20285         * textmodes/ispell.el (ispell-add-per-file-word-list):
20286         Protect against `nil' value of `comment-start' (Bug#8579).
20288 2011-05-03  Leo Liu  <sdl.web@gmail.com>
20290         * isearch.el (isearch-yank-pop): New command.
20291         (isearch-mode-map): Bind it to `M-y'.
20292         (isearch-forward): Mention it.
20294 2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
20296         * simple.el (minibuffer-complete-shell-command): Remove.
20297         (minibuffer-local-shell-command-map): Use completion-at-point.
20298         (read-shell-command): Setup completion vars here instead.
20299         (read-expression-map): Bind TAB to symbol completion.
20301         * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
20302         error directly rather via storing it into `results'.
20304 2011-05-02  Leo Liu  <sdl.web@gmail.com>
20306         * vc/diff.el: Fix description.
20308 2011-05-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
20310         * server.el (server-eval-at): New function.
20312 2011-05-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
20314         * net/network-stream.el (open-network-stream): Take a :nowait
20315         parameter and pass it on to `make-network-process'.
20316         (network-stream-open-plain): Ditto.
20318 2011-04-30  Andreas Schwab  <schwab@linux-m68k.org>
20320         * faces.el (face-spec-set-match-display): Don't match toolkit
20321         options on terminal frames.
20323 2011-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
20325         * progmodes/pascal.el: Use lexical binding.
20326         (pascal-mode-map): Remove author preferences.
20328         * pcomplete.el (pcomplete-std-complete): Don't abuse
20329         completion-at-point.
20331 2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
20333         * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
20334         removing code that has been dead since 1991 or so.
20336         * startup.el (command-line): When warning about "_emacs", use a
20337         delayed warning to allow the user to filter it out.
20339 2011-04-28  Deniz Dogan  <deniz@dogan.se>
20341         * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
20342         user has not joined.
20344 2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
20346         * pcomplete.el (pcomplete-completions-at-point): Return nil if there
20347         aren't any completions at point.
20349 2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
20351         * subr.el (display-delayed-warnings): New function.
20352         (delayed-warnings-hook): New variable.
20354 2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
20356         * minibuffer.el (completion-at-point, completion-help-at-point):
20357         Don't presume that a given completion-at-point-function will always
20358         use the same calling convention.
20360         * pcomplete.el (pcomplete-completions-at-point):
20361         Obey pcomplete-ignore-case.  Don't call pcomplete-norm-func unless
20362         pcomplete-seen is non-nil.
20363         (pcomplete-comint-setup): Also recognize the new comint/shell
20364         completion functions.
20365         (pcomplete-do-complete): Don't call pcomplete-norm-func unless
20366         pcomplete-seen is non-nil.
20368 2011-04-27  Niels Giesen  <niels.giesen@gmail.com>
20370         * calendar/icalendar.el (diary-lib): Add require statement.
20371         (icalendar--create-uid): Read out a uid from a text-property on
20372         the first character in the entry.  This allows for code to add its
20373         own uid to the entry.
20374         (icalendar--convert-float-to-ical): Add export of
20375         `diary-float'-entries save for those with the optional DAY
20376         argument.
20378 2011-04-27  Daniel Colascione  <dan.colascione@gmail.com>
20380         * subr.el (shell-quote-argument): Use alternate escaping strategy
20381         when we spot a variable reference in a string.
20383 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
20385         * cus-start.el (all): Define customization for debug-on-event.
20387 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
20389         * subr.el (shell-quote-argument): Escape correctly under Windows.
20391 2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
20393         * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
20395 2011-04-25  Michael Albinus  <michael.albinus@gmx.de>
20397         * net/tramp.el (tramp-process-actions): Add POS argument.
20398         Delete region between POS and (pos).
20400         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
20401         Use `nil' position in `tramp-process-actions' call.
20402         (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
20404         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
20405         position in `tramp-process-actions' call.
20407         * net/trampver.el: Update release number.
20409 2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
20411         * custom.el (defcustom): Obey lexical-binding.
20413         Fix octave-inf completion problems reported by Alexander Klimov.
20414         * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
20415         Inherit from octave-mode-syntax-table.
20416         (inferior-octave-mode): Set info-lookup-mode.
20417         (inferior-octave-completion-at-point): New function.
20418         (inferior-octave-complete): Use it and completion-in-region.
20419         (inferior-octave-dynamic-complete-functions): Use it as well, and use
20420         comint-filename-completion.
20421         * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
20422         symbol elements which shouldn't be word elements.
20423         (octave-font-lock-keywords, octave-beginning-of-defun)
20424         (octave-function-header-regexp): Adjust regexps accordingly.
20425         (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
20427 2011-04-25  Juanma Barranquero  <lekktu@gmail.com>
20429         * net/gnutls.el (gnutls-errorp): Declare before first use.
20431 2011-04-24  Teodor Zlatanov  <tzz@lifelogs.com>
20433         * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
20434         verify-error, and verify-hostname-error parameters.  Check whether
20435         default trustfile exists before going to use it.  Add missing
20436         argument to gnutls-message-maybe call.  Return value.
20437         Reported by Claudio Bley <claudio.bley@gmail.com>.
20438         (open-gnutls-stream): Add usage example.
20440         * net/network-stream.el (network-stream-open-starttls): Give host
20441         parameter to `gnutls-negotiate'.
20442         (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
20443         * subr.el (shell-quote-argument): Escape correctly under Windows.
20445 2011-04-24  Daniel Colascione  <dan.colascione@gmail.com>
20447         * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
20448         Use correct match group (bug#8438).
20450 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
20452         * emacs-lisp/package.el (package-built-in-p): Fix typo.
20453         (package-menu--generate): New arg specifying packages to show.
20454         (package-menu-refresh, package-menu-execute, list-packages):
20455         Callers changed.
20456         (package-show-package-list): New function, replacing deleted
20457         package--list-packages (renamed because it is non-internal).
20459         * finder.el (finder-list-matches): Use package-show-package-list
20460         instead of deleted package--list-packages.
20462         * vc/vc-annotate.el (vc-annotate-goto-line): New command.
20463         Based on a previous implementation by Juanma Barranquero (Bug#8366).
20464         (vc-annotate-mode-map): Bind it to RET.
20466 2011-04-24  Uday S Reddy  <u.s.reddy@cs.bham.ac.uk>  (tiny change)
20468         * progmodes/etags.el (next-file): Don't use set-buffer to change
20469         buffers (Bug#8478).
20471 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
20473         * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
20475         * apropos.el (apropos-label-face): Avoid variable-pitch face.
20476         (apropos-accumulator): Doc fix.
20477         (apropos-function, apropos-macro, apropos-command)
20478         (apropos-variable, apropos-face, apropos-group, apropos-widget)
20479         (apropos-plist): Add face property.
20480         (apropos-symbols-internal): Fix indentation.
20481         (apropos-print): Simplify help, and recognize apropos-multi-type.
20482         (apropos-print-doc): Use button-type-get to extract the button's
20483         face property.  Fill docstring (Bug#8352).
20485 2011-04-23  Juanma Barranquero  <lekktu@gmail.com>
20487         * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
20489         * play/mpuz.el (mpuz-silent): Doc fix.
20490         (mpuz-mode-map): Use mapc.
20491         (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
20492         (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
20493         Fix typos in docstrings.
20495         * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
20496         (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
20498         * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
20500 2011-04-23  Chong Yidong  <cyd@stupidchicken.com>
20502         * minibuffer.el (completion--do-completion): Avoid the "Next char
20503         not unique" prompt if icomplete-mode is enabled (Bug#5849).
20505         * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
20506         mouse-2 into unread-command-events, it is interpreted correctly.
20508         * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
20509         (image-toggle-display): Doc fix.
20511 2011-04-23  Stephen Berman  <stephen.berman@gmx.net>
20513         * textmodes/page.el (what-page): Use line-number-at-pos to
20514         calculate line number (Bug#6825).
20516 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
20518         * eshell/esh-mode.el (find-tag-interactive): Declare function.
20519         (eshell-find-tag): Remove `with-no-warnings', unneeded now.
20520         Pass argument NO-DEFAULT to `find-tag-interactive'.
20522 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
20524         Lexical-binding cleanup.
20526         * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
20527         (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
20528         * progmodes/ada-prj.el (ada-prj-initialize-values)
20529         (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
20530         (ada-prj-show-value):
20531         * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
20532         * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
20533         (antlr-invalidate-context-cache, antlr-options-menu-filter)
20534         (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
20535         * progmodes/bug-reference.el (bug-reference-push-button):
20536         * progmodes/fortran.el (fortran-line-length):
20537         * progmodes/glasses.el (glasses-change):
20538         * progmodes/octave-mod.el (octave-fill-paragraph):
20539         * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
20540         (python-pdbtrack-grub-for-buffer, python-sentinel):
20541         * progmodes/sql.el (sql-save-connection):
20542         * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
20543         * progmodes/xscheme.el (xscheme-enter-debugger-mode):
20544         Mark unused parameters.
20546         * progmodes/compile.el (compilation--flush-directory-cache)
20547         (compilation--flush-parse, compile-internal): Mark unused parameters.
20548         (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
20549         (compilation-next-error-function): Remove unused variable `timestamp'.
20551         * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
20552         (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
20554         * progmodes/dcl-mode.el (dcl-end-of-command):
20555         Remove unused variable `start'.
20556         (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
20557         (dcl-option-value-basic, dcl-option-value-offset)
20558         (dcl-option-value-margin-offset, dcl-option-value-comment-line):
20559         Mark unused parameters.
20560         (dcl-save-local-variable): Remove unused variable `val'.
20561         (mode): Declare.
20563         * progmodes/delphi.el (delphi-save-state, delphi-after-change):
20564         Mark unused parameters.
20565         (delphi-ignore-changes): Move before first use.
20566         (delphi-charset-token-at): Remove unused variable `start'.
20567         (delphi-else-start): Remove unused variable `if-count'.
20568         (delphi-comment-block-start, delphi-comment-block-end):
20569         Remove unused variable `kind'.
20570         (delphi-indent-line): Remove unused variable `new-point'.
20572         * progmodes/ebrowse.el (ebrowse-files-list)
20573         (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
20574         Mark unused parameters.  Don't quote `lambda'.
20575         (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
20576         Don't quote `lambda'.
20577         (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
20578         (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
20579         (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
20580         (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
20581         Use `ignore-errors'.
20582         (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
20583         (ebrowse-view/find-file-and-search-pattern)
20584         (ebrowse-view/find-member-declaration/definition):
20585         Rename parameter TAGS-FILE-NAME to TAGS-FILE.
20586         (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
20587         Rename parameter PREFIX-ARG to PREFIX.
20588         (ebrowse-tags-read-name): Remove unused variables `start' and
20589         `member-info'.
20590         (ebrowse-display-member-buffer): Rename variable `tags-file-name'
20591         to `tags-file'.
20593         * progmodes/etags.el (local-find-tag-hook): Declare.
20594         (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
20595         Mark unused parameters.
20597         * progmodes/executable.el (compilation-error-regexp-alist): Declare.
20598         (executable-interpret): Mark unused parameter.
20600         * progmodes/flymake.el (flymake-process-sentinel)
20601         (flymake-after-change-function)
20602         (flymake-create-temp-with-folder-structure)
20603         (flymake-get-include-dirs-dot): Mark unused parameters.
20604         (flymake-safe-delete-directory): Remove unused variable `err'.
20606         * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
20607         (speedbar-timer-fn, speedbar-line-text)
20608         (speedbar-change-expand-button-char, speedbar-delete-subblock)
20609         (speedbar-center-buffer-smartly): Declare functions.
20610         (gdb-find-watch-expression): Remove unused variable `array'.
20611         (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
20612         (gdb-starting): Mark unused parameters.
20613         (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
20614         (gdb-table-string): Remove unused variable `res'.
20615         (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
20616         (gdb-disassembly-handler-custom): Remove unused variable `pos'.
20617         (gdb-display-buffer): Remove unused variable `cur-size'.
20619         * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
20620         allow lexical-binding compilation.
20621         (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
20622         (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
20623         (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
20624         Mark unused parameters.
20625         (gud-gdb-marker-filter): Remove unused variable `match'.
20626         (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
20627         lambda expressions and funcall them, instead of using `fset'.
20629         * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
20630         HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
20632         * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
20633         variable `header-beg'; use `let'.
20635         * progmodes/icon.el (indent-icon-exp): Remove unused variables
20636         `restart', `last-sexp' and `at-do'.
20638         * progmodes/js.el (js--debug): Mark unused parameter.
20639         (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
20640         (js--splice-into-items): Remove unused variable `item'.
20641         (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
20643         * progmodes/make-mode.el (makefile-make-font-lock-keywords):
20644         Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
20645         (makefile-complete): Remove unused variable `try'.
20646         (makefile-fill-paragraph, makefile-match-function-end):
20647         Mark unused parameters.
20649         * progmodes/octave-inf.el (inferior-octave-complete):
20650         Remove unused variable `proc'.
20651         (inferior-octave-output-digest): Mark unused parameter.
20653         * progmodes/perl-mode.el (perl-calculate-indent):
20654         Remove unused variable `err'.
20656         * progmodes/prolog.el (prolog-mode-keybindings-inferior)
20657         (prolog-indent-line): Mark unused parameters.
20658         (prolog-indent-line): Remove unused variable `beg'.
20660         * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
20661         (reporter-dont-compact-list): Declare.
20663         * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
20664         Remove unused variable `char'.
20665         (sh-debug): Mark unused parameter.
20666         (sh-get-indent-info): Remove unused variable `start'.
20667         (sh-calculate-indent): Remove unused variable `var'.
20669         * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
20670         (simula-electric-keyword): Remove unused variable `null'.
20671         (simula-search-backward, simula-search-forward): Remove unused
20672         variables `begin' and `end'.
20674         * progmodes/vera-mode.el (vera-guess-basic-syntax):
20675         Remove unused variable `pos'.
20676         (vera-electric-tab, vera-comment-uncomment-region):
20677         Mark unused parameters.
20678         (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
20680 2011-04-22  Chong Yidong  <cyd@stupidchicken.com>
20682         * emacs-lisp/package.el (package--builtins, package-alist)
20683         (package-load-descriptor, package-built-in-p, package-activate)
20684         (define-package, package-installed-p)
20685         (package-compute-transaction, package-buffer-info)
20686         (package--push): Doc fix.  Distinguish more clearly between
20687         version strings and version lists.
20689 2011-04-21  Juanma Barranquero  <lekktu@gmail.com>
20691         Lexical-binding cleanup.
20693         * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
20694         (5x5-make-mutate-best):
20695         * play/fortune.el (fortune-in-buffer):
20696         * play/gomoku.el (gomoku-init-display):
20697         * play/solitaire.el (solitaire, solitaire-do-check):
20698         * play/tetris.el (tetris-default-update-speed-function):
20699         Mark unused parameters.
20701         * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
20702         (bubbles--shift): Remove unused variable `char-org'.
20703         (bubbles--set-faces): Remove unused variable `fg-col'.  Simplify.
20704         (bubbles--show-images): Remove unused variable `char'.
20706         * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
20707         (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
20708         (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
20709         (decipher-analyze-buffer): Use ?\s.
20710         (decipher-make-checkpoint): Remove unused variable `mapping'.
20712         * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
20714         * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
20715         Remove unused variable `result'; use `let'.
20717         * play/gametree.el (gametree-current-layout, gametree-apply-layout):
20718         Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
20719         (gametree-children-shown-p, gametree-compute-reduced-score):
20720         Use `ignore-errors'.
20722         * play/handwrite.el (ps-lpr-switches): Declare.
20723         (handwrite): Remove unused variables `pmin' and `lastp'.
20725         * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
20727         * play/landmark.el (landmark-init-display)
20728         (landmark-update-naught-weights): Mark unused parameters.
20729         (landmark-y): Remove unused variable `noise'.  Simplify.
20730         (landmark-human-plays): Remove unused variable `score'.
20732         * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
20733         (mpuz-try-proposal): Remove unused variable `game'.
20735         * play/zone.el (life-patterns): Declare.
20737 2011-04-20  Juanma Barranquero  <lekktu@gmail.com>
20739         * vc/vc.el (ediff-vc-internal): Declare function.
20741 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
20743         * shell.el: Use lexical-binding and std completion UI.
20744         (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
20745         (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
20746         comint-preoutput-filter-functions rather than on
20747         comint-output-filter-functions.
20748         (shell-command-completion, shell--command-completion-data)
20749         (shell-filename-completion, shell-environment-variable-completion)
20750         (shell-c-a-p-replace-by-expanded-directory): New functions.
20751         (shell-dynamic-complete-functions, shell-dynamic-complete-command)
20752         (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
20753         (shell-dynamic-complete-environment-variable): Use them.
20754         (shell-dynamic-complete-as-environment-variable)
20755         (shell-dynamic-complete-as-command): Remove.
20756         (shell-match-partial-variable): Match past point.
20757         * comint.el: Clean up use of completion-at-point-functions.
20758         (comint-completion-at-point): New function.
20759         (comint-mode): Use it completion-at-point-functions.
20760         (comint-dynamic-complete): Make it obsolete.
20761         (comint-replace-by-expanded-history-before-point): Add dry-run arg.
20762         (comint-c-a-p-replace-by-expanded-history): New function.
20763         (comint-dynamic-complete-functions)
20764         (comint-replace-by-expanded-history): Use it.
20765         * minibuffer.el (completion-table-with-terminator): Allow dynamic
20766         termination strings.  Try harder to avoid second try-completion.
20767         (completion-in-region-mode-map): Disable bindings that don't work yet.
20769         * comint.el: Use lexical-binding.  Require CL.
20770         (comint-dynamic-complete-functions): Use comint-filename-completion.
20771         (comint-completion-addsuffix): Tweak custom type.
20772         (comint-filename-completion, comint--common-suffix)
20773         (comint--common-quoted-suffix, comint--table-subvert)
20774         (comint--complete-file-name-data): New functions.
20775         (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
20776         (comint-dynamic-list-filename-completions): Use them.
20777         (comint-dynamic-simple-complete): Make obsolete.
20779         * minibuffer.el (completion-in-region-mode):
20780         Keep completion-in-region-mode--predicate global.
20781         (completion-in-region--postch):
20782         Assume completion-in-region-mode--predicate is not null.
20784         * progmodes/flymake.el (flymake-start-syntax-check-process):
20785         Obey `dir'.  Simplify.
20787         * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
20788         we're in VC after all.
20790 2011-04-20  Christoph Scholtes  <cschol2112@googlemail.com>
20792         * vc/vc.el (vc-diff-build-argument-list-internal)
20793         (vc-version-ediff, vc-ediff): New commands.
20794         (vc-version-diff): Use vc-diff-build-argument-list-internal.
20796 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
20798         * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
20799         add sanity check.
20801         * obsolete/erc-hecomplete.el: Make obsolete.
20802         * obsolete/: Standardize obsolescence info in the header.
20804 2011-04-20  Glenn Morris  <rgm@gnu.org>
20806         * calendar/solar.el (solar-horizontal-coordinates):
20807         Use the longitude argument rather than `calendar-longitude'.
20808         (solar-date-next-longitude): Remove unused locals.
20810 2011-04-20  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
20812         * whitespace.el: New version 13.2.1.
20814 2011-04-20  felix  <EmacsWiki>  (tiny change)
20816         * whitespace.el (global-whitespace-mode): Keep highlight when
20817         switching between major modes on a file.
20819 2011-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
20821         * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
20822         (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
20823         multi-line comments as well.
20825 2011-04-19  Juanma Barranquero  <lekktu@gmail.com>
20827         Lexical-binding cleanup.
20829         * arc-mode.el (archive-mode-revert):
20830         * cmuscheme.el (scheme-interactively-start-process):
20831         * custom.el (custom-initialize-delay):
20832         * dnd.el (dnd-open-local-file, dnd-open-remote-url):
20833         * dos-w32.el (direct-print-region-helper, direct-print-region-function):
20834         * emacs-lock.el (emacs-lock-clear-sentinel):
20835         * ezimage.el (defezimage):
20836         * follow.el (follow-avoid-tail-recenter):
20837         * fringe.el (set-fringe-mode-1):
20838         * generic-x.el (bat-generic-mode-compile):
20839         * help-mode.el (help-info-variable, help-do-xref)
20840         (help-mode-revert-buffer):
20841         * help.el (view-emacs-todo):
20842         * iswitchb.el (iswitchb-completion-help):
20843         * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
20844         * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
20845         (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
20846         * locate.el (locate-update):
20847         * longlines.el (longlines-encode-region)
20848         (longlines-after-change-function):
20849         * outline.el (outline-isearch-open-invisible):
20850         * ps-def.el (declare-function, charset-dimension, char-width)
20851         (encode-char):
20852         * ps-mule.el (ps-mule-plot-string):
20853         * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
20854         (recentf-edit-list-select, recentf-edit-list-validate)
20855         (recentf-open-files-action):
20856         * rect.el (delete-whitespace-rectangle-line)
20857         (rectangle-number-line-callback):
20858         * register.el (window-configuration-to-register)
20859         (frame-configuration-to-register):
20860         * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
20861         * select.el (xselect-convert-to-string, xselect-convert-to-length)
20862         (xselect-convert-to-targets, xselect-convert-to-delete)
20863         (xselect-convert-to-filename, xselect-convert-to-charpos)
20864         (xselect-convert-to-lineno, xselect-convert-to-colno)
20865         (xselect-convert-to-os, xselect-convert-to-host)
20866         (xselect-convert-to-user, xselect-convert-to-class)
20867         (xselect-convert-to-name, xselect-convert-to-integer)
20868         (xselect-convert-to-atom, xselect-convert-to-identity):
20869         * subr.el (declare, ignore, process-kill-without-query)
20870         (text-clone-maintain):
20871         * terminal.el (te-get-char, te-tic-sentinel):
20872         * tool-bar.el (tool-bar-make-keymap):
20873         * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
20874         * type-break.el (type-break-mode, type-break-noninteractive-query):
20875         * view.el (View-back-to-mark):
20876         * wid-browse.el (widget-browse-action, widget-browse-widget)
20877         (widget-browse-widgets, widget-browse-sexp):
20878         * widget.el (define-widget-keywords):
20879         * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
20880         Mark unused parameters.
20882         * align.el (align-adjust-col-for-rule): Mark unused parameter.
20883         (align-areas): Remove unused variable `look'.
20884         (align-region): Remove unused variables `real-end' and `pos-list'.
20886         * apropos.el (apropos-score-doc): Remove unused variable `i'.
20888         * bindings.el (mode-line-modified, mode-line-remote):
20889         Mark unused parameters.
20890         (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
20892         * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
20893         (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
20895         * comint.el (comint-history-isearch-pop-state)
20896         (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
20897         (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
20898         (comint-substitute-in-file-name): Doc fix.
20900         * completion.el (cmpl-statistics-block): Mark unused parameter.
20901         (add-completions-from-tags-table, add-completions-from-lisp-buffer)
20902         (save-completions-to-file, load-completions-from-file):
20903         Remove unused local variable `e'.
20905         * composite.el (compose-chars): Remove unused variable `len'.
20906         (lgstring-insert-glyph): Remove unused variable `g'.
20907         (compose-glyph-string): Remove unused variables `ascent',
20908         `descent', `lbearing' and `rbearing'.
20909         (compose-glyph-string-relative): Remove unused variables
20910         `lbearing', `rbearing' and `wadjust'.
20911         (compose-gstring-for-graphic): Remove unused variables `header',
20912         `wadjust', `xoff' and `yoff'.  Use `let', not `let*'.
20913         (compose-gstring-for-terminal): Remove unused variables `header'
20914         and `nchars'.  Use `let', not `let*'.
20916         * cus-edit.el (Custom-set, Custom-save, custom-reset)
20917         (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
20918         (Custom-buffer-done, custom-buffer-create-internal)
20919         (custom-browse-visibility-action, custom-browse-group-tag-action)
20920         (custom-browse-variable-tag-action, custom-browse-face-tag-action)
20921         (widget-magic-mouse-down-action, custom-toggle-parent)
20922         (custom-add-parent-links, custom-toggle-hide-variable)
20923         (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
20924         (custom-toggle-hide-face, face, hook, custom-group-link-action)
20925         (custom-face-menu-create, custom-variable-menu-create, get)
20926         (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
20927         (custom-reset-standard-save-and-update): Remove unused variable `value'.
20928         (customize-apropos): Remove unused variable `tests'.
20929         (custom-group-value-create): Remove unused variable `hidden-p'.
20930         (sort-fold-case): Declare.
20932         * cus-theme.el (custom-reset-standard-faces-list)
20933         (custom-reset-standard-variables-list): Declare.
20934         (customize-create-theme, custom-theme-revert, custom-theme-write)
20935         (custom-theme-choose-mode, customize-themes, custom-theme-save):
20936         Mark unused parameters.
20938         * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
20940         * delim-col.el (delimit-columns-max): Move defvar before first use.
20942         * descr-text.el (describe-char-categories): Don't quote `lambda'.
20943         (describe-char): Don't quote `lambda'.  Mark unused parameter.
20945         * desktop.el (desktop-save-buffer-p): Mark unused parameter.
20946         (auto-insert): Declare.
20947         (desktop-restore-file-buffer): Rename desktop-* parameters;
20948         mark unused ones.
20949         (desktop-create-buffer): Rename desktop-* parameters and bind them.
20950         (desktop-buffer): Rename desktop-* parameters.
20952         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
20953         (dframe-reposition-frame-xemacs, dframe-help-echo)
20954         (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
20955         Mark unused parameters.
20957         * dired-aux.el (backup-extract-version-start, overwrite-query)
20958         (overwrite-backup-query, rename-regexp-query)
20959         (rename-non-directory-query): Declare.
20960         (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
20961         (dired-add-entry): Remove unused variable `orig-file-name'.
20962         (dired-copy-file-recursive): Remove unused variable `dirfailed'.
20963         Use parameter PRESERVE-TIME instead of accessing dynamic variable
20964         `dired-copy-preserve-time' directly.
20965         (dired-do-create-files-regexp): Remove unused variable `fn-count'.
20966         (dired-insert-subdir-newpos): Rename unused variable `pos'.
20968         * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
20969         (dired-virtual-revert, dired-make-relative-symlink):
20970         Mark unused parameters.
20971         (manual-program): Declare.
20972         (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
20973         (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
20974         wrapped in `with-no-warnings' to avoid replacing one warning by another.
20976         * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
20978         * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
20980         * echistory.el (electric-history-in-progress, Helper-return-blurb):
20981         Declare.
20983         * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
20985         * electric.el (Electric-command-loop): Rename parameter
20986         INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
20988         * expand.el (expand-in-literal): Remove unused variable `here'.
20990         * facemenu.el (facemenu-add-new-color):
20991         Remove unused variable `docstring'.
20993         * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
20994         (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
20995         (face-attr-construct): Mark unused parameter.  Doc fix.
20996         (read-color): Remove unused variable `hex-string'.
20998         * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
20999         (locate-dominating-file): Remove unused vars `prev-file' and `user'.
21000         (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
21001         (display-buffer-other-frame): Remove unused variable `old-window'.
21002         (kill-buffer-hook): Declare.
21003         (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
21004         Mark unused parameters.
21005         (after-find-file): Pass 1 to `auto-save-mode', not t.
21007         * files-x.el (auto-insert): Declare.
21008         (modify-file-local-variable-prop-line): Remove unused variable `val'.
21010         * find-lisp.el (find-lisp-find-dired-internal): Remove unused
21011         variable `buf'.  Mark unused parameter.
21012         (find-lisp-insert-directory): Mark unused parameter.
21014         * format.el (format-decode-run-method): Mark unused parameter; doc fix.
21015         (format-encode-region): Remove unused variables `cur-buf' and `result'.
21016         (format-common-tail): Remove, unused.
21017         (format-deannotate-region): Remove unused variable `loc'.
21018         (format-annotate-region): Remove unused variable `p'.
21019         (format-annotate-single-property-change): Remove unused variables
21020         `default' and `tail'.
21022         * forms.el (read-file-filter): Declare.
21023         (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
21025         * frame.el (frame-creation-function-alist): Mark unused parameter.
21026         (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
21028         * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
21029         Remove unused parameters.
21030         (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
21031         (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
21033         * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
21034         (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
21035         (hfy-prepare-tag-map): Mark unused parameters.
21036         (htmlfontify-buffer): Use `called-interactively-p'.
21038         * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
21039         (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
21040         (ibuffer-do-occur): Mark unused parameters.
21041         (ibuffer-forward-next-marked): Remove unused variable `curmark'.
21042         (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
21044         * ibuffer.el: Don't quote `lambda'.
21045         (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
21046         (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
21047         Mark unused parameters.
21049         * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
21050         (ido-completing-read): Mark unused parameters.
21051         (ido-copy-current-word): Mark unused parameters;
21052         remove unused variable `name'.
21053         (ido-sort-merged-list): Remove unused parameter `dirs'.
21055         * ielm.el (ielm-input-sender): Mark unused parameter.
21056         (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
21057         (ielm-output, ielm-wbuf, ielm-pmark): Declare.
21058         (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
21059         `ielm-string' as a dynamic variable accessible from the IELM prompt.
21060         Bind `ielm-string' to INPUT-STRING.  Remove unused variable `err'.
21062         * image-dired.el (image-dired-display-thumbs): Remove unused
21063         variables `curr-file' and `count'.
21064         (image-dired-remove-tag): Remove unused variable `start'.
21065         (image-dired-tag-files, image-dired-create-thumbs): Remove unused
21066         variable `curr-file'
21067         (image-dired-rotate-original): Remove unused variable `temp-file'.
21068         (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
21069         Remove unused variable `file'.
21070         (image-dired-gallery-generate): Remove unused variable `curr'.
21071         (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
21073         * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
21075         * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
21077         * informat.el (texinfo-command-start, texinfo-command-end): Declare.
21079         * isearch.el (minibuffer-history-symbol): Declare.
21080         (isearch-edit-string): Remove unused variable `err'.
21081         (isearch-message-prefix, isearch-message-suffix):
21082         Mark unused parameters.
21084         * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
21086         * macros.el (insert-kbd-macro): Remove unused variable `mods'.
21088         * makesum.el (double-column): Remove unused variable `cnt'.
21090         * misearch.el (multi-isearch-pop-state): Mark unused parameter.
21091         (ido-ignore-item-temp-list): Declare.
21093         * mouse-drag.el (mouse-drag-throw): Remove unused variables
21094         `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
21095         `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
21096         (mouse-drag-drag): Remove unused variables `mouse-delta' and
21097         `mouse-col-delta'.
21099         * mouse-sel.el (mouse-extend-internal):
21100         Remove unused variable `orig-window-frame'.
21102         * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
21103         (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
21104         Move declarations before first use.
21105         (pcomplete-opt): Mark unused parameters; doc fix.
21107         * proced.el (proced-revert): Mark unused parameter.
21108         (proced-send-signal): Remove unused variable `err'.
21110         * ps-print.el (ps-print-preprint-region, ps-print-preprint):
21111         Rename parameter PREFIX-ARG to ARG.
21112         (ps-basic-plot-string, ps-basic-plot-whitespace):
21113         Mark unused parameters.
21115         * replace.el (replace-count): Define.
21116         (occur-revert-function): Mark unused parameters.
21117         (ido-ignore-item-temp-list, isearch-error, isearch-forward)
21118         (isearch-case-fold-search, isearch-string): Declare.
21119         (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
21120         bind `case-fold-search'.  Remove unused variables `beg' and `end',
21121         and simplify.
21122         (replace-eval-replacement): Rename parameter REPLACE-COUNT to
21123         COUNT and bind `replace-count'.
21124         (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
21125         to COUNT.
21127         * savehist.el (print-readably, print-string-length): Declare.
21129         * shadowfile.el (shadow-expand-cluster-in-file-name):
21130         Remove unused variable `cluster'.
21131         (shadow-copy-file): Remove unused variable `i'.
21132         (shadow-noquery, shadow-clusters, shadow-site-cluster)
21133         (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
21134         (shadow-define-literal-group, shadow-define-regexp-group)
21135         (shadow-make-group, shadow-shadows-of): Clean up docstrings.
21137         * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
21138         (shell): Use `called-interactively-p'.
21139         (shell-directory-tracker): Remove unused variable `chdir-failure'.
21141         * simple.el (compilation-context-lines, comint-file-name-quote-list)
21142         (comint-file-name-chars, comint-delimiter-argument-list): Declare.
21143         (delete-backward-char): Remove unused variable `ocol'.
21144         (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
21145         (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
21146         (event-apply-hyper-modifier, event-apply-shift-modifier)
21147         (event-apply-control-modifier, event-apply-meta-modifier):
21148         Mark unused parameters.
21149         (undo-make-selective-list): Remove duplicate variable `undo-elt'.
21150         (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
21152         * speedbar.el (speedbar-ignored-directory-expressions)
21153         (speedbar-supported-extension-expressions, speedbar-directory-buttons)
21154         (speedbar-find-file, speedbar-dir-follow)
21155         (speedbar-directory-buttons-follow, speedbar-tag-find)
21156         (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
21157         (speedbar-buffers-line-directory, speedbar-buffer-click):
21158         Mark unused parameters.
21159         (speedbar-tag-file): Remove unused variable `mode'.
21160         (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
21162         * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
21164         * talk.el (talk): Remove unused variable `display'.
21166         * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
21167         (tar-write-region-annotate): Mark unused parameter.
21169         * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
21170         (minutes, seconds, time-zone, day, year, monthname, month, dayname):
21171         Declare them, wrapped in `with-no-warnings' to avoid replacing one
21172         warning by another.
21174         * time-stamp.el (time-stamp-string-preprocess):
21175         Remove unused variable `require-padding'.
21177         * tree-widget.el (widget-glyph-enable): Declare.
21178         (tree-widget-action): Mark unused parameter.
21180         * w32-fns.el (x-get-selection): Mark unused parameter.
21181         (autoload-make-program, generated-autoload-file): Declare.
21183         * wdired.el (wdired-revert): Mark unused parameters.
21184         (wdired-xcase-word): Remove unused variable `err'.
21186         * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
21187         (whitespace-help-scroll): Remove unused variable `data-help'.
21189         * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
21190         (widget-image-insert, widget-after-change, default)
21191         (widget-default-format-handler, widget-default-notify)
21192         (widget-default-prompt-value, widget-info-link-action)
21193         (widget-url-link-action, widget-function-link-action)
21194         (widget-variable-link-action, widget-file-link-action)
21195         (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
21196         (widget-field-prompt-internal, widget-field-action, widget-field-match)
21197         (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
21198         (widget-insert-button-action, widget-delete-button-action, visibility)
21199         (widget-documentation-link-action, widget-documentation-string-action)
21200         (widget-const-prompt-value, widget-regexp-match, symbol)
21201         (widget-coding-system-prompt-value)
21202         (widget-key-sequence-value-to-external, sexp)
21203         (widget-sexp-value-to-internal, character, vector, cons)
21204         (widget-choice-prompt-value, widget-boolean-prompt-value)
21205         (widget-color--choose-action): Mark unused parameters.
21206         (widget-item-match-inline, widget-choice-match-inline)
21207         (widget-checklist-match, widget-checklist-match-inline)
21208         (widget-group-match): Rename parameter VALUES to VALS.
21209         (widget-field-value-set): Remove unused variable `size'.
21210         (widget-color-action): Remove unused variables `value' and `start'.
21212         * windmove.el (windmove-wrap-loc-for-movement): Remove unused
21213         variable `dir'.  Doc fix.
21214         (windmove-find-other-window): Don't pass it.
21216         * window.el (count-windows): Mark unused parameter.
21217         (bw-adjust-window): Remove unused variable `err'.
21219         * woman.el (woman-file-name): Remove unused variable `default'.
21220         (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
21221         WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
21222         (global-font-lock-mode): Declare.
21223         (woman-decode-region): Mark unused parameter.
21224         (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
21226         * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
21227         (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
21228         (x-dnd-handle-moz-url): Remove unused variable `title'.
21229         (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
21231         * xml.el (xml-parse-tag, xml-parse-attlist):
21232         Remove unused variable `pos'.
21234 2011-04-19  Glenn Morris  <rgm@gnu.org>
21236         * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
21237         (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
21238         (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
21239         (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
21240         * calendar/cal-html.el (cal-html-insert-minical):
21241         * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
21242         (calendar-mark-date-pattern):
21243         Prefix "unused" locals.
21245         * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
21246         optional argument `style'.
21248         * calendar/appt.el (appt-make-list):
21249         * calendar/cal-china.el (calendar-chinese-date-string):
21250         * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
21251         (diary-hebrew-yahrzeit):
21252         * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
21253         * calendar/calendar.el (calendar-generate-window):
21254         * calendar/time-date.el (time-to-days):
21255         Remove unused local variables.
21257 2011-04-18  Chong Yidong  <cyd@stupidchicken.com>
21259         * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
21260         glyphless-char-display table.
21261         (tabulated-list-glyphless-char-display): New var.
21263 2011-04-18  Sam Steingold  <sds@gnu.org>
21265         * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
21266         to acknowledgments.
21268 2011-04-17  Glenn Morris  <rgm@gnu.org>
21270         * calendar/diary-lib.el (diary-sexp-entry):
21271         * calendar/holidays.el (holiday-sexp):
21272         Set debug-on-error rather than the removed stack-trace-on-error.
21274 2011-04-16  Glenn Morris  <rgm@gnu.org>
21276         * progmodes/f90.el: Use lexical-binding.
21277         (f90-get-correct-indent): Remove unnecessary local variable `cont'.
21279 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
21281         * mail/sendmail.el (mail-mode-map): Use completion-at-point.
21282         (mail-mode): Setup mailalias completion here instead.
21283         * mail/mailalias.el: Use lexical-binding.
21284         (pattern, mailalias-done): Declare dynamic.
21285         (mail-completion-at-point-function): New function, from mail-complete.
21286         (mail-complete): Use it.
21287         (mail-completion-expand): New function.
21288         (mail-get-names): Use it.
21289         (mail-directory, mail-directory-process, mail-directory-stream):
21290         Don't use `pattern' for lexically bound arg.
21292         * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
21294         * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
21295         (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
21296         (hfy-etags-cmd-alist): Don't eval-and-compile any more.
21298         * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
21299         (byte-save-window-excursion, byte-temp-output-buffer-setup)
21300         (byte-interactive-p): Define them again, for use when inlining
21301         old code.
21303 2011-04-15  Juanma Barranquero  <lekktu@gmail.com>
21305         * loadup.el: Use `string-to-number', not `string-to-int'.
21307 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
21309         * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
21310         gud-gdb-complete-command.
21311         (gud-gdb-completions): New function, from gud-gdb-complete-command.
21312         (gud-gdb-completion-at-point): New function.
21313         (gud-gdb-completions): Remove.
21315 2011-04-14  Michael Albinus  <michael.albinus@gmx.de>
21317         * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
21318         when the scripts fail.  Use `tramp-do-file-attributes-with-ls' then.
21319         (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
21320         whether `executable-find' is bound.
21322         * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
21324 2011-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
21326         * minibuffer.el (completion-in-region-mode-predicate)
21327         (completion-in-region-mode--predicate): New vars.
21328         (completion-in-region, completion-in-region--postch)
21329         (completion-in-region-mode): Use them.
21330         (completion--capf-wrapper): Also return the hook function.
21331         (completion-at-point, completion-help-at-point):
21332         Adjust and provide a predicate.
21334         Preserve arg names for advice of subr and lexical functions (bug#8457).
21335         * help-fns.el (help-function-arglist): Consolidate the subr and
21336         new-byte-code cases.  Add argument `preserve-names' to extract names
21337         from the docstring when needed.
21338         * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
21339         (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
21340         (ad-arglist): Use help-function-arglist's new arg.
21341         (ad-definition-type): Use cond.
21343 2011-04-13  Juanma Barranquero  <lekktu@gmail.com>
21345         * autorevert.el (auto-revert-handler):
21346         Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
21347         which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
21348         Don't quote lambda.
21350         * image-mode.el (image-transform-set-scale):
21351         Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
21353 2011-04-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
21355         * net/network-stream.el (network-stream-open-starttls): Only do
21356         opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
21357         Upgrades via gnutls-cli are too slow to be done opportunistically.
21359 2011-04-12  Juanma Barranquero  <lekktu@gmail.com>
21361         * dframe.el (dframe-current-frame): Remove spurious quote.
21363 2011-04-12  Glenn Morris  <rgm@gnu.org>
21365         * calendar/cal-tex.el (cal-tex-end-document):
21366         Try to automatically use latin1 input if needed.
21368         * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
21369         Don't try to cons a mark onto an empty element.
21371 2011-04-11  Leo Liu  <sdl.web@gmail.com>
21373         * ido.el (ido-buffer-internal): Allow method 'kill for virtual
21374         buffers.
21375         (ido-kill-buffer-at-head): Support killing virtual buffers.
21377 2011-04-10  Chong Yidong  <cyd@stupidchicken.com>
21379         * minibuffer.el (completion-show-inline-help): New var.
21380         (completion--do-completion, minibuffer-complete)
21381         (minibuffer-force-complete, minibuffer-complete-word):
21382         Inhibit minibuffer messages if completion-show-inline-help is nil.
21384         * icomplete.el (icomplete-mode): Bind completion-show-inline-help
21385         to avoid interference from inline help (Bug#5849).
21387 2011-04-10  Leo Liu  <sdl.web@gmail.com>
21389         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
21390         Fix typo.
21392 2011-04-09  Chong Yidong  <cyd@stupidchicken.com>
21394         * image-mode.el (image-toggle-display-image): Signal an error if
21395         not in Image mode.
21396         (image-transform-mode, image-transform-resize)
21397         (image-transform-set-rotation): Doc fix.
21398         (image-transform-set-resize): Delete.
21399         (image-transform-set-scale, image-transform-fit-to-height)
21400         (image-transform-fit-to-width): Handle image-toggle-display-image
21401         and image-transform-resize directly.
21403 2011-04-08  Sho Nakatani  <lay.sakura@gmail.com>
21405         * doc-view.el (doc-view-fit-width-to-window)
21406         (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
21407         New functions for fitting the shown image to the Emacs window size.
21408         (doc-view-mode-map): Add bindings for the new functions.
21410 2011-04-08  Juanma Barranquero  <lekktu@gmail.com>
21412         * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
21413         Fix typo in docstring.
21415 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
21417         * files.el (file-size-human-readable): Produce one digit after
21418         decimal, like "ls -lh" does.
21420         * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
21421         the file size representation.
21423         * simple.el (list-processes): If async subprocesses are not
21424         available, error out with a clear error message.
21426 2011-04-08  Chong Yidong  <cyd@stupidchicken.com>
21428         * help.el (help-form-show): New function, to be called from C.
21429         Put help-form output in a buffer named differently than *Help*.
21431 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
21433         * files.el (file-size-human-readable): New function.
21435         * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
21436         computing the representation inline.  Don't require `cl'.
21438 2011-04-08  Glenn Morris  <rgm@gnu.org>
21440         * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
21442         * net/browse-url.el (browse-url-firefox):
21443         Test system-type, not system-configuration.
21445         * vc/log-edit.el (log-edit-empty-buffer-p): New function.
21446         (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
21447         Use log-edit-empty-buffer-p.  (Bug#7598)
21449         * net/rlogin.el (rlogin-process-connection-type): Simplify.
21450         (rlogin-mode-map): Initialize in the defvar.
21451         (rlogin): Use ignore-errors.
21453         * replace.el (occur-mode-map): Some fixes for menu items.
21455 2011-04-07  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
21457         * play/morse.el (denato-region): Handle varying case.  (Bug#8386)
21459 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
21461         * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
21462         issuing unused warnings.
21464         * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
21465         macro directly.
21467         * simple.el: Lisp reimplement of list-processes.  Based on an
21468         earlier reimplementation by Leo Liu, but using tabulated-list.el.
21469         (process-menu-mode): New major mode.
21470         (list-processes--refresh, list-processes):
21471         (process-menu-visit-buffer): New functions.
21473         * files.el (save-buffers-kill-emacs): Don't assume any return
21474         value of list-processes, which is undocumented anyway.
21476 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
21478         * emacs-lisp/tabulated-list.el: New file.
21480         * emacs-lisp/package.el: Use Tabulated List mode.
21481         (package-menu-mode-map): Inherit from tabulated-list-mode-map.
21482         (package-menu-mode): Derive from tabulated-list-mode.  Set up the
21483         table format using Tabulated List mode variables.
21484         (package--push): New macro, replacing package-list-maybe-add.
21485         (package-menu--generate): Use package--push.  Renamed from
21486         package--generate-package-list.
21487         (package-menu-refresh, list-packages): Use it.
21488         (package-menu--print-info): Rename from package-print-package.
21489         Return insertion data instead of inserting it directly.
21490         (package-menu-describe-package, package-menu-execute):
21491         Use tabulated-list-get-id.
21492         (package-menu-mark-delete, package-menu-mark-install)
21493         (package-menu-mark-unmark, package-menu-backup-unmark)
21494         (package-menu-mark-obsolete-for-deletion):
21495         Use tabulated-list-put-tag.
21496         (package--list-packages, package-menu-revert)
21497         (package-menu-get-package, package-menu-get-version)
21498         (package-menu-sort-by-column): Functions deleted.
21499         (package-menu-package-list, package-menu-sort-key): Vars deleted.
21500         (package-menu--status-predicate, package-menu--version-predicate)
21501         (package-menu--name-predicate)
21502         (package-menu--description-predicate): Handle arguments in the
21503         Tabulated List format.
21504         (package-list-packages-no-fetch): Call list-packages.
21506 2011-04-06  Juanma Barranquero  <lekktu@gmail.com>
21508         * files.el (after-find-file-from-revert-buffer): Remove variable.
21509         (after-find-file): Don't bind it.
21510         (revert-buffer-in-progress-p): New variable.
21511         (revert-buffer): Bind it.
21512         Pass nil for `after-find-file-from-revert-buffer'.
21514         * saveplace.el (save-place-find-file-hook): Use new variable
21515         `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
21517 2011-04-06  Glenn Morris  <rgm@gnu.org>
21519         * Makefile.in (AUTOGEN_VCS): New variable.
21520         (autoloads): Use $AUTOGEN_VCS.
21522         * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
21523         * calendar/calendar.el (calendar-mode-map):
21524         Check for toolkit scroll bars.  (Bug#8305)
21526 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
21528         * minibuffer.el (completion-in-region--postch)
21529         (completion-in-region-mode): Remove unnecessary messages.
21531 2011-04-05  Juanma Barranquero  <lekktu@gmail.com>
21533         * font-lock.el (font-lock-refresh-defaults):
21534         Don't bind `hi-lock--inhibit-font-lock-hook', removed in
21535         2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
21537         * info.el (Info-directory-list, Info-read-node-name-2)
21538         (Info-split-parameter-string): Doc fixes.
21539         (Info-virtual-nodes): Reflow docstring.
21540         (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
21541         (Info-apropos-toc-nodes, info-finder, Info-get-token)
21542         (Info-find-emacs-command-nodes, Info-speedbar-key-map):
21543         Fix typos in docstrings.
21544         (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
21545         (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
21546         (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
21547         (Info-restore-desktop-buffer): Mark unused parameters.
21548         (Info-directory-find-file, Info-directory-find-node)
21549         (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
21550         (Info-virtual-index-find-node, Info-apropos-find-file)
21551         (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
21552         Mark unused parameters; fix typos in docstrings.
21553         (Info-virtual-index): Remove unused local variable `nodename'.
21555 2011-04-05  Deniz Dogan  <deniz@dogan.se>
21557         * net/rcirc.el: Update my e-mail address.
21558         (rcirc-mode-map): Remove M-o binding.
21560 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
21562         * startup.el (command-line): Save the cursor's theme-face
21563         directly, instead of using face-override-spec.
21565         * custom.el (load-theme): Minor optimization in assigning faces.
21567 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
21569         * help-fns.el (describe-variable): Complete all variables having
21570         documentation, including keywords.
21571         http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
21573 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
21575         Convert to lexical-binding.
21577         * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
21578         (bs--get-marked-string, bs--get-modified-string)
21579         (bs--get-readonly-string, bs--get-size-string, bs--get-name)
21580         (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
21581         (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
21583         * ehelp.el (electric-help-execute-extended)
21584         (electric-help-ctrl-x-prefix):
21585         * hexl.el (hexl-revert-buffer-function):
21586         * linum.el (linum-after-change, linum-after-scroll):
21587         * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
21589         * help-fns.el (help-describe-category-set): Remove unused ERR variable.
21591 2011-04-04  Daiki Ueno  <ueno@unixuser.org>
21593         * epa-dired.el:
21594         * epa-mail.el:
21595         * epa-hook.el:
21596         * epa-file.el:
21597         * epa.el:
21598         * epg.el: Use lexical binding.
21600 2011-04-03  Chong Yidong  <cyd@stupidchicken.com>
21602         * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
21604         * textmodes/flyspell.el (flyspell-word): Recognize default
21605         dictionary case for flyspell-mark-duplications-exceptions.
21606         Use regexp matching for languages.
21607         (flyspell-mark-duplications-exceptions): Add "that" and "had" for
21608         default dictionary (Bug#7926).
21610 2011-04-02  Chong Yidong  <cyd@stupidchicken.com>
21612         * emacs-lisp/package.el (package--with-work-buffer):
21613         Recognize https URLs.
21615         * net/network-stream.el: Move from gnus/proto-stream.el.
21616         Change prefix to network-stream throughout.
21617         (open-protocol-stream): Merge into open-network-stream, leaving
21618         open-protocol-stream as an alias.  Handle nil BUFFER args.
21620         * subr.el (open-network-stream): Move to net/network-stream.el.
21622 2011-04-02  Glenn Morris  <rgm@gnu.org>
21624         * find-dired.el (find-exec-terminator): New option.
21625         (find-ls-option): Test for -ls support.
21626         (find-ls-subdir-switches): Test for -b in find-ls-option.
21627         (find-dired, find-grep-dired): Doc fixes.
21628         (find-dired): Use find-exec-terminator.
21630         * find-dired.el (find-ls-option, find-ls-subdir-switches)
21631         (find-grep-options): Do not autoload these defcustoms, remove purecopy.
21632         (find-name-arg): Remove purecopy.
21634         * progmodes/grep.el (grep-find-use-xargs): Doc fix.
21635         (grep-compute-defaults): Check for `-exec COMMAND +' support.
21636         Set grep-find-use-xargs, grep-find-command, and grep-find-template
21637         accordingly.  Don't add the null-device if not needed.
21639         * files.el (save-some-buffers): Doc fix.
21641 2011-04-02  Eli Zaretskii  <eliz@gnu.org>
21643         * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
21645 2011-04-01  Juanma Barranquero  <lekktu@gmail.com>
21647         * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
21648         Use `dolist' rather than `mapcar'.
21650 2011-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>
21652         Add lexical binding.
21654         * subr.el (apply-partially): Use new closures rather than CL.
21655         (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
21656         (dolist, dotimes): Use slightly different expansion for lexical code.
21657         (functionp): Move to C.
21658         (letrec): New macro.
21659         (with-wrapper-hook): Use it and apply-partially instead of CL.
21660         (eval-after-load): Preserve lexical-binding.
21661         (save-window-excursion, with-output-to-temp-buffer): Turn them
21662         into macros.
21664         * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
21666         * help-fns.el (help-split-fundoc): Return nil if there's nothing else
21667         than the arglist.
21668         (help-add-fundoc-usage): Don't add `Not documented'.
21669         (help-function-arglist): Handle closures, subroutines, and new
21670         byte-code-functions.
21671         (help-make-usage): Remove leading underscores.
21672         (describe-function-1): Handle closures.
21673         (describe-variable): Use special-variable-p for completion.
21675         * files.el (lexical-binding): Declare safe.
21677         * emacs-lisp/pcase.el: Don't use destructuring-bind.
21678         (pcase--memoize): Rename from pcase-memoize.  Change weakness.
21679         (pcase): Add `let' pattern.
21680         Change memoization so it actually works.
21681         (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
21682         (pcase--u1) <guard, pred>: Fix possible shadowing problem.
21683         <let>: New case.
21685         * emacs-lisp/macroexp.el: Use lexical binding.
21686         (macroexpand-all-1): Check obsolete macros.  Expand compiler-macros.
21687         Don't convert ' to #' without checking that it's indeed quoting
21688         a lambda.
21690         * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
21691         Use eval-sexp-add-defvars.
21692         (eval-sexp-add-defvars): New fun.
21694         * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
21696         * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
21697         Don't autoload.
21698         (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
21699         than the internal `byte-compile-lambda'.
21700         (defmethod): Don't hide code under quotes.
21701         (eieio-defmethod): New `code' argument.
21703         * emacs-lisp/eieio-comp.el: Remove.
21705         * emacs-lisp/edebug.el (edebug-eval-defun)
21706         (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
21707         (edebug-toggle): Avoid `eval'.
21709         * emacs-lisp/disass.el (disassemble-internal): Handle new
21710         `closure' objects.
21711         (disassemble-1): Handle new byte codes.
21713         * emacs-lisp/cl.el (pushnew): Silence warning.
21715         * emacs-lisp/cl-macs.el (cl-byte-compile-block)
21716         (cl-byte-compile-throw): Remove.
21717         (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
21719         * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
21720         closures.
21722         * emacs-lisp/cconv.el: New file.
21724         * emacs-lisp/bytecomp.el: Use lexical binding instead of
21725         a "bytecomp-" prefix.  Macroexpand everything as a separate phase.
21726         (byte-compile-initial-macro-environment):
21727         Handle declare-function here.
21728         (byte-compile--lexical-environment): New var.
21729         (byte-stack-ref, byte-stack-set, byte-discardN)
21730         (byte-discardN-preserve-tos): New lap codes.
21731         (byte-interactive-p): Don't use any more.
21732         (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
21733         New macros.
21734         (byte-compile-lapcode): Use them and handle new lap codes.
21735         (byte-compile-obsolete): Remove.
21736         (byte-compile-arglist-signature): Handle new byte-code arg"lists".
21737         (byte-compile-arglist-warn): Check late def of inlinable funs.
21738         (byte-compile-cl-warn): Don't silence warnings for compiler-macros
21739         since they should have been expanded by now.
21740         (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
21741         (byte-compile-from-buffer): Remove unused second arg.
21742         (byte-compile-preprocess): New function.
21743         (byte-compile-toplevel-file-form): New function to distinguish
21744         file-form calls from outside from file-form calls from hunk-handlers.
21745         (byte-compile-file-form): Simplify.
21746         (byte-compile-file-form-defsubst): Remove.
21747         (byte-compile-file-form-defmumble): Simplify now that
21748         byte-compile-lambda always returns a byte-code-function.
21749         (byte-compile): Preprocess.
21750         (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
21751         Remove, not used any more.
21752         (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
21753         (byte-compile-make-args-desc): New funs.
21754         (byte-compile-lambda): Handle lexical functions.  Always return
21755         a byte-code-function.
21756         (byte-compile-reserved-constants): New var, to make up room for
21757         closed-over variables.
21758         (byte-compile-constants-vector): Obey it.
21759         (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
21760         (byte-compile-macroexpand-declare-function): New function.
21761         (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
21762         byte-code-functions.
21763         (byte-compile-form): Check obsolescence here.
21764         (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
21765         (byte-compile-variable-ref): Remove.
21766         (byte-compile-dynamic-variable-op): New fun.
21767         (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
21768         (byte-compile-variable-set): New funs.
21769         (byte-compile-discard): Add 2 args.
21770         (byte-compile-stack-ref, byte-compile-stack-set)
21771         (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
21772         (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
21773         macroexpand-all instead.
21774         (byte-compile-quote-form): Remove.
21775         (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
21776         (byte-compile-bind, byte-compile-unbind): New funs.
21777         (byte-compile-let): Handle let* and lexical binding.
21778         (byte-compile-let*): Remove.
21779         (byte-compile-catch, byte-compile-unwind-protect)
21780         (byte-compile-track-mouse, byte-compile-condition-case):
21781         Handle a new :fun-body form, used for lexical scoping.
21782         (byte-compile-save-window-excursion)
21783         (byte-compile-with-output-to-temp-buffer): Remove.
21784         (byte-compile-defun): Simplify.
21785         (byte-compile-stack-adjustment): New fun.
21786         (byte-compile-out): Use it.
21787         (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
21789         * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
21790         handler any more.
21792         * emacs-lisp/byte-opt.el: Use lexical binding.
21793         (byte-inline-lapcode): Remove (to bytecomp).
21794         (byte-compile-inline-expand): Pay attention to inlining to/from
21795         lexically bound code.
21796         (byte-compile-unfold-lambda): Don't handle byte-code-functions
21797         any more.
21798         (byte-optimize-form-code-walker): Don't handle save-window-excursion
21799         any more and don't call compiler-macros.
21800         (byte-compile-splice-in-already-compiled-code): Remove.
21801         (byte-code): Don't inline any more.
21802         (disassemble-offset): Receive `bytes' as argument rather than via
21803         dynamic scoping.
21804         (byte-compile-tag-number): Declare before first use.
21805         (byte-decompile-bytecode-1): Handle new byte-codes, don't change
21806         `return' even if make-spliceable.
21807         (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
21808         obsolete interactive-p.
21809         (byte-optimize-lapcode): Optimize new lap-codes.
21810         Don't trip up on new form of `byte-constant' lap code.
21812         * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
21814         * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
21816         * custom.el (custom-initialize-default, custom-declare-variable):
21817         Use `defvar'.
21819         * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
21820         New variables.
21821         (compile-onefile, .el.elc, compile-calc, recompile): Use them.
21822         (COMPILE_FIRST): Add macroexp and cconv.
21823         * makefile.w32-in: Mirror changes in Makefile.in.
21825         * vc/cvs-status.el:
21826         * vc/diff-mode.el:
21827         * vc/log-edit.el:
21828         * vc/log-view.el:
21829         * vc/smerge-mode.el:
21830         * textmodes/bibtex-style.el:
21831         * textmodes/css-mode.el:
21832         * startup.el:
21833         * uniquify.el:
21834         * minibuffer.el:
21835         * newcomment.el:
21836         * reveal.el:
21837         * server.el:
21838         * mpc.el:
21839         * emacs-lisp/smie.el:
21840         * doc-view.el:
21841         * dired.el:
21842         * abbrev.el: Use lexical binding.
21844 2011-04-01  Eli Zaretskii  <eliz@gnu.org>
21846         * info.el (info-display-manual): New function.
21848 2011-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
21850         * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
21852 2011-03-31  Tassilo Horn  <tassilo@member.fsf.org>
21854         * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
21855         an entry for that server in rcirc-authinfo.  (Bug#8385)
21857 2011-03-31  Glenn Morris  <rgm@gnu.org>
21859         * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
21861         * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
21863 2011-03-30  Christoph Scholtes  <cschol2112@googlemail.com>
21865         * progmodes/python.el (python-default-interpreter)
21866         (python-python-command-args, python-jython-command-args)
21867         (python-which-shell, python-which-args, python-which-bufname)
21868         (python-file-queue, python-comint-output-filter-function)
21869         (python-toggle-shells, python-shell): Remove obsolete defcustoms,
21870         variables and functions.
21872 2011-03-30  Stefan Monnier  <monnier@iro.umontreal.ca>
21874         * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
21875         (completion-in-region-mode): New minor mode.
21876         (completion-in-region): Use it.
21877         (completion-in-region--data, completion-in-region-mode-map): New vars.
21878         (completion-in-region--postch): New function.
21879         (completion--capf-misbehave-funs, completion--capf-safe-funs):
21880         New vars.
21881         (completion--capf-wrapper): New function.
21882         (completion-at-point): Use it to track well-behavedness of
21883         hook functions.
21884         (completion-help-at-point): New command.
21886 2011-03-30  Jason Merrill  <jason@redhat.com>  (tiny change)
21888         * vc/add-log.el (add-change-log-entry): Don't use whitespace
21889         syntax class to search for whitespace on a single line
21890         (Message-ID: <4D938140.4030905@redhat.com>).
21892 2011-03-30  Leo Liu  <sdl.web@gmail.com>
21894         * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
21895         New commands.
21896         (edit-abbrevs-map): Bind them here.
21897         (write-abbrev-file): New optinal arg VERBOSE.  (Bug#5937)
21899 2011-03-29  Ken Manheimer  <ken.manheimer@gmail.com>
21901         * allout.el (allout-hide-by-annotation, allout-flag-region):
21902         Reduce possibility of overlay leakage by making them volatile.
21904         * allout-widgets.el (allout-widgets-tally): Define as nil so the
21905         hash is not shared between buffers.  Mode initialization is
21906         responsible for giving it a useful starting value.
21907         (allout-item-span): Reduce possibility of overlay leakage by
21908         making them volatile.
21909         (allout-widgets-count-buttons-in-region): Add diagnostic function
21910         for tracking down button overlay leaks.
21912 2011-03-29  Leo Liu  <sdl.web@gmail.com>
21914         * ido.el (ido-read-internal): Use the default history var
21915         minibuffer-history if no HISTORY is specified.
21917 2011-03-28  Brian T. Sniffen  <bsniffen@akamai.com>  (tiny change)
21919         * net/imap.el (imap-shell-open, imap-process-connection-type):
21920         Use imap-process-connection-type for 'shell' streams as well as
21921         Kerberos, SSL, other subprocesses.
21923 2011-03-28  Leo Liu  <sdl.web@gmail.com>
21925         * abbrev.el (abbrev-table-empty-p): New function.
21926         (prepare-abbrev-list-buffer): Place empty abbrev tables after
21927         nonempty ones.  (Bug#5937)
21929 2011-03-27  Jan Djärv  <jan.h.d@swipnet.se>
21931         * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
21933 2011-03-27  Leo Liu  <sdl.web@gmail.com>
21935         * ansi-color.el (ansi-color-names-vector): Allow cons cell value
21936         for foreground and background colors.
21937         (ansi-color-make-color-map): Adapt.
21939 2011-03-25  Leo Liu  <sdl.web@gmail.com>
21941         * midnight.el (midnight-time-float): Remove.  Note it calculates
21942         the microsecond component incorrectly and seconds-to-time does the
21943         same job.
21944         Remove redundant (require 'timer).
21946         * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
21947         (ido-completions): Remove unused arguments.  (Bug#8329)
21949 2011-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
21951         * minibuffer.el (completion--flush-all-sorted-completions):
21952         Remove itself from hook.
21953         (completion-at-point): Let the functions perform the completion
21954         immediately and return nil or t.
21955         * comint.el (comint-dynamic-complete-functions): Now identical to
21956         completion-at-point-functions.
21957         (comint-dynamic-list-input-ring): Remove unused var `index'.
21958         (comint--match-partial-filename, comint--unquote&expand-filename):
21959         New funs, split from comint-match-partial-filename.
21960         (comint-dynamic-complete): Use completion-at-point.
21961         (comint-dynamic-complete-filename): Use comint--match-partial-filename.
21963 2011-03-24  Drew Adams  <drew.adams@oracle.com>
21965         * thingatpt.el: Support `defun'.
21967 2011-03-23  Leo Liu  <sdl.web@gmail.com>
21969         * abbrevlist.el: Move to obsolete/abbrevlist.el.
21971         * help-mode.el (help-mode-finish): Tweak regexp.
21973 2011-03-23  Glenn Morris  <rgm@gnu.org>
21975         * eshell/esh-opt.el (eshell-eval-using-options):
21976         Do not bind unused local variable `eshell-option-stub'.
21978         * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
21980 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
21982         * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
21983         keymap variable in `with-no-warnings' to avoid a warning when the
21984         keymap has been already `defconst'ed.
21986 2011-03-22  Leo Liu  <sdl.web@gmail.com>
21988         * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
21989         encode all chars in abbrevs; otherwise use emacs-mule or
21990         utf-8-emacs.  (Bug#8308)
21992 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
21994         * simple.el (backward-delete-char-untabify):
21995         Avoid warning about using `delete-backward-char'.
21997         * image.el (image-type-file-name-regexps): Make it variable.
21998         `imagemagick-register-types' modifies it, and the user may want
21999         to add new extensions for known image types.
22000         (imagemagick-register-types): Throw error if not using ImageMagick.
22002 2011-03-22  Leo Liu  <sdl.web@gmail.com>
22004         * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
22005         located before rcirc-prompt-end-marker.
22006         (rcirc-complete): Error if point is not after rcirc prompt.
22007         Handle the case when table is nil.
22008         (rcirc-user-authenticated): Define to fix compiler warning.
22010 2011-03-22  Chong Yidong  <cyd@stupidchicken.com>
22012         * custom.el (custom--inhibit-theme-enable): Make it affect only
22013         custom-theme-set-variables and custom-theme-set-faces.
22014         (provide-theme): Ignore custom--inhibit-theme-enable.
22015         (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
22016         (custom-enabling-themes): Delete variable.
22017         (enable-theme): Accept only loaded themes as arguments.
22018         Ignore the special custom-enabled-themes variable.
22019         (custom-enabled-themes): Forbid themes from setting this.
22020         Eliminate use of custom-enabling-themes.
22021         (custom-push-theme): Quote "changed" custom var entry.
22023 2011-03-21  Leo Liu  <sdl.web@gmail.com>
22025         * ido.el (ido-read-internal): Add ido-selected to history instead
22026         of user input.
22028 2011-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
22030         * subr.el (deferred-action-list, deferred-action-function):
22031         Mark obsolete.
22033 2011-03-21  Leo Liu  <sdl.web@gmail.com>
22035         * vc/log-view.el: Remove (require 'wid-edit), not needed after the
22036         change on 2011-02-13 (bug#8309).
22038         * minibuffer.el (read-file-name-function): Change default value.
22039         (read-file-name--defaults): Rename from read-file-name-defaults.
22040         (read-file-name-default): Rename from read-file-name.
22041         (read-file-name): Call read-file-name-function.
22043 2011-03-21  Glenn Morris  <rgm@gnu.org>
22045         * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
22046         Doc fixes.
22048 2011-03-21  Chong Yidong  <cyd@stupidchicken.com>
22050         * cus-theme.el: Add missing provide statement.
22051         (customize-create-theme): Extract theme value correctly.
22052         (custom-theme-visit-theme): Autoload.
22053         (customize-create-theme): Prompt before inserting default faces.
22055 2011-03-20  Jay Belanger  <jay.p.belanger@gmail.com>
22057         * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
22058         units and musical notes.
22060 2011-03-20  Leo Liu  <sdl.web@gmail.com>
22062         * ido.el (ido-read-internal): Use completing-read-default.
22063         (ido-completing-read): Fix compatibility with completing-read.
22065 2011-03-20  Christian Ohler  <ohler@gnu.org>
22067         * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
22068         (ert-delete-all-tests): Use `called-interactively-p' rather than
22069         `interactive-p'.
22070         (ert--make-xrefs-region): Respect END.
22072 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
22074         * dired-aux.el (dired-create-directory): Signal an error if the
22075         directory already exists (Bug#8246).
22077         * facemenu.el (list-colors-display): Call list-faces-display
22078         inside with-help-window.
22079         (list-colors-print): Use display property to align the final
22080         column, instead of checking window-width.
22082 2011-03-19  Eli Zaretskii  <eliz@gnu.org>
22084         * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
22085         windows-nt systems.
22086         (emerge-protect-metachars): Quote correctly for ms-dos and
22087         windows-nt systems.
22089 2011-03-19  Ralph Schleicher  <rs@ralph-schleicher.de>
22091         * info.el (info-initialize): Replace all uses of `:' with
22092         path-separator for compatibility with non-Unix systems.
22093         Cache quoting of path-separator.  (Bug#8258)
22095 2011-03-19  Juanma Barranquero  <lekktu@gmail.com>
22097         * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
22098         (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
22099         (mouse-avoidance-mode): Fix typos in docstrings.
22101 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
22103         * startup.el (package-subdirectory-regexp): Move from package.el.
22104         Omit \\` and \\', and let callers add them.
22106         * emacs-lisp/package.el (package-strip-version)
22107         (package-load-all-descriptors): Add \\` and \\' to
22108         package-subdirectory-regexp before using it.
22109         (package-untar-buffer): New arg DIR; ensure that file untars only
22110         into this expected directory.  Remove superfluous delete-region.
22111         (package-unpack): Caller changed.
22112         (package-tar-file-info): Use package-subdirectory-regexp.
22114 2011-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
22116         * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
22117         diff-mode-shared-map (bug#8284).
22118         (diff-mode-shared-map): Re-introduce some bindings that were problematic.
22120 2011-03-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
22122         * calendar/time-date.el (format-seconds): Use assoc instead of
22123         assoc-string, since assoc-string doesn't exist in XEmacs.
22125 2011-03-17  Juanma Barranquero  <lekktu@gmail.com>
22127         * custom.el (custom-known-themes): Reflow docstring.
22128         (custom-theme-load-path): Fix typo in docstring.
22129         (load-theme): Fix typo in error message.
22130         (custom-available-themes, custom-variable-theme-value):
22131         Use `let', not `let*'.
22133 2011-03-17  Jay Belanger  <jay.p.belanger@gmail.com>
22135         * calc/README: Mention inclusion of musical notes.
22137         * calc/calc-units.el (calc-lu-quant): Rename from
22138         `calc-logunits-quantity'.
22139         (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
22140         (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
22141         (calc-db): Rename from `calc-dblevel'.
22142         (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
22143         (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
22144         (calc-np): Rename from `calc-nplevel'.
22145         (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
22146         (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
22147         (calc-lu-plus): Rename from `calc-logunits-add'.
22148         (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
22149         (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
22150         (calc-lu-minus): Rename from `calc-logunits-sub'.
22151         (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
22152         (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
22153         (calc-lu-times): Rename from `calc-logunits-mul'.
22154         (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
22155         (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
22156         (calc-lu-divide): Rename from `calc-logunits-div'.
22157         (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
22158         (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
22160         * calc/calc-ext.el (calc-init-extensions): Update the names of the
22161         functions being autoloaded.
22163         * calc/calc.el (calc-lu-power-reference): Rename from
22164         `calc-logunits-power-reference'.
22165         (calc-lu-field-reference): Rename from
22166         `calc-logunits-field-reference'.
22168         * calc/calc-help.el (calc-l-prefix-help):
22169         Mention musical note functions.
22171 2011-03-17  Stefan Monnier  <monnier@iro.umontreal.ca>
22173         * minibuffer.el (completion-all-sorted-completions):
22174         Use :completion-cycle-penalty text property if present.
22176 2011-03-16  Ken Manheimer  <ken.manheimer@gmail.com>
22178         * allout.el (allout-yank-processing): Adjust for new rebulleting
22179         regime so bullet being yanked is used without prompting the user
22180         for a choice.
22182 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
22184         * startup.el (command-line): Warn the user that _emacs is deprecated.
22186 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
22188         * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
22189         (delphi-verbose, delphi-comment-face, delphi-string-face)
22190         (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
22191         (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
22192         (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
22193         (delphi-new-comment-line, delphi-font-lock-defaults)
22194         (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
22195         Fix typos in docstrings.
22197 2011-03-15  Ken Manheimer  <ken.manheimer@gmail.com>
22199         * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
22200         Invert the roles of character and string values for INSTEAD, so a
22201         string is used for the more common case of a defaulting prompt.
22203 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
22205         * progmodes/ruby-mode.el (ruby-backward-sexp):
22206         * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
22207         * play/gamegrid.el (gamegrid-make-face):
22208         * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
22209         (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
22210         * notifications.el (notifications-notify):
22211         * net/xesam.el (xesam-search-engines):
22212         * net/quickurl.el (quickurl-list-insert):
22213         * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
22215 2011-03-15  Chong Yidong  <cyd@stupidchicken.com>
22217         * startup.el (command-line): Update package subdirectory regexp.
22219 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
22221         * allout.el (allout-abbreviate-flattened-numbering)
22222         (allout-mode-deactivate-hook): Fix up obsolescence "date".
22224         * subr.el (read-char-choice): Only show the cursor after the prompt,
22225         not after the answer.
22227 2011-03-15  Kevin Ryde  <user42@zip.com.au>
22229         * help-fns.el (variable-at-point): Skip leading quotes, if any
22230         (bug#8253).
22232 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
22234         * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
22235         warning message.
22237 2011-03-14  Michael Albinus  <michael.albinus@gmx.de>
22239         * shell.el (shell): When called interactively, offer to change the
22240         shell file name on remote hosts.
22242 2011-03-13  Teodor Zlatanov  <tzz@lifelogs.com>
22244         * net/ldap.el (ldap-search-internal): Add `auth-source-search'
22245         integration for LDAP parameters.  The host, base, user or binddn,
22246         and secret tokens can be specified in a netrc file, for instance.
22247         This is optional because an `auth-source' parameter must be
22248         specified in the search attributes.
22250 2011-03-13  Juanma Barranquero  <lekktu@gmail.com>
22252         * help.el (describe-mode): Link to the mode's definition (bug#8185).
22254 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
22256         * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
22257         into declaration.  Remove redundant and harmful binding.
22259 2011-03-12  Eli Zaretskii  <eliz@gnu.org>
22261         * files.el (file-ownership-preserved-p): Pass `integer' as an
22262         explicit 2nd argument to `file-attributes'.  If the file's owner
22263         is the Administrators group on Windows, and the current user is
22264         Administrator, consider that a match.
22266         * server.el (server-ensure-safe-dir): Consider server directory
22267         safe on MS-Windows if its owner is the Administrators group while
22268         the current Emacs user is Administrator.  Use `=' to compare
22269         numerical UIDs, since they could be integers or floats.
22271 2011-03-12  Juanma Barranquero  <lekktu@gmail.com>
22273         * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
22275 2011-03-12  Michael Albinus  <michael.albinus@gmx.de>
22277         Sync with Tramp 2.2.1.
22279         * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
22281         * net/trampver.el: Update release number.
22283 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
22285         * progmodes/compile.el (compilation--previous-directory): Fix up
22286         various nil/dead-marker mismatches (bug#8014).
22287         (compilation-directory-properties, compilation-error-properties):
22288         Don't call it at a position past the one we're about to change.
22290         * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
22291         Disable obsolescence warnings in the file that declares it.
22293 2011-03-11  Ken Manheimer  <ken.manheimer@gmail.com>
22295         * allout-widgets.el (allout-widgets-tally):
22296         Initialize allout-widgets-tally as a hash table rather than nil to
22297         prevent mode-line redisplay warnings.  Also, clarify the module
22298         description and fix a comment typo.
22300 2011-03-11  Juanma Barranquero  <lekktu@gmail.com>
22302         * help-fns.el (describe-variable): Don't complete keywords.
22303         Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
22305 2011-03-10  Chong Yidong  <cyd@stupidchicken.com>
22307         * emacs-lisp/package.el (package-version-join): Impose a standard
22308         string representation for pre/alpha/beta version lists.
22309         (package-unpack-single): Standardize the directory name by passing
22310         it through package-version-join.
22311         (package-strip-rcs-id): Accept any version string that does not
22312         signal an error in version-to-list.
22314 2011-03-10  Michael Albinus  <michael.albinus@gmx.de>
22316         * simple.el (delete-trailing-whitespace): Return nil for the
22317         benefit of `write-file-functions'.
22319 2011-03-10  Glenn Morris  <rgm@gnu.org>
22321         * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
22323         * vc/vc-git.el (vc-git-program): New option.
22324         (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
22325         (vc-git--call): Use it.
22327         * eshell/esh-util.el (eshell-condition-case): Doc fix.
22329         * cus-edit.el (Custom-newline): If no button at point, look
22330         for a subgroup button at start-of-line.  (Bug#2298)
22332         * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
22334 2011-03-10  Julien Danjou  <julien@danjou.info>
22336         * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
22337         `cursor-type' is nil.
22339 2011-03-09  Jay Belanger  <jay.p.belanger@gmail.com>
22341         * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
22343 2011-03-09  Ken Manheimer  <ken.manheimer@gmail.com>
22345         * allout.el: Change so yank of distinctive-bullet items
22346         preserves the existing header prefix, rebulleting it if necessary,
22347         rather than replacing it.  This is necessary for proper operation
22348         of cooperative addons like allout-widgets.
22349         (allout-make-topic-prefix, allout-rebullet-heading):
22350         Change SOLICIT arg to INSTEAD, and interpret additionally a string
22351         value as alternate bullet to be used, instead of prompting the user
22352         for a bullet character.
22354 2011-03-09  Michael Albinus  <michael.albinus@gmx.de>
22356         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
22357         Do not use `tramp-file-name-port', because this returns also
22358         `tramp-default-port'.
22360 2011-03-09  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
22362         * net/rcirc.el (rcirc-handler-001): Remove useless
22363         with-rcirc-process-buffer.
22364         (rcirc-check-auth-status): Swap arguments to string-match.
22366 2011-03-09  Glenn Morris  <rgm@gnu.org>
22368         * shell.el (shell-mode):
22369         Set comint-input-ring-size from HISTSIZE.  (Bug#7889)
22371         * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
22372         Check for GDBHISTFILE, HISTSIZE, etc.  (Bug#7889)
22374 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
22376         * emacs-lisp/package.el (package-refresh-contents)
22377         (package-menu-execute): Use condition-case-no-debug.
22379 2011-03-08  Michael Albinus  <michael.albinus@gmx.de>
22381         * simple.el (shell-command-to-string): Use `process-file'.
22383         * emacs-lisp/package.el (package-tar-file-info): Handle also
22384         remote files.
22386         * emacs-lisp/package-x.el (package-upload-buffer-internal):
22387         Use `equal' for upload base check.
22389 2011-03-08  Arni Magnusson  <arnima@hafro.is>  (tiny change)
22391         * textmodes/texinfo.el (texinfo-environments):
22392         Add deftypecv, deftypeivar, deftypemethod, deftypeop, html.  (Bug#2783)
22394 2011-03-08  Glenn Morris  <rgm@gnu.org>
22396         * cus-start.el (cursor-in-non-selected-windows):
22397         Fix :set quoting oddness.  (Bug#8192)
22399         * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
22400         in some setf expressions.  (Bug#2159)
22402 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
22404         * custom.el (custom-available-themes): Return themes in
22405         alphabetical order.
22407 See ChangeLog.15 for earlier changes.
22409 ;; Local Variables:
22410 ;; coding: utf-8
22411 ;; End:
22413   Copyright (C) 2011-2012  Free Software Foundation, Inc.
22415   This file is part of GNU Emacs.
22417   GNU Emacs is free software: you can redistribute it and/or modify
22418   it under the terms of the GNU General Public License as published by
22419   the Free Software Foundation, either version 3 of the License, or
22420   (at your option) any later version.
22422   GNU Emacs is distributed in the hope that it will be useful,
22423   but WITHOUT ANY WARRANTY; without even the implied warranty of
22424   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
22425   GNU General Public License for more details.
22427   You should have received a copy of the GNU General Public License
22428   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.