* epg.el (epg--start): Modify process-environment locally.
[emacs.git] / lisp / ChangeLog
blobe13ce397beec200210717eb32eb50a8ea542951e
1 2012-12-28  Andreas Schwab  <schwab@linux-m68k.org>
3         * epg.el (epg--start): Modify process-environment locally.
5 2012-12-28  Daiki Ueno  <ueno@gnu.org>
7         * epg.el: Support pinentry-curses.
8         Suggested by Werner Koch in
9         <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
10         (epg-agent-file, epg-agent-mtime): New variable.
11         (epg--start): Record the modified time of gpg-agent socket file,
12         to restore Emacs frame after pinentry-curses termination.
13         (epg-wait-for-completion): Restore Emacs frame here.
15 2012-12-27  Juri Linkov  <juri@jurta.org>
17         * info.el (Info-file-completions): New variable.
18         (Info-read-node-name-1): Complete node names in the Info file
19         when a file name is given.  Call `Info-build-node-completions'
20         with a file name.
21         (Info-build-node-completions): Add new arg `file'.  When it is
22         non-nil, visit it in a temporary buffer and cache its completions in
23         `Info-current-file-completions'.  Move most of the function body to
24         `Info-build-node-completions-1'.
25         (Info-build-node-completions-1): New function with the body from
26         `Info-build-node-completions'.  (Bug#12456)
28 2012-12-27  Juri Linkov  <juri@jurta.org>
30         * frame.el (frame-maximization-style): Remove user option.
31         (cycle-frame-maximized): Remove function.
32         (toggle-frame-maximized): Rewrite and bind to M-<f10>.
33         (toggle-frame-fullscreen): New command bound to <f11> instead of
34         `toggle-frame-maximized'.
35         http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
37 2012-12-27  Michael Albinus  <michael.albinus@gmx.de>
39         * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
41         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
42         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
43         * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
44         for `file-accessible-directory-p'.  (Bug#13275)
46 2012-12-27  Sam Steingold  <sds@gnu.org>
48         * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
49         continuations, see <http://stackoverflow.com/questions/3582436>.
51 2012-12-27  Dmitry Gutov  <dgutov@yandex.ru>
53         * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
54         "module" and "def" to have indentation before them.  Regression
55         from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
57         * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
59 2012-12-27  Alan Mackenzie  <acm@muc.de>
61         Speed up fontification where there's large brace blocks.
62         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
63         to a call of c-beginning-of-decl-1.
65 2012-12-27  Vitalie Spinu  <spinuvit@gmail.com>  (tiny change)
67         * comint.el (comint-adjust-window-point): New function.
68         (comint-postoutput-scroll-to-bottom): Call
69         comint-adjust-window-point (Bug#13248).
71 2012-12-26  Dmitry Gutov  <dgutov@yandex.ru>
73         * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
74         Rakefile regexp.
75         (auto-mode-alist): Associate .gemspec files with ruby-mode
76         (https://bugs.ruby-lang.org/issues/5453).
78 2012-12-26  Jürgen Hötzel  <juergen@archlinux.org>
80         * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.  Suppress
81         coloring, if possible (required for BusyBox based systems like
82         CynagenMod).
83         (tramp-adb-handle-file-attributes)
84         (tramp-adb-handle-insert-directory)
85         (tramp-adb-handle-file-name-all-completions): Use it.
86         (tramp-adb-get-toolbox): New defun.  Check for remote shell
87         implementation (BusyBox or Toolbox).
89 2012-12-24  Constantin Kulikov <zxnotdead@gmail.com>  (tiny change)
91         * startup.el (initial-buffer-choice): Allow function as value
92         (Bug#13251).
93         (command-line-1): Handle case where initial-buffer-choice
94         specifies a function.
95         * server.el (server-execute): Handle case where
96         initial-buffer-choice specifies a function.
98 2012-12-24  Lars Ingebrigtsen  <larsi@gnus.org>
100         * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
101         its own function.
102         (smtpmail-try-auth-methods): Forget the user name/password if the
103         login is unsuccessful (bug#12424).
105 2012-12-22  Michael Albinus  <michael.albinus@gmx.de>
107         * notifications.el (notifications-notify): Protect body with
108         `with-demoted-errors'.
110         * net/tramp-adb.el (tramp-adb-maybe-open-connection): Check
111         properties of remote device.  Restart connection, if there is a
112         change.
114 2012-12-21  Chong Yidong  <cyd@gnu.org>
116         * sort.el (sort-subr): Doc fix (Bug#13056).
118 2012-12-21  Bastien Guerry  <bzg@gnu.org>
120         * progmodes/etags.el (tags-search): Fix typo.  Bug #13232.
122 2012-12-21  Michael Albinus  <michael.albinus@gmx.de>
124         * simple.el (process-file): Overwrite stderr file, if exists.
126 2012-12-21  Daiki Ueno  <ueno@gnu.org>
128         * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
129         (epg-error): Set `error-message' property.
131 2012-12-21  Chong Yidong  <cyd@gnu.org>
133         * international/mule-cmds.el (read-char-by-name): Signal an error
134         if the user does not supply a valid character (Bug#13177).
136         * simple.el (transpose-subr-1): Preserve marker positions by
137         changing the insertion sequence (Bug#13122).
139 2012-12-21  Kelly Dean  <kellydeanch@yahoo.com>  (tiny change)
141         * simple.el (kill-region): Deactivate mark even for empty regions
142         (Bug#13169).
144 2012-12-21  Chong Yidong  <cyd@gnu.org>
146         * help-fns.el (describe-variable): Make sure we get the right
147         buffer name (Bug#13105).  Suggested by Kelly Dean.
149 2012-12-20  Michael R. Mauger  <mmaug@yahoo.com>
151         * comint.el (comint-redirect-previous-input-string): New variable.
152         (comint-redirect-setup, comint-redirect-cleanup)
153         (comint-redirect-preoutput-filter): Use it.  Fixes redirection bug.
154         (comint-redirect-preoutput-filter): Fix verbose message.
156 2012-12-20  Michael Albinus  <michael.albinus@gmx.de>
158         * progmodes/grep.el (rgrep): Escape command line.  Sometimes, it
159         is too long for Tramp.  See discussion in
160         <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
162         * progmodes/compile.el (compilation-start): Remove line escape
163         template.
165 2012-12-20  Dmitry Antipov  <dmantipov@yandex.ru>
167         * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
168         Adjust comment.
170 2012-12-19  Jonas Bernoulli  <jonas@bernoul.li>
172         * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
173         following non-comment text (bug#13207).
174         (lm-header-multiline): Continuation lines need to be indented more than
175         the first line.
176         (lm-homepage): New function.
177         (lm-with-file): Don't be confused if narrowing is in effect.
179         * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
180         very beginning of a hunk (e.g. killing the first line).
182 2012-12-19  Michael Albinus  <michael.albinus@gmx.de>
184         * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
185         and text properties from returned ACL string.
186         (tramp-sh-handle-set-file-acl): Do not use additional parentheses
187         for "setfacl" command.
189 2012-12-18  Michael Albinus  <michael.albinus@gmx.de>
191         * net/tramp.el (tramp-error-with-buffer): Give a hint to use
192         `tramp-cleanup-this-connection', when the process has died.
193         (Bug#13151)
195 2012-12-17  Stefan Monnier  <monnier@iro.umontreal.ca>
197         * icomplete.el (icomplete-completions): Also use … to truncate prefix.
199 2012-12-17  Kevin Ryde  <user42@zip.com.au>
201         * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
203 2012-12-17  Michael Albinus  <michael.albinus@gmx.de>
205         Add support for preserving ACL entries of files.
207         * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
208         `set-file-acl' handlers.
210         * net/tramp-adb.el (tramp-adb-handle-copy-file):
211         Handle PRESERVE-EXTENDED-ATTRIBUTES.
213         * net/tramp-compat.el (tramp-compat-copy-file):
214         Handle PRESERVE-EXTENDED-ATTRIBUTES.
216         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
217         Add `file-acl' and `set-file-acl' handlers.
218         (tramp-gvfs-handle-copy-file):
219         Handle PRESERVE-EXTENDED-ATTRIBUTES.
220         (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
221         New defuns.
223         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
224         Add `file-acl' and `set-file-acl' handlers.
225         (tramp-remote-acl-p, tramp-sh-handle-file-acl)
226         (tramp-sh-handle-set-file-acl): New defuns.
227         (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
228         Handle PRESERVE-EXTENDED-ATTRIBUTES.
230         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
231         Add `file-acl' and `set-file-acl' handlers.
232         (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
234 2012-12-17  Kelly Dean  <kellydeanch@yahoo.com> (tiny change)
236         * help-macro.el (make-help-screen): Instead of switch-to-buffer
237         use pop-to-buffer with NORECORD argument t.  As buffer name, use
238         *Metahelp* with a leading space (Bug#13190).
240 2012-12-16  Romain Francoise  <romain@orebokech.com>
242         * files.el (file-extended-attributes)
243         (set-file-extended-attributes): New functions.
244         (backup-buffer): Use them to handle both SELinux context and ACL
245         entries.
246         (backup-buffer-copy): Work with an alist of extended attributes,
247         rather than an SELinux context.
248         (basic-save-buffer-2): Ditto.
250 2012-12-16  Timo Myyrä  <timo.myyra@gmail.com>
252         * battery.el (battery-bsd-apm): New function.
254 2012-12-16  Jay Belanger  <jay.p.belanger@gmail.com>
256         * calc/calc.el (calc-standard-date-formats): Adjust one of the
257         standard date formats.
259 2012-12-15  Juri Linkov  <juri@jurta.org>
261         * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
262         `isearch-insert-char-by-name'.
263         (with-isearch-suspended): New defmacro with body mostly from
264         `isearch-edit-string' except the part that sets
265         `isearch-new-string' and `isearch-new-message'.
266         (isearch-edit-string): Use new macro `with-isearch-suspended' with
267         body that sets `isearch-new-string' and `isearch-new-message'.
268         (isearch-insert-char-by-name): New command.
269         * international/mule-cmds.el (read-char-by-name): Let-bind
270         `enable-recursive-minibuffers' to t.
271         http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
273 2012-12-15  Juri Linkov  <juri@jurta.org>
275         * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
276         (Bug#13175)
278 2012-12-15  Christopher Schmidt  <christopher@ch.ristopher.com>
280         * dired-x.el (dired-guess-shell-command): Put colon at the end of
281         the prompt.  (Bug#13045)
283 2012-12-14  Glenn Morris  <rgm@gnu.org>
285         * emacs-lisp/macroexp.el (macroexp--warn-and-return):
286         Try to include filename in non-bytecomp warning.  (Bug#13132)
288 2012-12-14  Paul Eggert  <eggert@cs.ucla.edu>
290         Fix permissions bugs with setgid directories etc. (Bug#13125)
291         * files.el (backup-buffer): Don't rely on 9th output of
292         file-attributes, as it's now a placeholder.  Instead, use the new
293         optional arg of file-ownership-preserved-p.
294         (file-ownership-preserved-p): New optional arg GROUP.
295         Fix mishandling of setuid directories that would cause this
296         function to return t when it should have returned nil.
297         Document what happens if the file does not exist, and when
298         it's not known whether the ownership will be preserved.
299         * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
300         Likewise.
301         (tramp-get-local-gid): Use group-gid for integer, as that's
302         faster and more reliable.
304 2012-12-14  Julien Danjou  <julien@danjou.info>
306         * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
307         Update keywords list, data type and PL/pgSQL.
309 2012-12-14  Dave Abrahams  <dave@boostpro.com>
311         * vc/ediff-util.el (ediff-buffer-type): New function.
312         (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
313         rather than taking it as as argument.
314         (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
316 2012-12-14  Ryan Crum  <ryan.crum@eleostech.com>
318         * json.el: Add pretty-print option (bug#12634).
319         (json-encoding-separator, json-encoding-default-indentation)
320         (json--encoding-current-indentation, json-encoding-pretty-print)
321         (json-encoding-lisp-style-closings): New vars.
322         (json--with-indentation): New macro.
323         (json-encode-hash-table, json-encode-alist, json-encode-plist)
324         (json-encode-array): Use it to obey json-encoding-pretty-print.
325         (json-pretty-print-buffer, json-pretty-print): New commands.
327 2012-12-14  Dmitry Gutov  <dgutov@yandex.ru>
329         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
330         Extract `ruby-syntax-propertize-expansions'.
331         (ruby-syntax-propertize-expansions): Only change syntax on
332         certain string delimiters, to punctuation.  This way the common
333         functions like forward-word and thing-at-point still work.
334         (ruby-match-expression-expansion): Improve readability.
335         (ruby-block-contains-point): New function.
336         (ruby-add-log-current-method): Handle several edge cases.
338 2012-12-13  Juanma Barranquero  <lekktu@gmail.com>
340         * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
341         unload-feature finishes even when aborting an ongoing edebug session.
342         Also, do not worry about edebug-mode, unload-feature takes care of it.
344 2012-12-13  Andreas Schwab  <schwab@suse.de>
346         * net/tls.el (tls-program): Update customize type.
348 2012-12-13  Juanma Barranquero  <lekktu@gmail.com>
350         * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
351         (edebug-setup-hook, cl-read-load-hooks): Use it.
352         (edebug-unload-function): New function.  (Bug#13163)
354 2012-12-13  Michael Albinus  <michael.albinus@gmx.de>
356         * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
357         Otherwise, there could be errors in autoloading.  (Bug#13151)
359 2012-12-13  Jürgen Hötzel  <juergen@archlinux.org>
361         * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
362         sequences.
364 2012-12-13  Alan Mackenzie  <acm@muc.de>
366         Make CC Mode not hang when _some_ lines end in CRLF.  Bug #11841.
367         * progmodes/cc-engine.el (c-backward-comments): Add code to work
368         around `forward-comment' not recognizing ^M as whitespace.
370 2012-12-13  Fabián Ezequiel Gallina  <fgallina@cuca>
372         * progmodes/python.el (python-skeleton-class)
373         (python-skeleton-def): Do not add space after defun name.
375 2012-12-13  Stefan Monnier  <monnier@iro.umontreal.ca>
377         * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
378         (cl--symbol-function): Remove (now that funbound is like nil).
380 2012-12-12  Glenn Morris  <rgm@gnu.org>
382         * button.el (button--area-button-p): Fix typo.
384 2012-12-12  Sam Steingold  <sds@gnu.org>
386         * frame.el (frame-maximization-style): New user option.
387         (toggle-frame-maximized): Toggle frame maximization according to
388         `frame-maximization-style', bound to <f11>.
389         (cycle-frame-maximized): Cycle between all maximization styles and
390         non-maximized frame, bound to shift-<f11>.
392 2012-12-12  David Cadé  <codename68@gmail.com>
394         * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
396 2012-12-12  Jonas Bernoulli  <jonas@bernoul.li>
398         * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
399         (eieio-override-prin1): Don't quote kewords and booleans.
400         (object-write) <eieio-default-superclass>: Don't put closing parens
401         on new line, avoid needless empty lines, align values that are objects
402         with the slot keyword (instead of beginning on the same line).
403         (eieio-list-prin1): Align value with slot keyword; increase
404         eieio-print-depth before printing members of the list.
406 2012-12-11  Stefan Monnier  <monnier@iro.umontreal.ca>
408         * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
409         a display text-property.
410         (report-emacs-bug-hook): Don't bother deleting it any more.
412         * hilit-chg.el (highlight-save-buffer-state): Delete.
413         Use with-silent-modifications instead.
414         (hilit-chg-set-face-on-change): Only fixup the text that's modified.
416         * button.el: Handle buttons in display text-properties.
417         (button--area-button-p, button--area-button-string):
418         Use (STRING . STRING-POS) representation instead of just STRING.
420 2012-12-11  Eli Zaretskii  <eliz@gnu.org>
422         * makefile.w32-in (compile4-SH): Fix a typo that caused term
423         subdirectory be skipped.
425 2012-12-11  Glenn Morris  <rgm@gnu.org>
427         * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
429         * progmodes/f90.el (f90-line-continued, f90-indent-region):
430         Treat preprocessor lines embedded in continuations like comments.
431         (f90-indent-line): Special-case preprocessor lines.  (Bug#13138)
433 2012-12-11  Jay Belanger  <jay.p.belanger@gmail.com>
435         * calc/calc.el (calc-standard-date-formats):  Add more date
436         formats.
437         * calc/calc-forms.el (math-parse-iso-date): New function.
438         (math-parse-date): Use `math-parse-iso-date' when appropriate.
439         (math-parse-iso-date-validate): Add extra error checking.
440         (calc-date-notation): Add ability to access new date formats.
442 2012-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
444         * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
445         font-lock as well as when there's no text-property.
447 2012-12-10  Jambunathan K  <kjambunathan@gmail.com>
449         * hi-lock.el: Refine the choice of default face.
450         (hi-lock-keyword->face): New function.  Use it wherever we used
451         cadadadr instead.
452         (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
453         (hi-lock--last-face): Remove var.
454         (hi-lock--unused-faces): New var to replace it.
455         (hi-lock-read-face-name): Use/maintain it.
456         (hi-lock-unface-buffer): Maintain it.  Fix error for the C-u case.
457         (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
458         if it has another face.
460 2012-12-10  Eli Zaretskii  <eliz@gnu.org>
462         * subr.el (w32notify-handle-event): New function.
463         (inotify-handle-event): Doc fix.
465 2012-12-10  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
467         * subr.el (inotify-event-p, inotify-handle-event): New functions.
469 2012-12-10  Dani Moncayo <dmoncayo@gmail.com>
471         * simple.el (just-one-space): Doc fix.
473 2012-12-10  Eli Zaretskii  <eliz@gnu.org>
475         * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
477 2012-12-10  Le Wang  <l26wang@gmail.com>
479         * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
480         narrowed buffer (bug#12361).
482 2012-12-10  Juanma Barranquero  <lekktu@gmail.com>
484         * vc/vc-hooks.el (vc-state): Doc fix.
486 2012-12-10  Glenn Morris  <rgm@gnu.org>
488         * mail/rmail.el (rmail-maybe-display-summary):
489         Preserve buffer, in case select-window changes it.  (Bug#13066)
491 2012-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
493         * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
494         cl-load-hook where they belong.
496 2012-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
498         * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
500 2012-12-09  Eli Zaretskii  <eliz@gnu.org>
502         Parallelize byte compilation on MS-Windows.
503         * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
504         (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
505         (WINS_BASIC): Define as concatenation of the above.
506         (compile): Subdivide into 4 separate and independent jobs that can
507         be run in parallel.
508         (compile0-CMD, compile0-SH): New targets for compiling
509         COMPILE_FIRST files, which are prerequisites for the rest of the
510         byte-compilation.
511         (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
512         New targets for parallel compilation with cmd.exe.
513         (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
514         compiling under a Unixy shell.
516 2012-12-09  Chong Yidong  <cyd@gnu.org>
518         * simple.el (set-mark-default-inactive): Delete this
519         accidentally-introduced option.
520         (set-mark-command, exchange-point-and-mark): Remove calls.
522 2012-12-09  Glenn Morris  <rgm@gnu.org>
524         * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
525         Respect a defcustom's :set function, if appropriate.  (Bug#109)
526         (eval-defun): Doc fix.
528 2012-12-08  Juri Linkov  <juri@jurta.org>
530         * info.el (Info-copy-current-node-name, Info-breadcrumbs)
531         (Info-fontify-node, Info-bookmark-make-record): Remove the
532         file extension from Info-current-file (Bug#13016).
534 2012-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
536         * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
537         point, still provide some default.
538         (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
539         names, since we don't use it right now.  Actually return the list.
540         (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
542 2012-12-07  Chong Yidong  <cyd@gnu.org>
544         * novice.el (disabled-command-function): Remove a spurious help
545         xref (Bug#13043).  Suggested by Kelly Dean.
547         * subr.el (text-clone-maintain): Fix clone overlay deletion when a
548         syntax is specified (Bug#13025).
550         * info.el (Info-set-mode-line): Remove the file extension from
551         Info-current-file if there is one (Bug#13016).
553 2012-12-07  Glenn Morris  <rgm@gnu.org>
555         * mail/rmail.el (rmail-mime-decoded): New permanent local.
556         (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
557         * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
558         and rmail-mime-decoded.  (Bug#9841)
560         * mail/unrmail.el (unrmail-mbox-format): New option.  (Bug#6574)
561         (batch-unrmail, unrmail): Doc fixes.
562         (unrmail): Respect unrmail-mbox-format.
563         * mail/rmail.el (rmail-mbox-format): New option.
564         (rmail-show-message-1): Respect rmail-mbox-format.
566 2012-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
568         * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
570 2012-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
572         Further cleanup of the "cl-" namespace.  Fit CL in 80 columns.
573         * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
574         (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
575         (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
576         (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
577         (cl-progv): Don't rely on dynamic scoping to find the body.
578         * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
579         (cl--proclaims-deferred): Rename from the "cl-" prefix.
580         (cl-declaim): Use backquotes.
581         * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
582         Use "cl--" prefix for the object's tag.
584         * ses.el: Use advice-add/remove.
585         (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
586         (copy-region-as-kill, yank): Use advice-add.
587         (ses-unload-function): Use advice-remove.
589 2012-12-06  Jonas Bernoulli  <jonas@bernoul.li>
591         * button.el: Make them work in header-lines (bug#12817).
592         (button-map): Add bindings for header-line and mode-line use.
593         (button-get, button-put, button-label): `button' may now be a string.
594         (button-activate): Don't make it a defsubst.
595         (button--area-button-p, button--area-button-string): New functions.
596         (make-text-button): Fix the return value when `beg' was a string.
597         (push-button): Handle the mode-line case.
599 2012-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
601         * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
602         (sql-signum): Remove.  Use `cl-signum' instead.
603         (sql-read-passwd): Remove; use read-passwd instread.
604         (sql-get-login-ext): Use read-string.
605         (sql-get-login): Use dolist and pcase.
606         (sql--completion-table): Rename from sql-try-completion.
607         Use complete-with-action.
608         (sql-mode): Don't change abbrev-all-caps globally.
609         (sql-connect): Don't rely on dynamic scoping for `new-name'.
610         (sql-postgres-completion-object): Initialize vars in their `let'.
611         (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
612         (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
613         (sql-comint-interbase): Use a single append, without setq.
614         (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
616         * hi-lock.el: Rework the default face and the serialize regexp code.
617         (hi-lock--auto-select-face-defaults): Remove.
618         (hi-lock-string-serialize-serial): Remove.
619         (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
620         make weak.
621         (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
622         equal string.
623         (hi-lock-set-pattern): Adjust accordingly.
624         (hi-lock--regexps-at-point): Simplify accordingly.
625         (hi-lock--auto-select-face-defaults): Remove.
626         (hi-lock--last-face): New var to replace it.
627         (hi-lock-read-face-name): Rewrite (bug#11095).
628         (hi-lock-unface-buffer): Arrange for the face to be the next default.
630 2012-12-06  Michael Albinus  <michael.albinus@gmx.de>
632         * net/tramp.el (tramp-replace-environment-variables):
633         Hide compiler warning.
634         (tramp-file-name-for-operation): Remove `executable-find',
635         `start-process', `call-process' and `call-process-region'.
637         * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
639         * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
640         compatibility.
642         * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
644 2012-12-06  Chong Yidong  <cyd@gnu.org>
646         * ffap.el (ffap-replace-file-component): Fix typo.
648 2012-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
650         * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
651         fix open-paren-like token test (bug#12785).
653 2012-12-06  Glenn Morris  <rgm@gnu.org>
655         * mail/rmailsum.el (rmail-new-summary): Tweak for
656         rmail-maybe-display-summary changing buffer.  (Bug#13066)
658 2012-12-06  Juri Linkov  <juri@jurta.org>
660         * info.el (Info-fontify-node): Don't hide the last newline.
661         (Bug#12272)
663 2012-12-06  Katsumi Yamaoka  <yamaoka@jpl.org>
665         * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
666         so as to enable message-read-from-minibuffer to expand mail aliases.
668 2012-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
670         * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
671         the `intangible' property.
672         Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
674 2012-12-05  Deniz Dogan  <deniz@dogan.se>
676         * net/rcirc.el (rcirc-urls): Update documentation.
677         (rcirc-condition-filter): New function.
678         (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
679         and exclude consecutive duplicate URLs (Bug#6082).
681 2012-12-05  Michael Albinus  <michael.albinus@gmx.de>
683         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
684         Check return code of copy command.
686         * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
687         Use group `tramp'.  Add version.
689 2012-12-05  Chong Yidong  <cyd@gnu.org>
691         * ffap.el (ffap-url-regexp): Don't require matching at front of
692         string (Bug#4952).
693         (ffap-url-p): If only a substring matches, return that.
694         (ffap-url-at-point): Use the return value of ffap-url-p.
695         (ffap-read-file-or-url, ffap-read-file-or-url-internal)
696         (find-file-at-point, dired-at-point, dired-at-point-prompter)
697         (ffap-guess-file-name-at-point): Likewise.
698         (ffap-replace-file-component): Fix typo.
700         * info.el (info-display-manual): Add existing Info buffers, whose
701         files may not be in Info-directory-list, to the completion.
702         (info--manual-names): New helper function.
704 2012-12-05  Glenn Morris  <rgm@gnu.org>
706         * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
707         New functions, for detecting and resolving conflicts.  (Bug#10709)
709 2012-12-04  Jambunathan K  <kjambunathan@gmail.com>
711         * hi-lock.el (hi-lock-auto-select-face): New user variable.
712         (hi-lock-auto-select-face-defaults): New buffer local variable.
713         (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
714         (hi-lock-unface-buffer): Prompt user with useful defaults.
715         With prefix arg, unhighlight all hi-lock patterns in buffer.
717 2012-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
719         * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
721 2012-12-04  Michael Albinus  <michael.albinus@gmx.de>
723         * Makefile.in (TRAMP_SRC):
724         * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
726 2012-12-04  Juergen Hoetzel  <juergen@archlinux.org>
728         * net/tramp-adb.el: New package.
730 2012-12-04  Chong Yidong  <cyd@gnu.org>
732         * terminal.el: Move to obsolete/.
734         * longlines.el: Move to obsolete/.
736         * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
737         Remove code referring to longlines mode.
739 2012-12-03  Juri Linkov  <juri@jurta.org>
741         * sort.el (delete-duplicate-lines): New command.  (Bug#13032)
743 2012-12-03  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
745         * textmodes/ispell.el (ispell-init-process)
746         (ispell-start-process, ispell-internal-change-dictionary):
747         Make sure personal dictionary name is expanded after initial
748         `default-directory' value. Use expanded strings for
749         keep/restart checks and for value (Bug#13019).
751 2012-12-03  Jay Belanger  <jay.p.belanger@gmail.com>
753         * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
755 2012-12-03  Leo Liu  <sdl.web@gmail.com>
757         * files.el (dir-locals-read-from-file): Check file non-empty
758         before reading.  (Bug#13038)
760 2012-12-03  Glenn Morris  <rgm@gnu.org>
762         * jka-cmpr-hook.el (jka-compr-get-compression-info):
763         Remove any version extension before checking filename.  (Bug#13006)
764         (jka-compr-compression-info-list): Belated :version bump.
766 2012-12-03  Chong Yidong  <cyd@gnu.org>
768         * simple.el (transient-mark-mode): Doc fix (Bug#11523).
770         * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
771         (buffer-menu): Doc fix (Bug#12294).
773 2012-12-03  Roland Winkler  <winkler@gnu.org>
775         * calendar/diary-lib.el (diary-header-line-format): Use keybinding
776         of diary-show-all-entries in the diary buffer (Bug#12994).
778 2012-12-03  Michael Albinus  <michael.albinus@gmx.de>
780         * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
781         "<STDIN>".  This is binary safe.
783 2012-12-03  Jay Belanger  <jay.p.belanger@gmail.com>
785         * calc/calc-forms.el (math-absolute-from-iso-dt)
786         (math-date-to-iso-dt, math-parse-iso-date-validate)
787         (math-iso-dt-to-date): New functions.
788         (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
789         (math-fd-isoweekday): New variables.
790         (calc-date-notation, math-parse-standard-date, math-format-date)
791         (math-format-date-part): Add support for more formatting codes.
793 2012-12-02  Dmitry Gutov  <dgutov@yandex.ru>
795         * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
796         current buffer's file name when called interactively (Bug#12488).
798 2012-12-02  Juri Linkov  <juri@jurta.org>
800         * info.el (info-display-manual): Don't clobber an existing Info
801         buffer (Bug#10770).  Add completion (Bug#10771).
803 2012-12-01  Yuya Nishihara  <yuya@tcha.org>  (tiny change)
805         * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
806         before using it for comparison (Bug#5297).
808 2012-12-01  Jari Aalto  <jari.aalto@cante.net>
810         * textmodes/css-mode.el (css-current-defun-name): New function.
811         (css-mode): Use it.
813         * textmodes/sgml-mode.el (html-current-defun-name): New function.
814         (html-mode): Use it.
816 2012-12-01  Chong Yidong  <cyd@gnu.org>
818         Modularize add-log-current-defun (Bug#2224).
819         Suggested by Jari Aalto.
821         * vc/add-log.el (add-log-current-defun-function): Doc fix.
822         (add-log-current-defun): Move mode-specific code to other files.
823         (add-log-lisp-like-modes, add-log-c-like-modes)
824         (add-log-tex-like-modes): Variables deleted.
826         * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
827         (lisp-mode-variables): Use it.
829         * progmodes/cc-mode.el (c-common-init):
830         * progmodes/cperl-mode.el (cperl-mode): Set a value for
831         add-log-current-defun-function.
833         * progmodes/m4-mode.el (m4-current-defun-name): New function.
834         (m4-mode): Use it.
836         * progmodes/perl-mode.el (perl-current-defun-name): New.
837         (perl-mode): Use it.
839         * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
840         Use lisp-current-defun-name.
842         * textmodes/tex-mode.el (tex-current-defun-name): New.
843         (tex-common-initialization): Use it.
845         * textmodes/texinfo.el (texinfo-current-defun-name): New.
846         (texinfo-mode): Use it.
848 2012-12-01  Chong Yidong  <cyd@gnu.org>
850         * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
851         * progmodes/autoconf.el (autoconf-mode):
852         * progmodes/js.el (js-mode):
853         * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
854         (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
855         * progmodes/perl-mode.el (perl-mode):
856         * progmodes/sh-script.el (sh-mode, sh-set-shell):
857         * textmodes/css-mode.el (css-mode):
858         * textmodes/sgml-mode.el (html-mode, sgml-mode)
859         (sgml-tags-invisible, sgml-guess-indent):
860         * textmodes/tex-mode.el (tex-common-initialization)
861         (latex-complete-bibtex-keys, tex-shell, tex-main-file)
862         (doctex-mode, plain-tex-mode, latex-mode):
863         * textmodes/texinfo.el (texinfo-mode): Use setq-local.
865 2012-12-01  Kirk Kelsey  <kirk.kelsey@0x4b.net>
867         * vc/vc-hg.el (vc-hg-next-revision):
868         Ensure use of default "tip" output format.  (Bug#6968)
870 2012-12-01  Kim F. Storm  <storm@cua.dk>
872         * startup.el (fancy-startup-tail): Add a clickable link
873         (Bug#2176).
875 2012-12-01  Chong Yidong  <cyd@gnu.org>
877         * startup.el (fancy-startup-tail): Improve the message about
878         auto-save files (Bug#2176).
880         * files.el (recover-session): Improve the descriptive message, and
881         use substitute-command-keys.
883 2012-12-01  Glenn Morris  <rgm@gnu.org>
885         * ido.el (ido-file-internal):
886         Handle other-window, other-frame for dired.  (Bug#13036)
888 2012-11-30  Glenn Morris  <rgm@gnu.org>
890         * icomplete.el (icomplete-separator): Fix :version.
892 2012-11-30  Chong Yidong  <cyd@gnu.org>
894         * shell.el (shell): For C-u M-x shell, use an inactive shell
895         buffer as the default (Bug#1975).
896         (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
897         (shell-mode): Use them to reapply ansi colorization if Shell mode
898         is re-enabled.
900 2012-11-30  Yuriy Vostrikov  <delamonpansie@gmail.com>  (tiny change)
902         * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
904 2012-11-30  Samuel Bronson  <naesten@gmail.com>
906         * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
907         flag to xargs, for compatibility with BSD xargs (Bug#11703).
909 2012-11-30  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
911         * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
912         by move-to-column (Bug#3234).
914 2012-11-30  Chong Yidong  <cyd@gnu.org>
916         * longlines.el (longlines-wrap-line, longlines-encode-region):
917         Preserve text properties (Bug#1425).
919 2012-11-30  OKAZAKI Tetsurou  <okazaki.tetsurou@gmail.com>  (tiny change)
921         * vc/vc.el (vc-register): Allow registering a file which is
922         already registered with a different backend (Bug#10589).
924 2012-11-29  Jambunathan K  <kjambunathan@gmail.com>
925             Stefan Monnier  <monnier@iro.umontreal.ca>
927         * icomplete.el: Change separator; add ido-style commands.
928         (icomplete-show-key-bindings): Remove custom var.
929         (icomplete-get-keys): Remove function.
930         (icomplete-forward-completions, icomplete-backward-completions):
931         New commands.
932         (icomplete-minibuffer-map): New var.
933         (icomplete-minibuffer-setup): Use it.
934         (icomplete-exhibit): Don't delay if the list of completions is known.
935         (icomplete-separator): New custom.
936         (icomplete-completions): Use it.
937         * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
938         (minibuffer-force-complete-and-exit): New command.
939         (minibuffer--complete-and-exit): New function extracted from
940         minibuffer-complete-and-exit.
941         (minibuffer-complete-and-exit): Use it.
943         * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
944         error message when the file doesn't exist (bug#12974).
946 2012-11-29  Kelly Dean  <kellydeanch@yahoo.com>  (tiny change)
948         * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
950 2012-11-29  Glenn Morris  <rgm@gnu.org>
952         * files.el (hack-dir-local-variables): Warn if try to set
953         coding via dir-locals, since it doesn't work.  (Bug#7169)
955         Add desktop support for restoring vc-dir buffers.  (Bug#10606)
956         * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
957         Set buffer-local value of desktop-save-buffer.
958         (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
959         New functions.
960         (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
961         * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
963         * files.el (inhibit-local-variables-ignore-case): New.  (Bug#10610)
964         (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
965         Doc fix.
966         (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
967         Doc fixes.
969 2012-11-28  Jay Belanger  <jay.p.belanger@gmail.com>
971         * calc/calc-forms.el (calc-date-notation): Fix regexp
972         used to find time codes.  Fix symbol for seconds.
974 2012-11-27  Glenn Morris  <rgm@gnu.org>
976         * emacs-lisp/derived.el (derived-mode-make-docstring):
977         Don't mention "abbrev" or "syntax" if nil.  (Bug#11277)
979 2012-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
981         * textmodes/table.el (table-insert): Don't use `symbol-name' on
982         lexically scoped variables (bug#13005).
984 2012-11-27  Glenn Morris  <rgm@gnu.org>
986         * vc/vc-hooks.el (vc-mistrust-permissions):
987         Default to t, to avoid data-loss.  (Bug#11490)
989 2012-11-27  Fabián Ezequiel Gallina  <fgallina@cuca>
991         * progmodes/python.el (python-indent-guess-indent-offset):
992         If indentation is guessed make python-indent-offset buffer-local.
994         Fix Imenu regression.
995         * progmodes/python.el (python-nav-beginning-of-defun):
996         Fix forward movement when statement(s) separates point from defun.
997         (python-imenu-prev-index-position): New function.
999 2012-11-27  Eli Zaretskii  <eliz@gnu.org>
1001         * subr.el (buffer-file-type): Declare with defvar-local.  Doc fix.
1003         * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
1004         Don't set buffer-file-type.  Return nil.  (Bug#12989)
1006 2012-11-27  Glenn Morris  <rgm@gnu.org>
1008         * hippie-exp.el (hippie-expand-try-functions-list):
1009         Re-autoload it.  (Bug#12982)
1011 2012-11-27  Eli Zaretskii  <eliz@gnu.org>
1013         * descr-text.el (describe-char-padded-string):
1014         Call internal-char-font only on GUI frames.  (Bug#11964)
1016 2012-11-27  Andreas Schwab  <schwab@linux-m68k.org>
1018         * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
1019         and obsoletion message.
1021 2012-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
1023         * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
1024         the constructs to keep outside of the `cl-block' (bug#12977).
1026 2012-11-27  Chong Yidong  <cyd@gnu.org>
1028         * mouse.el (mouse-drag-line): Even if the line is not draggable,
1029         keep reading until we get the up-event anyway, in order to process
1030         the up-event for mouse-1-click-follows-link (Bug#12971).
1032 2012-11-26  Stefan Monnier  <monnier@iro.umontreal.ca>
1034         * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
1035         base function is not yet defined (bug#12965).
1036         (ad-activate-advised-definition): Use ad-compile-function.
1037         (ad-activate): Use cond.
1039 2012-11-25  Leo Liu  <sdl.web@gmail.com>
1041         * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
1042         (Bug#12979)
1044 2012-11-24  Vincent Belaïche  <vincentb1@users.sourceforge.net>
1046         * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
1047         reftex-section-info-function in order to be compatible with
1048         Texinfo integration.
1050         * textmodes/reftex.el (reftex-section-pre-regexp)
1051         (reftex-section-post-regexp, reftex-section-info-function):
1052         New variable.
1053         (reftex-compile-variables): Use variables reftex-section-pre-regexp,
1054         reftex-section-post-regexp, and reftex-section-info-function in order
1055         to be compatible with Texinfo integration.
1057         * textmodes/reftex-toc.el (reftex-toc-promote-action):
1058         use reftex-section-pre-regexp variable in order to be compatible with
1059         Texinfo integration.
1061 2012-11-25  Chong Yidong  <cyd@gnu.org>
1063         * faces.el: Make face-spec-set more analogous to setq.
1064         (face-spec-set): Change the third arg to specify whether this
1065         function is being called via defface, customize, or a third party.
1066         Set the appropriate symbol properties.  Clear the override spec if
1067         setting via Custom.  Initialize face if necessary.  (Bug#4988)
1068         (face-spec-recalc): Allow theme faces to completely replace the
1069         defface spec, in the same way as custom faces (Bug#8454).
1071         * cus-face.el (custom-declare-face): Move face initialization to
1072         face-spec-set.
1073         (custom-theme-set-faces): Don't initialize the face name here, as
1074         that is now done in face-spec-set.
1076         * cus-edit.el (custom-face-set, custom-face-mark-to-save)
1077         (custom-face-reset-saved, custom-face-mark-to-reset-standard):
1078         Simplify by using the new arg to face-spec-set.
1080         * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
1081         reset face-override-spec too, and use custom-declare-face.
1083 2012-11-24  Jan Djärv  <jan.h.d@swipnet.se>
1085         * term/ns-win.el (ns-initialize-window-system): Move creation of
1086         fontsets here (Bug#11964).
1088 2012-11-24  Vincent Belaïche  <vincentb1@users.sourceforge.net>
1090         * ses.el (ses-rename-cell): Correct bug on mode-line update after
1091         cell renaming.
1093 2012-11-24  Chong Yidong  <cyd@gnu.org>
1095         * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
1096         obsolete.
1098         * custom.el (custom-theme-set-variables): Use a topological sort
1099         for ordering by custom dependencies (Bug#12952).
1100         (custom--sort-vars, custom--sort-vars-1): New functions.
1102 2012-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
1104         * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
1105         lexical-binding (bug#12938).
1107 2012-11-24  Wolfgang Jenkner  <wjenkner@inode.at>
1109         * image-mode.el (image-transform-check-size): Use assertions only
1110         for images of type imagemagick.
1112         Otherwise no error, image-transform-fit-to-{width,height} is
1113         silently ignored, as before.  Doc fix.
1115 2012-11-24  Chong Yidong  <cyd@gnu.org>
1117         * faces.el (color-defined-p): Doc fix (Bug#12853).
1119 2012-11-24  Juri Linkov  <juri@jurta.org>
1121         * dired.el (dired-mark): Add optional arg `interactive'.
1122         Check for `use-region-p' if `interactive' is non-nil.
1123         (dired-unmark, dired-flag-file-deletion): Add optional arg
1124         `interactive'.  Call `dired-mark' with the arg `interactive'.
1125         (Bug#10624)
1127         * wdired.el: Revert 2012-10-17 change partly and replace it with
1128         Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
1129         (wdired-finish-edit): Add marks for new file names to
1130         `wdired-old-marks'.  Restore marks using `dired-mark-remembered'
1131         after `revert-buffer'.
1132         (wdired-do-renames): Remove calls to `dired-remove-file',
1133         `dired-add-file', `dired-add-entry'.  (Bug#11795)
1135 2012-11-24  Alan Mackenzie  <acm@muc.de>
1137         * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
1139         Fix bugs in the state cache.  Enhance a debugging mechanism.
1140         * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
1141         "brace at column zero" strategy for C++.
1142         (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
1143         (c-parse-state-point): New variable.
1144         (c-record-parse-state-state): Record old parse state with
1145         `copy-tree'.  Record previous value of point.
1146         (c-debug-parse-state-double-cons): New debugging function.
1147         (c-debug-parse-state): Call the above new function.
1148         (c-toggle-parse-state-debug): Output a confirmatory message.
1150         * progmodes/cc-mode.el (c-before-change, c-after-change):
1151         Call c-invalidate-state-cache from `c-before-change' instead of
1152         `c-after-change'.
1154 2012-11-23  Chong Yidong  <cyd@gnu.org>
1156         * find-cmd.el (find-constituents): Add executable, ipath,
1157         readable, samefile, writable, daystart, regextype (Bug#12856).
1159 2012-11-23  Stefan Monnier  <monnier@iro.umontreal.ca>
1161         * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
1163 2012-11-22  Paul Eggert  <eggert@cs.ucla.edu>
1165         * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
1166         definition.  This fixes a bootstrap failure.
1167         (calc-gregorian-switch): In menu, put dates before regions.
1168         This is easier to follow, lines up better in the menu, and lets us
1169         coalesce regions that switch at the same time.  Give country
1170         names, not "Vatican", as that's better for non-expert users.
1171         Use names that are stable between the date of switch and now, e.g.,
1172         Bohemia and Moravia (which existed then and now) and not
1173         Czechoslovakia (which didn't exist then and doesn't exist now).
1174         What is now the U.S. mostly did not switch at the same time as
1175         Britain, so omit the U.S.  Correct spelling of "Britain".
1176         Catholic Switzerland was too much of a mess, so omit it.
1178 2012-11-22  Jay Belanger  <jay.p.belanger@gmail.com>
1180         * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
1181         after the variable is changed.
1183 2012-11-21  Daniel Colascione  <dancol@dancol.org>
1185         * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
1186         in SQL declarations for font-lock.
1187         (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
1189 2012-11-21  Glenn Morris  <rgm@gnu.org>
1191         * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
1192         (face-italic-p): Add optional argument "inherit".
1194         * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
1195         Remove -p suffix from names, for consistency with other set-face-*.
1196         (set-face-inverse-video): Fix interactive spec.
1197         * play/gamegrid.el (gamegrid-make-mono-tty-face):
1198         * textmodes/table.el (table--update-cell-face):
1199         Use set-face-inverse-video rather than now obsolete alias.
1201 2012-11-21  Eli Zaretskii  <eliz@gnu.org>
1203         * simple.el (line-move): Don't call line-move-partial if
1204         scroll-conservatively is in effect.  (Bug#12927)
1206 2012-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
1208         * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
1209         Fallback on completion-at-point rather than
1210         pcomplete-expand-and-complete, and only if pcomplete actually failed.
1211         (eshell-cmpl-initialize): Setup completion-at-point.
1213         * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
1215         * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
1217 2012-11-21  Michael Albinus  <michael.albinus@gmx.de>
1219         * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
1220         are remote, check out-of-band property for both.
1222 2012-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
1224         * window.el (switch-to-buffer): Re-add the warning that was lost in the
1225         code rewrite.
1227 2012-11-21  Paul Eggert  <eggert@cs.ucla.edu>
1229         More minor time fixes.
1230         * calendar/time-date.el: Commentary fix.
1231         * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
1232         too much other code depends on (0 0) time stamps.
1233         * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
1234         Add a couple of FIXME comments.
1236         Minor cleanup for times as lists of four integers.
1237         * files.el (dir-locals-directory-cache):
1238         * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
1239         Doc fixes.
1240         * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
1241         * ps-bdf.el (bdf-file-newer-than-time):
1242         Process four-integers time stamps, not two.  Doc fixes.
1244 2012-11-20  Stefan Monnier  <monnier@iro.umontreal.ca>
1246         * uniquify.el (uniquify-managed): Use defvar-local.
1247         (rename-buffer, create-file-buffer): Advise with advice-add.
1248         (uniquify-unload-function): Unadvise accordingly.
1250         * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
1251         (trace-buffer): Don't purecopy.
1252         (trace-entry-message, trace-exit-message): Add `context' arg.
1253         (trace--timer): New var.
1254         (trace-make-advice): Adjust for use in nadvice.
1255         Add `context' argument.  Delay `display-buffer' via a timer.
1256         (trace-function-internal): Use advice-add.
1257         (trace--read-args): New function.
1258         (trace-function-foreground, trace-function-background): Use it.
1259         (trace-function): Rename to trace-function-foreground and redefine as
1260         an alias to that new name.
1261         (untrace-function, untrace-all): Adjust to the use of nadvice.
1263         * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
1265         * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
1267         * subr.el (called-interactively-p-functions): New var.
1268         (internal--called-interactively-p--get-frame): New macro.
1269         (called-interactively-p, interactive-p): Rewrite in Lisp.
1270         * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
1271         (called-interactively-p-functions): Use it.
1272         * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
1273         (called-interactively-p-functions): Use it.
1274         * allout.el (allout-called-interactively-p): Don't assume
1275         called-interactively-p is a subr.
1277 2012-11-20  Glenn Morris  <rgm@gnu.org>
1279         * profiler.el (profiler-report-mode-map): Add a menu.
1280         No need to bind `q' because we derive from special-mode.
1281         (profiler-report-find-entry): Handle calls from the menu-bar.
1283 2012-11-19  Stefan Monnier  <monnier@iro.umontreal.ca>
1285         * emacs-lisp/byte-run.el (defun-declarations-alist):
1286         Allow a compiler-macro to be a lambda expression.
1288         * progmodes/python.el: Use cl-lib.  Move var declarations outside of
1289         eval-when-compile.
1290         (python-syntax-context): Add compiler-macro.
1291         (python-font-lock-keywords): Simplify with De Morgan.
1293         * vc/diff-mode.el (diff-hunk): Don't make useless timers.
1295         * files.el (load-file): Require match in minibuffer selection, as was
1296         the case in Emacs-20 before we changed the spec to allow .elc files
1297         (bug#12935).
1299         * json.el: Don't require cl since we don't use it.
1300         * color.el: Don't require cl.
1301         (color-complement): `caddr' -> `nth 2'.
1303         * calendar/time-date.el (time-to-seconds): De-obsolete.
1305 2012-11-19  Jay Belanger  <jay.p.belanger@gmail.com>
1307         * calc/calc-forms.el (math-leap-year-p):  Fix formula for negative
1308         year numbers.
1309         (math-date-to-julian-dt): Adjust the initial approximation for the
1310         year to deal with the new definition of the DATE.
1312 2012-11-19  Daniel Colascione  <dancol@dancol.org>
1314         * term/w32-win.el (cygwin-convert-path-from-windows):
1315         Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
1317 2012-11-18  Chong Yidong  <cyd@gnu.org>
1319         * filecache.el (file-cache--read-list): New function.
1320         (file-cache-add-directory-list, file-cache-add-file-list)
1321         (file-cache-delete-file-list, file-cache-delete-directory-list):
1322         Use it to read a list of files or directories (Bug#12846).
1323         (file-cache-add-file, file-cache-add-directory)
1324         (file-cache-delete-file-list, file-cache-delete-file-regexp)
1325         (file-cache-delete-directory): Print an message.
1327 2012-11-18  Jay Belanger  <jay.p.belanger@gmail.com>
1329         * calc/calc-forms.el (math-date-to-dt): Use integer date when
1330         calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
1332 2012-11-18  Glenn Morris  <rgm@gnu.org>
1334         * image.el (insert-image, insert-sliced-image): Doc fix.
1336 2012-11-18  Chong Yidong  <cyd@gnu.org>
1338         * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
1339         (Bug#12810).
1341 2012-11-18  OKAZAKI Tetsurou  <okazaki.tetsurou@gmail.com>  (tiny change)
1343         * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
1344         response when the target file is in a subdirectory (Bug#12757).
1346 2012-11-18  Chong Yidong  <cyd@gnu.org>
1348         * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
1350 2012-11-18  Glenn Morris  <rgm@gnu.org>
1352         * emacs-lisp/cl-lib.el (face-underline-p):
1353         Use set-face-underline rather than the alias set-face-underline-p.
1355         * window.el (with-temp-buffer-window): Doc fix.
1356         * subr.el (with-output-to-temp-buffer):
1357         Add doc xref to with-temp-buffer-window.
1359 2012-11-18  Juanma Barranquero  <lekktu@gmail.com>
1361         * woman.el (woman-non-underline-faces): Use `set-face-underline'.
1362         * calc/calc.el (math-format-date-cache): Declare.
1364 2012-11-17  Paul Eggert  <eggert@cs.ucla.edu>
1366         Calc by default uses the Gregorian calendar for all dates (Bug#12633).
1367         It also uses January 1, 1 AD as its day number 1.
1368         * calc/calc-forms.el (math-julian-date-beginning)
1369         (math-julian-date-beginning-int): Implement this.
1371 2012-11-17  Juanma Barranquero  <lekktu@gmail.com>
1373         * descr-text.el (quail-find-key):
1374         * dired.el (desktop-file-name):
1375         * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
1376         * generic-x.el (comint-mode, comint-exec):
1377         * image-dired.el (widget-forward):
1378         * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
1379         (speedbar-change-expand-button-char)
1380         (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
1381         (speedbar-make-specialized-keymap, speedbar-make-tag-line):
1382         * printing.el (easy-menu-add-item, easy-menu-remove-item)
1383         (widget-field-action, widget-value-set):
1384         * speedbar.el (imenu--make-index-alist):
1385         * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
1386         (ring-length, ring-insert):
1387         * vcursor.el (compare-windows-skip-whitespace):
1388         * woman.el (dired-get-filename):
1389         Declare functions.
1391         * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
1393 2012-11-17  Jay Belanger  <jay.p.belanger@gmail.com>
1395         * calc/calc.el (calc-gregorian-switch): New variable.
1397         * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
1398         (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
1399         (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
1400         (math-leap-year-p): Add option to distinguish between Julian
1401         and Gregorian calendars.
1402         (math-day-number): Use `math-day-in-year' to do the computations.
1403         (math-absolute-from-dt): Rename from `math-absolute-from-date'.
1404         Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
1405         to do the computations.
1406         (math-date-to-dt): Use `math-date-to-julian-dt' and
1407         `math-date-to-gregorian-dt' to do the computations.
1408         (calcFunc-weekday, math-format-date-part): Use the new version of
1409         the DATE to determine the weekday.
1410         (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
1411         when necessary.
1413 2012-11-17  Eli Zaretskii  <eliz@gnu.org>
1415         * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
1416         Cygwin; otherwise use 'file:'.  (Bug#12914)
1417         (cygwin-convert-path-from-windows): Declare, to avoid
1418         byte-compiler warnings.
1420 2012-11-17  Andreas Politz  <politza@fh-trier.de>
1422         * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
1423         (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
1424         prefix and negative numeric prefix args (Bug#12795).
1426 2012-11-17  Stephen Berman  <stephen.berman@gmx.net>
1428         * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
1429         Don't signal an error with a score that is too low to add to the
1430         list of top scores. (Bug#12779)
1432 2012-11-17  Chong Yidong  <cyd@gnu.org>
1434         * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
1436         * filecache.el (file-cache-add-file): Handle relative file name in
1437         the argument (Bug#12694).
1439 2012-11-16  Jürgen Hötzel  <juergen@archlinux.org>  (tiny change)
1441         * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
1443 2012-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
1445         * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
1447         * emacs-lisp/cl-lib.el: Set more meaningful version number.
1449 2012-11-16  Martin Rudalics  <rudalics@gmx.at>
1451         * window.el (enlarge-window, shrink-window): Don't mention return
1452         value in doc-string (Bug#12896).
1453         (window--display-buffer): Don't resize frames - it won't work
1454         with all window managers and defeat pop-up-frame-alist.
1455         (display-buffer-alist): In doc-string explain that CONDITION can
1456         be a function and which arguments are passed to it (Bug#12854).
1457         (display-buffer-assq-regexp): New argument ACTION.  Handle lambda
1458         expressions (Bug#12854).
1459         (display-buffer): Pass ACTION argument to
1460         display-buffer-assq-regexp.
1462 2012-11-16  Glenn Morris  <rgm@gnu.org>
1464         * window.el (fit-frame-to-buffer-bottom-margin)
1465         (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
1467         * faces.el (face-underline-p): Use face-attribute-specified-or.
1469 2012-11-16  Juanma Barranquero  <lekktu@gmail.com>
1471         * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
1473 2012-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
1475         * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
1477 2012-11-16  Glenn Morris  <rgm@gnu.org>
1479         * eshell/em-cmpl.el (eshell-pcomplete): New command.  (Bug#12838)
1480         (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
1482         * faces.el (face-underline-p): Doc fix.  Handle :underline being
1483         things other than `t' (a string, a list).
1484         (face-inverse-video-p): Doc fix.
1485         (set-face-underline): Rename it back from set-face-underline-p.
1486         Doc fix.  Allow interactive input of values other than t.
1487         (read-face-attribute): Apply formatting to :underline,
1488         since like :box and :stipple it can take list values.
1490         * term.el (ansi-term): Don't let C-x escape-char binding
1491         clobber the more standard C-c binding.  (Bug#12842)
1493         * subr.el (set-temporary-overlay-map): Doc fix.
1495 2012-11-16  Martin Rudalics  <rudalics@gmx.at>
1497         * window.el (record-window-buffer)
1498         (display-buffer-record-window): When copying the markers to
1499         window-point preserve window-point-insertion-type. (Bug#12588)
1501 2012-11-16  Glenn Morris  <rgm@gnu.org>
1503         * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
1504         * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
1505         Use new names for hooks rather than obsolete aliases.
1507 2012-11-15  Daniel Colascione  <dancol@dancol.org>
1509         * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
1510         prefix instead of "file:" so that when FILE-NAME begins with "//",
1511         as it does when the target file is on a network share, url-handler
1512         isn't confused.
1514 2012-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>
1516         * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
1517         a preactivated advice from an old advice.el; they're not compatible!
1519 2012-11-15  Katsumi Yamaoka  <yamaoka@jpl.org>
1521         * emacs-lisp/nadvice.el (advice--make-interactive-form):
1522         Fix string-spec case.
1524         * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
1526 2012-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>
1528         * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
1529         (advice--buffer-local-function-sample): New var.
1530         (advice--set-buffer-local, advice--buffer-local): New functions.
1531         (add-function, remove-function): Use them.
1533 2012-11-15  Drew Adams  <drew.adams@oracle.com>
1535         * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
1537 2012-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>
1539         * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
1540         potential binding of print-gensym to t, and prettify (back)quotes in
1541         case they appear in args's default values (bug#12884).
1543 2012-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
1545         * emacs-lisp/nadvice.el: Add around advice for interactive specs.
1546         (advice-eval-interactive-spec): New function.
1547         (advice--make-interactive-form): Support around advice (bug#12844).
1549 2012-11-14  Dmitry Gutov  <dgutov@yandex.ru>
1551         * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
1552         more strict.  Add docstring.
1553         (ruby-expression-expansion-re): Extract from
1554         `ruby-match-expression-expansion'.
1555         (ruby-syntax-propertize-function): After everything else, search
1556         for expansions in string literals, mark their insides as
1557         whitespace syntax and save match data for font-lock.
1558         (ruby-font-lock-keywords): Use the 2nd group from expression
1559         expansion matches.
1560         (ruby-match-expression-expansion): Use the match data saved to the
1561         text property in ruby-syntax-propertize-function.
1563 2012-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
1565         * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
1566         (bug#12879).
1568 2012-11-13  Dmitry Gutov  <dgutov@yandex.ru>
1570         * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
1571         start/end keyword a bit harder.  Works with different values of N.
1572         Add more comments.
1573         (ruby-end-of-block): Update accordingly.
1575 2012-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
1577         * woman.el (woman-file-name): Don't mess with unread-command-events
1578         (bug#12861).
1580         * emacs-lisp/advice.el: Layer on top of nadvice.el.
1581         Remove out of date self-require hack.
1582         (ad-do-advised-functions): Use simple `dolist'.
1583         (ad-advice-name, ad-advice-protected, ad-advice-enabled)
1584         (ad-advice-definition): Redefine as functions.
1585         (ad-advice-classes): Move before first use.
1586         (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
1587         (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
1588         (ad--defalias-fset): Remove functions.
1589         (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
1590         (ad-get-orig-definition): Rewrite.
1591         (ad-make-advised-definition-docstring): Change base docstring.
1592         (ad-real-orig-definition): Rewrite.
1593         (ad-map-arglists): Change name of called function.
1594         (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
1595         (ad-make-advised-definition): Simplify.
1596         (ad-assemble-advised-definition): Tweak for new calling context.
1597         (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
1598         (ad--defalias-fset): Rename from ad-handle-definition.  Make it set the
1599         function and call ad-activate if needed.
1600         (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
1601         (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
1602         (ad-compile-function): Compile ad-Advice-*.
1603         (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
1604         (ad-start-advice, ad-stop-advice): Remove.
1606 2012-11-13  Dmitry Gutov  <dgutov@yandex.ru>
1608         * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
1609         period before class method names, not after.  Remove handling of
1610         one impossible case.  Add comments.
1612 2012-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
1614         * emacs-lisp/advice.el: Remove support for freezing.
1615         (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
1616         (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
1617         Remove support for `freeze'.
1619         * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
1620         override the default.
1621         * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
1622         cl--dotimes/dolist.
1623         * subr.el (dolist, dotimes, declare): Redefine them normally, even when
1624         `cl' is loaded.
1626         * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
1627         from add-advice.
1628         (advice--strip-macro): New function.
1629         (advice--defalias-fset): Use them to handle macros.
1630         (advice-add): Use them.
1631         (advice-member-p): Correctly handle macros.
1633 2012-11-13  Dmitry Gutov  <dgutov@yandex.ru>
1635         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1636         Never font-lock the beginning of singleton class as heredoc.
1638 2012-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
1640         * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
1642 2012-11-13  Wolfgang Jenkner  <wjenkner@inode.at>
1644         * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
1645         39 and 49 (bug#12792).  Also, treat unimplemented parameters as 0,
1646         thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
1648 2012-11-13  Fabián Ezequiel Gallina  <fgallina@cuca>
1650         Fix end-of-defun misbehavior.
1651         * progmodes/python.el (python-nav-beginning-of-defun): Rename from
1652         python-beginning-of-defun-function.  Handle nested defuns
1653         correctly.
1654         (python-nav-end-of-defun): Rename from
1655         python-end-of-defun-function.  Ensure forward movement.
1656         (python-info-current-defun): Reimplement to work as intended
1657         with new fixed python-nav-{end,beginning}-of-defun.  Stop scanning
1658         parent defuns as soon as possible.
1660 2012-11-13  Glenn Morris  <rgm@gnu.org>
1662         * progmodes/flymake.el (flymake-error-bitmap)
1663         (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
1664         (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
1666 2012-11-13  Dmitry Gutov  <dgutov@yandex.ru>
1668         * progmodes/ruby-mode.el (ruby-move-to-block): When moving
1669         backward, always stop at indentation.  Reverts the change from
1670         2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
1672 2012-11-13  Glenn Morris  <rgm@gnu.org>
1674         * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
1675         Add ibuffer-filter-by-derived-mode.
1677         * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
1678         the same name shadowing each other.
1680         * window.el (with-temp-buffer-window): Doc tweak.
1682         * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
1684         * help.el (temp-buffer-max-height):
1685         * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
1686         * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
1688 2012-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
1690         * emacs-lisp/nadvice.el: New package.
1691         * subr.el (special-form-p): New function.
1692         * emacs-lisp/elp.el: Use lexical-binding and advice-add.
1693         (elp-all-instrumented-list): Remove var.
1694         (elp-not-profilable): Remove elp-wrapper.
1695         (elp-profilable-p): Use autoloadp and special-form-p.
1696         (elp--advice-name): New const.
1697         (elp-instrument-function): Use advice-add.
1698         (elp--instrumented-p): New predicate.
1699         (elp-restore-function): Use advice-remove.
1700         (elp-restore-all, elp-reset-all): Use mapatoms.
1701         (elp-set-master): Use elp--instrumented-p.
1702         (elp--make-wrapper): Rename from elp-wrapper, return a function
1703         suitable for advice-add.  Use cl-inf.
1704         (elp-results): Use mapatoms+elp--instrumented-p.
1705         * emacs-lisp/debug.el: Use lexical-binding and advice-add.
1706         (debug-function-list): Remove var.
1707         (debug): Rename arg, and then let-bind it explicitly inside.
1708         (debugger-setup-buffer): Rename arg.
1709         (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
1710         (debugger-frame-number): Adjust to new debug-on-entry setup.
1711         (debug--implement-debug-on-entry): Rename from
1712         implement-debug-on-entry, add argument.
1713         (debugger-special-form-p): Remove, use special-form-p instead.
1714         (debug-on-entry): Use advice-add.
1715         (debug--function-list): New function.
1716         (cancel-debug-on-entry): Use it, along with advice-remove.
1717         (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
1718         (debugger-list-functions): Use debug--function-list instead of
1719         debug-function-list.
1720         * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
1721         (ad-special-form-p): Remove, use special-form-p instead.
1722         (ad-set-advice-info): Use add-function and remove-function.
1723         (ad--defalias-fset): Adjust accordingly.
1725 2012-11-10  Glenn Morris  <rgm@gnu.org>
1727         * mail/emacsbug.el (report-emacs-bug-tracker-url)
1728         (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
1729         (report-emacs-bug-create-existing-bugs-buffer)
1730         (report-emacs-bug-parse-query-results)
1731         (report-emacs-bug-query-existing-bugs): Remove.  (Bug#7449)
1733         * term.el (term-default-fg-color, term-default-bg-color):
1734         Make obsolete, rather than just saying "deprecated" in the doc.
1736         * term.el (term): Rename from `term-face'.
1737         (term-current-face, ansi-term-color-vector)
1738         (term-default-fg-color, term-default-bg-color, term-ansi-reset):
1739         Update all users.
1741 2012-11-10  Jan Djärv  <jan.h.d@swipnet.se>
1743         * server.el (server-create-window-system-frame): Handle Nextstep
1744         specially (Bug#12780).
1746 2012-11-10  Glenn Morris  <rgm@gnu.org>
1748         * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
1749         Unautoload, and make obsolete.  (Bug#7449)
1751 2012-11-10  Chong Yidong  <cyd@gnu.org>
1753         * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
1754         rename from diff-remove-trailing-whitespace (Bug#12831).
1756 2012-11-10  Stefan Monnier  <monnier@iro.umontreal.ca>
1758         * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
1759         miscompilation of trace.el.
1761 2012-11-10  Glenn Morris  <rgm@gnu.org>
1763         * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
1765 2012-11-10  Stefan Monnier  <monnier@iro.umontreal.ca>
1767         * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
1768         (bug#12812).
1770 2012-11-10  Chong Yidong  <cyd@gnu.org>
1772         * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
1773         a defcustom with an appropriate :set function.
1774         (minibuffer-default--in-prompt-regexps): New function.
1776 2012-11-10  Glenn Morris  <rgm@gnu.org>
1778         * emacs-lisp/cl.el (define-setf-expander, defsetf)
1779         (define-modify-macro): Doc fixes.
1781         * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
1782         (gv-define-simple-setter): Update doc of `fix-return'.
1784 2012-11-10  Stefan Monnier  <monnier@iro.umontreal.ca>
1786         * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
1787         twice when `fix-return' is set (bug#12813).
1789         * emacs-lisp/cl.el (defsetf): Pass the third arg to
1790         gv-define-simple-setter (bug#12812).
1792         * woman.el (woman-decode-region): Disable adaptive-fill when rendering
1793         (bug#12756).
1795 2012-11-10  Glenn Morris  <rgm@gnu.org>
1797         * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
1799         * emacs-lisp/cl-extra.el (cl-prettyexpand):
1800         * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
1801         * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
1802         (cl-the, cl-compiler-macroexpand): Add basic doc strings.
1804         * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
1806 2012-11-10  Leo Liu  <sdl.web@gmail.com>
1808         * ido.el (ido-set-matches-1): Improve flex matching performance by
1809         removing backtracking in the regexp (suggested by Stefan).  (Bug#12796)
1811 2012-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
1813         * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
1814         (ad--defalias-fset): New function.
1815         (ad-safe-fset): Remove.
1816         (ad-make-freeze-definition): Use cl-letf*.
1818 2012-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
1820         * subr.el (dolist): Don't bind VAR in RESULT.
1822         * emacs-lisp/advice.el: Miscellaneous cleanup.  Use lexical-binding.
1823         (fset, documentation): Don't save real def since we don't advise.
1824         (ad-do-advised-functions): Remove problematic `result-form'.
1825         (ad-safe-fset): `ad-real-fset' => `fset'.
1826         (ad-read-advised-function): Don't assume that ad-do-advised-functions
1827         uses CL's dolist internally.
1828         (ad-arglist): Remove unused arg `name'.
1829         (ad-docstring, ad-make-advised-docstring):
1830         `ad-real-documentation' => `documentation'.
1831         (warning-suppress-types): Declare.
1832         (ad-set-arguments): Simple CSE.
1833         (ad-recover-normality): Sanity check.
1835         * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
1836         (funcall '(lambda ..) ..) into ((lambda ..) ..).
1838 2012-11-09  Vincent Belaïche  <vincentb1@users.sourceforge.net>
1840         * ses.el: symbol to coordinate mapping is made by symbol property
1841         `ses-cell'.  This means that the same mapping is done for all SES
1842         sheets.  That is good enough for cells with standard A1 names, but
1843         not for named cell.  So a hash map is added for the latter.
1844         (defconst ses-localvars): Add local variable ses--named-cell-hashmap
1845         (ses-sym-rowcol): Use hashmap for named cell.
1846         (ses-is-cell-sym-p): New defun.
1847         (ses-decode-cell-symbol): New defun.
1848         (ses-create-cell-variable): Add cell to hashmap when name is not
1849         A1-like.
1850         (ses-rename-cell): Check that cell new name is not already in
1851         spreadsheet with the use of ses-is-cell-sym-p
1852         (ses-rename-cell): Use hash map for named cells, but accept also
1853         renaming back to A1-like.
1855 2012-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
1857         * emacs-lisp/advice.el: Use new dynamic docstrings.
1858         (ad-make-advised-definition-docstring, ad-advised-definition-p):
1859         Use dynamic-docstring-function instead of ad-advice-info.
1860         (ad--make-advised-docstring): New function extracted from
1861         ad-make-advised-docstring.
1862         (ad-make-advised-docstring): Use it.
1863         * progmodes/sql.el (sql--make-help-docstring): New function, extracted
1864         from sql-help.
1865         (sql-help): Use it with dynamic-docstring-function.
1867         * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
1869 2012-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1871         * files.el (hack-one-local-variable--obsolete): New function.
1872         (hack-one-local-variable): Use it for obsolete settings.
1874         * subr.el (locate-user-emacs-file): If both old and new name exist, use
1875         the new name.
1877         * progmodes/js.el (js--filling-paragraph): New var.
1878         (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
1879         (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
1880         less sneaky.
1882 2012-11-08  Julien Danjou  <julien@danjou.info>
1884         * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
1885         `auto-mode-alist' (Bug#12835).
1887 2012-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1889         * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
1890         (perl--prettify-symbols-alist): New const.
1891         (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
1892         New functions.
1893         (perl-font-lock-keywords-2): Use them.
1894         (perl-electric-noindent-p): New function.
1895         (perl-mode): Use it to set up electric-indent-mode.
1896         (perl-electric-terminator, perl-indent-command): Mark obsolete.
1897         (perl-mode-map): Remove bindings for them.
1898         (perl-imenu-generic-expression, perl-outline-level):
1899         Match functions&packages in column>0.
1901         * env.el (env--substitute-vars-regexp): New const.
1902         (substitute-env-vars): Use it.  Add `only-defined' arg.
1903         * net/tramp.el (tramp-replace-environment-variables): Use it.
1905         * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
1906         Byte-compile *before* eval in eval-and-compile.
1907         (byte-compile-log-warning): Remove redundant inhibit-read-only.
1908         (byte-compile-file-form-autoload): Don't hide actual definition.
1909         (byte-compile-maybe-guarded): Accept `functionp' as well.
1911         * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
1913 2012-11-07  Michael Albinus  <michael.albinus@gmx.de>
1915         * notifications.el (notifications-get-server-information-method):
1916         New defconst.
1917         (notifications-get-capabilities): Fix docstring.
1918         (notifications-get-server-information): New defun.
1920 2012-11-06  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
1922         * textmodes/ispell.el (ispell-region): Standard re-indent for better
1923         readability.
1925         * textmodes/ispell.el: Experimental support for support debugging.
1926         (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
1927         buffer for ispell.
1928         (ispell-print-if-debug): New function to print stuff to
1929         `ispell-debug-buffer' if debugging is enabled.
1930         (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
1931         show some debugging info.
1932         (ispell-buffer-with-debug): New function that creates a debugging
1933         buffer and calls `ispell-buffer' with debugging enabled.
1935         * textmodes/ispell.el (ispell-region): Do not prefix sent string by
1936         comment in autoconf mode. (Bug#12768)
1938 2012-11-06  Dmitry Antipov  <dmantipov@yandex.ru>
1940         * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
1941         frame-first-window, frame-root-window, frame-selected-window,
1942         minibuffer-selected-window, minibuffer-window,
1943         window-absolute-pixel-edges, window-at, window-body-height,
1944         window-body-width, window-display-table, window-combination-limit,
1945         window-frame, window-fringes, window-inside-absolute-pixel-edges,
1946         window-inside-edges, window-inside-pixel-edges, window-left-child,
1947         window-left-column, window-margins, window-next-buffers,
1948         window-next-sibling, window-new-normal, window-new-total,
1949         window-normal-size, window-parameter, window-parameters, window-parent,
1950         window-pixel-edges, window-point, window-prev-buffers,
1951         window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
1952         window-start, window-text-height, window-top-child, window-top-line,
1953         window-total-height, window-total-width and window-use-time to the list
1954         of functions without side-effects.
1955         (toplevel): Add window-valid-p to the list of error-free functions
1956         without side-effects.
1958 2012-11-05  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
1960         * textmodes/ispell.el (ispell-program-name):
1961         Update spellchecker parameters when customized.
1963 2012-11-04  Glenn Morris  <rgm@gnu.org>
1965         * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn.  (Bug#7850)
1967 2012-11-04  Chong Yidong  <cyd@gnu.org>
1969         * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
1970         same-window-* variables.
1972 2012-11-04  Juri Linkov  <juri@jurta.org>
1974         * isearch.el (isearch-help-for-help, isearch-describe-bindings)
1975         (isearch-describe-key, isearch-describe-mode): Use a display
1976         action instead of binding same-window-* variables (Bug#10040).
1978 2012-11-03  Glenn Morris  <rgm@gnu.org>
1980         * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
1981         Rename handler properties back from cl-- to cl-.  (Bug#12788)
1983         * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
1985 2012-11-03  Eli Zaretskii  <eliz@gnu.org>
1987         * term/pc-win.el: Don't load term/internal from here.
1989         * loadup.el: Load term/internal from here.
1991 2012-11-03  Fabián Ezequiel Gallina  <fgallina@cuca>
1993         * progmodes/python.el (inferior-python-mode): Fix hang in
1994         jit-lock (Bug#12645).
1996 2012-11-03  Martin Rudalics  <rudalics@gmx.at>
1998         * window.el (switch-to-visible-buffer)
1999         (switch-to-buffer-preserve-window-point): Fix doc-strings.
2001 2012-11-03  Glenn Morris  <rgm@gnu.org>
2003         * emacs-lisp/cl-lib.el (cl--random-time):
2004         Rename from cl-random-time.  (Bug#12773)
2005         (cl--gensym-counter, cl--random-state): Update callers.
2006         * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
2008 2012-11-03  Chong Yidong  <cyd@gnu.org>
2010         * cus-start.el: Make cursor-type customizable (Bug#11633).
2012 2012-11-02  Glenn Morris  <rgm@gnu.org>
2014         * filecache.el: No need to load find-lisp when compiling.
2015         (find-lisp-find-files): Autoload it.
2016         (file-cache-add-directory-recursively): Don't require find-lisp.
2018         * image.el (image-type-from-file-name): Trivial simplification.
2020         * emacs-lisp/bytecomp.el (byte-compile-eval):
2021         Decouple "noruntime" and "cl-functions" warnings.
2023 2012-11-01  Stephen Berman  <stephen.berman@gmx.net>
2025         * play/gomoku.el (gomoku-display-statistics): Update mode line
2026         only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
2028 2012-10-31  Martin Rudalics  <rudalics@gmx.at>
2030         * window.el (quit-restore-window): If the window has been
2031         created on an existing frame and ended up as the sole window on
2032         that frame, do not delete it (Bug#12764).
2034 2012-10-31  Stefan Monnier  <monnier@iro.umontreal.ca>
2036         * progmodes/sh-script.el (sh--inside-noncommand-expression):
2037         Rename from sh--inside-arithmetic-expression, handle more cases
2038         (bug#11263).
2040         * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
2041         (sh-font-lock-open-heredoc): Use it (bug#12770).
2043 2012-10-30  Glenn Morris  <rgm@gnu.org>
2045         * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie.  Doc fix.
2047         * emacs-lisp/cl.el (letf): Doc fix.  (Bug#12760)
2049 2012-10-29  Chong Yidong  <cyd@gnu.org>
2051         * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
2052         function key is stored in a keyboard macro (Bug#4894).
2054         * thingatpt.el (number-at-point): Apply a thing-at-point property.
2056 2012-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
2058         * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
2059         header comments".
2060         (diff-unified->context, diff-context->unified)
2061         (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
2063         * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
2065         * files.el (find-alternate-file): Only ask one question (bug#12487).
2067 2012-10-29  Chong Yidong  <cyd@gnu.org>
2069         * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
2070         Suggested by Dan Nicolaescu (Bug#6326).
2072         * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
2074         * startup.el (fancy-about-screen): Don't message (Bug#12680).
2076         * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
2078         * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
2080         * face-remap.el (face-remap-add-relative): Handle the case where a
2081         face-remapping-alist entry is a cons cell (Bug#12762).
2083 2012-10-29  Kevin Ryde  <user42@zip.com.au>
2085         * woman.el (woman-parse-numeric-value): Handle picas correctly
2086         (Bug#12639).
2088 2012-10-29  Glenn Morris  <rgm@gnu.org>
2090         * emacs-lisp/cl.el (defsetf): Doc fix.
2092 2012-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
2094         * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
2095         syntax to the matching opener, if any (bug#12547).
2096         (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
2097         matching open as a "case-(".
2098         (sh-smie-rc-grammar): Add a corresponding rule for it.
2100 2012-10-28  Daniel Hackney  <dan@haxney.org>
2102         * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
2103         "PKGNAME-autoloads.el" in case we created it.
2105 2012-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
2107         * minibuffer.el (completion--sifn-requote): Rewrite to handle things
2108         like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
2109         (completion--twq-all): Disable too-strict assertions.
2111         * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
2113 2012-10-27  Eli Zaretskii  <eliz@gnu.org>
2115         * profiler.el (profiler-report-make-entry-part): Fix help-echo
2116         text to match the real keybindings.
2118 2012-10-27  Juri Linkov  <juri@jurta.org>
2120         * wdired.el (wdired-keep-marker-rename): New defcustom.
2121         (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
2122         (Bug#11795)
2124         * dired.el (dired-keep-marker-rename): Add reference to
2125         `wdired-keep-marker-rename' in the docstring.
2126         Add default character value ?R to display initially in
2127         Customization UI instead of ?@.
2129 2012-10-27  Martin Rudalics  <rudalics@gmx.at>
2131         * window.el (display-buffer): In doc-string describe
2132         window-height and window-width alist entries.
2134         * time.el (display-time-world): Restore fit-window-to-buffer
2135         behavior.
2137 2012-10-27  Chong Yidong  <cyd@gnu.org>
2139         * subr.el (insert-buffer-substring-as-yank): Doc fix.
2141 2012-10-26  Jambunathan K  <kjambunathan@gmail.com>
2143         * minibuffer.el (completion-category-overrides): New completion
2144         category `bookmark' (bug#11131).
2146 2012-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
2148         * emacs-lisp/advice.el (ad-assemble-advised-definition):
2149         Silence bogus compiler warnings for ad-do-it.
2151         * bookmark.el (bookmark-completing-read): Set the completion category
2152         to `bookmark' (bug#11131).
2154 2012-10-26  Bastien  <bzg@altern.org>
2155             Stefan Monnier  <monnier@iro.umontreal.ca>
2157         * face-remap.el: Use lexical-binding.
2158         (text-scale-adjust): Improve docstring.  Use itself for the temporary
2159         overlay-map bindings, so as to repeat the "Use..." message each time.
2161 2012-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
2163         * emacs-lisp/macroexp.el (macroexp--expand-all):
2164         Obey byte-compile-warning-enabled-p (bug#12486).
2166         * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
2167         (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
2169 2012-10-26  Martin Rudalics  <rudalics@gmx.at>
2171         * mouse.el (mouse-drag-line): Move last form into preceding when
2172         clause (Bug#12731).
2174         * help.el (resize-temp-buffer-window): Fix doc-string.
2176 2012-10-25  David Engster  <deng@randomsample.de>
2178         * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
2179         Remove.  This feature is already integrated in imenu.
2181         * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
2182         always loaded.  Require `speedbar' unconditionally.
2184 2012-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
2186         * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
2188         * minibuffer.el (minibuffer-force-complete): Fix thinko.
2190         * net/ldap.el (ldap-search-internal): The official ldif format starts
2191         with a "version: 1" header (bug#12724).
2193         * emacs-lisp/package.el (package-installed-p): Warn if not ready
2194         (bug#12721).
2196 2012-10-25  Glenn Morris  <rgm@gnu.org>
2198         * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
2200 2012-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
2202         * minibuffer.el (minibuffer-force-complete): Use one more marker
2203         for the temporary-overlay-map command (bug#12619).
2205 2012-10-24  Chong Yidong  <cyd@gnu.org>
2207         * time.el (display-time-world-mode): Derive from special-mode.
2208         (display-time-world): Use display-buffer (Bug#12708).
2209         (display-time-world-mode-map): Variable deleted.
2210         (display-time-world-display): Wrap the final delete-char inside
2211         inhibit-read-only.
2213 2012-10-24  Chong Yidong  <cyd@gnu.org>
2215         * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
2216         Doc fix.
2218         * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
2220 2012-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
2222         * minibuffer.el (completion--all-sorted-completions-location): New var.
2223         (completion--cache-all-sorted-completions)
2224         (completion--flush-all-sorted-completions): Use it.
2225         (completion-in-region, completion-in-region--postch)
2226         (completion-at-point, completion-help-at-point): Use markers in
2227         completion-in-region--data (bug#12619).
2229 2012-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
2231         * progmodes/compile.el (compilation-start): Try to handle common
2232         quoting of `cd' argument (bug#12640).
2234         * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
2235         (bug#12671).
2237 2012-10-23  Glenn Morris  <rgm@gnu.org>
2239         * progmodes/gud.el (gud-menu-map):
2240         Check gdb-active-process is bound.  (Bug#12358)
2242 2012-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
2244         * repeat.el (repeat): Set real-this-command (bug#12232).
2246         * htmlfontify.el (hfy-post-html-hook):
2247         * filesets.el (filesets-cache-fill-content-hook):
2248         * arc-mode.el (archive-extract-hook):
2249         * progmodes/cc-mode.el (c-prepare-bug-report-hook):
2250         * net/rcirc.el (rcirc-sentinel-functions)
2251         (rcirc-receive-message-functions, rcirc-activity-functions)
2252         (rcirc-print-functions):
2253         * net/dbus.el (dbus-event-error-functions):
2254         * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
2255         * emacs-lisp/checkdoc.el (checkdoc-style-functions)
2256         (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
2257         * term/sun.el (sun-raw-prefix-hooks):
2258         * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
2260 2012-10-23  Michael Albinus  <michael.albinus@gmx.de>
2262         * net/tramp-smb.el (tramp-smb-maybe-open-connection):
2263         Set `tramp-chunksize' to 1.  This improves the performance.
2264         (tramp-smb-wait-for-output): Add timeout to
2265         `tramp-accept-process-output' calls.
2267 2012-10-23  Chong Yidong  <cyd@gnu.org>
2269         * faces.el (font-list-limit): Define as an obsolete variable.
2271         * startup.el (command-line):
2272         * cus-start.el: Don't refer to font-list-limit.
2274         * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
2276 2012-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
2278         * subr.el (internal-temp-output-buffer-show): Rename from
2279         temp-output-buffer-show, since previously compiled files expect this name.
2281 2012-10-23  Glenn Morris  <rgm@gnu.org>
2283         * image.el (image-type-from-file-name): If multiple types match,
2284         return the first one that is supported.  (Bug#9045)
2286 2012-10-22  Glenn Morris  <rgm@gnu.org>
2288         * image.el (imagemagick-enabled-types): Doc fix.
2290 2012-10-22  Takafumi Arakaki  <aka.tkf@gmail.com>  (tiny change)
2292         * progmodes/which-func.el (which-func-current): The hash-table may have
2293         an explicit nil (bug#12338).
2295 2012-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
2297         * electric.el (electric-pair-delete-selection-self-insert-function):
2298         Rename to electric-pair-will-use-region, return a boolean.
2299         (electric-pair-mode): Adjust accordingly.  Don't require delsel.
2301         * delsel.el (delete-selection-helper): Use a function instead of a hook.
2302         (delete-selection-pre-hook): Use use-region-p.
2303         (delete-selection-self-insert-function): Remove.
2304         (self-insert-command): Obey self-insert-uses-region-functions.
2305         (self-insert-iso): Revert to previous setting, since we don't actually
2306         know what that command does.
2307         (delete-selection-self-insert-hooks): Remove.
2309 2012-10-22  Simon Law  <sfllaw@sfllaw.ca>  (tiny change)
2311         * delsel.el (delete-selection-helper): New function, extracted from
2312         delete-selection-pre-hook.
2313         (delete-selection-pre-hook): Use it.
2314         (delete-selection-self-insert-function): New function.
2315         (delete-selection-self-insert-hooks): New hook.
2316         (self-insert-command, self-insert-iso): Use it.
2317         * electric.el (electric-pair-syntax): New function, extracted from
2318         electric-pair-post-self-insert-function.
2319         (electric-pair-post-self-insert-function): Use it.
2320         (electric-pair-delete-selection-self-insert-function): New function.
2321         (electric-pair-mode): Require delsel and setup
2322         delete-selection-self-insert-hooks (bug#11520).
2324 2012-10-20  Chong Yidong  <cyd@gnu.org>
2326         * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
2327         no changes to show (Bug#12586).
2329         * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
2330         list explicitly (Bug#12571).
2332 2012-10-20  Arne Jørgensen  <arne@arnested.dk>
2334         * progmodes/flymake.el (flymake-create-temp-inplace):
2335         Use file-truename.
2337 2012-10-20  Eli Zaretskii  <eliz@gnu.org>
2339         * loadup.el: Update comment about uncompiled Lisp files.  (Bug#12395)
2341 2012-10-20  Jay Belanger  <jay.p.belanger@gmail.com>
2343         * calc/calc-units.el (math-extract-units): Properly extract powers
2344         of units.
2346 2012-10-20  Daniel Colascione  <dancol@dancol.org>
2348         * frame.el (make-frame): Set x-display-name as we used to in order
2349         to unbreak creating an X11 frame from an Emacs daemon started
2350         without a display.
2352 2012-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
2354         * minibuffer.el (minibuffer-force-complete): Make the next completion use
2355         the same completion-field (bug#12221).
2357 2012-10-19  Martin Rudalics  <rudalics@gmx.at>
2359         * emacs-lisp/debug.el (debug): Record height of debugger window
2360         also when debugger will be back (Bug#8789).
2362 2012-10-18  Chong Yidong  <cyd@gnu.org>
2364         * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
2365         Convert to defcustom.
2366         (gdb-get-source-file): Don't bind pop-up-windows.
2368         * progmodes/gud.el (gud-display-line): Don't specially re-use
2369         other frames for the gdb-mi case (Bug#12648).
2371 2012-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
2373         * emacs-lisp/advice.el: Clean up commentary a bit.
2374         (ad-do-advised-functions, ad-with-originals): Use `declare'.
2375         (byte-code-function-p): Never redefine.
2377         * emacs-lisp/gv.el (cond): Same fix as before for `if'.
2379 2012-10-18  Glenn Morris  <rgm@gnu.org>
2381         * dired.el (dired-sort-toggle): Some ls implementations only allow
2382         a single option string.  (Bug#12666)
2384         * minibuffer.el (completion-cycle-threshold): Doc fix.
2386 2012-10-17  Kenichi Handa  <handa@gnu.org>
2388         * international/mule.el (set-keyboard-coding-system):
2389         Recover input meta mode when the new coding system doesn not use 8-bit.
2390         Supply TERMINAL arg to set-input-meta-mode.
2392 2012-10-17  Michael Heerdegen <michael_heerdegen@web.de>
2394         * wdired.el (wdired-old-marks): New variable.
2395         (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
2396         (wdired-do-renames): Move point with renamed file and don't lose
2397         mark status (Bug#11795).
2399 2012-10-16  Juri Linkov  <juri@jurta.org>
2401         * replace.el (query-replace-help): Mention multi-buffer replacement
2402         keys in the Help message.  (Bug#12655)
2404 2012-10-15  Chong Yidong  <cyd@gnu.org>
2406         * emacs-lisp/byte-run.el (defsubst): Doc fix.
2408 2012-10-14  Eli Zaretskii  <eliz@gnu.org>
2410         * window.el (display-buffer): Doc fix.
2412         * progmodes/compile.el (compilation-error-regexp-alist-alist):
2413         Adjust the msft regexp to the output of Studio 2010, and move msft
2414         before edg-1.  See the discussion on emacs-devel,
2415         http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
2416         for the details.
2418 2012-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
2420         * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
2421         (oset): Move uses of object-class-fast macro after its definition.
2423         * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
2425 2012-10-13  Chong Yidong  <cyd@gnu.org>
2427         * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
2428         enabled, re-enable it (Bug#11963).
2430 2012-10-13  Martin Rudalics  <rudalics@gmx.at>
2432         * emacs-lisp/debug.el (debug): When debugger-will-be-back is
2433         non-nil, restore window configuration (Bug#12623).
2435 2012-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
2437         * help-fns.el (describe-variable, describe-function-1):
2438         * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
2440         * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
2442 2012-10-12  Glenn Morris  <rgm@gnu.org>
2444         * mail/rmailsum.el (rmail-header-summary):
2445         Fix 2010-11-26 test for multiline Subject: field.  (Bug#12625)
2447 2012-10-12  Fabián Ezequiel Gallina  <fgallina@cuca>
2449         * progmodes/python.el (python-mode-map):
2450         Replace subtitute-key-definition with proper command remapping.
2451         (python-nav--up-list): Fix behavior for blocks on the same level.
2453 2012-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
2455         * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
2457         * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
2458         changes to the format of load-history.
2460         * international/mule-cmds.el (read-char-by-name): Move let-binding of
2461         completion-ignore-case in case that var is buffer-local (bug#12615).
2463 2012-10-11  Kenichi Handa  <handa@gnu.org>
2465         * international/eucjp-ms.el: Re-generated.
2467 2012-10-10  Kenichi Handa  <handa@gnu.org>
2469         * select.el (xselect--encode-string): If a coding is specified for
2470         selection, and that is compatible with COMPOUND_TEXT, use it.
2472 2012-10-10  Martin Rudalics  <rudalics@gmx.at>
2474         * window.el (switch-to-buffer-preserve-window-point): New option.
2475         (switch-to-buffer):
2476         Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
2478 2012-10-09  Stefan Monnier  <monnier@iro.umontreal.ca>
2480         * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
2481         Don't document nil as a useful value (bug#12583).
2483 2012-10-09  Michael Albinus  <michael.albinus@gmx.de>
2485         * net/tramp.el (tramp-debug-message):
2486         Remove "tramp-with-progress-reporter" from regexp of ignored functions.
2487         (with-tramp-progress-reporter): Rename from
2488         `tramp-with-progress-reporter'.
2489         (with-tramp-file-property, with-tramp-connection-property):
2490         Move from tramp-cache.el, rename from `with-file-property' and
2491         `with-connection-property', respectively.
2493         * net/tramp-cache.el: Remove `with-file-property' and
2494         `with-connection-property'.
2496         * net/tramp.el:
2497         * net/tramp-gvfs.el:
2498         * net/tramp-sh.el:
2499         * net/tramp-smb.el: Adapt callees.
2501         * net/trampver.el: Update release number.
2503 2012-10-09  Glenn Morris  <rgm@gnu.org>
2505         * w32-fns.el (set-message-beep):
2506         * term/w32-win.el (set-message-beep): Update declarations.
2508 2012-10-09  Stefan Monnier  <monnier@iro.umontreal.ca>
2510         * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
2511         (mode-line-widen, mode-line-input-method-map)
2512         (mode-line-coding-system-map, mode-line-remote)
2513         (mode-line-unbury-buffer, mode-line-bury-buffer)
2514         (mode-line-next-buffer, mode-line-previous-buffer):
2515         Replace save-selected-window+select-window => with-selected-window.
2517         * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
2518         * progmodes/cc-vars.el (bq-process): Remove, unused.
2520         * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
2522 2012-10-09  Fabián Ezequiel Gallina  <fgallina@cuca>
2524         Implemented `backward-up-list'-like navigation.
2525         * progmodes/python.el (python-nav-up-list)
2526         (python-nav-backward-up-list): New functions.
2527         (python-mode-map): Define substitute key for backward-up-list to
2528         python-nav-backward-up-list.
2530 2012-10-08  Fabián Ezequiel Gallina  <fgallina@cuca>
2532         * progmodes/python.el (python-fill-paragraph): Rename from
2533         python-fill-paragraph-function.  Fixed fill-paragraph for
2534         decorators (Bug#12605).
2536 2012-10-08  Fabián Ezequiel Gallina  <fgallina@cuca>
2538         * progmodes/python.el (python-shell-output-filter): Handle extra
2539         carriage return in OSX (Bug#12409).
2541 2012-10-08  Fabián Ezequiel Gallina  <fgallina@cuca>
2543         Fix shell handling of unbalanced quotes and parens in output.
2544         * progmodes/python.el (python-rx-constituents): Add string-delimiter.
2545         (python-syntax-propertize-function): Use it.
2546         (python-shell-output-syntax-table): New var.
2547         (inferior-python-mode): Prevent unbalanced parens/quotes from
2548         previous output mess with current input context.
2550 2012-10-08  Juanma Barranquero  <lekktu@gmail.com>
2552         * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
2553         Make obsolete aliases of js-mode and js-mode-hook (from js.el).
2555 2012-10-08  Michael Albinus  <michael.albinus@gmx.de>
2557         * ffap.el (ffap-replace-file-component): Support Tramp file name
2558         syntax, not only ange-ftp's one.
2560 2012-10-08  Glenn Morris  <rgm@gnu.org>
2562         * cus-start.el (message-log-max): Set :version.
2564         * calendar/calendar.el (calendar-intermonth-header): Doc fix.
2566 2012-10-08  Martin Rudalics  <rudalics@gmx.at>
2568         * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
2569         the minibuffer window (Bug#10851).
2571 2012-10-08  Fabián Ezequiel Gallina  <fgallina@cuca>
2573         Enhancements on forward-sexp movement.
2574         * progmodes/python.el (python-nav-beginning-of-statement)
2575         (python-nav-end-of-statement): Return point-marker.
2576         (python-nav-forward-sexp): lisp-like forward-sexp behavior.
2577         (python-info-current-symbol)
2578         (python-info-statement-starts-block-p): Rename from
2579         python-info-beginning-of-block-p.
2580         (python-info-statement-ends-block-p): Rename from
2581         python-info-end-of-block-p.
2582         (python-info-beginning-of-statement-p)
2583         (python-info-end-of-statement-p)
2584         (python-info-beginning-of-block-p, python-info-end-of-block-p):
2585         New functions.
2587 2012-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2589         * comint.el (comint-preinput-scroll-to-bottom): Preserve the
2590         frame-selected-windows.
2592 2012-10-08  Daniel Colascione  <dancol@dancol.org>
2594         * battery.el (battery-status-function): Check for
2595         w32-battery-status itself, not system-time windows-nt.
2597         * frame.el: Require cl-lib.
2598         (display-format-alist): New variable mapping frame types to
2599         functions that initialize them.
2600         (window-system-for-display): New function: interprets
2601         display-format-alist.
2602         (make-frame-on-display): Remove existing display-selection logic
2603         and just forward to make-frame, which will now DTRT.
2604         (make-frame): Restructure to use window-system-for-display to
2605         figure out how to create a frame on a given display.
2606         (display-mouse-p): Look for frame-type w32, not a particular
2607         system-type.
2609         * loadup.el: Load w32 lisp code when we have the w32 feature.
2611         * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
2612         system-type windows-nt.
2614         * server.el (server-create-window-system-frame): Look for window
2615         type.
2616         (server-proces-filter): Only force a window system when windows-nt
2617         _and_ w32.  Explain why.
2619         * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
2620         of window systems we configure for the mode.
2622         * startup.el (command-line): Mark window system is initialized
2623         after we've done it.
2625         * common-win.el (x-select-text): Look for w32, not windows-nt.
2627         * ns-win.el: Require cl-lib.  Add ourselves to
2628         display-format-alist.
2629         (ns-initialize-window-system): Assert we're not initialized twice.
2631         * w32-win.el: Enable lexical binding; require cl-lib; add
2632         ourselves to display-format-alist.
2633         (w32-handle-dropped-file): Convert incoming dropped files from
2634         Windows paths to Cygwin ones before passing them on to the rest of
2635         Emacs.
2636         (w32-drag-n-drop): New paramter new-frame.  Simplify logic.
2637         (w32-initialize-window-system): Assert we're not initialized twice.
2639         * x-win.el: Require cl-lib; add ourselves to display-format-alist.
2640         (x-initialize-window-system): Assert we're not initialized twice.
2642         * w32-common-fns.el: New File.
2643         (w32-version, w32-using-nt, w32-get-clipboard-data)
2644         (w32-set-clipboard-data, x-set-selection, x-get-selection)
2645         (w32-charset-info-alist, x-last-selected, text)
2646         (x-get-selection-value, x-selection-value): Move here.
2648         * w32-fns.el: Require w32-common-fns.
2649         (w32-version, w32-using-nt, w32-get-clipboard-data)
2650         (w32-set-clipboard-data, x-set-selection, x-get-selection)
2651         (w32-charset-info-alist, x-last-selected, text)
2652         (x-get-selection-value, x-selection-value): Move to
2653         w32-common-fns.
2655         * w32-vars.el:
2656         (w32-allow-system-shell, w32-system-shells): Define only in
2657         non-cygwin case.
2659 2012-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
2661         * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
2662         (read-passwd): Remove a few more potential sources of leaks.
2664 2012-10-07  Fabián Ezequiel Gallina  <fgallina@cuca>
2666         * progmodes/python.el (inferior-python-mode)
2667         (python-shell-make-comint): Fix initialization of local
2668         variables copied from parent buffer.
2670 2012-10-07  Jan Djärv  <jan.h.d@swipnet.se>
2672         * term/ns-win.el (ns-read-file-name): Update declaration to match
2673         nsfns.m.
2674         (ns-respond-to-change-font): Change fontsize separatly so we are sure
2675         it is set when font is acted upon.
2677 2012-10-07  Fabián Ezequiel Gallina  <fgallina@cuca>
2679         Enhancements to indentation.
2680         * progmodes/python.el (python-indent-context): Give priority to
2681         inside-string context.  Make comments indentation markers.
2682         (python-indent-region): Do not mess with strings, unless it's the
2683         enclosing set of quotes.
2685 2012-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
2687         * window.el (internal--before-save-selected-window)
2688         (internal--after-save-selected-window): New functions extracted from
2689         save-selected-window.  Make sure we return the `alist' we construct.
2690         (save-selected-window): Use them.
2692         * textmodes/tex-mode.el (tex-recenter-output-buffer):
2693         Use with-selected-window.
2695         * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
2696         forms that define macros (bug#12593).
2698 2012-10-07  Kenichi Handa  <handa@gnu.org>
2700         * international/mule-conf.el (compound-text-with-extensions):
2701         Add :mime-charset property as x-ctext.
2703 2012-10-07  Stefan Merten  <smerten@oekonux.de>
2705         * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
2706         (rst-indent-literal-normal, rst-indent-literal-minimized)
2707         (rst-indent-comment): Correct :version tag.
2708         (rst-official-cvs-rev): Correct version string.
2710 2012-10-07  Glenn Morris  <rgm@gnu.org>
2712         * mail/rmailmm.el (rmail-mime-process-multipart):
2713         Do not confuse a multipart message with an epilogue
2714         with a "truncated" one; fixes 2011-06-27 change.  (Bug#10101)
2716 2012-10-07  Fabián Ezequiel Gallina  <fgallina@cuca>
2718         Fix shell output retrieval and comint-prompt-regexp init.
2719         * progmodes/python.el (inferior-python-mode):
2720         (python-shell-make-comint): Fix initialization of
2721         comint-prompt-regexp from copied file local variables.
2722         (python-shell-fetched-lines): Remove var.
2723         (python-shell-output-filter-in-progress): Rename from
2724         python-shell-fetch-lines-in-progress.
2725         (python-shell-output-filter-buffer): Rename from
2726         python-shell-fetch-lines-string.
2727         (python-shell-fetch-lines-filter): Delete function.
2728         (python-shell-output-filter): New function.
2729         (python-shell-send-string-no-output): Use them.
2731 2012-10-07  Glenn Morris  <rgm@gnu.org>
2733         * hi-lock.el (hi-lock-process-phrase):
2734         Try to make it less fragile.  (Bug#7161)
2736         * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
2738 2012-10-06  Glenn Morris  <rgm@gnu.org>
2740         * ehelp.el (electric-help-mode): Use help-mode rather than
2741         non-existent mode `help'.
2742         (electric-help-map): Use button-buffer-map.  (Bug#10917)
2744         * textmodes/reftex-vars.el (reftex-create-bibtex-header)
2745         (reftex-create-bibtex-footer): Fix custom types.
2747         * progmodes/sh-script.el (sh-indent-after-continuation):
2748         Add explicit :group.
2750         * textmodes/rst.el (rst-preferred-decorations)
2751         (rst-shift-basic-offset): Clarify obsolescence versions.
2753         * profiler.el (profiler): Add missing group :version tag.
2754         * avoid.el (mouse-avoidance-banish-position):
2755         * proced.el (proced-renice-command):
2756         * calc/calc.el (calc-ensure-consistent-units):
2757         * calendar/icalendar.el (icalendar-import-format-uid):
2758         * net/tramp.el (tramp-save-ad-hoc-proxies):
2759         * progmodes/bug-reference.el (bug-reference-bug-regexp):
2760         * progmodes/flymake.el (flymake-error-bitmap)
2761         (flymake-warning-bitmap, flymake-fringe-indicator-position):
2762         * progmodes/sh-script.el (sh-indent-after-continuation):
2763         * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
2764         (verilog-before-save-font-hook, verilog-after-save-font-hook):
2765         * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
2766         (vhdl-array-index-record-field-in-sensitivity-list)
2767         (vhdl-indent-comment-like-next-code-line):
2768         * textmodes/reftex-vars.el (reftex-ref-style-alist)
2769         (reftex-ref-macro-prompt, reftex-ref-style-default-list)
2770         (reftex-cite-key-separator, reftex-create-bibtex-header)
2771         (reftex-create-bibtex-footer):
2772         * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
2773         (rst-indent-literal-normal, rst-indent-literal-minimized)
2774         (rst-indent-comment): Add missing custom :version tags.
2776         * calendar/timeclock.el (timeclock-modeline-display):
2777         Add missing obsolete alias for renamed user option.
2779         * strokes.el (strokes-modeline-string):
2780         * emulation/crisp.el (crisp-mode-modeline-string):
2781         * eshell/esh-mode.el (eshell-status-in-modeline):
2782         Aliases to defcustoms must come before the defcustom.
2784         * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
2785         (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
2786         (cal-tex-cursor-week-monday): Doc fixes.
2787         (cal-tex-cursor-week2-summary): Doc fix.
2788         Rename from cal-tex-cursor-week-at-a-glance.
2790         * calendar/cal-menu.el (cal-menu-context-mouse-menu):
2791         Tweak week descriptions.  Add cal-tex-cursor-week2-summary.
2793         * calendar/calendar.el (calendar-mode-map):
2794         Add cal-tex-cursor-week2-summary.
2796 2012-10-06  Stefan Monnier  <monnier@iro.umontreal.ca>
2798         * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
2800         * subr.el (read-passwd-map): New var.
2801         (read-passwd): Use `read-string' again.
2802         * minibuffer.el (delete-minibuffer-contents): Make it interactive.
2804 2012-10-06  Jambunathan K  <kjambunathan@gmail.com>
2806         * register.el (append-to-register, prepend-to-register):
2807         Deactivate mark, as does `copy-to-register' (bug#12389).
2809 2012-10-06  Chong Yidong  <cyd@gnu.org>
2811         * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
2813 2012-10-06  Ikumi Keita  <ikumi@ikumi.que.jp>  (tiny change)
2815         * international/characters.el: Fix simple mistake ((car chars) ->
2816         elt), delete duplicated code.
2818 2012-10-06  Glenn Morris  <rgm@gnu.org>
2820         * subr.el (read-passwd): Allow C-u to erase entry.  (Bug#12570)
2822 2012-10-06  Julian Scheid  <julians37@gmail.com>  (tiny change)
2824         * color.el (color-hsl-to-rgb): Fix incorrect results for
2825         small and large hue values.  (Bug#12559)
2827 2012-10-05  Fabián Ezequiel Gallina  <fgallina@cuca>
2829         Enhancements to docstring formatting when filling paragraphs.
2830         * progmodes/python.el (python-fill-docstring-style): Rename from
2831         python-fill-string-style.  Added new style.
2832         (python-fill-string): Use new style.  Better checks for
2833         docstrings.
2835 2012-10-05  Glenn Morris  <rgm@gnu.org>
2837         * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
2839         * color.el (color-name-to-rgb, color-rgb-to-hex)
2840         (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
2841         (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
2842         (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
2843         (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
2845         * emacs-lisp/timer.el (with-timeout): Add missing progn.  (Bug#12577)
2847 2012-10-05  Juanma Barranquero  <lekktu@gmail.com>
2849         * ido.el (ido-directory-too-big-p): Pass dir through file-truename
2850         to get the correct size across symlinks.
2852         * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
2854 2012-10-04  Juri Linkov  <juri@jurta.org>
2856         * replace.el (query-replace-interactive): Declare obsolete.
2857         (query-replace-read-from): Add the last incremental search string
2858         to the list of default values accessible via M-n.
2859         (map-query-replace-regexp): Use `read-regexp'.
2860         (query-replace, query-replace-regexp, query-replace-regexp-eval)
2861         (map-query-replace-regexp, replace-string, replace-regexp):
2862         Fix docstrings to replace mentions of `query-replace-interactive'
2863         with alternatives.  (Bug#12526)
2865 2012-10-04  Juri Linkov  <juri@jurta.org>
2867         * dired.el (dired-shrink-to-fit): Declare obsolete.  (Bug#1806)
2868         (dired-pop-to-buffer): Declare obsolete.
2869         (dired-mark-pop-up): Doc fix.
2871 2012-10-04  Fabián Ezequiel Gallina  <fgallina@cuca>
2873         Allow user to set docstring style for fill-paragraph.
2874         * progmodes/python.el
2875         (python-fill-comment-function, python-fill-string-function)
2876         (python-fill-decorator-function, python-fill-paren-function):
2877         Remove :safe for defcustoms.
2878         (python-fill-string-style): New defcustom
2879         (python-fill-paragraph-function): Enhance context detection.
2880         (python-fill-string): Honor python-fill-string-style settings.
2882 2012-10-04  Martin Rudalics  <rudalics@gmx.at>
2884         * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
2885         after setting its buffer (Bug#10805).
2887 2012-10-03  Fabián Ezequiel Gallina  <fgallina@cuca>
2889         Fix cornercase for string syntax.
2890         * progmodes/python.el (python-syntax-propertize-function):
2891         Simplify and enhance the regexp for unescaped quotes.  Now it also
2892         matches quotes in weird situations like the single quote in
2893         "something\"'".
2894         (python-syntax-stringify): Simplify num-quotes detecting code.
2896 2012-10-03  Glenn Morris  <rgm@gnu.org>
2898         * help-macro.el (three-step-help):
2899         Revert 2012-09-29 change.  (Bug#12567)
2901 2012-10-03  Martin Rudalics  <rudalics@gmx.at>
2903         * menu-bar.el (kill-this-buffer): Don't do anything when
2904         `menu-frame' is not alive or visible (Bug#8184).
2906         * emacs-lisp/debug.el (debug): When quitting the debugger window
2907         restore current buffer (Bug#12502).
2909 2012-10-02  Chong Yidong  <cyd@gnu.org>
2911         * progmodes/hideif.el (hif-lookup, hif-defined):
2912         Handle semantic-c-takeover-hideif.
2914 2012-10-02  Paul Eggert  <eggert@cs.ucla.edu>
2916         Change sampling interval units from ms to ns.
2917         * profiler.el (profiler-sampling-interval): Change units
2918         from ms to ns, multiplying the default by 1000000 so that
2919         it remains 1 ms.
2920         (profiler-report-cpu-line-format): Give enough room for
2921         the maximum counters on 64-bit hosts.
2922         (profiler-report-render-calltree-1): Call them "CPU samples",
2923         not "Time (ms)", since they are not milliseconds now (and
2924         never really were).
2926 2012-10-02  Sergio Durigan Junior  <sergiodj@riseup.net>  (tiny change)
2928         * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
2929         Fix querying BBDB for entries without a last name (Bug#11580).
2931 2012-10-02  Chong Yidong  <cyd@gnu.org>
2933         * emacs-lisp/eieio.el: Restore Version header.
2935 2012-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
2937         * vc/diff-mode.el (diff--auto-refine-data): New var.
2938         (diff-hunk): Use it to delay refinement.
2939         (diff-mode): Remove overlays when we turn off font-lock.
2941         * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
2942         (table-initialize-table-fixed-width-mode)
2943         (table-set-table-fixed-width-mode): Remove functions.
2944         (table-command-list): Move initialization into declaration.
2945         (table--tweak-menu-for-xemacs): Move defun outside mapcar.
2946         (table-with-cache-buffer): Use `declare'.
2947         (table-span-cell): Simplify via CSE.
2948         (table-fixed-width-mode): Use define-minor-mode.
2949         (table-call-interactively, table-funcall, table-apply): Remove.
2950         (table-function): New function, to replace them.
2952         * bookmark.el (bookmark-search-pattern): Remove var.
2953         (bookmark-read-search-input): Remove function.
2954         (bookmark-bmenu-search): Reimplement using a minibuffer.
2956         * faces.el (modeline): Remove obsolete face name.
2958         * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
2959         and give a non-nil default value.
2960         (add-change-log-entry): Simplify accordingly.
2962 2012-10-01  Dmitry Gutov  <dgutov@yandex.ru>
2964         * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
2965         (vc-git-log-edit-toggle-amend): New function.
2966         (vc-git-log-edit-toggle-signoff): New function.
2967         (vc-git-log-edit-mode): New major mode.
2968         (vc-git-log-edit-mode-map): Keymap for it.
2969         (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
2971         * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
2972         header names.
2973         (log-edit-toggle-header): New function.
2974         (log-edit-extract-headers): Accept function values in HEADERS alist.
2976 2012-10-01  David Engster  <deng@randomsample.de>
2978         * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
2979         from symbol property and change message to be more consistent with
2980         Emacs proper.
2981         (eieio-describe-generic): Add filename for each implementation.
2982         Fix indices for generic and normal methods.
2983         (eieio-method-def, eieio-class-def): New buttons.
2984         (eieio-help-find-method-definition)
2985         (eieio-help-find-class-definition): New functions.
2986         (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
2987         class, constructor and method definitions.
2989         * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
2990         information in symbol property.
2991         (scoped-class): Remove.
2992         (eieio-slot-name-index, call-next-method): Check if it is bound.
2994 2012-10-01  Leo P. White  <lpw25@cam.ac.uk>
2996         * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
2997         (eieio-custom-mode): New major mode.
2998         (eieio-customize-object): Use it.
3000 2012-10-01  Eric Ludlam  <zappo@gnu.org>
3002         * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
3003         specifying the expected class, and whether subclassing is allowed.
3004         (eieio-persistent-convert-list-to-object):
3005         (eieio-persistent-validate/fix-slot-value)
3006         (eieio-persistent-slot-type-is-class-p): New functions.
3007         (eieio-named::slot-missing): Doc fix.
3009         * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
3010         Stop using unused publd variable.
3012         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
3013         (eieio-speedbar-description, eieio-speedbar-derive-line-path)
3014         (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
3015         (eieio-speedbar-handle-click): Do not specify a class for the
3016         method.  Fixes method invocation order problems with EDE.
3018 2012-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
3020         * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
3021         (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
3023 2012-10-01  Karl Fogel  <kfogel@red-bean.com>
3025         * bookmark.el (bookmark-version-control): Give tags in the
3026         :type choices (Bug#12309), and improve doc string.
3027         (bookmark-write-file): Bind `print-circle' to `t' to allow
3028         circular custom bookmark types.  (Bug#12503)
3030 2012-10-01  Paul Eggert  <eggert@cs.ucla.edu>
3032         Revert the FOLLOW-SYMLINKS change for file-attributes.
3033         * files.el (remote-file-name-inhibit-cache, after-find-file):
3034         * time.el (display-time-file-nonempty-p): Undo last change.
3036         * profiler.el (profiler-sampling-interval): Change default back to 1.
3037         See Stefan Monnier in
3038         <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
3040 2012-10-01  Fabián Ezequiel Gallina  <fgallina@cuca>
3042         Shell output catching a la gud-gdb.
3043         * progmodes/python.el (python-shell-fetch-lines-in-progress)
3044         (python-shell-fetch-lines-string, python-shell-fetched-lines):
3045         New Vars.
3046         (python-shell-fetch-lines-filter): New function.
3047         (python-shell-send-string-no-output): Use them.
3049 2012-09-30  Tomohiro Matsuyama  <tomo@cx4a.org>
3051         * profiler.el (profiler-sampling-interval): Rename from
3052         profiler-sample-interval.
3053         (profiler-sampling-interval): Default to 10.
3054         (profiler-find-profile): New command (was profiler-find-log).
3055         (profiler-find-profile-other-window): New command.
3056         (profiler-find-profile-other-frame): New command.
3057         (profiler-profile): Introduce API-level data structure.
3059 2012-09-30  Paul Eggert  <eggert@cs.ucla.edu>
3061         file-attributes has a new optional arg FOLLOW-SYMLINKS.
3062         * files.el (remote-file-name-inhibit-cache):
3063         * time.el (display-time-file-nonempty-p): Use it.
3064         * files.el (after-find-file): Don't chase links before calling
3065         file-exists-p, as file-exists-p already does the right thing.
3067 2012-09-30  Ralf Angeli  <angeli@caeruleus.net>
3069         Merge from standalone RefTeX repository.
3071         The following ChangeLog entries are shortened versions of the
3072         original ones with file paths adapted.  A not so strongly edited
3073         version of the original ChangeLog can be found in the commit log.
3075         * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
3076         (reftex-arg-cite): Use `reftex-cite-key-separator'.
3077         Correctly handle new value type returned by `reftex-citation'.
3079         * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
3080         that entries with whitespace at various places are found.
3081         Doc fix. Include entries that are cross-referenced from cited entries.
3082         Include @String definitions in the resulting bib file.  Add header
3083         and footer defined in `reftex-create-bibtex-header' and
3084         `reftex-create-bibtex-footer'.
3085         (reftex-do-citation): Make it possible again to insert
3086         non-existent entries.  Save match data when asking for optional
3087         arguments. Return all keys, not just the first one.
3088         (reftex-all-used-citation-keys): Fix regexp to correctly extract
3089         all citations in the same line.
3090         (reftex-parse-bibtex-entry): Accept additional optional argument
3091         `raw' and keep quotes or braces if it is non-nil.  Match fields
3092         containing hyphens besides word constituents.
3093         (reftex-get-string-refs): New function.
3094         (reftex-extract-bib-entries): Check if BibTeX file changed on disk
3095         and ask if it should be reread in case it did.
3096         (reftex-pop-to-bibtex-entry)
3097         (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
3098         entries with spaces or tabs in front of arguments.
3099         (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
3100         (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
3101         Match entries containing numbers and symbol constituents.
3102         (reftex-do-citation, reftex-figure-out-cite-format):
3103         Use `reftex-cite-key-separator'.
3105         * textmodes/reftex-dcr.el: Move provide statement to end of file.
3106         (reftex-mouse-view-crossref): Explain why point is set.
3108         * textmodes/reftex-global.el: Whitespace changes.
3110         * textmodes/reftex-index.el: Move provide statement to end of
3111         file.
3112         (reftex-index-selection-or-word): Use `reftex-region-active-p'.
3113         (reftex-index-visit-phrases-buffer): Set marker when visiting
3114         buffer.  This allows for returning from the phrases file to the
3115         file one was just editing instead of the file where the last
3116         phrases was added from.
3117         (reftex-index-phrases-syntax-table): New variable.  Give ?\"
3118         punctuation syntax as it usually is not used as string quote in
3119         TeX-related modes and may occur unmatched.  The change also
3120         prevents fontification of quoted content.
3121         (reftex-index-phrases-mode): Use it.
3123         * textmodes/reftex-parse.el (reftex-parse-from-file):
3124         Move backward one char if a `\' was matched after a section macro.
3125         (reftex-parse-from-file): Use beginning of match instead of end as
3126         bound.
3128         * textmodes/reftex-ref.el: Adapt creation of
3129         `reftex-<package>-<macro>' functions to new structure of
3130         `reftex-ref-style-alist'.
3131         (reftex-reference): Use `reftex-ref-style-list' function.
3132         Adapt to new structure of `reftex-ref-style-alist'.  Prompt for a
3133         reference macro if `reftex-ref-macro-prompt' is non-nil.
3134         (reftex-reference): Pass refstyle to `reftex-format-special'.
3135         Determine reference macro by looking at
3136         `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
3137         Use only one special format function.
3138         (reftex-varioref-vref, reftex-fancyref-fref)
3139         (reftex-fancyref-Fref): Remove definitions.  The functions are now
3140         generated from `reftex-ref-style-alist'.
3141         (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
3142         Remove.
3143         (reftex-format-special): New function.
3145         * textmodes/reftex-sel.el
3146         (reftex-select-cycle-ref-style-internal): Adapt to new structure
3147         of `reftex-ref-style-alist'. Remove code for testing macro type.
3148         (reftex-select-toggle-varioref)
3149         (reftex-select-toggle-fancyref): Remove.
3150         (reftex-select-cycle-ref-style-internal)
3151         (reftex-select-cycle-ref-style-forward)
3152         (reftex-select-cycle-ref-style-backward): New functions.
3153         (reftex-select-label-map): Use `v' and `V' for general cycling
3154         through reference styles.  Add `p' for switching between number
3155         and page reference types.
3157         * textmodes/reftex-toc.el (reftex-re-enlarge):
3158         Call `enlarge-window' only if there is something to do because in Emacs
3159         the horizontal version throws an error even if the parameter is 0.
3161         * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
3162         (reftex-plug-into-AUCTeX): Doc fix.
3163         (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
3164         string.  Adapt to new name.
3165         (reftex-ref-style-alist): Change structure so that it is not
3166         possible to use multiple different package names within a style.
3167         Remove the symbols for symbols for macro type distinction.
3168         Add characters for macro selection.
3169         (reftex-ref-macro-prompt, reftex-create-bibtex-header)
3170         (reftex-create-bibtex-footer): New variables.
3171         (reftex-format-ref-function): Mention third argument of special
3172         format function.
3173         (reftex-ref-style-alist, reftex-ref-style-default-list):
3174         New variables.
3175         (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
3176         to new implementation.  Mark as obsolete.  Add compatibility code
3177         for honoring the variable values in case they are set.
3178         (reftex-cite-format-builtin, reftex-bibliography-commands):
3179         Add support for ConTeXt.
3180         (reftex-format-ref-function, reftex-format-cite-function):
3181         Fix custom type.
3182         (reftex-cite-key-separator): New variable.
3184         * textmodes/reftex.el (reftex-syntax-table-for-bib)
3185         (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
3186         `reftex-syntax-table' because parens have to retain their paren
3187         syntax in order for parsing of BibTeX entries like @book(...) to
3188         work.
3189         (reftex-in-comment): Do not error out if `comment-start-skip' is
3190         not set.  Deal correctly with escaped comment characters.
3191         (reftex-tie-multifile-symbols): Add doc string.
3192         Initialize `reftex-ref-style-list'.
3193         (reftex-untie-multifile-symbols): Add doc string.
3194         (reftex-add-index-macros): Doc fix.
3195         (reftex-ref-style-activate, reftex-ref-style-toggle)
3196         (reftex-ref-style-list): New functions.
3197         (reftex-mode-menu): Use them.  Adapt to new structure of
3198         `reftex-ref-style-alist'.
3199         (reftex-select-with-char): Kill the RefTeX Select buffer when
3200         done.
3201         (reftex-remove-if): New function.
3202         (reftex-erase-all-selection-and-index-buffers)
3203         (reftex-mode-menu): Reference styles are now computed from
3204         `reftex-ref-style-alist'.  Fix typo.
3205         (reftex-report-bug): New function.
3206         (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
3207         algorithms with O(n log n).  Introduce optional argument SORT (not
3208         yet used).
3210 2012-09-30  Fabián Ezequiel Gallina  <fgallina@cuca>
3212         Enhancements for triple-quote string syntax.
3213         * progmodes/python.el (python-syntax-propertize-function):
3214         Match both quote cases in one regexp.
3215         (python-syntax-stringify): Handle matches properly.
3217 2012-09-30  Juri Linkov  <juri@jurta.org>
3219         * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
3220         to nil around the call to `insert' to prevent
3221         directory time modification by lock_file.  (Bug#2295)
3222         * tar-mode.el (tar-summarize-buffer): Idem.
3224 2012-09-30  Juri Linkov  <juri@jurta.org>
3226         * facemenu.el (list-colors-sort): Add option "Luminance".
3227         (list-colors-sort-key): Implement it.
3229         * vc/diff-mode.el (diff-refine-removed):
3230         * vc/ediff-init.el (ediff-fine-diff-A):
3231         * vc/smerge-mode.el (smerge-refined-removed):
3232         Change background color "#ffaaaa" to "#ffbbbb".  (Bug#10181)
3234 2012-09-30  Jan Djärv  <jan.h.d@swipnet.se>
3236         * term/ns-win.el (x-file-dialog): New function.
3238 2012-09-30  Juanma Barranquero  <lekktu@gmail.com>
3240         * ido.el (ido-max-directory-size): Default to nil; the current
3241         default is small for POSIX systems, and impractical on Windows 7
3242         now that lstat returns directory sizes for NTFS.
3244 2012-09-30  Martin Rudalics  <rudalics@gmx.at>
3246         In buffer display functions handle window-height/window-width
3247         alist entries.  Suggested by Juri Linkov as fix for Bug#1806.
3248         * window.el (window--display-buffer): New argument ALIST.
3249         Obey window-height and window-width alist entries.
3250         (window--try-to-split-window): New argument ALIST.
3251         Bind window-combination-limit to t when the window's size shall be
3252         changed and window-combination-limit equals `window-size'.
3253         (display-buffer-in-atom-window)
3254         (display-buffer-in-major-side-window)
3255         (display-buffer-in-side-window, display-buffer-same-window)
3256         (display-buffer-reuse-window, display-buffer-pop-up-frame)
3257         (display-buffer-pop-up-window, display-buffer-below-selected)
3258         (display-buffer-at-bottom, display-buffer-in-previous-window)
3259         (display-buffer-use-some-window): Adjust all callers of
3260         window--display-buffer and window--try-to-split-window.
3261         (fit-frame-to-buffer): New option.
3262         (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
3263         is non-nil.
3264         (display-buffer-in-major-side-window): Evaluate window-height /
3265         window-width alist entries.
3267         * help.el (temp-buffer-resize-frames)
3268         (temp-buffer-resize-regexps): Remove options.
3269         (temp-buffer-resize-mode): Adjust doc-string.
3270         (resize-temp-buffer-window): Don't consult
3271         temp-buffer-resize-regexps.  Use fit-frame-to-buffer instead of
3272         temp-buffer-resize-frames.
3274         * dired.el (dired-mark-pop-up):
3275         Call display-buffer-below-selected with a fit-window-to-buffer alist
3276         entry.
3278 2012-09-30  Chong Yidong  <cyd@gnu.org>
3280         * server.el (server-host): Document the security implications.
3281         (server-auth-key): Doc fix.
3283         * startup.el (initial-buffer-choice): Doc fix.
3285         * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
3287         * simple.el (delete-trailing-whitespace): Avoid an unnecessary
3288         restriction change.
3290         * bindings.el (goto-map): Bind M-g TAB to move-to-column.
3292         * help-fns.el (help-fns--obsolete): Fix last change.
3294 2012-09-30  Stefan Monnier  <monnier@iro.umontreal.ca>
3296         * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
3297         (minor-mode-map-alist): Remove redundant code.
3299         * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
3300         visited in a buffer.
3301         (cvs-insert-visited-file): New function.
3302         (find-file-hook): Use it.
3304         * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
3306         * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
3307         chose face.
3308         (log-edit-empty-buffer-p): Don't require a space after a header.
3310         * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
3312         * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
3314         * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
3315         a proper minor-mode.
3317         * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
3319 2012-09-29  Glenn Morris  <rgm@gnu.org>
3321         * winner.el (winner-mode): Remove variable (let define-minor-mode
3322         handle it).
3323         (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
3324         Doc fixes.
3325         (winner-mode-leave-hook): Rename to winner-mode-off-hook.
3326         (winner-mode): Use define-minor-mode.
3328         * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
3329         the full definition in loaddefs, rather than duplicating it.
3331         * help-macro.el (three-step-help): No need to autoload defcustom.
3333         * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
3334         (inferior-lisp-program, inferior-lisp-load-command)
3335         (inferior-lisp-prompt, inferior-lisp-mode-hook):
3336         No need to autoload defcustoms.
3338         * hippie-exp.el (hippie-expand-try-functions-list)
3339         (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
3340         (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
3341         (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
3342         (hippie-expand-only-buffers): No need to autoload defcustoms.
3343         * progmodes/vhdl-mode.el (vhdl-line-expand):
3344         Explicitly load hippie-exp, so it does not get autoloaded
3345         while hippie-expand-try-functions-list is let-bound.
3347 2012-09-28  Glenn Morris  <rgm@gnu.org>
3349         * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
3351         * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
3352         Only "cl.el" counts as cl these days.
3354 2012-09-28  Juri Linkov  <juri@jurta.org>
3356         Display archive errors in the echo area instead of inserting
3357         to the file buffer.
3359         * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
3360         to STDERR-TEST that can be a regexp matching a successful output.
3361         Create a temporary file and redirect stderr to it.  Search for
3362         STDERR-TEST in the stderr output and display it in the echo area
3363         if no match is found.
3364         (archive-extract-by-file): New function like
3365         `archive-extract-by-stdout' but extracting archives to files
3366         and looking for successful matches in stdout.  Function body is
3367         mostly copied from `archive-rar-extract'.
3368         (archive-rar-extract): Use `archive-extract-by-file'.
3369         (archive-7z-extract): Use `archive-extract-by-stdout'.  (Bug#10347)
3371 2012-09-28  Leo Liu  <sdl.web@gmail.com>
3373         * pcomplete.el (pcomplete-show-completions):
3374         Use minibuffer-message to make pcomplete usable in minibuffer.
3376         * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
3378 2012-09-28  Stefan Monnier  <monnier@iro.umontreal.ca>
3380         * type-break.el: Use lexical-binding.
3381         (type-break-mode): Use define-minor-mode.
3383         * emacs-lisp/pcase.el (pcase--mark-used): New.
3384         (pcase--u1): Use it (bug#12512).
3386         * custom.el (load-theme): Set buffer-file-name so the load is recorded
3387         in load-history with the right file name.
3389 2012-09-28  Tassilo Horn  <tsdh@gnu.org>
3391         * doc-view.el (doc-view-current-cache-doc-pdf): New function.
3392         (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
3393         (doc-view-get-bounding-box): Make bounding box slicing work for
3394         ODF and DVI documents.
3396 2012-09-28  Glenn Morris  <rgm@gnu.org>
3398         * type-break.el (type-break-mode, type-break-interval)
3399         (type-break-good-rest-interval, type-break-keystroke-threshold):
3400         No need to autoload.
3401         (type-break-good-rest-interval, type-break-keystroke-threshold):
3402         Add :set-after.
3404 2012-09-28  Chong Yidong  <cyd@gnu.org>
3406         * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
3407         Add :version tag.
3409 2012-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
3411         * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
3413 2012-09-27  Glenn Morris  <rgm@gnu.org>
3415         * faces.el (x-display-name): Declare (for without-x builds).
3417         * linum.el (linum-format): Don't autoload it.  Improve :type.
3419         * progmodes/tcl.el: Don't require outline when compiling.
3420         (outline-regexp, outline-level): Declare.
3421         * textmodes/sgml-mode.el: Don't require outline when compiling.
3422         (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
3424         * term.el (term-ansi-reset):
3425         Try setting term-ansi-face-already-done to nil.  (Bug#11785)
3427         * vc/vc.el (vc-next-action): Only gripe about committing read-only
3428         files for RCS and SCCS.  (Bug#9781)
3430 2012-09-27  Chong Yidong  <cyd@gnu.org>
3432         * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
3433         change; value should be t.
3435 2012-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
3437         * image-mode.el: Use lexical-binding.
3438         (image-mode-winprops): Use t to stand for the window of
3439         a buffer that's not displayed.
3440         * doc-view.el (doc-view-new-window-function): Handle the new
3441         t in winprops.
3442         (doc-view-enlarge): Make it a real nop if the size is not changed.
3443         (doc-view-display): Handle the case where the buffer is not (yet?)
3444         displayed in any window.
3445         (doc-view-saved-settings): New var.
3446         (doc-view-mode): Use it.
3447         (doc-view-fallback-mode): Set it.
3449         * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
3450         Set lexical-binding.
3451         (minibuffer-eldef-shorten-default): New var.
3452         (minibuffer-default-in-prompt-regexps): Use it for new default.
3453         (minibuf-eldef-setup-minibuffer): Add replacement functionality.
3455 2012-09-26  Juanma Barranquero  <lekktu@gmail.com>
3457         * international/uni-bidi.el:
3458         * international/uni-category.el:
3459         * international/uni-name.el:
3460         * international/uni-numeric.el: Regenerate.
3462 2012-09-26  Tomohiro Matsuyama  <tomo@cx4a.org>
3463             Stefan Monnier  <monnier@iro.umontreal.ca>
3465         * profiler.el: New file.
3467 2012-09-26  Stefan Monnier  <monnier@iro.umontreal.ca>
3469         * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
3470         (testcover-reinstrument): Simplify with CSE.
3472 2012-09-26  Juanma Barranquero  <lekktu@gmail.com>
3474         * window.el (temp-buffer-window-setup): Fix typo in docstring.
3476 2012-09-25  Wilson Snyder  <wsnyder@wsnyder.org>
3478         * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
3479         (verilog-auto-input, verilog-auto-insert-lisp)
3480         (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
3481         (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
3482         (verilog-auto-unused, verilog-auto-wire)
3483         (verilog-forward-or-insert-line): Fix AUTOs with no trailing
3484         newline.  Reported by Andrew Jones.
3485         (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
3486         Reported by Brad Dobbie.
3487         (verilog-batch-delete-trailing-whitespace):
3488         Create verilog-batch-delete-trailing-whitespace.
3489         Reported by Brad Dobbie.
3490         (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
3491         parameters from another module.  Reported by Dan Katz.
3492         (verilog-auto, verilog-auto-assign-modport)
3493         (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
3494         AUTOINOUTMODPORT for UVM interface module shell generation.
3495         Reported by Brad Dobbie.
3496         (verilog-auto-inst-interfaced-ports): Make default nil, as more
3497         standard behavior.
3498         (verilog-auto): Fix AUTO parameters with parenthesis arguments.
3499         Reported by Matt Martin.
3501 2012-09-25  Martin Rudalics  <rudalics@gmx.at>
3503         * window.el (window--resize-child-windows): When resizing child
3504         windows proportionally, process them in reverse order to
3505         preserve the "when splitting a window the new one gets the odd
3506         line" behavior.
3507         (window--resize-root-window-vertically): When resizing the
3508         minibuffer window try to affect only windows at the bottom of the
3509         frame.  (Bug#12419)
3511 2012-09-25  Chong Yidong  <cyd@gnu.org>
3513         * subr.el (declare): Doc fix.
3515         * help-fns.el (help-fns--obsolete): Handle macros properly.
3517 2012-09-25  Chong Yidong  <cyd@gnu.org>
3519         * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
3520         this function obsolete.
3522         * calendar/cal-x.el (calendar-two-frame-setup)
3523         (calendar-only-one-frame-setup, calendar-one-frame-setup):
3524         * calendar/calendar.el (american-calendar, european-calendar)
3525         (calendar-for-loop):
3526         * comint.el (comint-dynamic-simple-complete)
3527         (comint-dynamic-complete-as-filename, comint-unquote-filename):
3528         * desktop.el (desktop-load-default):
3529         * dired-x.el (dired-omit-here-always)
3530         (dired-hack-local-variables, dired-default-directory):
3531         * emacs-lisp/derived.el (derived-mode-class):
3532         * emacs-lisp/timer.el (timer-set-time-with-usecs):
3533         * emacs-lock.el (toggle-emacs-lock):
3534         * epa.el (epa-display-verify-result):
3535         * epg.el (epg-sign-keys, epg-start-sign-keys)
3536         (epg-passphrase-callback-function):
3537         * eshell/esh-util.el (eshell-for):
3538         * eshell/eshell.el (eshell-remove-from-window-buffer-names)
3539         (eshell-add-to-window-buffer-names):
3540         * files.el (locate-file-completion):
3541         * imenu.el (imenu-example--create-c-index)
3542         (imenu-example--create-lisp-index)
3543         (imenu-example--lisp-extract-index-name)
3544         (imenu-example--name-and-position):
3545         * international/mule-cmds.el (princ-list):
3546         * international/mule-diag.el (decode-codepage-char):
3547         * international/mule-util.el (detect-coding-with-priority):
3548         * iswitchb.el (iswitchb-read-buffer):
3549         * mail/mailalias.el (mail-complete):
3550         * mail/sendmail.el (mail-sent-via):
3551         * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
3552         (mouse-major-mode-menu):
3553         * password-cache.el (password-read-and-add):
3554         * pcomplete.el (pcomplete-parse-comint-arguments):
3555         * progmodes/sh-script.el (sh-maybe-here-document):
3556         * replace.el (query-replace-regexp-eval):
3557         * savehist.el (savehist-load):
3558         * simple.el (choose-completion-delete-max-match):
3559         * term.el (term-dynamic-simple-complete):
3560         * vc/ediff-init.el (ediff-check-version):
3561         * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
3562         * vc/vc.el (vc-diff-switches-list):
3563         * view.el (view-return-to-alist-update): Likewise.
3565         * subr.el (eval-next-after-load, makehash, insert-string)
3566         (assoc-ignore-representation, assoc-ignore-case): Use declare to
3567         mark obsolete.
3568         (mode-line-inverse-video): Variable deleted.
3570         * international/mule-util.el (string-to-sequence): Remove.
3572         * calendar/calendar.el (calendar-version):
3573         * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
3574         (icalendar-convert-diary-to-ical):
3575         * cus-edit.el (custom-mode):
3576         * ansi-color.el (ansi-color-unfontify-region):
3577         * international/latin1-disp.el (latin1-char-displayable-p):
3578         * progmodes/cwarn.el (turn-on-cwarn-mode):
3579         * progmodes/which-func.el (which-func-update-1):
3580         Use define-obsolete-function-alias.
3582         * net/newst-backend.el (newsticker-cache-filename):
3583         * net/newst-treeview.el (newsticker-groups-filename):
3584         Fix incorrect obsolescence declaration.
3586         * allout.el (allout-passphrase-hint-string): Likewise.
3587         (allout-init): Use a declare form to mark obsolete.
3589         * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
3590         this applies to functions.
3592         * iswitchb.el (iswitchb-read-buffer): Move code of
3593         iswitchb-define-mode-map here, and delete that obsolete function.
3595         * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
3596         font-lock-reference-face.
3598 2012-09-25  Glenn Morris  <rgm@gnu.org>
3600         * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
3601         Doc fixes.
3603         * eshell/em-term.el (eshell-term-name):
3604         Default to term-term-name.  (Bug#12485)
3606 2012-09-24  Fabián Ezequiel Gallina  <fgallina@cuca>
3608         * progmodes/python.el (python-shell-send-buffer): Better handling
3609         of "if __name__ == '__main__':" conditionals when sending the buffer.
3611 2012-09-24  Glenn Morris  <rgm@gnu.org>
3613         * eshell/esh-cmd.el (eshell-find-alias-function):
3614         Tighten up file-name regexp.  (Bug#12499)
3616 2012-09-24  Fabián Ezequiel Gallina  <fgallina@cuca>
3618         Enhancements for triple-quote string syntax.
3619         * progmodes/python.el (python-quote-syntax): Remove.
3620         (python-syntax-propertize-function): New value.
3621         (python-syntax-count-quotes, python-syntax-stringify):
3622         New functions.
3624 2012-09-24  Chong Yidong  <cyd@gnu.org>
3626         * mail/supercite.el (sc-version): Remove obsolete function.
3627         (sc-describe): Don't mark as obsolete, since it is bound.
3628         (sc-submit-bug-report): Remove.
3630         * vc/log-edit.el (cvs-changelog-full-paragraphs)
3631         (cvs-commit-buffer-require-final-newline): Remove.
3632         (log-edit-require-final-newline)
3633         (log-edit-changelog-full-paragraphs): Default to t.
3635         * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
3636         * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
3637         * vc/vc.el (vc-checkout-carefully): Likewise.
3639         * vc/emerge.el (emerge-mode): Make it an obsolete alias.
3640         (emerge-version): Remove.
3642         * progmodes/compile.el (compile-internal): Remove.
3643         (compilation-parse-errors-function): Fix typo.
3645         * international/mule.el (set-char-table-default): Remove.
3646         (set-coding-priority, make-coding-system, generic-char-p)
3647         (charset-list, charset-bytes, charset-id): Use declare to mark
3648         functions as obsolete.
3650         * vc/pcvs-defs.el (cvs-buffer-name-alist)
3651         (cvs-invert-ignore-marks): Remove references to obsolete vars.
3652         * vc/vc-hooks.el (vc-default-registered): Don't use
3653         vc-master-templates.
3655         * font-lock.el (font-lock-reference-face):
3656         Use define-obsolete-variable-alias.
3658         * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
3659         * calendar/calendar.el (calendar-font-lock-keywords):
3660         * calendar/diary-lib.el (diary-font-lock-keywords)
3661         (diary-fancy-font-lock-keywords):
3662         * textmodes/reftex-sel.el (reftex-insert-docstruct):
3663         * textmodes/reftex-index.el (reftex-insert-index):
3664         * textmodes/reftex-cite.el (reftex-format-bib-entry):
3665         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3666         * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
3667         * progmodes/prolog.el (prolog-font-lock-keywords):
3668         * progmodes/idlwave.el (idlwave-idl-keywords):
3669         * progmodes/ada-mode.el (ada-font-lock-keywords):
3670         * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
3672 2012-09-24  Glenn Morris  <rgm@gnu.org>
3674         * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
3676 2012-09-23  Fabián Ezequiel Gallina  <fgallina@cuca>
3678         * progmodes/python.el (python-indent-line): More consistent cursor
3679         movement behavior.
3681 2012-09-23  Stefan Merten  <smerten@oekonux.de>
3683         * textmodes/rst.el: Fix compiler warning.
3685 2012-09-23  Roland Winkler  <winkler@gnu.org>
3687         * textmodes/bibtex.el (bibtex-autokey-transcriptions):
3688         Transcribe also LaTeX hyphenation.
3689         (bibtex-reformat): Bug fix. Do not quote twice the elements of
3690         bibtex-reformat-previous-options.
3692 2012-09-23  Roland Winkler  <winkler@gnu.org>
3694         * proced.el (proced-renice-command): New variable.
3695         (proced-marked-processes): New function.
3696         (proced-with-processes-buffer): New macro.
3697         (proced-send-signal): Use them.
3698         (proced-renice): New command bound to r.
3700 2012-09-23  Roland Winkler  <winkler@gnu.org>
3702         * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
3703         ibuffer-saved-filter-groups has one element, shortcut the call of
3704         completing-read.  (Bug#12331)
3706 2012-09-23  Chong Yidong  <cyd@gnu.org>
3708         * bindings.el (mode-line-toggle-read-only):
3709         * bs.el (bs-toggle-readonly):
3710         * buff-menu.el (Buffer-menu-toggle-read-only):
3711         * dired.el (dired-toggle-read-only):
3712         * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
3714 2012-09-23  Chong Yidong  <cyd@gnu.org>
3716         * image.el (image-type-available-p): Adapt to init-image-library
3717         argument changes.
3719 2012-09-22  Juri Linkov  <juri@jurta.org>
3721         * dired.el (dired-mode-map): Add [remap read-only-mode] for
3722         `dired-toggle-read-only'.  (Bug#12462)
3724 2012-09-22  Martin Rudalics  <rudalics@gmx.at>
3726         * subr.el (temp-output-buffer-show): New function.
3727         (with-output-to-temp-buffer): Call temp-output-buffer-show
3728         instead of internal-temp-output-buffer-show.
3730 2012-09-22  Chong Yidong  <cyd@gnu.org>
3732         * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
3733         (Bug#12462).
3735         * repeat.el (repeat): Doc fix (Bug#12348).
3737         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
3738         (Bug#10909).
3740         * simple.el (shell-command-on-region): Doc fix.
3741         (read-only-mode): Doc fix.
3743 2012-09-22  Eli Zaretskii  <eliz@gnu.org>
3745         * emacs-lisp/timer.el (run-with-idle-timer)
3746         (timer-activate-when-idle): Warn against reinvoking an idle timer
3747         from within its own timer action.  (Bug#12447)
3749 2012-09-22  Martin Rudalics  <rudalics@gmx.at>
3751         * cus-start.el (window-combination-limit): Add new optional
3752         values.
3753         * window.el (temp-buffer-window-show)
3754         (window--try-to-split-window): Handle new values of
3755         window-combination-limit (Bug#1806).
3756         (split-window): Test window-combination-limit for t instead of
3757         non-nil.
3758         (display-buffer-at-bottom): New buffer display action function.
3759         * help.el (temp-buffer-resize-regexps): New option.
3760         (temp-buffer-resize-mode): Rewrite doc-string.
3761         (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
3762         Don't resize reused window.  Suggested by Glenn Morris.
3764 2012-09-22  Stefan Merten  <smerten@oekonux.de>
3766         * textmodes/rst.el: Revamp section title faces.
3767         (rst-official-version)
3768         (rst-package-emacs-version-alist): Sync with official version
3769         V1.4.0.
3770         (rst-faces-defaults, rst-set-level-default)
3771         (rst-level-face-max, rst-level-face-base-color)
3772         (rst-level-face-base-light, rst-level-face-format-light)
3773         (rst-level-face-step-light, rst-define-level-faces): Obsolete.
3774         (rst-adornment-faces-alist): Match new setup.
3775         (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
3776         (rst-level-5, rst-level-6): New faces.
3778 2012-09-22  Chong Yidong  <cyd@gnu.org>
3780         * simple.el (undo): Handle indirect buffers (Bug#8207).
3782 2012-09-21  Leo Liu  <sdl.web@gmail.com>
3784         IDO: Disable match re-ordering for buffer switching.
3785         * ido.el (ido-buffer-disable-smart-matches): New variable.
3786         (ido-set-matches-1): Use it.  (Bug#2042)
3788 2012-09-21  Jose Marino  <marinoj@nso.edu>  (tiny change)
3790         * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
3791         Fix 2011-05-17 change.  (Bug#12418)
3793 2012-09-21  Leo Liu  <sdl.web@gmail.com>
3795         * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
3797 2012-09-21  Glenn Morris  <rgm@gnu.org>
3799         * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
3800         Be more robust about locating simple.el.
3802 2012-09-21  Glenn Morris  <rgm@gnu.org>
3804         * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
3806 2012-09-21  Joel Bion  <jpbion@westvi.com>  (tiny change)
3808         * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz.  (Bug#12382)
3810 2012-09-20  Juri Linkov  <juri@jurta.org>
3812         * replace.el (query-replace-read-from): Use `read-regexp' instead
3813         of `read-from-minibuffer' when `regexp-flag' is non-nil.
3814         (occur-read-primary-args): Use `read-regexp' instead of
3815         `read-string'.
3816         (multi-occur-in-matching-buffers): Use `read-regexp' instead of
3817         `read-from-minibuffer'.
3818         * isearch.el (isearch-occur): Use `read-regexp' instead of
3819         `read-string'.
3820         * dired.el (dired-read-regexp): Use `read-regexp' instead of
3821         `read-from-minibuffer'.
3822         * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
3823         of `read-string'.  (Bug#7567)
3825         * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
3826         and allow accepting a list of strings prepended to a list of
3827         standard default values.  Doc fix.  (Bug#12321)
3829         * replace.el (read-regexp): Add HISTORY arg.  (Bug#7567)
3831         * replace.el (read-regexp): Don't add ": " when PROMPT already
3832         ends with a colon and space.  (Bug#12321)
3834 2012-09-20  Tassilo Horn  <tsdh@gnu.org>
3836         * doc-view.el (doc-view-display): Better fix for the cl-assertion
3837         error.
3839 2012-09-20  Stefan Merten  <smerten@oekonux.de>
3841         * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
3842         Fixes feature request bug#11711.
3843         (rst-mode): Create `imenu-create-index-function'.
3844         (rst-get-stripped-line): Delete after refactoring.
3845         (rst-section-tree, rst-section-tree-rec)
3846         (rst-section-tree-point): Refactor and document properly.
3847         (rst-imenu-find-adornments-for-position)
3848         (rst-imenu-convert-cell, rst-imenu-create-index):
3849         New function.
3851 2012-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
3853         * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
3854         (macroexp--expand-all): Use it.
3855         (macroexp--funcall-and-return): Remove by folding it into its sole
3856         caller (macroexp--warn-and-return).
3857         * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
3858         Use macroexp--obsolete-warning.
3860         * calc/calc.el: Fix last change by removing the whole chunk, since it
3861         was only needed back when Calc was not bundled.
3863 2012-09-20  Martin Rudalics  <rudalics@gmx.at>
3865         * emacs-lisp/debug.el (debug): Restore assignment to
3866         debugger-old-buffer removed on 2012-09-08.
3868 2012-09-20  Juri Linkov  <juri@jurta.org>
3870         * dired-aux.el (dired-diff): Remove (require 'diff) since
3871         `diff-latest-backup-file' is now autoloaded.
3873 2012-09-20  Chong Yidong  <cyd@gnu.org>
3875         * vc/diff.el (diff-latest-backup-file): Autoload.
3877 2012-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
3879         * calc/calc.el: Remove redundant autoload shape check.
3880         (sel-mode): Don't defvar.
3881         (calc-get-stack-element): Add `sel-mode' arg instead.
3882         (calc-top, calc-top-list): Pass it this additional argument.
3883         * calc/calc-store.el (calc-store-map):
3884         * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
3885         (calc-map-equation, calc-outer-product, calc-inner-product):
3886         * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
3888         * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
3890 2012-09-19  Juri Linkov  <juri@jurta.org>
3892         * dired-aux.el (dired-diff): Add (require 'diff) because
3893         `diff-latest-backup-file' is not autoloaded.
3894         (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
3895         of `dired-get-filename' to t to not report error when there is
3896         no default file on the current line.
3898 2012-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
3900         * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
3901         macroexp--eval-if-compile.
3902         (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
3903         (macroexp--expand-all): Use them (bug#12371).
3905         * doc-view.el (doc-view-guess-paper-size)
3906         (doc-view-scale-bounding-box): Fix unbound `caddr'.
3908 2012-09-19  Tassilo Horn  <tsdh@gnu.org>
3910         New feature: set optimal slice from BoundingBox information.
3911         * doc-view.el (doc-view-mode-map): Add keybinding.
3912         (doc-view-menu): Add menu entry.
3913         (doc-view-set-slice): Adapt docstring.
3914         (doc-view-get-bounding-box, doc-view-guess-paper-size)
3915         (doc-view-scale-bounding-box)
3916         (doc-view-set-slice-from-bounding-box): New functions.
3917         (doc-view-paper-sizes): New defvar.
3919 2012-09-19  Glenn Morris  <rgm@gnu.org>
3921         * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
3922         (byte-compile-log-warning): Autoload.  (Bug#12371)
3924         * calendar/calendar.el (calendar-american-month-header)
3925         (calendar-european-month-header, calendar-iso-month-header)
3926         (calendar-month-header): New options.
3927         (calendar-set-date-style): Set calendar-month-header.  Redraw calendar.
3928         (calendar-generate-month): Use calendar-month-header.  (Bug#9510)
3930 2012-09-19  Jan Djärv  <jan.h.d@swipnet.se>
3932         * startup.el (command-line-ns-option-alist): Add -g and --geometry.
3934 2012-09-18  Juri Linkov  <juri@jurta.org>
3936         * dired-aux.el (dired-diff): Restore original functionality of
3937         getting the default value, but keep new feature of using the
3938         latest existing backup file (`diff-latest-backup-file').
3940 2012-09-18  Juri Linkov  <juri@jurta.org>
3942         * dired.el (dired-mark): If the region is active in Transient Mark
3943         mode, mark all files in the active region.  Doc fix.
3944         (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
3945         Doc fix.  (Bug#10624)
3947 2012-09-18  Juri Linkov  <juri@jurta.org>
3949         * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
3950         attributes for M-n are pulled from the file at point.
3951         (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
3952         Suggested by Drew Adams.  (Bug#10624)
3954 2012-09-18  Dmitry Gutov  <dgutov@yandex.ru>
3956         * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
3957         whitespace after "end".
3958         (ruby-do-end-to-brace): Collapse block to one line if it fits
3959         within fill-column.
3961 2012-09-18  Martin Rudalics  <rudalics@gmx.at>
3963         * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
3964         value.
3965         (debug): Don't remove debugger window when debugger is expected
3966         to be back.
3968 2012-09-18  Chong Yidong  <cyd@gnu.org>
3970         * custom.el (defface): Doc fix.
3972         * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
3974 2012-09-18  Martin Blais  <blais@furius.ca>  (tiny change)
3976         * progmodes/compile.el (compilation-start): Use compilation-always-kill
3977         to initialize query-on-exit; then test that instead (bug#12288).
3979 2012-09-17  Stefan Merten  <smerten@oekonux.de>
3981         * textmodes/rst.el: Add support for `testcover'.
3982         (rst-defcustom-testcover, rst-testcover-add-compose)
3983         (rst-testcover-add-1value): New functions.
3984         (rst-portable-mark-active-p): Replace by `use-region-p'.
3985         (rst-update-section, rst-classify-adornment)
3986         (rst-find-title-line): Mark `1value' forms.
3987         (rst-classify-adornment): Remove superfluous form.
3988         (rst-update-section, rst-get-adornments-around)
3989         (rst-adornment-complete-p, rst-get-next-adornment)
3990         (rst-adjust, rst-promote-region)
3991         (rst-display-adornments-hierarchy, rst-straighten-adornments)
3992         (rst-find-pfx-in-region, rst-section-tree-rec)
3993         (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
3994         (rst-toc-node, rst-toc, rst-forward-section)
3995         (rst-iterate-leftmost-paragraphs)
3996         (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
3997         (rst-bullet-list-region)
3998         (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
3999         (rst-compile-find-conf, rst-compile)
4000         (rst-repeat-last-character): Fix style.
4002 2012-09-17  Chong Yidong  <cyd@gnu.org>
4004         * comint.el (comint--complete-file-name-data): Don't add a space
4005         if the status is `sole'; that adds a gratuitous space in the
4006         completion-cycling case (Bug#12092).
4008         * pcomplete.el (pcomplete-completions-at-point): Likewise.
4010 2012-09-17  Richard Stallman  <rms@gnu.org>
4012         * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
4013         only in the mime-shown mode, not in raw mode.
4014         (rmail-mime): Toggle off mime by displaying the message without
4015         mime processing.  (Bug#12305)
4017         * mail/rmail.el (rmail-retry-failure):
4018         Turn off mime processing first.  (Bug#12037)
4020         * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
4022 2012-09-17  Chong Yidong  <cyd@gnu.org>
4024         * shell.el (shell-file-name-chars, shell-file-name-quote-list)
4025         (shell-dynamic-complete-functions): Convert to defcustom.
4026         (shell-prompt-pattern, shell-completion-fignore): Doc fix.
4028         * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
4029         * comint.el (comint-prompt-read-only):
4030         * custom.el (defcustom):
4031         * hi-lock.el (hi-lock-mode):
4032         * ibuffer.el (ibuffer-formats):
4033         * ielm.el (ielm-prompt-read-only):
4034         * novice.el (disable-command):
4035         * saveplace.el (toggle-save-place):
4036         * speedbar.el (speedbar-supported-extension-expressions):
4037         * startup.el (auto-save-list-file-prefix, init-file-user)
4038         (after-init-hook, inhibit-startup-echo-area-message):
4039         * strokes.el (strokes-help):
4040         * time-stamp.el (time-stamp):
4041         * calendar/calendar.el (calendar, diary-file):
4042         * calendar/diary-lib.el (diary-mail-entries, diary)
4043         (diary-list-entries-hook):
4044         * calendar/holidays.el (holidays, calendar-holidays):
4045         * calendar/lunar.el (lunar-phases):
4046         * calendar/solar.el (sunrise-sunset):
4047         * emulation/edt.el (edt-load-keys):
4048         * emulation/viper.el (viper-mode):
4049         * eshell/em-alias.el (eshell-command-aliases-list):
4050         * eshell/esh-util.el (eshell-convert-numeric-arguments):
4051         * international/ogonek.el (ogonek-information):
4052         * net/tramp-cmds.el (tramp-bug):
4053         * net/quickurl.el (quickurl-reread-hook-postfix):
4054         * play/decipher.el (decipher-font-lock-keywords):
4055         * progmodes/cc-styles.el (c-set-style):
4056         * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
4057         * progmodes/inf-lisp.el (inferior-lisp-prompt):
4058         * progmodes/octave-mod.el (octave-mode):
4059         * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
4060         * progmodes/verilog-mode.el (verilog-read-defines):
4061         * textmodes/two-column.el (2C-mode): Likewise.
4063 2012-09-16  Katsumi Yamaoka  <yamaoka@jpl.org>
4065         * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
4066         that holds many addresses.
4068 2012-09-16  Chong Yidong  <cyd@gnu.org>
4070         * align.el (align-areas): Call the indication function with
4071         positions instead of markers for arguments (Bug#12343).
4073         * files.el (parse-colon-path): Use split-string (Bug#12351).
4075         * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4076         (display-buffer-function): Mark as obsolete.
4078         * progmodes/compile.el (compilation-parse-errors): Accept list
4079         values similar to font-lock-keywords (Bug#12136).
4080         Suggested by Oleksandr Manzyuk.
4081         (compilation-error-regexp-alist): Doc fix.
4083 2012-09-15  Glenn Morris  <rgm@gnu.org>
4085         * version.el (emacs-bzr-version-bzr): New function.
4086         (emacs-bzr-get-version): Add optional EXTERNAL argument.
4088         * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
4089         checkouts, check the parent dirstate matches the branch.
4090         Add "--tree" to "bzr revno" arguments.  Don't try to shorten the
4091         empty string.
4093         * version.el (emacs-bzr-version): Doc fix.
4094         (emacs-bzr-version-dirstate): New function.
4095         (emacs-bzr-get-version): For lightweight checkouts, if the parent
4096         is local try and check that it matches the branch.  If not, just
4097         use dirstate information.  (Bug#12441)
4099 2012-09-14  Juri Linkov  <juri@jurta.org>
4101         * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
4102         (Bug#12399)
4104 2012-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
4106         * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
4108         * emacs-lisp/edebug.el: Miscellaneous cleanup.
4109         Remove obsolete byte-compiler hack that tried to silence some warnings.
4110         (edebug-submit-bug-report): Remove.
4111         (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
4112         Remove aliases, use the un-prefixed name instead.
4113         (edebug-pop-to-buffer): Consider other frames.
4114         (edebug-original-read):: Make it more obvious that it's always defined.
4115         (edebug--make-form-data-entry, edebug--form-data-name)
4116         (edebug--form-data-begin, edebug--form-data-end): Rename from the
4117         single-dashed name, and implement with cl-defstruct.
4118         (edebug-set-form-data-entry): Use the standard accessors.
4119         (edebug-make-top-form-data-entry): Use push.
4120         (edebug-no-match): Drop useless `funcall'.
4121         (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
4122         to functions.
4123         (defsubst, dont-compile, eval-when-compile, eval-and-compile)
4124         (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
4125         (with-syntax-table, push, pop, 1value, noreturn, defadvice)
4126         (easy-menu-define, with-custom-print): Remove redundant specs.
4127         (edebug-outside-overriding-local-map)
4128         (edebug-outside-overriding-terminal-local-map): Remove, unused.
4129         (edebug--display): Bind unread-command-events directly to nil rather
4130         than binding it to unread-command-events and later setting it to nil.
4131         (edebug--display): Kill edebug-eval-buffer here...
4132         (edebug--recursive-edit): ...rather than here.
4133         Bind standard-output and standard-input.
4134         (edebug-eval): Check cl-macroexpand-all is fboundp.
4135         (edebug-temp-display-freq-count): Fix last change.
4137         * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
4138         * subr.el (noreturn, 1value): Add `debug' spec.
4139         * emacs-lisp/advice.el: Require cl-lib.
4140         (ad-copy-tree): Remove, use copy-tree instead.
4141         (ad-dolist): Remove use dolist or cl-dolist instead.
4142         (ad-do-return): Remove, use cl-return instead.
4143         (defadvice): Add `debug' spec.
4145 2012-09-13  Juri Linkov  <juri@jurta.org>
4147         * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
4148         (Bug#12399)
4150 2012-09-13  Glenn Morris  <rgm@gnu.org>
4152         * calc/calc.el (math-compose-expr):
4153         * calc/calc-ext.el (math-compose-expr):
4154         * progmodes/cc-defs.el (cl-macroexpand-all):
4155         * progmodes/cc-langs.el (delete-duplicates, mapcan)
4156         (cl-macroexpand-all): Update declarations.
4158         * vc/vc.el: No need to require ediff.
4159         (ediff-load-version-control): Declare.
4160         (ediff-vc-internal): Fix declaration.
4161         (vc-version-ediff): Require ediff.
4163 2012-09-13  Paul Eggert  <eggert@cs.ucla.edu>
4165         Use a more backwards-compatible timer format (Bug#12430).
4166         * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
4167         being right after USECS, as that better supports old code that
4168         inadvisedly looked directly at the timer vector.
4170 2012-09-13  Kenichi Handa  <handa@gnu.org>
4172         * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
4173         ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
4174         `coding-priority' property of these language environment.
4176 2012-09-13  Paul Eggert  <eggert@cs.ucla.edu>
4178         Fix glitches caused by addition of psec to timers (Bug#12430).
4179         * image.el (image-animate-timer):
4180         * time.el (display-time-world-timer):
4181         Use timer--function and timer--args rather than raw access to
4182         timer vector.
4184 2012-09-13  Glenn Morris  <rgm@gnu.org>
4186         * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
4187         If not compiling a file, try using load-file-name.
4189 2012-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
4191         * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
4192         Fix last change.
4193         (edebug-update-eval-list): Use `push'.
4195         * emacs-lisp/edebug.el: Use lexical-binding.
4196         Remove the "edebug-" prefix from non-dynamically-scoped variables.
4197         Mark unused args with underscore.
4198         (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
4199         (edebug-form-data): Use defvar-local.
4200         (edebug-make-before-and-after-form, edebug-make-after-form):
4201         Use backquote.
4202         (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
4203         Not dynamically scoped any more.
4204         (edebug--enter-trace): Add arguments `function' and `args'.
4205         Rename from edebug-enter-trace.
4206         (edebug-enter): Call it accordingly.  Bind edebug-function explicitly.
4207         (edebug--update-coverage): Add `after-index' and `value' args.
4208         Rename from edebug-update-coverage.
4209         (edebug-slow-after): Call it accordingly.
4210         (edebug--recursive-edit): Add arg `arg-mode'.  Rename from
4211         edebug-recursive-edit.
4212         (edebug--display): Call it accordingly.  Add args `value',
4213         `offset-index', and `arg-mode'.  Rename from edebug-display.
4214         (edebug-debugger, edebug): Call it accordingly.
4215         (edebug-eval-display-list): Use dolist.
4217 2012-09-12  Juri Linkov  <juri@jurta.org>
4219         * info.el (Info-search): Don't check for isearch-mode and
4220         isearch-regexp before let-binding search-spaces-regexp to
4221         Info-search-whitespace-regexp.
4222         (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
4223         search-whitespace-regexp if isearch-lax-whitespace or
4224         isearch-regexp-lax-whitespace is non-nil.
4225         (Info-mode): Don't set local variable search-whitespace-regexp.
4226         http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
4228 2012-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
4230         * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
4231         (debugger-env-macro): Remove support for unread-command-char.
4233         * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
4234         the temporary map re-appearing on emulation-mode-map-alists.
4236         * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
4237         since 22.1.
4239         * ehelp.el (with-electric-help): Accept functions in
4240         electric-help-form-to-execute.
4241         (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
4242         And replace unread-command-char -> unread-command-events.
4244 2012-09-12  Michael Albinus  <michael.albinus@gmx.de>
4246         Sync with Tramp 2.2.6.
4248         * net/tramp.el (tramp-accept-process-output): Don't use
4249         JUST-THIS-ONE in the XEmacs case.
4251         * net/trampver.el: Update release number.
4253 2012-09-12  Martin Rudalics  <rudalics@gmx.at>
4255         * emacs-lisp/debug.el (debugger-previous-window-height):
4256         New variable.
4257         (debug): When debugger-jumping-flag is non-nil try to restore
4258         height of debugger window.  (Bug#8789)
4260 2012-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
4262         * emacs-lisp/edebug.el (edebug-enter): Don't mess with
4263         overriding-local-map and pre/post-command-hook here.
4264         (edebug-recursive-edit): Do it here instead (bug#12345).
4265         (edebug-outside-unread-command-char): Remove all uses of
4266         unread-command-char.
4268         * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
4269         inhibit-debugger is bound instead.
4271 2012-09-11  Bastien Guerry  <bzg@gnu.org>
4273         * subr.el (set-temporary-overlay-map): Add a docstring.
4274         (Bug#12346)
4276 2012-09-11  Bastien Guerry  <bzg@gnu.org>
4278         * minibuffer.el (completion-table-subvert): Fix docstring.
4279         (Bug#12347)
4281 2012-09-11  Bastien Guerry  <bzg@gnu.org>
4283         * help-fns.el (describe-variable): Fix typo.  (Bug#12346)
4285 2012-09-10  Michael R. Mauger  <mmaug@yahoo.com>
4287         * progmodes/sql.el: Version 3.1
4288         (sql-db2-escape-newlines): New variable.
4289         (sql-escape-newlines-filter): Use it.
4291 2012-09-10  Juanma Barranquero  <lekktu@gmail.com>
4293         * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
4295 2012-09-10  Dan Nicolaescu  <dann@gnu.org>
4297         * vc/diff-mode.el (diff-mode-menu):
4298         Bind diff-remove-trailing-whitespace.
4300 2012-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
4302         * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
4303         (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
4304         (emacs-lisp-byte-code-mode): New functions.
4305         (eval-sexp-add-defvars): Don't skip defvars in column >0.
4306         (eval-defun-2): Remove bogus interactive spec.
4307         (lisp-indent-line): Remove redundant whole-exp code, now done in
4308         indent-according-to-mode.
4309         (save-match-data): Remove redundant indent data.
4311         * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
4312         Use `declare'.
4314 2012-09-09  Juri Linkov  <juri@jurta.org>
4316         * replace.el (replace-regexp-lax-whitespace): New defcustom.
4317         (replace-lax-whitespace, query-replace-regexp)
4318         (query-replace-regexp-eval, replace-regexp): Doc fix.
4319         (perform-replace, replace-highlight): Let-bind
4320         isearch-lax-whitespace to replace-lax-whitespace and
4321         isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
4323         * isearch.el (isearch-query-replace): Let-bind
4324         replace-lax-whitespace to isearch-lax-whitespace and
4325         replace-regexp-lax-whitespace to
4326         isearch-regexp-lax-whitespace.  (Bug#10885)
4328 2012-09-09  Stefan Monnier  <monnier@iro.umontreal.ca>
4330         * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
4332 2012-09-09  Alan Mackenzie  <acm@muc.de>
4334         * progmodes/cc-engine.el (c-state-cache-init):
4335         Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
4336         (c-record-parse-state-state):
4337         Record c-state-semi-nonlit-pos-cache\(-limit\)?.
4339 2012-09-09  Andreas Schwab  <schwab@linux-m68k.org>
4341         * register.el (register-separator): Rename from
4342         separator-register.  All uses changed.  Doc fix.
4343         (register): Fix version.
4345 2012-09-09  Chong Yidong  <cyd@gnu.org>
4347         * replace.el (query-replace-map): Bind four new symbols for
4348         requesting window scrolling.
4350         * subr.el (y-or-n-p): Handle the window-scrolling bindings in
4351         query-replace-map (Bug#8948).
4353         * custom.el (custom-theme-load-confirm): Use y-or-n-p.
4355         * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
4356         since they are now in query-replace-map.
4358         * window.el (scroll-other-window-down): Make the arg optional.
4360 2012-09-09  Chong Yidong  <cyd@gnu.org>
4362         * files.el (hack-local-variables-confirm): Use quit-window to kill
4363         the *Local Variables* buffer.
4365 2012-09-08  Dmitry Gutov  <dgutov@yandex.ru>
4367         * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
4368         not just expect to be at its beginning.  Adjust callees.
4369         Succeed when do-end block has no space before the pipe character.
4370         (ruby-brace-to-do-end): When the original block is one-liner,
4371         convert to multiline.  Reindent the result.
4373 2012-09-08  Jambunathan K  <kjambunathan@gmail.com>
4375         * register.el (register): New group.
4376         (separator-register): New user option.
4377         (increment-register): Route it to `append-to-register', if
4378         register contains text.  Implication is that `C-x r +' can now be
4379         used for appending to a text register (bug#12217).
4380         (append-to-register, prepend-to-register): Add separator based on
4381         `separator-register'.
4383 2012-09-08  Alan Mackenzie  <acm@muc.de>
4385         AWK Mode: make auto-newline work when there's "==" in the pattern.
4386         * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
4387         correctly.
4388         * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
4389         Test more rigorously for "=" token.
4391 2012-09-08  Dmitry Gutov  <dgutov@yandex.ru>
4393         * progmodes/ruby-mode.el (ruby-match-expression-expansion):
4394         Only fail when reached LIMIT.
4396 2012-09-08  Chong Yidong  <cyd@gnu.org>
4398         * dired.el (dired-mode-map): Don't bind M-=.
4400         * dired-aux.el (dired-diff): Use backup file as default.
4402 2012-09-08  Drew Adams  <drew.adams@oracle.com>
4404         * subr.el (add-to-history): Fix delete usage (Bug#12314).
4406 2012-09-08  Chong Yidong  <cyd@gnu.org>
4408         * subr.el (syntax-after, syntax-class): Doc fix.
4410 2012-09-08  Martin Rudalics  <rudalics@gmx.at>
4412         * window.el (display-buffer-in-previous-window): New buffer
4413         display action function.
4415         * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
4416         (debugger-previous-window): New variable.
4417         (debug): Rewrite using display-buffer-in-previous-window,
4418         quit-restore-window and debugger-bury-or-kill.  (Bug#8789)
4420 2012-09-07  Stefan Monnier  <monnier@iro.umontreal.ca>
4422         * emacs-lisp/byte-run.el (defun): Tweak message.  Simplify code.
4424 2012-09-07  Matt McClure  <mlm@aya.yale.edu>  (tiny change)
4426         * progmodes/python.el (python-shell-send-string):
4427         When default-directory is remote, create temp file on remote
4428         filesystem.
4429         (python-shell-send-file): When file is remote, pass local view of
4430         file paths to remote Python interpreter.  (Bug#12340)
4432 2012-09-07  Chong Yidong  <cyd@gnu.org>
4434         * window.el (switch-to-buffer): Doc fix (Bug#12181).
4436         * files.el (after-find-file): Don't fail on a read-only buffer if
4437         require-final-newline is `visit' or `visit-save' (Bug#11156).
4439         * subr.el (read-char-choice): Allow quitting via ESC ESC.
4441         * userlock.el (ask-user-about-supersession-threat):
4442         Use read-char-choice (Bug#12093).
4444 2012-09-07  Chong Yidong  <cyd@gnu.org>
4446         * subr.el (buffer-narrowed-p): New function.
4448         * ses.el (ses-widen):
4449         * simple.el (count-words--buffer-message):
4450         * net/browse-url.el (browse-url-of-buffer): Use it.
4452         * simple.el (count-words-region): Don't signal an error if there
4453         is a non-nil prefix arg and the mark is not set.
4455         * help.el (describe-key-briefly): Allow the message to be seen
4456         when invoked from the minibuffer (Bug#7014).
4458 2012-09-07  Dmitry Gutov  <dgutov@yandex.ru>
4460         * progmodes/ruby-mode.el (ruby-end-of-defun)
4461         (ruby-beginning-of-defun): Simplify, allow indentation before
4462         block beginning and end keywords.
4463         (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
4464         (ruby-end-of-defun): Expect that the point is at the beginning of
4465         the defun.
4467 2012-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
4469         * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
4470         (bug#12367).
4471         (cl--make-usage-args): Strip _ from argument names.
4473 2012-09-06  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
4475         * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
4476         obsolete alias speedbar-key-map.
4477         (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
4478         (vhdl-index-menu-init): Don't use obsolete variable
4479         font-lock-maximum-size.
4481 2012-09-06  Chong Yidong  <cyd@gnu.org>
4483         * frame.el (window-system-version): Mark as obsolete.
4485         * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
4486         of obsolete variable speedbar-key-map.
4488 2012-09-06  Juri Linkov  <juri@jurta.org>
4490         * replace.el (replace-lax-whitespace): New defcustom.
4491         (query-replace, query-replace-regexp, query-replace-regexp-eval)
4492         (replace-string, replace-regexp): Mention it in docstrings.
4493         (perform-replace, replace-highlight): Let-bind
4494         isearch-lax-whitespace and isearch-regexp-lax-whitespace according
4495         to the values of replace-lax-whitespace and regexp-flag.
4496         Don't let-bind search-whitespace-regexp.  (Bug#10885)
4498         * isearch.el (isearch-query-replace): Let-bind
4499         replace-lax-whitespace instead of let-binding
4500         replace-search-function and replace-re-search-function.
4501         (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
4502         and isearch-regexp-lax-whitespace to lazy-highlight variables.
4503         (isearch-toggle-symbol): Set isearch-regexp to nil
4504         in isearch-word mode (like in isearch-toggle-word).
4506 2012-09-06  Juri Linkov  <juri@jurta.org>
4508         * replace.el (replace-search-function)
4509         (replace-re-search-function): Set default values to nil.
4510         (perform-replace): Let-bind isearch-related variables based on
4511         replace-related values, call `isearch-search-fun' and let-bind
4512         the result to `search-function'.  Remove code that sets
4513         `search-function' and `search-string' separately for
4514         `delimited-flag'.
4515         (replace-highlight): Add new argument `delimited-flag' and
4516         rename other arguments to the names used in `perform-replace'.
4517         Let-bind `isearch-word' to the argument `delimited-flag'.
4518         (Bug#10885, bug#10887)
4520 2012-09-07  Dmitry Gutov  <dgutov@yandex.ru>
4522         * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
4523         ruby-beginning-of-indent, simplify, allow all keywords to have
4524         indentation before them.
4525         (ruby-beginning-of-indent): Adjust for above.  Search until the
4526         found point is not inside a string or comment.
4527         (ruby-font-lock-keywords): Allow symbols to start with "@"
4528         character, give them higher priority than variables.
4529         (ruby-syntax-propertize-function)
4530         (ruby-font-lock-syntactic-keywords): Remove the "not comments"
4531         matchers.  Expression expansions are not comments when inside a
4532         string, and there comment syntax status is irrelevant.
4533         (ruby-match-expression-expansion): New function.  Check that
4534         expression expansion is inside a string, and it's not escaped.
4535         (ruby-font-lock-keywords): Use it.
4537 2012-09-05  Martin Rudalics  <rudalics@gmx.at>
4539         * help.el (temp-buffer-max-height): New default value.
4540         (temp-buffer-resize-frames): New option.
4541         (resize-temp-buffer-window): Optionally resize frame.
4543         * window.el (fit-frame-to-buffer-bottom-margin): New option.
4544         (fit-frame-to-buffer): New function.
4546 2012-09-05  Glenn Morris  <rgm@gnu.org>
4548         * emulation/cua-rect.el (cua--init-rectangles):
4549         * textmodes/picture.el (picture-mode-map):
4550         * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
4551         like forward-char and backward-char.  (Bug#12317)
4553 2012-09-05  Leo Liu  <sdl.web@gmail.com>
4555         * progmodes/flymake.el (flymake-warning-re): New variable.
4556         (flymake-parse-line): Use it.
4558 2012-09-05  Glenn Morris  <rgm@gnu.org>
4560         * calendar/holidays.el (holiday-christian-holidays):
4561         Rename an entry.  (Bug#12289)
4563 2012-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
4565         * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
4566         (bug#12222).
4568 2012-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
4570         * loadup.el: Load macroexp.  Remove hack.
4571         * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
4572         (macroexp--expand-all): Use it to get better warnings.
4573         (macroexp--backtrace, macroexp--trim-backtrace-frame)
4574         (internal-macroexpand-for-load): New functions.
4575         (macroexp--pending-eager-loads): New var.
4576         (emacs-startup-hook): New hack to replace one in loadup.el.
4577         * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
4578         (cl--compiler-macro-cXXr): Move to top, before they can be used.
4579         (cl-psetf): Simplify.
4580         (cl-defstruct): Add indent rule.
4582 2012-09-04  Lars Ingebrigtsen  <larsi@gnus.org>
4584         * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
4585         over `user-mail-address' for the SMTP MAIL FROM envelope.
4586         (smtpmail-via-smtp): Ditto.
4588 2012-09-04  Dmitry Gutov  <dgutov@yandex.ru>
4590         * progmodes/ruby-mode.el: Clean up keybindings.
4591         (ruby-mode-map): Don't bind ruby-electric-brace,
4592         ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
4593         backward-kill-word, reindent-then-newline-and-indent.
4594         (ruby-mark-defun): Remove.
4595         (ruby-electric-brace): Remove.  Obsoleted by electric-indent-chars.
4596         (ruby-mode): Set local beginning-of-defun-function and
4597         end-of-defun-function values.
4599 2012-09-03  Martin Rudalics  <rudalics@gmx.at>
4601         * window.el (temp-buffer-window-setup-hook)
4602         (temp-buffer-window-show-hook): New hooks.
4603         (temp-buffer-window-setup, temp-buffer-window-show)
4604         (with-temp-buffer-window): New functions.
4605         (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
4606         (special-display-popup-frame): Make sure the window used shows BUFFER.
4608         * help.el (temp-buffer-resize-mode): Fix doc-string.
4609         (resize-temp-buffer-window): New optional argument WINDOW.
4611         * files.el (recover-file, save-buffers-kill-emacs):
4612         * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
4614 2012-09-02  Michael Albinus  <michael.albinus@gmx.de>
4616         * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
4617         remote definition of `default-directory', ensure we can connect.
4619 2012-09-02  Juri Linkov  <juri@jurta.org>
4621         Toggle whitespace matching mode with M-s SPC.
4622         http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
4624         * isearch.el (search-whitespace-regexp): Doc fix.
4625         Remove cons cell customization.
4626         (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
4627         (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
4628         New variables.
4629         (isearch-forward, isearch-forward-regexp): Doc fix.
4630         (isearch-toggle-lax-whitespace): New command.
4631         (search-forward-lax-whitespace, search-backward-lax-whitespace)
4632         (re-search-forward-lax-whitespace)
4633         (re-search-backward-lax-whitespace): New functions.
4634         (isearch-whitespace-regexp): Remove function.
4635         (isearch-query-replace): Let-bind replace-search-function and
4636         replace-re-search-function.
4637         (isearch-occur): Let-bind search-spaces-regexp according to the
4638         value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
4639         (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
4640         condition for C-q SPC.
4641         (isearch-search-fun-default): Use new functions mentioned above.
4642         (isearch-search-forward, isearch-search-backward): Remove functions.
4643         (isearch-search): Don't let-bind search-spaces-regexp.
4644         (isearch-lazy-highlight-space-regexp): Remove variable.
4645         (isearch-lazy-highlight-lax-whitespace)
4646         (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
4647         (isearch-lazy-highlight-new-loop): Use them.
4648         (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
4650 2012-09-02  Chong Yidong  <cyd@gnu.org>
4652         * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
4654 2012-09-02  Glenn Morris  <rgm@gnu.org>
4656         * simple.el (undo): Tweak message in undo-only case.  (Bug#12283)
4658 2012-09-01  Glenn Morris  <rgm@gnu.org>
4660         * term.el: Tidy up menu definitions.
4661         (term-mode-map): Use easymenu for In/Out, Complete menus.
4662         (term-pager-break-map): Initialize in the defvar.
4663         (term-terminal-menu, term-signals-menu): Define with easymenu.
4664         (term-terminal-menu): Also show it in line-mode.  (Bug#11957)
4665         (term-pager-menu): New, extracted from term-process-pager.
4666         (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
4667         (term-update-mode-line): Propertize line/char and page items.
4668         (term-process-pager): Move keymap initialization elsewhere.
4670 2012-09-01  Martin Rudalics  <rudalics@gmx.at>
4672         * window.el (switch-to-prev-buffer): Handle additional values of
4673         BURY-OR-KILL argument.  Don't switch in minibuffer window.
4674         (switch-to-next-buffer): Don't switch in minibuffer window.
4675         (quit-restore-window): New function based on quit-window.
4676         Handle additional values of former KILL argument.
4677         (quit-window): Call quit-restore-window with appropriate
4678         interpretation of KILL argument.
4679         (display-buffer-below-selected): New buffer display action
4680         function.
4682 2012-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>
4684         * minibuffer.el (completion-at-point-functions): Complete docstring
4685         (bug#12254).
4687 2012-09-01  Paul Eggert  <eggert@cs.ucla.edu>
4689         Better seed support for (random).
4690         * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
4691         * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
4692         * play/mpuz.el, play/tetris.el, play/zone.el:
4693         * calc/calc-comb.el (math-init-random-base):
4694         * play/blackbox.el (bb-init-board):
4695         * play/life.el (life):
4696         * server.el (server-use-tcp):
4697         * type-break.el (type-break):
4698         Remove unnecessary call to (random t).
4699         * net/sasl.el (sasl-unique-id-function):
4700         Change (random t) to (random), now that the latter is more random.
4701         * play/life.el (life-initialized): Remove no-longer-needed var.
4703 2012-08-31  Alp Aker  <alp.tekin.aker@gmail.com>
4705         * window.el (switch-to-prev-buffer, switch-to-next-buffer):
4706         Consider frame's buffer predicate when choosing the buffer.
4707         (Bug#12081)
4709 2012-08-30  Richard Stallman  <rms@gnu.org>
4711         * simple.el (special-mode-map): Delete binding for `z'.
4713 2012-08-30  Andreas Schwab  <schwab@linux-m68k.org>
4715         * progmodes/compile.el (compilation-always-kill): Doc fix.
4717 2012-08-30  Chong Yidong  <cyd@gnu.org>
4719         * window.el (display-buffer-reuse-frames): Make the obsolescence
4720         message more informative.
4722 2012-08-30  Glenn Morris  <rgm@gnu.org>
4724         * paren.el (show-paren-delay):
4725         Add a :set function.  Doc fix.  (Bug#12297)
4727 2012-08-29  Martin Blais  <blais@furius.ca>  (tiny change)
4729         * progmodes/compile.el (compilation-always-kill): New var.
4730         (compilation-start): Use it.
4732 2012-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
4734         * simple.el (read-only-mode): Move from files.el for bootstrapping.
4735         * files.el (read-only-mode): Move to simple.el.
4737         * files.el (read-only-mode): New minor mode.
4738         (toggle-read-only): Use it and mark obsolete.
4739         (find-file--read-only):
4740         * vc/vc.el (vc-next-action, vc-checkout):
4741         * vc/vc-cvs.el (vc-cvs-checkout):
4742         * obsolete/vc-mcvs.el (vc-mcvs-update):
4743         * ffap.el (ffap--toggle-read-only): Update callers.
4745 2012-08-29  Michael Albinus  <michael.albinus@gmx.de>
4747         * eshell/esh-ext.el (eshell-external-command): Do not examine
4748         remote shell scripts.
4749         See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
4751         * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
4752         "/usr/local/sbin".
4754 2012-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
4756         * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
4758 2012-08-28  Leo Liu  <sdl.web@gmail.com>
4760         * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
4761         completion-at-point.  (Bug#12220)
4763         * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
4765         * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
4767 2012-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
4769         * files.el (safe-local-eval-forms): Fix before-save-hook entry to
4770         be buffer-local; add delete-trailing-whitespace (bug#12259).
4772 2012-08-28  Jeremy Moore  <jmoore@ieee.org>  (tiny change)
4774         * progmodes/hideif.el (hif-compress-define-list):
4775         Fix typo.  (Bug#11951)
4777 2012-08-28  Dan Nicolaescu  <dann@gnu.org>
4779         * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
4780         buffer local setting.
4782         * net/rcirc.el (rcirc-split-message): Fix for buffer-local
4783         rcirc-encode-coding-system.
4785 2012-08-28  Leo Liu  <sdl.web@gmail.com>
4787         * net/rcirc.el (rcirc-split-message): New function.
4788         (rcirc-send-message): Use it.  (Bug#12051)
4790 2012-08-28  Juri Linkov  <juri@jurta.org>
4792         * info.el (Info-fontify-node): Hide empty lines at the end of
4793         the node.  (Bug#12272)
4795 2012-08-27  Drew Adams  <drew.adams@oracle.com>
4797         * dired.el (dired-pop-to-buffer): Make window start at beginning
4798         of buffer (Bug#12281).
4800 2012-08-26  Chong Yidong  <cyd@gnu.org>
4802         * window.el (special-display-regexps, special-display-frame-alist)
4803         (special-display-buffer-names, special-display-function)
4804         (display-buffer-reuse-frames): Mark as obsolete.
4806         * progmodes/compile.el: Don't use display-buffer-reuse-frames.
4808         * help.el (help-print-return-message): Don't treat
4809         display-buffer-reuse-frames specially.
4811 2012-08-26  Chong Yidong  <cyd@gnu.org>
4813         * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
4814         New variable, replacing gdb-frame-parameters.
4815         (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
4816         (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
4817         (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
4818         (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
4819         (def-gdb-frame-for-buffer): Macro deleted.  It is easier to define
4820         the functions directly with gdb-display-buffer-other-frame-action.
4821         (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
4822         (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
4823         (gdb-display-stack-buffer, gdb-display-locals-buffer)
4824         (gdb-display-registers-buffer): Define directly.
4825         (def-gdb-display-buffer): Macro deleted.
4826         (gdb-display-buffer): Remove second and third args, callers don't
4827         use them.  Defer to the default display-buffer behavior, apart
4828         from making windows dedicated.
4829         (gdb-setup-windows): Don't call display-buffer unnecessarily.
4831         * progmodes/gud.el (gud-display-line): Just use display-buffer.
4833         * window.el (display-buffer-pop-up-frame): Handle a
4834         pop-up-frame-parameters alist entry.
4835         (display-buffer): Document it.
4837 2012-08-26  Chong Yidong  <cyd@gnu.org>
4839         * isearch.el (search-whitespace-regexp): Make string and nil
4840         values apply to both ordinary and regexp search.  Allow a cons
4841         cell value to distinguish between the two.
4842         (isearch-whitespace-regexp, isearch-search-forward)
4843         (isearch-search-backward): New functions.
4844         (isearch-occur, isearch-search-fun-default, isearch-search)
4845         (isearch-lazy-highlight-new-loop): Use them.
4846         (isearch-forward, isearch-forward-regexp): Doc fix.
4848 2012-08-26  Chong Yidong  <cyd@gnu.org>
4850         * faces.el (help-argument-name): Always inherit from italic
4851         (Bug#12213).
4853 2012-08-25  Martin Rudalics  <rudalics@gmx.at>
4855         * window.el (window--even-window-heights): Even heights when
4856         WINDOW and the selected window form a vertical combination.
4857         (display-buffer-use-some-window): Provide that window used gets
4858         sized back by quit-window.  (Bug#11880) and (Bug#12091)
4860 2012-08-24  Paul Eggert  <eggert@cs.ucla.edu>
4862         Fix file time stamp problem with bzr and CVS (Bug#12001).
4863         * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
4864         in the file's time stamp, since the version control system loses
4865         that information.
4867 2012-08-22  Juri Linkov  <juri@jurta.org>
4869         * info.el (Info-fontify-node): Hide the suffix of the
4870         Info file name in the header line.  (Bug#12187)
4872 2012-08-22  Glenn Morris  <rgm@gnu.org>
4874         * calendar/cal-tex.el (cal-tex-weekly-common):
4875         Restore leading blank page.
4877 2012-08-22  Le Wang  <l26wang@gmail.com>
4879         * misc.el (forward-to-word, backward-to-word): Activate or extend
4880         the region under `shift-select-mode'.  (Bug#12231)
4882 2012-08-22  Bastien Guerry  <bzg@gnu.org>
4884         * progmodes/executable.el (executable-prefix): Set to "#!" instead
4885         of "#! ".  http://www.in-ulm.de/~mascheck/various/shebang/#details
4886         gives details on why the space is never needed.
4888 2012-08-22  Martin Rudalics  <rudalics@gmx.at>
4890         * window.el (walk-window-tree, window-with-parameter):
4891         New optional argument MINIBUF to control whether these functions
4892         should run on the minibuffer window.
4893         (window-at-side-list): Don't operate on minibuffer window.
4894         (window-in-direction): Simplify and rewrite doc-string.
4895         (window--size-ignore): Rename to window--size-ignore-p.
4896         Update callers.
4897         (display-buffer-in-atom-window, window--major-non-side-window)
4898         (window--major-side-window, display-buffer-in-major-side-window)
4899         (delete-side-window, display-buffer-in-side-window):
4900         New functions.
4901         (window--side-check, window-deletable-p, delete-window)
4902         (delete-other-windows, split-window): Handle side windows and
4903         atomic windows appropriately.
4904         (window--display-buffer): Call display-buffer-record-window also
4905         when the window buffer did not change.
4907 2012-08-22  Christopher Schmidt  <christopher@ch.ristopher.com>
4909         * help-fns.el (help-fns--key-bindings):
4910         Abbreviate non-symbol remap targets.  (Bug#12174)
4912 2012-08-22  Martin Rudalics  <rudalics@gmx.at>
4914         * dired.el (dired-mark-remembered): Don't clobber point.
4915         (Bug#11795)
4917 2012-08-22  Glenn Morris  <rgm@gnu.org>
4919         * progmodes/bug-reference.el (bug-reference): New custom group.
4920         (bug-reference-bug-regexp): Make it a defcustom.
4922 2012-08-22  Daiki Ueno  <ueno@unixuser.org>
4924         * progmodes/js.el (js-indent-level, js-expr-indent-offset)
4925         (js-paren-indent-offset, js-square-indent-offset)
4926         (js-curly-indent-offset): Add :safe (Bug#12257).
4928 2012-08-22  Edward O'Connor  <hober0@gmail.com>
4930         * json.el (json-key-format): Add error properties.
4931         (json-encode-key): New function.
4932         (json-encode-hash-table, json-encode-alist, json-encode-plist):
4933         Use json-encode-key.
4935 2012-08-22  Glenn Morris  <rgm@gnu.org>
4937         * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
4938         (cal-tex-leftday, cal-tex-rightday): Remove functions.
4939         (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
4940         Update for above change.
4942 2012-08-21  Andreas Schwab  <schwab@linux-m68k.org>
4944         * cus-face.el (custom-face-attributes): Fix customize type for the
4945         :underline attribute.  (Bug#11805)
4947 2012-08-21  Martin Rudalics  <rudalics@gmx.at>
4949         * window.el (window-point-1, set-window-point-1): Remove.
4950         (window-in-direction, record-window-buffer)
4951         (set-window-buffer-start-and-point, split-window-below)
4952         (window--state-get-1, display-buffer-record-window):
4953         Replace calls to window-point-1 and set-window-point-1 by calls to
4954         window-point and set-window-point respectively.
4956 2012-08-21  Glenn Morris  <rgm@gnu.org>
4958         * calendar/cal-tex.el (cal-tex-weekly-common): New function.
4959         (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
4960         Use it.
4962         * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
4963         (cal-tex-shortday): New function.
4964         (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
4965         (cal-tex-cursor-filofax-daily): Use the above.
4967         * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
4968         New functions.
4969         (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
4970         (cal-tex-cursor-filofax-week): Use them.
4972         * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
4973         New constants.
4974         (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
4975         (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
4977         * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
4978         (cal-tex-end-document): Don't rely on buffer name.
4980         * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
4981         Use cal-tex-vspace.
4982         (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
4983         (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
4984         (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
4985         Use cal-tex-arg.
4987         * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
4988         (cal-tex-cursor-week, cal-tex-cursor-week2)
4989         (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
4990         (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
4991         (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
4992         (cal-tex-insert-preamble, cal-tex-b-document)
4993         (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
4994         Improve cal-tex-cmd usage.
4996         * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
4997         (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
4998         (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
4999         (cal-tex-weekly-paper): New function.
5000         (cal-tex-cursor-week, cal-tex-cursor-week2)
5001         (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
5002         (cal-tex-cursor-day): Use it.
5004         * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
5005         (cal-tex-cursor-filofax-week): Remove leading blank page.
5007         * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
5008         Add autoload cookie.  For now at least, don't use color, since
5009         no other cal-tex function does.
5011         * calendar/cal-tex.el (cal-tex-cursor-week-iso)
5012         (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
5013         (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
5015 2012-08-21  Juri Linkov  <juri@jurta.org>
5017         * info.el (Info-file-attributes): New variable.
5018         (info-insert-file-contents): Add file attributes to
5019         `Info-file-attributes'.  Clear the caches `Info-index-nodes' and
5020         `Info-toc-nodes' when previous modtime of the Info file is less
5021         than new modtime.
5022         (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
5023         of info.el.  (Bug#12230)
5025 2012-08-20  Glenn Morris  <rgm@gnu.org>
5027         * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
5028         * calendar/holidays.el (calendar-holiday-list):
5029         Report errors with display-warning rather than beep'n'sleep.
5031 2012-08-20  Michael Albinus  <michael.albinus@gmx.de>
5033         * net/tramp.el (tramp-accept-process-output): Accept only output
5034         from PROC.  Otherwise, process filters and sentinels might be
5035         confused.  (Bug#12145)
5037 2012-08-20  Chong Yidong  <cyd@gnu.org>
5039         * descr-text.el (describe-text-properties-1): Use overlays-in to
5040         report on empty overlays (Bug#3322).
5042 2012-08-20  Glenn Morris  <rgm@gnu.org>
5044         * mail/rmailout.el (rmail-output-read-file-name):
5045         Trap and report errors in rmail-output-file-alist elements.
5047         * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
5048         since most non-font-lock faces are not also variables).
5050 2012-08-20  Edward Reingold  <reingold@iit.edu>
5052         * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
5053         New function.  (Bug12160)
5055 2012-08-19  Glenn Morris  <rgm@gnu.org>
5057         * mail/rmailout.el (rmail-output-read-file-name):
5058         Fix previous change (when the alist is nil or does not match).
5060 2012-08-19  Chong Yidong  <cyd@gnu.org>
5062         * xml.el (xml-escape-string): Don't refer to xml-entity-alist
5063         (Bug#12228).
5065 2012-08-18  Chong Yidong  <cyd@gnu.org>
5067         * simple.el (yank-handled-properties): New defcustom.
5068         (yank-excluded-properties): Add font-lock-face and category.
5069         (yank): Doc fix.
5071         * subr.el (remove-yank-excluded-properties):
5072         Obey yank-handled-properties.  The special handling of font-lock-face
5073         and category is now done this way, instead of being hard-coded.
5074         (insert-for-yank-1): Remove font-lock-face handling.
5075         (yank-handle-font-lock-face-property)
5076         (yank-handle-category-property): New function.
5078 2012-08-17  Glenn Morris  <rgm@gnu.org>
5080         * mail/rmailout.el (rmail-output-read-file-name):
5081         Check rmail-output-file-alist against the full message body
5082         in the correct rmail buffer.  (Bug#12214)
5084 2012-08-17  Michael Albinus  <michael.albinus@gmx.de>
5086         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
5087         Eliminate superfluous prompt.  (Bug#12203)
5089 2012-08-17  Chong Yidong  <cyd@gnu.org>
5091         * mouse.el (mouse-appearance-menu): If x-select-font returns a
5092         font spec, set the font directly (Bug#3228).
5094 2012-08-17  Martin Rudalics  <rudalics@gmx.at>
5096         * window.el (delete-window): Fix last fix.
5098 2012-08-16  Martin Rudalics  <rudalics@gmx.at>
5100         * window.el (window-valid-p): Move to window.c.
5101         (window-child, window-child-count, window-last-child)
5102         (window-normalize-window, window-combined-p)
5103         (window-combinations, window-atom-root, window-min-size)
5104         (window-sizable, window-sizable-p, window-size-fixed-p)
5105         (window-min-delta, window-max-delta, window--resizable)
5106         (window--resizable-p, window-resizable, window-total-size)
5107         (window-full-height-p, window-full-width-p, window-body-size)
5108         (window-at-side-p, adjust-window-trailing-edge, maximize-window)
5109         (minimize-window, window-deletable-p, delete-window)
5110         (delete-other-windows, set-window-buffer-start-and-point)
5111         (next-buffer, previous-buffer, split-window, balance-windows-2)
5112         (set-window-text-height, window-buffer-height)
5113         (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
5114         (truncated-partial-width-window-p): Minor code adjustments.
5115         In doc-strings state whether the argument window has to denote a
5116         live, valid or any window.
5118 2012-08-16  Phil Sainty  <psainty@orcon.net.nz>  (tiny change)
5120         * progmodes/subword.el (subword-forward-function)
5121         (subword-backward-function, subword-forward-regexp)
5122         (subword-backward-regexp): New variables.
5123         (subword-forward, subword-forward-internal, subword-backward-internal):
5124         Use new variables, eg so that different "word" definitions
5125         can be easily used.  (Bug#11411)
5127 2012-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
5129         * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
5130         for composite selectors.
5131         * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
5132         operation just because we can't find a previous revision.
5134 2012-08-15  Chong Yidong  <cyd@gnu.org>
5136         * frame.el (set-frame-font): Accept font objects.
5138 2012-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
5140         * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
5142 2012-08-15  Wolfgang Jenkner  <wjenkner@inode.at>
5144         * man.el (Man-overstrike-face, Man-underline-face)
5145         (Man-reverse-face): Remove variables.
5146         (Man-overstrike, Man-underline, Man-reverse): New faces.
5147         (Man-fontify-manpage): Use them instead of the variables.
5148         (Man-cleanup-manpage): Comment change.
5149         (Man-ansi-color-map): New variable.
5150         (Man-fontify-manpage): Use it.
5151         Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
5153         Implement ANSI SGR parameters 22-27 (bug#12146).
5154         * ansi-color.el (ansi-colors): Doc fix.
5155         (ansi-color-context, ansi-color-context-region): Doc fix.
5156         (ansi-color--find-face): New function.
5157         (ansi-color-apply, ansi-color-apply-on-region): Use it.
5158         Rename the local variable `face' to `codes' since it is now a list of
5159         ansi codes.  Doc fix.
5160         (ansi-color-get-face): Remove.
5161         (ansi-color-parse-sequence): New function, derived from
5162         ansi-color-get-face.
5163         (ansi-color-apply-sequence): Use it.  Rewrite, and support ansi
5164         codes 22-27.
5166 2012-08-14  Stefan Monnier  <monnier@iro.umontreal.ca>
5168         * subr.el (read-passwd): Allow use from a minibuffer.
5170 2012-08-14  Eli Zaretskii  <eliz@gnu.org>
5172         * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
5173         inside comments and strings as identifiers.
5175         * progmodes/gud.el (gud-tooltip-print-command): Quote the
5176         expression to evaluate.  This allows to evaluate expressions with
5177         embedded whitespace.
5178         (gud-tooltip-tips): Add a blank before the newline in the
5179         message-box text, for the benefit of message-box emulation on
5180         MS-Windows.
5182         * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
5183         messages from GDB, pop them up in a tooltip to give feedback to
5184         user.
5185         (gdb-tooltip-print-1): Quote the expression to evaluate.
5186         This allows to evaluate expressions with embedded whitespace.
5187         (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
5188         if the TTY name is nil or empty (which happens when communicating
5189         with the inferior via pipes, e.g. on MS-Windows).
5190         (gdb-internals): If GDB sends a "&\n" empty debugging message,
5191         don't send that to the GUD buffer.
5193 2012-08-14  Glenn Morris  <rgm@gnu.org>
5195         * emacs-lisp/bytecomp.el (byte-compile-setq-default):
5196         Optimize away setq-default with no args, as for setq.  (Bug#12195)
5198 2012-08-14  Chong Yidong  <cyd@gnu.org>
5200         * minibuffer.el (read-file-name): Doc fix (Bug#10881).
5202         * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
5203         (Bug#12085).
5205 2012-08-14  Glenn Morris  <rgm@gnu.org>
5207         * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
5209 2012-08-14  Michael Albinus  <michael.albinus@gmx.de>
5211         * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
5212         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
5213         Use cached shell name.
5215 2012-08-14  Fabián Ezequiel Gallina  <fgallina@cuca>
5217         * progmodes/python.el (python-shell-send-string):
5218         (python-shell-send-setup-code): Do not use `format' with `message'.
5220 2012-08-14  Dmitry Gutov  <dgutov@yandex.ru>
5222         * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
5223         (ruby-percent-literal-beg-re): New constant.
5224         (ruby-syntax-general-delimiters-goto-beg): Rename to
5225         `ruby-syntax-enclosing-percent-literal', improve literal type check.
5226         (ruby-syntax-propertize-general-delimiters): Rename to
5227         `ruby-syntax-propertize-percent-literal', it's a shorter and more
5228         popular term.  Adjust comments everywhere.
5229         (ruby-syntax-propertize-percent-literal): Only propertize when not
5230         inside a simple string or comment.  When the literal is unclosed,
5231         leave the text after it unpropertized.
5232         (ruby-syntax-methods-before-regexp): New constant.
5233         (ruby-syntax-propertize-function): Use it to recognize regexps.
5234         Don't look at the text after regexp, just use the whitelist.
5236 2012-08-14  Andreas Schwab  <schwab@linux-m68k.org>
5238         * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
5239         non-nil always load the compiled file if it exists.  (Bug#12197)
5241 2012-08-14  Chong Yidong  <cyd@gnu.org>
5243         * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
5244         (hi-lock-set-pattern): When deciding whether to use font lock or
5245         overlays, look at font-lock-mode instead of font-lock-fontified
5246         (Bug#12168).
5247         (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
5248         (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
5250 2012-08-14  Daiki Ueno  <ueno@unixuser.org>
5252         * subr.el (internal--after-with-selected-window): Fix typo
5253         (Bug#12193).
5255 2012-08-14  Fabián Ezequiel Gallina  <fgallina@cuca>
5257         Use `completion-table-dynamic' for completion functions.
5258         * progmodes/python.el
5259         (python-shell-completion--do-completion-at-point)
5260         (python-shell-completion--get-completions):
5261         Remove functions.
5262         (python-shell-completion-complete-at-point): New function.
5263         (python-completion-complete-at-point): Use it.
5265 2012-08-13  Jambunathan K  <kjambunathan@gmail.com>
5267         * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
5268         (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
5270 2012-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
5272         * subr.el (function-get): Refine `autoload' arg so it can also
5273         autoload functions for gv.el (bug#12191).
5274         * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
5275         autoloads macros.
5277         * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
5278         Prefer pcase-let over destructuring-bind.
5279         * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
5280         Also, remove whitespace as we go, rather than after accumulating the
5281         various places.
5283         * subr.el (internal--before-with-selected-window)
5284         (internal--after-with-selected-window): Fix typo seleted->selected.
5285         (with-selected-window): Adjust callers.
5286         Reported by Dmitry Gutov <dgutov@yandex.ru>.
5288 2012-08-13  Bastien Guerry  <bzg@gnu.org>
5290         * window.el (special-display-popup-frame): Minor docstring
5291         enhancement.  (Bug#12172)
5293 2012-08-13  Andreas Schwab  <schwab@linux-m68k.org>
5295         * tar-mode.el (tar-header-data-end): Only ignore size for files of
5296         type 1-6.
5297         (tar-header-block-summarize, tar-get-descriptor): Handle pax
5298         extended headers.
5300         * files.el (hack-local-variables-filter): Remove useless eval.
5302 2012-08-13  Martin Rudalics  <rudalics@gmx.at>
5304         * subr.el (with-selected-window): Fix last change.
5306 2012-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
5308         * subr.el (internal--before-with-seleted-window)
5309         (internal--after-with-seleted-window): New functions.
5310         (with-selected-window): Use them, to replace dependency on
5311         tty-top-frame.
5313 2012-08-12  Nobuyoshi Nakada  <nobu@ruby-lang.org>
5315         * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
5316         binding for `newline'.
5317         (ruby-move-to-block): When moving backward, stop at block opening,
5318         not indentation.
5319         * progmodes/ruby-mode.el (ruby-brace-to-do-end)
5320         (ruby-do-end-to-brace, ruby-toggle-block): New functions.
5321         * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
5322         `ruby-toggle-block'.
5324 2012-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
5326         * ibuffer.el (ibuffer-do-toggle-read-only):
5327         * dired.el (dired-toggle-read-only):
5328         * buff-menu.el (Buffer-menu-toggle-read-only):
5329         * bindings.el (mode-line-toggle-read-only):
5330         * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
5332 2012-08-12  Andreas Schwab  <schwab@linux-m68k.org>
5334         * descr-text.el (describe-char): Put the overlays over the
5335         "displayed as" character.
5337 2012-08-12  Jay Belanger  <jay.p.belanger@gmail.com>
5339         * calc/calc-units.el (math-default-units-table): Give an
5340         initial value.
5341         (math-put-default-units): Add options to put composite units and
5342         unit systems in the default units table.
5343         (calc-convert-units): Send composite units to
5344         `math-put-default-units' when appropriate.
5346 2012-08-11  Glenn Morris  <rgm@gnu.org>
5348         * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
5350         * tutorial.el (help-with-tutorial):
5351         * emacs-lisp/copyright.el (copyright-update-directory):
5352         * emacs-lisp/autoload.el (autoload-find-generated-file)
5353         (autoload-find-file): Disable local eval: (for insurance).
5355         * files.el (hack-local-variables-filter): If an eval: form is not
5356         known to be safe, and enable-local-variables is :safe, then ignore
5357         the form totally, as is done for non-eval forms.  (Bug#12155)
5358         This is CVE-2012-3479.
5360 2012-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
5362         * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
5363         (rx-form): Simplify.
5365 2012-08-09  Dmitry Gutov  <dgutov@yandex.ru>
5367         * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
5368         ?, _, and : are symbol constituents, ! is not (but kinda should be).
5369         (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
5370         (ruby-syntax-propertize-function): Adjust for changes in
5371         `ruby-syntax-propertize-heredoc'.
5373 2012-08-09 Nobuyoshi Nakada  <nobu@ruby-lang.org>
5375         * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
5376         binding (use `M-;' instead).
5377         (ruby-singleton-class-p): New function.
5378         (ruby-expr-beg, ruby-in-here-doc-p) Use it.
5380 2012-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
5382         * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
5384 2012-08-10  Chong Yidong  <cyd@gnu.org>
5386         * progmodes/python.el (python-shell-get-process-name): Don't mess
5387         with same-window-buffer-names.
5389         * eshell/eshell.el (eshell-add-to-window-buffer-names)
5390         (eshell-remove-from-window-buffer-names): Make obsolete.
5391         (eshell-buffer-name, eshell-unload-hook): Don't use them.
5392         (eshell): Just use pop-to-buffer-same-window instead.
5394 2012-08-10  Chong Yidong  <cyd@gnu.org>
5396         * bindings.el: Bind M-= back to count-words-region.
5398         * simple.el (count-words-region): Accept a prefix arg for acting
5399         on the entire buffer.
5400         (count-words--buffer-message): New helper function.
5402 2012-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
5404         * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
5405         * subr.el (eventp): `nil' is not an event, and eventp is not hot.
5406         (event-start, event-end): Use posn-at-point to return a more
5407         informative posn.
5408         (posnp): New function.
5409         * mouse.el (popup-menu-normalize-position): Use it.
5411 2012-08-10  Masatake YAMATO  <yamato@redhat.com>
5413         * mouse.el (popup-menu-normalize-position): New function.
5414         (popup-menu): Use `popup-menu-normalize-position' to normalize
5415         the form for POSITION argument.
5417         * term/x-win.el (x-menu-bar-open):
5418         Use the value returend from (posn-at-point) as position
5419         passed to `popup-menu'.
5421 2012-08-09  Jay Belanger  <jay.p.belanger@gmail.com>
5423         * calc/calccomp.el (math-compose-expr): Add extra argument
5424         indicating that parentheses should be put around products in
5425         denominators.  Give multiplication precedence over division during
5426         composition.
5428 2012-08-09  Chong Yidong  <cyd@gnu.org>
5430         * man.el (Man-switches, Man-sed-command, Man-awk-command)
5431         (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
5432         (Man-untabify-command, manual-program): Convert to defcustom
5433         (Bug#10429).
5435         * vc/add-log.el (change-log-mode): Bind comment-start to nil.
5437         * descr-text.el (describe-char): Don't insert extra newlines
5438         (Bug#10127).
5440         * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
5441         (log-view-diff-changeset, log-view-minor-wrap): Likewise.
5443         * align.el (align-region): Delete temporary markers (Bug#10047).
5444         Plus some code cleanups.
5446 2012-08-09  Fabián Ezequiel Gallina  <fgallina@cuca>
5448         * progmodes/python.el (python-pdbtrack-tracked-buffer)
5449         (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
5450         (python-shell-internal-last-output): Use make-local-variable
5451         instead of make-variable-buffer-local.
5453 2012-08-09  Fabián Ezequiel Gallina  <fgallina@cuca>
5455         * progmodes/python.el: Enhancements to forward-sexp.
5456         (python-nav-forward-sexp): Rename from
5457         python-nav-forward-sexp-function.
5458         (python-nav--forward-sexp, python-nav--backward-sexp):
5459         New functions.
5461 2012-08-09  Jay Belanger  <jay.p.belanger@gmail.com>
5463         * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
5464         modes and simplification modes.
5466 2012-08-09  Stefan Monnier  <monnier@iro.umontreal.ca>
5468         * delsel.el (delete-selection-pre-hook): Don't propagate the
5469         file-supersession signals (bug#12161).
5471 2012-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5473         * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
5474         (cl-map-extents): Add compatibility aliases (bug#12135).
5476 2012-08-08  Michael Albinus  <michael.albinus@gmx.de>
5478         * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
5479         tests by `ignore-error'.
5480         (tramp-find-shell): Open also a new shell, when cache is already
5481         set.  Reported by Carsten Bormann <cabo@tzi.org>.  (Bug#12148)
5483 2012-08-08  Juri Linkov  <juri@jurta.org>
5485         * bookmark.el: Add `defaults' property to the bookmark record.
5486         (bookmark-current-buffer): Doc fix.
5487         (bookmark-make-record): Add `defaults' property with default values
5488         to the bookmark record.
5489         (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
5490         with `bookmark-insert-current-bookmark'.
5491         (bookmark-set): Get `defaults' property from the bookmark record
5492         and use it in `read-from-minibuffer'.
5493         (bookmark-insert-current-bookmark): Remove function.
5495         * info.el (Info-bookmark-make-record): Add `defaults' property
5496         with values of canonical Info node name, the current Info file
5497         name and the current Info node name.  (Bug#12107)
5499 2012-08-08  Juri Linkov  <juri@jurta.org>
5501         * files.el (basic-save-buffer): Use `buffer-name' as the default
5502         of `read-file-name' when buffer is not visiting a file (bug#12128).
5504 2012-08-08  Juri Linkov  <juri@jurta.org>
5506         * info.el (Info-isearch-search): Doc fix.
5507         (Info-search): Change search-failed message from "initial node" to
5508         "end of node" (bug#12078).
5509         (Info-isearch-search): Change `isearch-string-state' to
5510         `isearch--state-string'.
5512 2012-08-08  Glenn Morris  <rgm@gnu.org>
5514         * language/persian.el: Remove file.
5515         * language/misc-lang.el: Move unique part of persian.el here.
5516         * loadup.el: Remove language/persian.
5518 2012-08-08  Óscar Fuentes  <ofv@wanadoo.es>
5520         * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
5522 2012-08-08  Fabián Ezequiel Gallina  <fgallina@cuca>
5524         * progmodes/python.el Fixed defsubst warning.
5525         (python-syntax-context) Rename from python-info-ppss-context.
5526         (python-syntax-context-type): Rename from
5527         python-info-ppss-context-type.
5528         (python-syntax-comment-or-string-p): Rename from
5529         python-info-ppss-comment-or-string-p.
5531 2012-08-08  Jay Belanger  <jay.p.belanger@gmail.com>
5533         * calc/calc-misc.el (calc-record-why): Don't record a message twice.
5535 2012-08-07  Andreas Schwab  <schwab@linux-m68k.org>
5537         * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
5538         a defcustom that is quoted with backquote.
5540         * calc/calc-prog.el (math-do-defmath): Use backquote forms.
5541         Fix handling of interactive spec when the body uses return.
5542         (math-do-arg-check, math-define-function-body): Use backquote forms.
5543         * calc/calc-ext.el (math-defcache): Likewise.
5544         * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
5545         * allout.el (allout-new-exposure): Likewise.
5546         * calc/calcalg2.el (math-tracing-integral): Likewise.
5547         * info.el (Info-last-menu-item): Likewise.
5548         * emulation/vip.el (vip-loop): Likewise.
5549         * textmodes/artist.el (artist-funcall): Likewise.
5550         * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
5551         Construct menu-item directly.
5553         * progmodes/autoconf.el (font-lock-syntactic-keywords):
5554         Don't declare.
5556 2012-08-07  Chong Yidong  <cyd@gnu.org>
5558         * simple.el (deactivate-mark): Preserve text properties when
5559         saving the primary selection (Bug#8384).
5561 2012-08-07  Kevin Ryde  <user42@zip.com.au>
5563         * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
5564         (woman-parse-numeric-value): On a bad .IP line, issue a warning
5565         and continue processing (Bug#12110).
5567 2012-08-06  Stefan Monnier  <monnier@iro.umontreal.ca>
5569         * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
5570         syntax-propertize-function (bug#10095).
5572 2012-08-06  Stefan Monnier  <monnier@iro.umontreal.ca>
5574         * help-fns.el (help-fns--key-bindings, help-fns--signature)
5575         (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
5576         describe-function-1.
5577         (describe-function-1): Use them.  Move compiler macro after sig.
5578         (help-fns--compiler-macro): Use function-get.  Assume we're already in
5579         standard-output.  Adjust layout to new call order.
5581         * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
5582         re-binding a symbol that has a symbol-macro (bug#12119).
5584 2012-08-06  Mohsen BANAN  <libre@mohsen.1.banan.byname.net>
5586         * language/persian.el: New file.  (Bug#11812)
5587         * loadup.el: Add language/persian.el.
5589 2012-08-06  Chong Yidong  <cyd@gnu.org>
5591         * window.el (window--maybe-raise-frame): New function.
5592         (window--display-buffer): Split off from here.
5593         (display-buffer-reuse-window, display-buffer-pop-up-frame)
5594         (display-buffer-pop-up-window, display-buffer-use-some-window):
5595         Obey an inhibit-switch-frame action alist entry.
5596         (display-buffer): Update doc.
5598         * replace.el (occur-after-change-function): Avoid losing focus by
5599         using the inhibit-switch-frame display parameter (Bug#12139).
5601 2012-08-06  Fabián Ezequiel Gallina  <fgallina@cuca>
5603         Make internal shell process buffer names start with space.
5604         * progmodes/python.el (python-shell-make-comint): Add optional
5605         argument INTERNAL.
5606         (run-python-internal): Use it.
5607         (python-shell-internal-get-or-create-process): Check for new
5608         internal buffer names.
5610 2012-08-06  Glenn Morris  <rgm@gnu.org>
5612         * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5613         Do less getting and setting of environment variables.
5615 2012-08-05  Chong Yidong  <cyd@gnu.org>
5617         * proced.el (proced): Add substitution string to docstring to
5618         trigger autoloading of the proced library on C-h f (Bug#1768).
5620         * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
5621         Don't show defvars which have no second argument (Bug#8638).
5623         * imenu.el (imenu-generic-expression): Move documentation here
5624         from imenu--generic-function.
5625         (imenu--generic-function): Refer to imenu-generic-expression.
5627 2012-08-05  Vegard Øye  <vegard_oye@hotmail.com>  (tiny change)
5629         * emulation/viper-init.el (viper-deflocalvar): Add docstring and
5630         indentation declaration.
5631         (viper-loop): Add indentation declaration (Bug#7025).
5633 2012-08-05  Chong Yidong  <cyd@gnu.org>
5635         * help-fns.el (describe-variable): Add hyperlink for
5636         directory-local variables files.  Improve buffer-local and
5637         permanent-local reporting; suggested by MON KEY (Bug#6644).
5639         * help-mode.el (help-dir-local-var-def): New button type.
5641         * files.el (kill-buffer-hook): Provide a defvar.
5643 2012-08-05  Glenn Morris  <rgm@gnu.org>
5645         * eshell/esh-ext.el (eshell/addpath):
5646         Also update eshell-path-env.  (Bug#12013)
5648 2012-08-05  Chong Yidong  <cyd@gnu.org>
5650         * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
5652         * fringe.el (fringe-styles): Add docstring.
5653         (fringe--check-mode): New function.
5654         (set-fringe-mode, set-fringe-style): Use it.
5655         (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
5657         * files.el (set-auto-mode): Fix invalid setq call.
5659 2012-08-04  Stefan Monnier  <monnier@iro.umontreal.ca>
5661         * isearch.el: Misc simplification; use defstruct.
5662         (isearch-mode-map): Dense maps now work like sparse ones.
5663         (isearch--state): New defstruct.
5664         (isearch-string-state, isearch-message-state, isearch-point-state)
5665         (isearch-success-state, isearch-forward-state)
5666         (isearch-other-end-state, isearch-word-state, isearch-error-state)
5667         (isearch-wrapped-state, isearch-barrier-state)
5668         (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
5669         replaced by defstruct's accessors.
5670         (isearch--set-state): Rename from isearch-top-state and change
5671         calling convention.
5672         (isearch-push-state): Use new isearch--get-state.
5673         (isearch-toggle-word): Disable regexp when enabling word.
5674         (isearch-message-prefix): Remove unused arg _c-q-hack.
5675         (isearch-message-suffix): Remove unused arg _ellipsis.
5677 2012-08-04  Andreas Schwab  <schwab@linux-m68k.org>
5679         * simple.el (list-processes--refresh): For a server use :host or
5680         :local as the address.
5681         (list-processes): Doc fix.
5683 2012-08-04  Michal Nazarewicz  <mina86@mina86.com>
5685         * lisp/mpc.el: Support password in host argument.
5686         (mpc--proc-connect): Parse and use new password element.
5687         Set mpc-proc variable instead of returning process.
5688         (mpc-proc): Adjust accordingly.
5690 2012-08-03  Eli Zaretskii  <eliz@gnu.org>
5692         * whitespace.el (whitespace-display-mappings): Use Unicode
5693         codepoints, instead of emacs-mule codepoints.  See
5694         http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
5695         for the details.
5697         * files.el (file-truename): Don't skip symlink-chasing part on
5698         windows-nt.  Incorporate the resolution of 8+3 short aliases on
5699         Windows into the loop that recursively chases symlinks.
5700         Compare directory and its parent case-insensitively on MS-Windows and
5701         MS-DOS.
5703 2012-08-03  Chong Yidong  <cyd@gnu.org>
5705         * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
5707         * sort.el (sort-regexp-fields): Doc fix.
5709 2012-08-03  Tassilo Horn  <tsdh@gnu.org>
5711         * textmodes/reftex.el (reftex-compile-variables): Make keyvals
5712         labels regex position point at the expected place.
5714 2012-08-03  MON KEY  <monkey@sandpframing.com>
5716         * net/imap.el (imap-interactive-login, imap-authenticate)
5717         (imap-mailbox-lsub, imap-mailbox-list)
5718         (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
5719         (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
5720         (imap-parse-response): Doc fix.
5722 2012-08-03  João Távora  <joaotavora@gmail.com>
5724         * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
5725         if sexp scanning does not move point (Bug#5734).
5727 2012-08-02  Tassilo Horn  <tsdh@gnu.org>
5729         * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
5730         Add listings, minted, and ctable packages.
5731         (reftex-label-alist-builtin): Move listings, minted, and ctable
5732         entries before LaTeX.
5733         (reftex-label-alist): Docfix.
5735 2012-08-02  Bastien Guerry  <bzg@gnu.org>
5737         * replace.el (occur): Fix docstring (bug#12122).
5739 2012-08-02  Glenn Morris  <rgm@gnu.org>
5741         * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
5743 2012-08-02  Paul Eggert  <eggert@cs.ucla.edu>
5745         Obsolete alias inactivate-current-input-method-function (Bug#10150).
5746         * international/mule-cmds.el: Create
5747         inactivate-current-input-method-function as an obsolete alias for
5748         deactivate-current-input-method-function.  See Katsumi Yamaoka in
5749         <http://bugs.gnu.org/10150#46>.
5751 2012-08-01  Jay Belanger  <jay.p.belanger@gmail.com>
5753         * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
5754         of nested `if's.
5756 2012-08-01  Glenn Morris  <rgm@gnu.org>
5758         * progmodes/autoconf.el (autoconf-definition-regexp):
5759         Add AH_TEMPLATE, adjust submatch numbering.
5760         (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
5761         (autoconf-current-defun-function): Update for above change.
5762         (autoconf-current-defun-function): First skip to end of current word.
5764 2012-08-01  Rupert Swarbrick  <rswarbrick@gmail.com>  (tiny change)
5766         * calendar/cal-html.el (cal-html-insert-agenda-days):
5767         Fix typo.  (Bug#12018)
5769 2012-07-31  Fabián Ezequiel Gallina  <fgallina@cuca>
5771         Shell processes: enhancements to startup and CEDET compatibility.
5772         * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
5773         (python-shell-make-comint): accept-process-output at startup.
5774         (run-python-internal): Set inferior-python-mode-hook to nil.
5775         (python-shell-internal-get-or-create-process): call sit-for.
5776         (python-preoutput-result): Add obsolete alias.
5777         (python-shell-internal-send-string): Use it.
5778         (python-shell-send-setup-code): Remove call to
5779         accept-process-output.
5781 2012-07-31  Andreas Schwab  <schwab@linux-m68k.org>
5783         * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
5784         (Bug#12108)
5786 2012-07-31  Jay Belanger  <jay.p.belanger@gmail.com>
5788         * calc-mode.el (calc-basic-simplification-mode): Rename from
5789         `calc-limited-simplification-mode'.
5790         (calc-alg-simplification-mode): New function.
5791         (calc-set-simplify-mode): Adjust message.
5793         * calc.el (calc-set-mode-line): Adjust mode line display for
5794         basic simplification mode.
5796         * calc-help.el (calc-m-prefix-help): Update help message.
5798         * calc-ext.el (calc-init-extensions): Add bindings and autoloads
5799         for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
5801 2012-07-31  Bastien Guerry  <bzg@gnu.org>
5803         * man.el (man): Fix comment.  (bug#12101)
5805 2012-07-31  Martin Rudalics  <rudalics@gmx.at>
5807         * window.el (switch-to-prev-buffer, switch-to-next-buffer):
5808         Don't return a non-nil value when no suitable buffer was found.
5810 2012-07-31  Fabián Ezequiel Gallina  <fgallina@cuca>
5812         * progmodes/python.el (run-python-internal): Disable font lock for
5813         internal shells.
5815 2012-07-30  Stefan Merten  <smerten@oekonux.de>
5817         * textmodes/rst.el: Silence `checkdoc-ispell'.
5818         (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
5819         (rst-official-version, rst-official-cvs-rev)
5820         (rst-package-emacs-version-alist): Update to upstream V1.3.1.
5821         (rst-mode-map): New key binding.
5823 2012-07-30  Paul Eggert  <eggert@cs.ucla.edu>
5825         Update .PHONY listings in makefiles.
5826         * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
5827         autoloads, update-subdirs, updates, bzr-update, update-authors,
5828         compile-onefile, compile-calc, backup-compiled-files,
5829         compile-after-backup, compile-one-process, mh-autoloads,
5830         bootstrap-clean, distclean, maintainer-clean.
5832 2012-07-29  Jay Belanger  <jay.p.belanger@gmail.com>
5834         * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
5835         (calc-set-mode-line): Don't display "AlgSimp ".
5837         * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
5838         (calc-lim-simplify-mode): New function.
5839         (calc-set-simplify-mode): Default to 'alg.
5840         (calc-default-simplify-mode): Make algebraic simplifications
5841         the default.
5843         * calc/calc-ext.el (calc-init-extensions): Remove binding for
5844         `calc-alg-simplify-mode'.  Add binding for `calc-lim-simplify-mode'.
5846         * calc/calc-help.el (calc-m-prefix-help): Change messages to
5847         indicate new simplification modes.
5849         * calc/README: Mention new default simplification mode.
5851         * calc/calc.el (math-normalize-error): New variable.
5852         (math-normalize): Set `math-normalize-error' to t
5853         when there's an error.
5855         * calc/calc-alg.el (math-simplify): Don't simplify when
5856         `math-normalize' returns an error.
5858 2012-07-29  Eli Zaretskii  <eliz@gnu.org>
5860         * international/mule-cmds.el (set-locale-environment): Revert last
5861         change, since display-graphic-p returns nil when this function is
5862         called during startup.  Instead...
5864         * term/w32console.el (terminal-init-w32console): ...setup the
5865         keyboard and terminal encoding for TTY sessions here.  (Bug#12082)
5867 2012-07-29  Juri Linkov  <juri@jurta.org>
5869         * simple.el (goto-line): Don't display default line number in the
5870         prompt because it should be displayed by `read-number' (bug#9952).
5871         Add the current line number to the defaults of `goto-line' to
5872         allow its easier modification by users with `M-n' (bug#9201).
5874         * subr.el (read-number): Support multiple default values like in
5875         other minibuffer reading functions.  Replace `read' with
5876         `string-to-number' for consistency with `number-to-string'.
5878 2012-07-29  Paul Eggert  <eggert@cs.ucla.edu>
5880         deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
5881         * emulation/viper-init.el (viper-deactivate-input-method-action):
5882         Rename from viper-inactivate-input-method-action.
5883         (viper-deactivate-input-method):
5884         Rename from viper-inactivate-input-method.
5885         * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
5886         * international/mule-cmds.el (deactivate-input-method):
5887         Rename from inactivate-input-method.
5888         Also run input-method-deactivate-hook.
5889         (deactivate-current-input-method-function):
5890         Rename from inactivate-current-input-method-function.
5891         (input-method-deactivate-hook): New hook.
5892         (input-method-inactivate-hook): Mark obsolete.
5893         (inactivate-input-method): Mark obsolete.
5895         * international/quail.el (quail-activate):
5896         Also run quail-deactivate-hook.
5897         (quail-deactivate): Rename from quail-inactivate.
5898         * international/robin.el (robin-activate):
5899         Also run robin-deactivate-hook.
5900         (robin-deactivate): Rename from robin-inactivate.
5902 2012-07-29  Chong Yidong  <cyd@gnu.org>
5904         * simple.el (indicate-copied-region): New function.
5905         (kill-ring-save): Split off from here.
5907         * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
5908         (kill-rectangle): Set deactivate-mark to t on read-only error.
5910         * register.el (copy-to-register, copy-rectangle-to-register):
5911         Deactivate the mark, and use indicate-copied-region (Bug#10056).
5912         (append-to-register, prepend-to-register): Call indicate-copied-region.
5914 2012-07-29  Juri Linkov  <juri@jurta.org>
5916         * simple.el (async-shell-command-buffer): New defcustom.
5917         (shell-command): Use it.  (Bug#4719)
5919 2012-07-28  Eli Zaretskii  <eliz@gnu.org>
5921         * international/mule-cmds.el (set-locale-environment): In a
5922         console session on MS-Windows, set up keyboard and terminal
5923         encoding from the OEM codepage, not the ANSI codepage.
5924         (Bug#12055)
5926 2012-07-28  Chong Yidong  <cyd@gnu.org>
5928         * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
5929         gdb-get-location.
5931 2012-07-28  Leo Liu  <sdl.web@gmail.com>
5933         * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
5934         the alist (bug#12029).
5936 2012-07-28  Eli Zaretskii  <eliz@gnu.org>
5938         * makefile.w32-in (custom-deps, finder-data, updates, compile)
5939         (compile-always, compile-first)
5940         ($(lisp)/calendar/cal-loaddefs.el)
5941         ($(lisp)/calendar/diary-loaddefs.el)
5942         ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
5943         ($(lisp)/net/tramp-loaddefs.el, bootstrap)
5944         ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
5945         instead of on update-subdirs.
5946         (bootstrap-clean): Delete $(lisp)/subdirs.el.
5948 2012-07-28  Chong Yidong  <cyd@gnu.org>
5950         * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
5951         directory if vc-deduce-backend returns nil (Bug#7350).
5953         * simple.el (delete-trailing-lines): New option.
5954         (delete-trailing-whitespace): Obey it (Bug#11879).
5956 2012-07-28  David Engster  <deng@randomsample.de>
5958         * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
5959         Explanation of new 'symbol-qnames feature in doc-strings.
5960         (xml-maybe-do-ns): Return expanded names as plain symbols if
5961         'symbol-qnames was provided in XML-NS argument (Bug#11916).
5962         (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
5964 2012-07-27  Fabián Ezequiel Gallina  <fgallina@cuca>
5966         Consistent completion in inferior python with emacs -nw.
5967         * progmodes/python.el (inferior-python-mode): replace "<tab>"
5968         binding in inferior-python-mode-map with "\t".
5969         (python-shell-completion-complete-at-point)
5970         (python-completion-complete-at-point): Remove interactive spec.
5972 2012-07-27  Jay Belanger  <jay.p.belanger@gmail.com>
5974         * calc/calccomp.el (math-compose-expr): Undo previous change.
5976 2012-07-27  Fabián Ezequiel Gallina  <fgallina@cuca>
5978         * progmodes/python.el (python-mode-map): Add keybinding for
5979         run-python.
5980         (python-shell-make-comint): Fix pop-to-buffer call.
5981         (run-python): Autoload.  New arg SHOW.
5982         (python-shell-get-or-create-process): Do not pop python process
5983         buffer.
5985 2012-07-27  Michael Albinus  <michael.albinus@gmx.de>
5987         * notifications.el (notifications-on-action-signal)
5988         (notifications-on-closed-signal): Use also the bus address for the map.
5989         (notifications-notify, notifications-close-notification)
5990         (notifications-get-capabilities): Add optional argument BUS.
5992 2012-07-27  Tassilo Horn  <tsdh@gnu.org>
5994         * textmodes/reftex-vars.el (reftex-label-alist-builtin):
5995         Add support for the lstlisting and minted environments, and for the
5996         ctable macro.
5997         * textmodes/reftex.el (reftex-compile-variables): Also recognize
5998         labels written in keyvals syntax.
6000 2012-07-27  Jay Belanger  <jay.p.belanger@gmail.com>
6002         * calc/calccomp.el (math-compose-expr): Use parentheses when
6003         there is a product in the denominator of a fraction.
6005 2012-07-26  Eli Zaretskii  <eliz@gnu.org>
6007         * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
6008         ($(lisp)/calendar/diary-loaddefs.el)
6009         ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
6010         ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
6011         Fixes failures in parallel bootstrap because subdirs.el is being
6012         rewritten while the autoload files are built at the same time,
6013         which needs to load subdirs.el.
6015 2012-07-26  Martin Rudalics  <rudalics@gmx.at>
6017         * mouse.el (popup-menu): Fix doc-string and re-indent code.
6018         (mouse-drag-line): Don't exit tracking when a switch-frame or
6019         switch-window event occurs (Bug#12006).
6021 2012-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
6023         * mouse.el (popup-menu): Fix last change.
6025 2012-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
6027         Autoload from Lisp with more care.  Follow aliases when looking for
6028         function properties.
6029         * subr.el (autoloadp): New function.
6030         (symbol-file): Use it.
6031         (function-get): New function.
6032         * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
6033         autoload-do-load.
6034         * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
6035         (lisp-indent-function):
6036         * emacs-lisp/gv.el (gv-get):
6037         * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
6038         * emacs-lisp/byte-opt.el (byte-optimize-form):
6039         * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
6040         * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
6041         Use function-get.
6042         * emacs-lisp/cl.el: Don't propagate function properties any more.
6044         * speedbar.el (speedbar-add-localized-speedbar-support):
6045         * emacs-lisp/disass.el (disassemble-internal):
6046         * desktop.el (desktop-load-file):
6047         * help-fns.el (help-function-arglist, find-lisp-object-file-name)
6048         (describe-function-1):
6049         * emacs-lisp/find-func.el (find-function-noselect):
6050         * emacs-lisp/elp.el (elp-instrument-function):
6051         * emacs-lisp/advice.el (ad-has-proper-definition):
6052         * apropos.el (apropos-safe-documentation, apropos-macrop):
6053         * emacs-lisp/debug.el (debug-on-entry):
6054         * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
6055         * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
6056         * calc/calc.el (name): Use autoloadp & autoload-do-load.
6058 2012-07-25  Alp Aker  <alp.tekin.aker@gmail.com>
6060         * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
6061         function, not an obsolete variable (Bug#12046).
6063 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
6065         * faces.el (face-spec-reset-face): Fix last change.  (Bug#12042)
6067 2012-07-25  Christopher Schmidt  <christopher@ch.ristopher.com>
6069         * emacs-lisp/pp.el (pp-display-expression): Select old selected
6070         window only if it is still live (Bug#12034).
6072 2012-07-25  Martin Rudalics  <rudalics@gmx.at>
6074         * subr.el (redirect-frame-focus): Add advertised calling
6075         convention (Bug#12030).
6077 2012-07-25  Paul Eggert  <eggert@cs.ucla.edu>
6079         Prefer typical American spelling for "acknowledgment".
6080         * vc/add-log.el (change-log-acknowledgment): Rename from
6081         change-log-acknowledgement, with an alias for the old name.
6083 2012-07-25  Jay Belanger  <jay.p.belanger@gmail.com>
6085         * calc-alg.el (math-simplify-divide): Don't cross multiply
6086         in an equation when the lhs is a variable.
6088 2012-07-24  Julien Danjou  <julien@danjou.info>
6090         * net/netrc.el (netrc-find-service-number, netrc-store-data):
6091         Remove, unused.
6093 2012-07-23  Eli Zaretskii  <eliz@gnu.org>
6095         * startup.el (command-line): Don't display an empty user name in
6096         the error message about non-existent home directory, when
6097         init-file-user was set to an empty string.  See
6098         http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
6099         for the details and context.
6101 2012-07-22  Vincent Belaïche  <vincentb1@users.sourceforge.net>
6103         * ses.el (ses-cell-formula-aset): New macro.
6104         (ses-cell-references-aset): New macro.
6105         (ses-cell-p): New function.
6106         (ses-rename-cell): Do no longer rely on complex operations like
6107         ses-cell-set-formula or ses-set-cell to change the cell and handle
6108         the undo at the same time, but rather use lower level new macros
6109         `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
6110         the undo directly.  Refresh the mode line.
6112 2012-07-21  Leo Liu  <sdl.web@gmail.com>
6114         * progmodes/cc-cmds.el (c-defun-name):
6115         Use match-string-no-properties instead for consistency.
6117 2012-07-20  Leo Liu  <sdl.web@gmail.com>
6119         * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
6120         (Bug#7879)
6122         * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
6124 2012-07-20  Stefan Monnier  <monnier@iro.umontreal.ca>
6126         * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
6127         * progmodes/bug-reference.el, misearch.el: Provide themselves
6128         (bug#11915).
6130         * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
6131         of narrowed buffer (bug#11966).
6133 2012-07-20  Vincent Belaïche  <vincentb1@users.sourceforge.net>
6135         * ses.el (ses-rename-cell): Set new name also in reference list of
6136         cells of which the renamed cell depends.
6138 2012-07-20  Masatake YAMATO  <yamato@redhat.com>
6140         * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
6141         to check whether menu-bar is shown or not.  If not shown,
6142         show the menu-bar as a popup menu instead of using tmm.
6143         * mouse.el (popup-menu): Accept `point' as `position' argument.
6145 2012-07-20  Dmitry Gutov  <dgutov@yandex.ru>
6147         * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
6148         up inside string symbol literal (bug#11923).
6150 2012-07-20  Eli Zaretskii  <eliz@gnu.org>
6152         * startup.el (fancy-startup-text): Read the whole tutorial, not
6153         just its first 256 bytes.  Prevents gibberish in display of the
6154         tutorial title.
6156 2012-07-20  Dmitry Antipov  <dmantipov@yandex.ru>
6158         Drop idle buffer compaction due to an absence of the
6159         proved efficiency.
6160         * compact.el: Remove.
6162 2012-07-19  Sam Steingold  <sds@gnu.org>
6164         * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
6165         vc-bzr-pull & vc-bzr-merge-branch.
6166         * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
6167         (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
6168         for consistency with compilation-error-regexp-alist.
6169         * vc/vc-git.el (vc-git-error-regexp-alist): Add.
6170         (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
6171         * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
6172         (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
6174 2012-07-19  Stefan Monnier  <monnier@iro.umontreal.ca>
6176         * emacs-lisp/chart.el: Use lexical-binding.
6177         (chart-emacs-storage): Don't hardcode the list of entries.
6179 2012-07-19  Dmitry Antipov  <dmantipov@yandex.ru>
6181         Next round of tweaks caused by Fgarbage_collect changes.
6182         * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
6184 2012-07-19  Dmitry Antipov  <dmantipov@yandex.ru>
6186         Compact buffers when idle.
6187         * compact.el: New file.
6189 2012-07-19  Stefan Monnier  <monnier@iro.umontreal.ca>
6191         * subr.el (eventp): Presume that if it looks vaguely like an event,
6192         it's an event (bug#10190).
6194 2012-07-19  Fabián Ezequiel Gallina  <fgallina@cuca>
6196         Enhancements to ppss related code (thanks Stefan).
6197         * progmodes/python.el (python-indent-context)
6198         (python-indent-calculate-indentation, python-indent-dedent-line)
6199         (python-indent-electric-colon, python-nav-forward-block)
6200         (python-mode-abbrev-table)
6201         (python-info-assignment-continuation-line-p): Simplify checks
6202         for ppss context.
6203         (python-info-continuation-line-p): Cleanup.
6204         (python-info-ppss-context): Do not catch 'quote.
6205         (python-info-ppss-context-type)
6206         (python-info-ppss-comment-or-string-p): Simplify.
6208 2012-07-18  Fabián Ezequiel Gallina  <fgallina@cuca>
6210         * progmodes/python.el: Enhancements to eldoc support.
6211         (python-info-current-symbol): New function.
6212         (python-eldoc-at-point): Use python-info-current-symbol.
6213         (python-info-current-defun): Fix cornercase on first defun scan.
6214         (python-eldoc--get-doc-at-point): Use python-info-current-symbol
6215         and signal error when no inferior python process is available.
6217 2012-07-18  Dmitry Gutov  <dgutov@yandex.ru>
6219         * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
6220         assume it's always t.
6221         (vc-git-registered): Remove caching, the function is only called
6222         once.
6223         (vc-git-branches): Use `vc-git--call' instead of `call-process'.
6225 2012-07-18  Chong Yidong  <cyd@gnu.org>
6227         * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
6229         * simple.el (count-words): Report on narrowing (Bug#9959).
6231         * bindings.el: Bind M-= to count-words.
6233         * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
6235 2012-07-18  Masatake YAMATO  <yamato@redhat.com>
6237         * progmodes/sh-script.el (sh-imenu-generic-expression):
6238         Capture a function with `function' keyword and without parentheses
6239         like "function FOO" (bug#11856).
6241 2012-07-18  Tassilo Horn  <tassilo@member.fsf.org>
6243         * window.el (split-window-sensibly): Make WINDOW argument
6244         optional.
6246 2012-07-18  Chong Yidong  <cyd@gnu.org>
6248         * subr.el (keyboard-translate): Doc fix (Bug#7261).
6250         * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
6251         and make C-x 8 RET exit isearch (Bug#11439).
6253         * international/iso-transl.el: Move isearch-mode-map key
6254         definitions to isearch.el.
6256 2012-07-18  Stefan Monnier  <monnier@iro.umontreal.ca>
6258         * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
6259         (eieio-defclass): Use gv-define-setter when possible.
6261 2012-07-18  Dmitry Antipov  <dmantipov@yandex.ru>
6263         Reflect recent changes in Fgarbage_collect.
6264         * emacs-lisp/chart.el (chart-emacs-storage): Change to
6265         reflect new format of data returned by Fgarbage_collect.
6267 2012-07-17  Fabián Ezequiel Gallina  <fgallina@cuca>
6269         New utility functions + python-info-ppss-context fix (Bug#11910).
6270         * progmodes/python.el (python-info-beginning-of-block-statement-p)
6271         (python-info-ppss-comment-or-string-p): New functions.
6272         (python-info-ppss-context): Small fix for string check.
6274 2012-07-17  Juri Linkov  <juri@jurta.org>
6276         * dired-aux.el (dired-do-async-shell-command): Doc fix.
6277         (dired-do-async-shell-command): Don't add `*' at the end of the
6278         command (Bug#11815).
6279         (dired-do-shell-command): Doc fix.
6280         (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
6281         Join the individual commands using either "&" or ";" as the
6282         separator depending on the values of these trailing characters.
6283         At the end re-add the trailing "&".  (Bug#10598)
6285         * simple.el (async-shell-command): Sync the interactive spec with
6286         `shell-command'.  Doc fix.
6287         (shell-command): Doc fix.
6289 2012-07-17  Juri Linkov  <juri@jurta.org>
6291         * descr-text.el (describe-char): Fix format args.  (Bug#10129)
6293 2012-07-17  Fabián Ezequiel Gallina  <fgallina@cuca>
6295         Final renames and doc fixes for movement commands (bug#11899).
6296         * progmodes/python.el (python-nav-beginning-of-statement):
6297         Rename from python-nav-statement-start.
6298         (python-nav-end-of-statement): Rename from
6299         python-nav-statement-end.
6300         (python-nav-beginning-of-block): Rename from
6301         python-nav-block-start.
6302         (python-nav-end-of-block): Rename from python-nav-block-end.
6304 2012-07-17  Fabián Ezequiel Gallina  <fgallina@cuca>
6306         * progmodes/python.el (python-shell-send-string-no-output):
6307         Allow accept-process-output to quit, keeping shell process ready for
6308         future interactions (Bug#11868).
6310 2012-07-17  Stefan Monnier  <monnier@iro.umontreal.ca>
6312         * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
6314         * emacs-lisp/elint.el (elint-find-args-in-code):
6315         Use help-function-arglist, so as to handle lexical byte-code.
6317         * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
6318         change (bug#11826).
6320 2012-07-17  Stefan Monnier  <monnier@iro.umontreal.ca>
6322         * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
6323         Avoid spuriously marking the buffer as modified because of c-is-sws.
6325         * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
6326         as not-a-comment (bug#11946).
6328         * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
6329         for uninterned vars.
6331         * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
6332         Use read-event since we don't really want to read chars but bytes.
6334         * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
6335         $$..$$ but also $..$ using regexps (bug#11953).
6336         Use tex-verbatim for \url and \path.
6337         (tex-font-lock-keywords): Define as defconst like the others.
6338         (tex-common-initialization): Don't use font-lock-syntax-table any more.
6340 2012-07-16  René Kyllingstad  <Rene@Kyllingstad.com>  (tiny change)
6342         * international/mule-cmds.el (ucs-insert): Make it an obsolete
6343         alias for insert-char.
6345 2012-07-16  Fabián Ezequiel Gallina  <fgallina@cuca>
6347         * progmodes/python.el: Simplified imenu implementation.
6348         (python-nav-jump-to-defun): Remove command.
6349         (python-mode-map): Use `imenu' instead.
6350         (python-nav-list-defun-positions-cache)
6351         (python-imenu-include-defun-type, python-imenu-make-tree)
6352         (python-imenu-subtree-root-label, python-imenu-index-alist):
6353         Remove vars.
6354         (python-nav-list-defun-positions, python-nav-read-defun)
6355         (python-imenu-tree-assoc, python-imenu-make-element-tree)
6356         (python-imenu-make-tree, python-imenu-create-index):
6357         Remove functions.
6358         (python-mode): Update to interact with imenu by setting
6359         `imenu-extract-index-name-function' only.
6361 2012-07-16  Fabián Ezequiel Gallina  <fgallina@cuca>
6363         * progmodes/python.el: Enhancements to navigation commands.
6364         (python-nav-backward-sentence)
6365         (python-nav-forward-sentence): Remove.
6366         (python-nav-backward-statement, python-nav-forward-statement)
6367         (python-nav-statement-start, python-nav-statement-end)
6368         (python-nav-backward-block, python-nav-forward-block)
6369         (python-nav-block-start, python-nav-block-end)
6370         (python-nav-forward-sexp-function)
6371         (python-info-current-line-comment-p)
6372         (python-info-current-line-empty-p): New functions.
6373         (python-indent-context): Use `python-nav-statement-start'.
6375 2012-07-16  Michael Albinus  <michael.albinus@gmx.de>
6377         * eshell/em-ls.el (eshell/ls): Use `apply'.
6379         * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
6380         multi-hops, instead of Tramp internals.
6382         * vc/ediff.el (ediff-directories): Add trailing space to prompts.
6384         * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
6385         when F1 and F2 are located on different hosts.
6387 2012-07-14  Chong Yidong  <cyd@gnu.org>
6389         * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
6390         (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
6391         (xterm-mouse-translate-extended, xterm-mouse-translate-1)
6392         (xterm-mouse--read-event-sequence-1000)
6393         (xterm-mouse--read-event-sequence-1006): New functions.  For old
6394         mouse protocol, handle M-mouse-X events correctly.
6395         (xterm-mouse-event): New arg specifying mouse protocol.
6396         (turn-on-xterm-mouse-tracking-on-terminal)
6397         (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
6398         sequence to toggle extended coordinates on newer XTerms.
6399         This appears to be harmless on terminals which do not support this.
6401 2012-07-14  Leo Liu  <sdl.web@gmail.com>
6403         Add fringe bitmap indicators for flymake.  (Bug#11253)
6404         * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
6405         (flymake-make-overlay): New arg BITMAP.
6406         (flymake-error-bitmap, flymake-warning-bitmap)
6407         (flymake-fringe-indicator-position): New user variables.
6409         * fringe.el: New bitmap exclamation-mark.
6411 2012-07-14  Jan Djärv  <jan.h.d@swipnet.se>
6413         * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
6414         also (Bug#7879).
6416 2012-07-14  Chong Yidong  <cyd@gnu.org>
6418         * electric.el (electric-pair-post-self-insert-function): Fix pair
6419         insertion in empty-region case (Bug#11520).
6421 2012-07-14  Chong Yidong  <cyd@gnu.org>
6423         * bindings.el: Consolidate ctl-x-r-map bindings.
6424         Bind copy-rectangle-as-kill to C-x r w.
6426         * rect.el, register.el: Move bindings to bindings.el.
6428 2012-07-14  Reuben Thomas  <rrt@sc3d.org>
6430         * rect.el (copy-rectangle-as-kill): New command (Bug#739).
6432 2012-07-13  Andreas Schwab  <schwab@linux-m68k.org>
6434         * emacs-lisp/cl.el (labels): Remove spurious quote.  (Bug#11938)
6436 2012-07-13  Juanma Barranquero  <lekktu@gmail.com>
6438         * bindings.el (top): Use `mapc' instead of `mapcar'.
6440         * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
6442 2012-07-13  Michael Albinus  <michael.albinus@gmx.de>
6444         * progmodes/sql.el (sql-comint): Suppress the check for program on
6445         remote hosts.  Reported by Francis Devereux <francis@devrx.org>.
6446         (Bug#11908)
6448 2012-07-13  Chong Yidong  <cyd@gnu.org>
6450         * bindings.el: Assign a non-nil permanent-local property to
6451         per-buffer variables which lack a default value (Bug#11930).
6453         * help-fns.el (describe-variable): In the "automatically becomes
6454         local" notice, take note of permanent-local variables.
6456 2012-07-13  Chong Yidong  <cyd@gnu.org>
6458         * files.el (toggle-read-only): Doc fix and code cleanup.  New arg
6459         to allow printing the message when called from Lisp.
6461         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6462         Remove toggle-read-only.
6464         * bs.el (bs-toggle-readonly):
6465         * buff-menu.el (Buffer-menu-toggle-read-only):
6466         Remove with-no-warnings around toggle-read-only.
6468         * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
6469         Remove with-no-warnings around toggle-read-only.
6470         (ffap-read-only, ffap-read-only-other-window)
6471         (ffap-read-only-other-frame): Callers changed.
6473         * help-mode.el: Don't require view package.
6474         (help-mode-finish): Set buffer-read-only instead of calling
6475         toggle-read-only.
6477         * bindings.el (mode-line-toggle-read-only):
6478         * dired.el (dired-toggle-read-only):
6479         * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
6480         with non-nil second arg.
6482         * emacs-lisp/eieio-custom.el (eieio-customize-object):
6483         * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
6484         directly.
6486 2012-07-12  Eli Zaretskii  <eliz@gnu.org>
6488         * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
6489         not incf.
6491 2012-07-11  Stefan Monnier  <monnier@iro.umontreal.ca>
6493         More CL cleanups and reduction of use of cl.el.
6494         * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
6495         * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
6496         * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
6497         * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
6498         * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
6499         * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
6500         * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
6501         * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
6502         * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
6503         * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
6504         * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
6505         * eshell/em-cmpl.el, eshell/em-banner.el:
6506         * calendar/parse-time.el: Use cl-lib.
6507         * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
6508         * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
6509         * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
6510         * term/ns-win.el, term.el, shell.el, ps-samp.el:
6511         * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
6512         * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
6513         * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
6514         * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
6515         * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
6516         * mail/mailheader.el, mail/feedmail.el: Don't use CL.
6517         * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
6518         * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
6519         `lambda' rather than with `quote'.
6520         (eshell-do-opt): Adjust accordingly.
6521         (eshell-process-option): Simplify.
6522         * eshell/esh-var.el:
6523         * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
6524         * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
6525         (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
6526         to `pcase--dontcare'.
6527         * emacs-lisp/cl.el (labels): Mark obsolete.
6528         (cl--letf, letf): Move to cl-lib.
6529         (cl--letf*, letf*): Remove.
6530         * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
6531         * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
6532         (cl-progv): Rewrite.
6533         (cl--letf, cl-letf): Move from cl.el.
6534         (cl-letf*): New macro.
6535         * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
6537 2012-07-11  Michael Albinus  <michael.albinus@gmx.de>
6539         * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
6541 2012-07-11  Chong Yidong  <cyd@gnu.org>
6543         * vc/log-edit.el (log-edit-vc-backend): New variable.
6544         (log-edit): Doc fix.
6546         * vc/vc-dispatcher.el (vc-log-edit): New args.  Use PARAMS
6547         argument of log-edit to set up all local variables.
6548         (vc-start-logentry): New optional arg specifying VC backend.
6550         * vc/vc.el (vc-checkin): Use it.
6551         (vc-deduce-fileset): Handle Log Edit buffers.
6552         (vc-diff): Make first argument optional too.
6554         * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
6556 2012-07-10  Michael Albinus  <michael.albinus@gmx.de>
6558         * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
6559         command, just in case.  The function is not needed anymore.
6560         (eshell-external-command): Do not call `eshell-remote-command'.
6562 2012-07-10  Stefan Monnier  <monnier@iro.umontreal.ca>
6564         Reduce use of (require 'cl).
6565         * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
6566         * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
6567         * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
6568         * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
6569         * international/quail.el, info-xref.el, imenu.el, image-mode.el:
6570         * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
6571         * battery.el, avoid.el, abbrev.el: Use cl-lib.
6572         * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
6573         * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
6574         * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
6575         * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
6576         * calculator.el, autorevert.el, apropos.el: Don't require CL.
6577         * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
6578         (byte-compile-unfold-bcf, byte-compile-check-variable):
6579         * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
6580         (byte-compile-nilconstp):
6581         * emacs-lisp/autoload.el (make-autoload): Use pcase.
6582         * face-remap.el (text-scale-adjust): Simplify pcase patterns.
6584         * emacs-lisp/gv.el (cond): Make it a valid place.
6585         (if): Simplify slightly.
6587         * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
6588         (pcase--self-quoting-p): New function.
6589         (pcase--u1): Use it.
6591 2012-07-10  Glenn Morris  <rgm@gnu.org>
6593         * emacs-lisp/authors.el (authors-fixed-entries):
6594         (authors-renamed-files-alist): Update for configure.in -> configure.ac.
6596 2012-07-09  Paul Eggert  <eggert@cs.ucla.edu>
6598         Rename configure.in to configure.ac (Bug#11603).
6599         * emacs-lisp/authors.el (authors-canonical-file-name):
6600         * progmodes/autoconf.el (autoconf-mode):
6601         Prefer configure.ac to configure.in.
6603 2012-07-08  Chong Yidong  <cyd@gnu.org>
6605         * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
6606         Implement the mouse-1-click-follows-link handling properly.
6608         * info.el (Info-link-keymap): Use follow-link mechanism for
6609         header-line links (Bug#374).
6611         * simple.el (deactivate-mark): Do not set the primary selection
6612         if another program has acquired it (Bug#11772).
6614 2012-07-07  Kevin Ryde  <user42@zip.com.au>
6616         * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
6617         (woman-decode-region): Replace escaped-escapes without destroying
6618         bold or underline (Bug#11552).
6619         (woman2-process-escapes): Handle nofill regions (Bug#11591).
6621 2012-07-07  Chong Yidong  <cyd@gnu.org>
6623         * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
6624         (interprogram-cut-function, interprogram-paste-function):
6625         Mention that we typically mean the clipboard.
6627 2012-07-06  Glenn Morris  <rgm@gnu.org>
6629         * kmacro.el (kmacro-call-macro): Restore repeat message.  (Bug#11817)
6631         * files.el (toggle-read-only): Restrict message to interactive use.
6633 2012-07-06  Michael Albinus  <michael.albinus@gmx.de>
6635         * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
6637         * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
6639 2012-07-06  Glenn Morris  <rgm@gnu.org>
6641         * Makefile.in (compile-one-process): Rename from "recompile".
6643         * Makefile.in (bzr-update): "compile" is the same as "recompile
6644         autoloads", but parallelizable, so use that instead.
6646 2012-07-06  Dmitry Gutov  <dgutov@yandex.ru>
6648         * window.el (quit-window): Always restore window height when
6649         it's saved in quit-restore parameter (Bug#11810).
6651 2012-07-06  Glenn Morris  <rgm@gnu.org>
6653         * simple.el (kill-whole-line): Doc tweak.
6655 2012-07-06  Eli Zaretskii  <eliz@gnu.org>
6657         * files.el (file-relative-name): Compare file names
6658         case-insensitively if on MS-Windows or MS-DOS, or if
6659         read-file-name-completion-ignore-case is non-nil.  Don't use
6660         case-fold-search for this purpose.  (Bug#11827)
6662 2012-07-17  Andreas Schwab  <schwab@linux-m68k.org>
6664         * calendar/cal-dst.el (calendar-current-time-zone):
6665         Return calendar-current-time-zone-cache if non-nil.
6667 2012-07-17  Masatake YAMATO  <yamato@redhat.com>
6668 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
6670         * calendar/cal-dst.el (calendar-current-time-zone):
6671         Return calendar-current-time-zone-cache if non-nil.
6673 2012-07-06  Glenn Morris  <rgm@gnu.org>
6675         * Makefile.in (cvs-update): Remove old alias.
6677 2012-07-05  Michael Albinus  <michael.albinus@gmx.de>
6679         Sync with Tramp 2.2.6-pre.
6681         * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
6682         compatible declaration.
6684         * net/tramp-cmds.el (tramp-append-tramp-buffers):
6685         Protect `list-load-path-shadows' call.
6687         * net/tramp-compat.el (top): Require packages, which aren't
6688         autoloaded anymore for XEmacs.  Protect call of
6689         `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
6690         compiler.  Do not require tramp-util.el and tramp-vc.el anymore,
6691         it hurts at least for SXEmacs.
6692         (tramp-compat-temporary-file-directory): In XEmacs, there is no
6693         standard-value for `temporary-file-directory'.
6695         * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
6696         Redirect stderr to /dev/null.
6697         (tramp-sh-handle-write-region): uid and gid can be floats.
6698         Reported by Russell Sim <russell.sim@gmail.com>.
6699         (tramp-sh-handle-vc-registered): Hide errors.
6700         (tramp-vc-file-name-handler): Use dummy results for `process-file'
6701         and `start-file-process'.
6702         (tramp-maybe-open-connection): Check also whether `non-essential'
6703         is bound.
6705 2012-07-04  Chong Yidong  <cyd@gnu.org>
6707         * xml.el (xml--parse-buffer): Use xml-syntax-table.
6708         (xml-parse-tag): Likewise, and avoid changing entity tables.
6709         (xml-syntax-table): Define from scratch, making sure not to give
6710         x2000 and other Unicode spaces whitespace syntax, since those are
6711         not spaces in XML.
6712         (xml-parse-fragment): Delete unused function.
6713         (xml-name-start-char-re, xml-name-char-re, xml-name-re)
6714         (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
6715         (xml-entity-ref, xml-pe-reference-re)
6716         (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
6717         (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
6718         (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
6719         (xml-entity-value-re): Use syntax references in regexps where
6720         possible; no need to define inside a let-binding.
6721         (xml-parse-dtd): Use xml-pe-reference-re.
6722         (xml-entity-or-char-ref-re): New defconst.
6723         (xml-parse-string, xml-substitute-special): Use it.
6725 2012-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
6727         * files.el (locate-dominating-file): Allow `name' to be a predicate.
6728         (find-file--read-only): New function.
6729         (find-file-read-only, find-file-read-only-other-window)
6730         (find-file-read-only-other-frame): Use it.
6731         (insert-file-contents-literally): Don't `fset'.
6732         (get-free-disk-space): Use locate-dominating-file.
6734         * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
6735         function is already compiled.
6737         * xml.el (xml-name-regexp): Remove, redundant.  Use xml-name-re.
6739 2012-07-03  Michael Albinus  <michael.albinus@gmx.de>
6741         * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
6742         files on the same host.
6744 2012-07-03  Andreas Schwab  <schwab@linux-m68k.org>
6746         * help-fns.el (describe-function-1): Only call
6747         help-fns--autoloaded-p when we have a file name.  (Bug#11848)
6749 2012-07-03  Chong Yidong  <cyd@gnu.org>
6751         * xml.el: Protect parser against XML bombs.
6752         (xml-entity-expansion-limit): New variable.
6753         (xml-parse-string, xml-substitute-special): Use it.
6754         (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
6756 2012-07-03  Glenn Morris  <rgm@gnu.org>
6758         * progmodes/bug-reference.el (bug-reference-bug-regexp):
6759         Allow linking to specific messages in debbugs reports (eg 123#5).
6761 2012-07-02  Chong Yidong  <cyd@gnu.org>
6763         * xml.el: Fix entity and character reference expansion, allowing
6764         them to expand into markup as per XML spec.
6765         (xml-default-ns): New variable.
6766         (xml-entity-alist): Use XML spec definitions for lt and amp.
6767         (xml-parse-region): Make first two arguments optional.
6768         Discard text properties.
6769         (xml-parse-tag-1): New function, spun off from xml-parse-tag.
6770         All callers changed.
6771         (xml-parse-tag): Call xml-parse-tag-1.  For backward
6772         compatibility, this function should not modify buffer contents.
6773         (xml-parse-tag-1): Fix opening-tag regexp.
6774         (xml-parse-string): Rewrite, handling entity and character
6775         references properly.
6776         (xml--entity-replacement-text): Signal an error if a parameter
6777         entity is undefined.
6779 2012-07-02  Stefan Monnier  <monnier@iro.umontreal.ca>
6781         * comint.el (comint-output-filter): Filter out repeated prompts.
6783         * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
6784         and file-name-absolute-p.
6785         (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
6786         internal calls.
6788 2012-07-02  Paul Eggert  <eggert@cs.ucla.edu>
6790         Spelling fixes.
6791         * emacs-lisp/bytecomp.el (byte-compile--reify-function):
6792         Rename from byte-compile--refiy-function.  All uses changed.
6794 2012-07-01  Chong Yidong  <cyd@gnu.org>
6796         * xml.el (xml--parse-buffer): New function.  Move most of
6797         xml-parse-region here.
6798         (xml-parse-region): Copy region into a temporary buffer, since
6799         parameter entity substitution requires changing buffer contents.
6800         Use xml--parse-buffer.
6801         (xml-parse-file): Use xml--parse-buffer.
6802         (xml-parse-dtd): Make parameter entity substitution work right.
6803         Use proper regexps for ELEMENT declarations (Bug#7172).
6805 2012-06-30  Glenn Morris  <rgm@gnu.org>
6807         * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
6809         * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
6810         Remove outdated and unnecessary dbus declarations.
6812 2012-06-30  Eli Zaretskii  <eliz@gnu.org>
6814         * emacs-lisp/timer.el (timer-until): Subtract results of
6815         float-time, instead of taking float-time of the result of
6816         time-subtract, since float-time signals an error for negative time
6817         arguments.
6819 2012-06-30  Chong Yidong  <cyd@gnu.org>
6821         * xml.el (xml-*-re): Convert defvars into defconsts, and
6822         eval-and-compile them so eval-and-compile works on derivatives.
6823         (xml--entity-replacement-text): Use eval-and-comple.
6825 2012-06-30  Michael Albinus  <michael.albinus@gmx.de>
6827         * vc/vc-git.el (vc-git-registered): Use cache property
6828         `git-registered'.
6829         (vc-git-mode-line-string): Call `vc-working-revision' instead of
6830         `vc-git-working-revision' in order to benefit from the cache.
6831         (vc-git-root): Use cache property `git-root'.  (Bug#11757)
6833 2012-06-30  Dmitry Gutov  <dgutov@yandex.ru>
6835         * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
6836         removed (likely outside Emacs).  (Bug#11757)
6838 2012-06-30  Stefan Monnier  <monnier@iro.umontreal.ca>
6840         * emacs-lisp/cl-lib.el: Require macroexp.
6842 2012-06-30  Chong Yidong  <cyd@gnu.org>
6844         * xml.el: Implement XML parameter entities.
6845         (xml-parameter-entity-alist): New variable.
6846         (xml-parse-region, xml-parse-fragment): Preserve previous values
6847         of xml-entity-alist and xml-parameter-entity-alist, so that
6848         repeated calls on different documents do not change them.
6849         (xml-parse-tag): Fix doctype regexp.
6850         (xml--entity-replacement-text): New function.
6851         (xml-parse-dtd): Use it.  Don't handle system entities; doing that
6852         properly requires url retrieval which is unimplemented.
6853         (xml-escape-string): Doc fix.
6855 2012-06-30  Stefan Monnier  <monnier@iro.umontreal.ca>
6857         * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
6859 2012-06-29  Dmitry Antipov  <dmantipov@yandex.ru>
6861         * fringe.el (fringe-mode): Doc fix.
6863 2012-06-29  Michael Albinus  <michael.albinus@gmx.de>
6865         * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
6866         is non-nil.
6867         (ange-ftp-ignore-errors-if-non-essential): New defmacro.
6868         (ange-ftp-file-name-all-completions): Use it.  (Bug#11808)
6870 2012-06-29  Andreas Schwab  <schwab@linux-m68k.org>
6872         * calendar/cal-dst.el (calendar-current-time-zone):
6873         Return calendar-current-time-zone-cache if non-nil.
6875 2012-06-29  Masatake YAMATO  <yamato@redhat.com>
6877         * progmodes/which-func.el (which-func-format):
6878         Add mouse-face.  (Bug#11698)
6880 2012-06-29  Leo Liu  <sdl.web@gmail.com>
6882         * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
6884 2012-06-29  Stefan Monnier  <monnier@iro.umontreal.ca>
6886         * minibuffer.el (minibuffer-confirm-exit-commands):
6887         Add completion-at-point (bug#11725).
6889 2012-06-29  Glenn Morris  <rgm@gnu.org>
6891         * progmodes/f90.el (f90-font-lock-keywords-2):
6892         Add some preprocessor elements.  (Bug#10499)
6894 2012-06-29  Stefan Monnier  <monnier@iro.umontreal.ca>
6896         * progmodes/cperl-mode.el (cperl-update-syntaxification):
6897         Use syntax-propertize (bug#11739).
6899 2012-06-28  Juanma Barranquero  <lekktu@gmail.com>
6901         * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
6903 2012-06-28  Julien Danjou  <julien@danjou.info>
6905         * term.el (term-handle-colors-array): Use a set of new faces to
6906         color the terminal.  Also uses :inverse-video property.
6907         (term-default-fg-color): Set to nil by default, deprecate in favor
6908         of `term-face'.
6909         (term-default-bg-color): Set to nil by default, deprecate in favor
6910         of `term-face'.
6911         (term-current-face): Use `term-face' by default.
6912         (term-bold-attribute): Variable deleted.
6914 2012-06-28  Glenn Morris  <rgm@gnu.org>
6916         * simple.el (completion-list-mode-finish):
6917         Don't use toggle-read-only.  (Since completion-list-mode has
6918         a special mode-class, it wasn't doing anything extra anyway.)
6920 2012-06-28  Stefan Monnier  <monnier@iro.umontreal.ca>
6922         Make inlining of other-mode interpreted functions work (bug#11799).
6923         * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
6924         (byte-compile): Use it to fix compilation of lexical-binding closures.
6925         * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
6926         function, if needed.
6928 2012-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
6930         * help-mode.el (help-make-xrefs): Don't just withstand
6931         cyclic-variable-indirection but any error in documentation-property.
6933         * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
6934         memory use.
6935         * bindings.el (bindings--define-key): New function.
6936         * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
6937         * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
6938         * bindings.el: Use it to purecopy define-key bindings.
6940         * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
6942         * emacs-lisp/cl.el (flet): Mark obsolete.
6943         * emacs-lisp/cl-macs.el (cl-flet*): New macro.
6944         * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
6945         * progmodes/js.el (js-c-fill-paragraph):
6946         * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
6947         (ebrowse-switch-member-buffer-to-derived-class):
6948         * play/5x5.el (5x5-solver): Use cl-flet.
6950         * emacs-lisp/cl.el: Use lexical-binding.  Fix flet (bug#11780).
6951         (cl--symbol-function): New macro.
6952         (cl--letf, cl--letf*): Use it.
6954         * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
6955         Strip "toggle-" if any.
6957 2012-06-27  Glenn Morris  <rgm@gnu.org>
6959         * info.el (Info-default-directory-list): Move here from paths.el.
6960         * paths.el: Remove file, which is now empty.
6961         * loadup.el: No longer load "paths".
6963         * custom.el (custom-initialize-delay): Doc fix.
6965         * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
6966         * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
6967         * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
6968         * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
6969         * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
6970         * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
6971         * eshell/eshell.el (eshell-defgroup): Remove alias.
6973 2012-06-27  Chong Yidong  <cyd@gnu.org>
6975         * help.el (help-enable-auto-load): New variable.
6977         * help-fns.el (help-fns--autoloaded-p): New function.
6978         (describe-function-1): Refer to a function as "autoloaded" if it
6979         was autoloaded at any time in the past.  Perform autoloading if
6980         help-enable-auto-load is non-nil.
6982 2012-06-26  Eli Zaretskii  <eliz@gnu.org>
6984         * makefile.w32-in (compile, compile-always): Depend on
6985         update-subdirs, not on subdirs.el.  Otherwise, several different
6986         sub-targets of 'bootstrap' running in parallel could
6987         simultaneously write to subdirs.el, producing a garbled file.
6989 2012-06-26  Sam Steingold  <sds@gnu.org>
6991         * files.el (file-name-base): New convenience function.
6992         * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
6993         * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
6994         * progmodes/cc-defs.el, progmodes/cperl-mode.el:
6995         * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
6996         * textmodes/ispell.el, textmodes/reftex-ref.el:
6997         * textmodes/tex-mode.el: Use it.
6998         Did not touch cedet and org because they are maintained elsewhere.
7000 2012-06-26  Martin Rudalics  <rudalics@gmx.at>
7002         * calendar/calendar.el (calendar-exit): Don't try to delete or
7003         iconify last frame.  See:
7004         http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
7006 2012-06-25  Jim Diamond  <Jim.Diamond@AcadiaU.ca>  (tiny change)
7008         * server.el (server-process-filter): Remember dir in the
7009         process's `server-client-directory' properties.
7011 2012-06-24  Chong Yidong  <cyd@gnu.org>
7013         * xml.el (xml-parse-tag): Correctly handle comment embedded in
7014         non-tag text.
7016 2012-06-23  Juanma Barranquero  <lekktu@gmail.com>
7018         * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
7020 2012-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
7022         * help-fns.el (describe-variable): Don't croak when doc is not found.
7023         * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
7024         * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
7025         * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
7026         * emacs-lisp/smie.el (smie-next-sexp): CSE.
7027         * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
7028         ((lambda ..) ..).
7029         * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
7031 2012-06-23  Chong Yidong  <cyd@gnu.org>
7033         * info.el (Info-mouse-follow-link): Accept symbol values of
7034         link-args.  Select window; suggested by Gerhard Kahl (Bug#11672).
7035         (Info-fontify-node): Use Info-link-keymap for all navigation
7036         buttons, with link-args property to perform the desired action.
7037         (Info-link-keymap): Doc fix.
7038         (Info-next-link-keymap, Info-prev-link-keymap)
7039         (Info-up-link-keymap): Delete now-unused keymaps.
7041 2012-06-23  Chong Yidong  <cyd@gnu.org>
7043         * mouse.el (mouse-drag-track): Deactivate the mark before popping.
7045         * progmodes/python.el (python-skeleton-define): Mark abbrevs as
7046         system abbrevs.
7048         * ansi-color.el (ansi-color-apply-on-region): Doc fix.
7050 2012-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
7052         * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
7053         (bug#11719).
7055         * minibuffer.el (completion--twq-try): Try to fail more gracefully when
7056         the requote function doesn't work properly (bug#11714).
7058 2012-06-23  Glenn Morris  <rgm@gnu.org>
7060         * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
7062 2012-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
7064         Further GV/CL cleanups.
7065         * emacs-lisp/gv.el (gv-get): Autoload functions to find their
7066         gv-expander.
7067         (gv--defun-declaration): New function.
7068         (defun-declarations-alist): Use it.
7069         (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
7070         (gv-place): Autoload.
7071         * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
7072         original definition of dotimes and dolist.
7073         * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
7074         (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
7075         * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
7076         (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
7077         (cl-ninth, cl-tenth): Move gv handler to the function's definition.
7078         * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
7079         to the function's definition.
7080         * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
7081         * window.el:
7082         * files.el:
7083         * faces.el:
7084         * env.el: Don't use CL.
7086 2012-06-22  Paul Eggert  <eggert@cs.ucla.edu>
7088         Support higher-resolution time stamps (Bug#9000).
7090         * calendar/time-date.el (with-decoded-time-value): New arg
7091         PICO-SYMBOL in VARLIST.  It's optional, for backward compatibility.
7092         (encode-time-value): New optional arg PICO.  New type 3.
7093         (time-to-seconds) [!float-time]: Support the new picoseconds
7094         component if it's used.
7095         (seconds-to-time, time-subtract, time-add):
7096         Support ps-resolution time stamps as well.
7098         * emacs-lisp/timer.el (timer): New component psecs.  All uses changed.
7099         (timerp): Timer vectors now have length 9, not 8.
7100         (timer--time): Support new-style (4-part) time stamps.
7101         (timer-next-integral-multiple-of-time): Time stamps now have
7102         picosecond resolution, so take a bit more care about rounding.
7103         (timer-relative-time, timer-inc-time): New optional arg psecs.
7104         (timer-set-time-with-usecs): Set psecs to 0.
7105         (timer--activate): Check psecs component, too.
7107         * proced.el (proced-time-lessp): Support ps-resolution stamps.
7109 2012-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
7111         * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
7112         Move the non-essential binding to the post/pre-command-hook where it is
7113         more obviously correct.
7115         * subr.el (read-passwd): Don't use a history at all.
7116         * savehist.el (savehist-save): Remove password saved accidentally
7117         because of the above bug.
7119 2012-06-22  Bastien Guerry  <bzg@gnu.org>
7121         * files.el (toggle-read-only): Display a message telling whether
7122         the buffer is read-only or not (bug#11726).
7124 2012-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
7126         * emacs-lisp/gv.el: New file.
7127         * subr.el (push, pop): Extend to generalized variables.
7128         * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
7129         * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
7130         * emacs-lisp/cl-macs.el: Require gv.  Use gv-define-setter,
7131         gv-define-simple-setter, and gv-define-expander.
7132         Remove setf-methods defined in gv.  Rename cl-setf -> setf.
7133         (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
7134         (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
7135         (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
7136         (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
7137         gv-letplace.
7138         (cl-defstruct): Don't define setf-method any more.
7139         * emacs-lisp/cl.el (flet): Don't autoload.
7140         (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
7141         (define-setf-expander, defsetf, define-modify-macro)
7142         (cl-struct-setf-expander): Move from cl-lib.el.
7143         * emacs-lisp/syntax.el:
7144         * emacs-lisp/ewoc.el:
7145         * emacs-lisp/smie.el:
7146         * emacs-lisp/cconv.el:
7147         * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
7148         (timer--time): Use gv-define-simple-setter.
7149         * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
7150         to avoid coding-system problems in subr.el.  Adjust all users.
7151         (macroexp--maxsize, macroexp-small-p): New functions.
7152         * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
7153         * scroll-bar.el (scroll-bar-mode):
7154         * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
7155         (normal-erase-is-backspace-mode): Don't use the `eq' place.
7156         * winner.el (winner-configuration, winner-make-point-alist)
7157         (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
7158         * files.el (locate-file-completion-table): Avoid list*.
7160 2012-06-22  Chong Yidong  <cyd@gnu.org>
7162         * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
7163         (dired-create-files): Doc fix (Bug#11329).
7164         (dired-do-copy): Doc fix (Bug#11334).
7165         (dired-mark-read-string): Doc fix (Bug#11553).
7167         * dired.el (dired-recursive-copies, dired-recursive-deletes):
7168         Doc fix (Bug#11326).
7169         (dired-make-relative): Doc fix (Bug#11332).  Remove unused arg.
7170         (dired-dwim-target): Doc fix.
7172         * wdired.el (wdired-mode): Doc fix.
7174 2012-06-22  Glenn Morris  <rgm@gnu.org>
7176         * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
7177         (pcmpl-rpm-cache-stamp-file): New constant.
7178         (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
7179         (pcmpl-rpm-packages): Optionally cache list of packages.
7181         * pcmpl-rpm.el (pcmpl-rpm): New group.
7182         (pcmpl-rpm-query-options): New option.
7183         (pcmpl-rpm-packages): No need to inline it.
7184         Use pcmpl-rpm-query-options.
7186         * calendar/calendar.el (calendar-in-read-only-buffer):
7187         Avoid some needless mode changes.
7189 2012-06-21  Chong Yidong  <cyd@gnu.org>
7191         * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
7192         (desktop-path): Remove . from the default value (Bug#10977).
7193         (desktop-read): Use user-emacs-directory if desktop-path is nil.
7195 2012-06-20  Chong Yidong  <cyd@gnu.org>
7197         * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
7199 2012-06-20  David Röthlisberger  <david@rothlis.net>  (tiny change)
7201         * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
7202         (bug#11201).
7204 2012-06-20  Chong Yidong  <cyd@gnu.org>
7206         * term.el (term-window-width): Handle the case of a missing right
7207         fringe (Bug#8837).
7208         (term-check-size): Use window-text-height (Bug#5445).
7209         (term-mode): Use define-derived-mode.  Minor cleanups.
7210         Set font-lock-defaults (Bug#7692).
7211         (term-move-columns, term-insert-char, term-emulate-terminal)
7212         (term-erase-in-line, term-insert-spaces): Use font-lock-face.
7214 2012-06-20  Michael Albinus  <michael.albinus@gmx.de>
7216         * net/ange-ftp.el (ange-ftp-get-passwd):
7217         Bind `enable-recursive-minibuffers'.
7218         (ange-ftp-get-process): Throw if `non-essential' is non-nil.
7220 2012-06-19  David Röthlisberger  <david@rothlis.net>  (tiny change)
7222         * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
7224 2012-06-19  Glenn Morris  <rgm@gnu.org>
7226         * progmodes/python.el (python-mode): Derive from prog-mode.
7228 2012-06-19  Kevin Gallagher  <Kevin.Gallagher@boeing.com>
7230         * emulation/edt.el (edt-default-menu-bar-update-buffers)
7231         (edt-user-menu-bar-update-buffers): New functions.
7232         (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
7234 2012-06-19  Chong Yidong  <cyd@gnu.org>
7236         * subr.el (with-selected-window): Preserve the selected window's
7237         terminal's top-frame (Bug#4702).
7239         * window.el (save-selected-window): Likewise.
7241 2012-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
7243         * progmodes/python.el (python-rx-constituents): Move backquote.
7244         (python-skeleton-define, python-define-auxiliary-skeleton):
7245         Use `declare'.
7247 2012-06-18  Michael Albinus  <michael.albinus@gmx.de>
7249         * minibuffer.el (read-file-name-default): Revert the patch from
7250         2012-06-17.
7252 2012-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
7254         * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
7255         (pcase--u1, pcase--q1): Don't use apply-partially.
7257 2012-06-18  Glenn Morris  <rgm@gnu.org>
7259         * progmodes/python.el (python-proc, python-buffer)
7260         (python-send-receive, python-send-string): Fix obsolete versions.
7262 2012-06-18  Martin Rudalics  <rudalics@gmx.at>
7264         * window.el (special-display-p): Completely remove stringp
7265         check.  Suggested by Andreas Schwab <schwab@linux-m68k.org>.
7267 2012-06-17  Michael Albinus  <michael.albinus@gmx.de>
7269         * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
7271         * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
7273         * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
7274         * net/tramp-sh.el (tramp-maybe-open-connection):
7275         Throw if `non-essential' is non-nil.
7277 2012-06-17  Martin Rudalics  <rudalics@gmx.at>
7279         * window.el (special-display-p): Signal an error if BUFFER-NAME
7280         is not a string (Bug#11713).
7282 2012-06-17  Paul Eggert  <eggert@cs.ucla.edu>
7284         * progmodes/python.el (python-info-beginning-of-backslash):
7285         Rename from python-info-beginning-of-backlash, as a spelling fix.
7287 2012-06-17  Chong Yidong  <cyd@gnu.org>
7289         * term.el (term-emulate-terminal): If term-check-size is called,
7290         move point to the process mark without resetting point (Bug#4635).
7292 2012-06-17  Glenn Morris  <rgm@gnu.org>
7294         * international/mule-cmds.el (mule-menu-keymap)
7295         (set-language-environment, set-locale-environment): Doc tweaks.
7297 2012-06-16  Aurelien Aptel  <aurelien.aptel@gmail.com>
7299         * cus-face.el (custom-face-attributes): Add wave-style underline
7300         attribute.
7301         * faces.el (set-face-attribute): Update docstring to describe
7302         wave-style underline attribute.
7304 2012-06-16  Chong Yidong  <cyd@gnu.org>
7306         * term/xterm.el (terminal-init-xterm): Discard input before
7307         querying background mode (Bug#10959).
7309 2012-06-16  Stefan Merten  <smerten@oekonux.de>
7311         * textmodes/rst.el: Added and corrected some comments.
7312         (rst-re-alist-def): Improve symbol syntax.
7313         (rst-mode-syntax-table): Correct syntax entries.
7314         (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
7315         (rst-official-version, rst-official-cvs-rev): Update version
7316         information.
7318 2012-06-15  Juanma Barranquero  <lekktu@gmail.com>
7320         * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
7321         in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
7323 2012-06-15  Fabián Ezequiel Gallina  <fgallina@cuca>
7325         * progmodes/python.el: New python.el merge.
7326         (python-guess-indent): Obsolete var.
7327         (python-indent-guess-indent-offset): New defcustom.
7328         (python-indent): Obsolete var.
7329         (python-indent-offset): New defcustom.
7330         (python-python-command, python-jython-command): Delete var.
7331         (python-shell-interpreter): New defcustom.
7332         (python-pdbtrack-do-tracking-p): Delete var.
7333         (python-pdbtrack-activate): New defcustom.
7334         (python-use-skeletons): Obsolete var.
7335         (python-skeleton-autoinsert): New defcustom.
7336         (inferior-python-filter-regexp, python-continuation-offset)
7337         (python-honour-comment-indentation, python-indent-string-contents)
7338         (python-jython-packages, python-mode-hook)
7339         (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
7340         (python-shell-prompt-alist)
7341         (python-source-modes): Delete defcustoms.
7342         (python-check-buffer-name, python-eldoc-setup-code)
7343         (python-eldoc-string-code, python-ffap-setup-code)
7344         (python-ffap-string-code, python-fill-comment-function)
7345         (python-fill-decorator-function, python-fill-paren-function)
7346         (python-fill-string-function, python-imenu-include-defun-type)
7347         (python-imenu-make-tree, python-imenu-subtree-root-label)
7348         (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
7349         (python-shell-compilation-regexp-alist)
7350         (python-shell-completion-module-string-code)
7351         (python-shell-completion-pdb-string-code)
7352         (python-shell-completion-setup-code)
7353         (python-shell-completion-string-code)
7354         (python-shell-enable-font-lock, python-shell-exec-path)
7355         (python-shell-extra-pythonpaths)
7356         (python-shell-internal-buffer-name, python-shell-interpreter-args)
7357         (python-shell-process-environment)
7358         (python-shell-prompt-block-regexp)
7359         (python-shell-prompt-output-regexp)
7360         (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
7361         (python-shell-send-setup-max-wait, python-shell-setup-codes)
7362         (python-shell-virtualenv-path): New defcustoms.
7363         (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
7364         (inferior-python-mode-syntax-table, python--prompt-regexp)
7365         (python-buffer, python-command python-python-command)
7366         (python-default-template, python-imports, python-indent-index)
7367         (python-indent-list, python-indent-list-length)
7368         (python-mode-running, python-pdbtrack-is-tracking-p)
7369         (python-preoutput-continuation, python-preoutput-leftover)
7370         (python-preoutput-result, python-preoutput-skip-next-prompt)
7371         (python-prev-dir/file, python-recursing)
7372         (python-saved-check-command, python-version-checked)
7373         (python-which-func-length-limit)
7374         (view-return-to-alist): Delete vars.
7375         (python-check-custom-command, python-dotty-syntax-table)
7376         (python-imenu-index-alist, python-indent-current-level)
7377         (python-indent-dedenters, python-indent-levels)
7378         (python-nav-beginning-of-defun-regexp)
7379         (python-nav-list-defun-positions-cache)
7380         (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
7381         (python-shell-internal-buffer)
7382         (python-skeleton-available): New vars.
7383         (def-python-skeleton): Delete macro.
7384         (python-skeleton-define): New macro.
7385         (python-define-auxiliary-skeleton, python-rx): New macros.
7386         (python-insert-class): Delete command.
7387         (python-skeleton-class): New command.
7388         (python-insert-def): Delete command.
7389         (python-skeleton-def): New command.
7390         (python-insert-for): Delete command.
7391         (python-skeleton-for): New command.
7392         (python-insert-if): Delete command.
7393         (python-skeleton-if): New command.
7394         (python-insert-try/except, python-insert-try/finally): Delete commands.
7395         (python-skeleton-try): New command.
7396         (python-insert-while): Delete command.
7397         (python-skeleton-while): New command.
7398         (python-backspace): Delete command.
7399         (python-indent-dedent-line-backspace): New command.
7400         (python-electric-colon): Delete command.
7401         (python-indent-electric-colon): New command.
7402         (python-guess-indent): Delete command.
7403         (python-indent-guess-indent-offset): New command.
7404         (python-shift-left): Delete command.
7405         (python-indent-shift-left): New command.
7406         (python-shift-right): Delete command.
7407         (python-indent-shift-right): New command.
7408         (python-find-function): Delete command.
7409         (python-nav-jump-to-defun): New command.
7410         (python-next-statement): Delete command.
7411         (python-nav-forward-sentence): New command.
7412         (python-previous-statement): Delete command.
7413         (python-nav-backward-sentence): New command.
7414         (python-fill-paragraph): Delete command.
7415         (python-fill-paragraph-function): New command.
7416         (python-send-buffer): Delete command.
7417         (python-shell-send-buffer): New command.
7418         (python-send-defun): Delete command.
7419         (python-shell-send-defun): New command.
7420         (python-send-region, python-send-region-and-go): Delete commands.
7421         (python-shell-send-region)
7422         (python-shell-switch-to-shell): New commands.
7423         (python-send-string): Delete command.
7424         (python-shell-send-string): New command.
7425         (python-switch-to-python): Delete command.
7426         (python-shell-switch-to-shell): New command.
7427         (python-describe-symbol): Delete command.
7428         (python-eldoc-at-point): New command.
7429         (python--set-prompt-regexp, python-args-to-list)
7430         (python-after-info-look, python-check-version)
7431         (python-check-comint-prompt, python-find-imports)
7432         (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
7433         (python-unload-function, python-expand-template)
7434         (python-maybe-jython, python-preoutput-filter)
7435         (python-pdbtrack-get-source-buffer)
7436         (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
7437         (python-pdbtrack-toggle-stack-tracking)
7438         (python-pdbtrack-track-stack-file, python-initial-text)
7439         (python-first-word, python-comment-line-p, python-send-command)
7440         (python-setup-brm, python-sentinel, python-set-proc)
7441         (python-skip-out, python-input-filter, python-outdent-p)
7442         (python-outline-level, python-backslash-continuation-line-p)
7443         (python-end-of-block, python-end-of-statement, python-mark-block)
7444         (python-beginning-of-block, python-beginning-of-statement)
7445         (python-blank-line-p, python-beginning-of-string)
7446         (python-open-block-statement-p): Delete functions.
7447         (python-indent-line, python-indent-line-1): Delete functions.
7448         (python-indent-line): New function.
7449         (python-indentation-levels): Delete function.
7450         (python-indent-calculate-levels): New function.
7451         (python-proc): Delete function.
7452         (python-shell-get-process): New function.
7453         (python-send-receive): Delete function.
7454         (python-shell-send-string-no-output): New function.
7455         (python-module-path): Delete function.
7456         (python-ffap-module-path): New function.
7457         (python-completion-at-point)
7458         (python-symbol-completions): Delete functions.
7459         (python-completion-complete-at-point): New function.
7460         (python-load-file): Delete function.
7461         (python-shell-send-file): New function.
7462         (python-calculate-indentation): Delete function.
7463         (python-indent-calculate-indentation): New function.
7464         (python-skip-comments/blanks): Delete function.
7465         (python-util-forward-comment): New function.
7466         (python-continuation-line-p): Delete function.
7467         (python-info-continuation-line-p): New function.
7468         (python-which-func, python-current-defun): Delete function.
7469         (python-info-current-defun): New function.
7470         (python-beginning-of-defun): Delete function.
7471         (python-nav-beginning-of-defun): New function.
7472         (python-close-block-statement-p)
7473         (python-block-end-p): Delete function.
7474         (python-info-closing-block): New function.
7475         (python-comint-output-filter-function)
7476         (python-eldoc--get-doc-at-point, python-end-of-defun-function)
7477         (python-fill-comment, python-fill-decorator, python-fill-paren)
7478         (python-fill-string, python-imenu-make-element-tree)
7479         (python-imenu-make-tree, python-imenu-tree-assoc)
7480         (python-indent-context, python-indent-dedent-line)
7481         (python-indent-line-function)
7482         (python-indent-post-self-insert-function)
7483         (python-indent-toggle-levels)
7484         (python-info-assignment-continuation-line-p)
7485         (python-info-beginning-of-backlash)
7486         (python-info-block-continuation-line-p)
7487         (python-info-closing-block-message)
7488         (python-info-line-ends-backslash-p)
7489         (python-info-looking-at-beginning-of-defun)
7490         (python-info-ppss-context, python-info-ppss-context-type)
7491         (python-nav-list-defun-positions, python-nav-read-defun)
7492         (python-nav-sentence-end, python-nav-sentence-start)
7493         (python-pdbtrack-comint-output-filter-function)
7494         (python-pdbtrack-set-tracked-buffer)
7495         (python-shell-calculate-exec-path)
7496         (python-shell-calculate-process-environment)
7497         (python-shell-completion--do-completion-at-point)
7498         (python-shell-completion--get-completions)
7499         (python-shell-completion-complete-at-point)
7500         (python-shell-completion-complete-or-indent)
7501         (python-shell-get-or-create-process)
7502         (python-shell-get-process-name)
7503         (python-shell-internal-get-or-create-process)
7504         (python-shell-internal-get-process-name)
7505         (python-shell-internal-send-string, python-shell-make-comint)
7506         (python-shell-parse-command, python-shell-send-setup-code)
7507         (python-skeleton-add-menu-items)
7508         (python-util-clone-local-variables, python-util-position)
7509         (run-python-internal, python-indentation-levels)
7510         (python-nav-beginning-of-defun)
7511         (python-completion-complete-at-point): New functions.
7512         (run-python): Change arguments.  New API requirements.
7514 2012-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
7516         * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
7517         (bug#11649).
7519         * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
7520         (macroexp--expand-all): Use it.
7522         * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
7523         (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
7524         Use `cl-function' instead.
7526 2012-06-14  Juanma Barranquero  <lekktu@gmail.com>
7528         * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
7529         Suggested by Stefan Monnier while discussing bug#11657.
7531 2012-06-14  Sam Steingold  <sds@gnu.org>
7533         * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
7535 2012-06-14  Andreas Schwab  <schwab@linux-m68k.org>
7537         * play/doctor.el (doctor-doc): Remove parameter and use
7538         doctor-sent instead of sent.
7539         (doctor-read-print): Use doctor-sent instead of sent.  (Bug#11708)
7541 2012-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
7543         * files.el: Require cl-lib.
7544         (file-name-non-special): Replace case -> cl-case.
7546         * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
7548         * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
7549         mapping from #' to function*.
7551 2012-06-13  Chong Yidong  <cyd@gnu.org>
7553         * mouse.el (mouse-drag-track): Do not set the mark if the user
7554         releases the mouse without selecting anything (Bug#11588).
7556 2012-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
7558         * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
7559         as well (bug#11646).
7561         * loadup.el: Count byte-code functions as well.
7563         * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
7564         * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
7566         * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
7567         (bug#11649).  Add cl-defun and cl-defmacro.
7569 2012-06-13  Drew Adams  <drew.adams@oracle.com>
7571         * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
7572         Fix last change.
7574 2012-06-13  Michael Albinus  <michael.albinus@gmx.de>
7576         * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
7577         Otherwise, it blocks in batch mode.
7579 2012-06-13  Juanma Barranquero  <lekktu@gmail.com>
7581         * help-mode.el (bookmark-make-record-default): Declare.
7583 2012-06-13  Chong Yidong  <cyd@gnu.org>
7585         * emacs-lisp/package.el (list-packages): Compute a list of
7586         packages that are newly-available since the last list-packages
7587         invocation.
7588         (package-menu--new-package-list): New var.
7589         (package-menu--generate, package-menu--print-info)
7590         (package-menu--status-predicate, package-menu-mark-install):
7591         Handle new status label "new".
7593 2012-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
7595         * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
7596         conversion to backquotes.
7598 2012-06-12  Chong Yidong  <cyd@gnu.org>
7600         * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
7601         Rename from gud-inhibit-global-bindings.
7603         * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
7605         * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
7606         hook from nxml-glyph-set-hook.
7608         * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
7609         declaration.
7611         * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
7613         * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
7614         Convert to defcustom.
7616 2012-06-12  Drew Adams  <drew.adams@oracle.com>
7618         * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
7619         New functions.
7620         (help-mode): Use them.
7622 2012-06-11  Glenn Morris  <rgm@gnu.org>
7624         * progmodes/fortran.el (fortran-font-lock-keywords-3):
7625         Use preprocessor face for directives.
7626         (fortran-directive-re): Doc fix.
7628 2012-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
7630         * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
7631         conversion to backquotes (bug#11652).
7633         Fix compiler-expansion of CL's cXXr functions (bug#11673).
7634         * emacs-lisp/cl-lib.el (cl--defalias): New function.
7635         (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
7636         (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
7637         (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
7638         (cl-ninth, cl-tenth): Mark them as inlinable.
7639         (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
7640         (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
7641         (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
7642         (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
7643         Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
7644         (cl-list*, cl-adjoin): Don't put an autoload manually.
7645         * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
7646         (cl--compiler-macro-list*): Add autoload cookie.
7647         (cl--compiler-macro-cXXr): New function.
7649         * help-fns.el (help-fns--compiler-macro): New function extracted from
7650         describe-function-1; follow aliases and use `compiler-macro' property.
7651         (describe-function-1): Use it.
7653 2012-06-11  Chong Yidong  <cyd@gnu.org>
7655         * startup.el (fancy-splash-head): Use splash.svg even if librsvg
7656         is uninstalled, if imagemagick is installed.
7658 2012-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
7660         * emacs-lisp/cl-lib.el: Use lexical-binding.
7661         (cl-map-extents, cl-maclisp-member): Remove.
7662         (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
7663         (cl--set-substring, cl--block-wrapper, cl--block-throw)
7664         (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
7665         * emacs-lisp/cl-extra.el: Use lexical-binding.
7666         (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
7667         (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
7668         (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
7669         (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
7670         * emacs-lisp/cl-seq.el: Use lexical-binding.
7671         (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
7672         (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
7673         (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
7674         * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
7675         * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
7676         CL's internals.
7678 2012-06-11  Michael Albinus  <michael.albinus@gmx.de>
7680         Sync with Tramp 2.2.6-pre.
7682         * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
7683         `print-length' and `print-level' to nil, in order to avoid
7684         truncation.  Reported by Christopher Schmidt
7685         <christopher@ristopher.com>.
7687         * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
7689         * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
7690         New defmacro.
7691         (tramp-compat-copy-directory): Add optional argument
7692         COPY-CONTENTS.  It is not handled yet.
7694         * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
7695         (tramp-ftp-file-name-p): Simplify.
7697         * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
7698         * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
7699         connection vector.
7701         * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
7702         (tramp-methods): Do not use `tramp-password-end-of-line'.
7703         (tramp-completion-function-alist-putty): Handle UNIX case.
7704         (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
7705         (tramp-do-file-attributes-with-stat)
7706         (tramp-do-directory-files-and-attributes-with-stat) Return uid and
7707         gid as real numbers.  They could run out of integer range on cygwin.
7708         (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
7709         (tramp-sh-handle-expand-file-name): Handle hops.
7710         (tramp-open-connection-setup-interactive-shell):
7711         Use `tramp-cleanup'.  Move check for busyboxes ...
7712         (tramp-find-shell): ... here.  Simplify implementation.
7713         Set "remote-shell" property also for alternative shells.
7714         (tramp-remote-coding-commands): Check "test -c /dev/stdout".
7715         If failing, a regular file would be written otherwise.
7716         Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
7717         (tramp-find-inline-encoding): Cache the coding commands in the
7718         process cache.  Apply test command on the remote side, if defined.
7719         (tramp-find-inline-compress): Cache the compress commands in the
7720         process cache.
7721         (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
7722         when requested.  Handle hops.
7723         (tramp-current-connection): New defvar.
7724         (tramp-maybe-open-connection): Use `tramp-cleanup'.
7725         Throw `suppress', if there was a failed connection shortly before.
7726         Handle user interrupt.  (Bug#10187)
7727         (tramp-get-inline-compress, tramp-get-inline-coding):
7728         Read connection properties from the process cache.
7730         * net/tramp-smb.el (tramp-smb-server-version)
7731         (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
7732         New defconsts.
7733         (tramp-smb-prompt): Extend for powershell prompt.
7734         (tramp-smb-file-name-handler-alist): Add handlers for
7735         `process-file', `shell-command' and `start-file-process'.
7736         (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
7737         (tramp-smb-winexe-shell-command-switch): New defcustoms.
7738         (tramp-smb-file-name-p): Simplify.
7739         (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
7740         (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
7741         (tramp-smb-shell-quote-argument): New defuns.
7742         (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
7743         Implement using "tar".  By this, time-stamps are preserved.
7744         (tramp-smb-handle-copy-file): Handle also the case of directories.
7745         (tramp-smb-do-file-attributes-with-stat)
7746         (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
7747         Use `tramp-get-connection-buffer').
7748         (tramp-smb-handle-rename-file): Use "rename", when source and
7749         target are on the same share.
7750         (tramp-smb-maybe-open-connection): Handle wrong passwords.
7751         Use `tramp-smb-server-version'.
7752         (tramp-smb-wait-for-output): Remove prompt.
7754         * net/tramp.el (top): Require 'cl.
7755         (tramp-methods, tramp-rsh-end-of-line):
7756         Remove `tramp-password-end-of-line' from docstring.
7757         (tramp-save-ad-hoc-proxies): New defcustom.
7758         (tramp-completion-function-alist): Adapt docstring.
7759         (tramp-default-password-end-of-line): Remove defcustom.
7760         (tramp-shell-prompt-pattern): Allow "[]" style prompts.  (Bug#11065)
7761         (tramp-user-regexp, tramp-file-name-regexp-unified)
7762         (tramp-file-name-regexp-url): Extend regexp by hop separator.
7763         (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
7764         (tramp-remote-file-name-spec-regexp): New defconst.
7765         (tramp-file-name-structure): Extend structure for hops.
7766         (tramp-get-method-parameter): Move up.
7767         (tramp-file-name-p, tramp-dissect-file-name)
7768         (with-parsed-tramp-file-name): Handle hops.
7769         (tramp-file-name-hop): New defun.
7770         (tramp-make-tramp-file-name): New optional arg HOP.
7771         (tramp-message-show-progress-reporter-message): New defvar.
7772         (tramp-with-progress-reporter): Use it.  We cannot use
7773         `tramp-message-show-message' here, because this suppresses also
7774         error buffers.
7775         (tramp-error-with-buffer): Suppress buffer view, if
7776         `tramp-message-show-message' is nil.
7777         Use `tramp-get-connection-buffer'.
7778         (tramp-cleanup): New defun.
7779         (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
7780         (tramp-file-name-handler): If `debug-on-error' is set, propagate
7781         an error unchanged.
7782         (tramp-completion-handle-file-name-all-completions): Handle hops.
7783         Fix an error when called from ido.
7784         (tramp-completion-dissect-file-name): Use better local variable
7785         name.  Add hop to the vector.
7786         (tramp-handle-insert-file-contents): Use progress-reporter for the
7787         whole scenario.
7788         (tramp-action-password): Let-bind `enable-recursive-minibuffers'
7789         to `t'.
7790         (tramp-check-for-regexp): Simplify search.
7791         (tramp-enter-password): Remove it.  Move implementation ...
7792         (tramp-action-password): ... here.
7793         (tramp-mode-string-to-int, tramp-local-host-p)
7794         (tramp-make-tramp-temp-file, tramp-read-passwd)
7795         (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
7796         Set tramp-autoload cookie.
7798         * net/trampver.el: Update release number.
7800 2012-06-11  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
7801             Michael Albinus  <michael.albinus@gmx.de>
7803         * net/tramp.el (tramp-set-completion-function): Fix docstring.
7804         (tramp-parse-group, tramp-parse-file)
7805         (tramp-parse-shostkeys-sknownhosts): New defuns.
7806         (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
7807         (tramp-parse-shosts-group, tramp-parse-sconfig)
7808         (tramp-parse-sconfig-group, tramp-parse-shostkeys)
7809         (tramp-parse-sknownhosts, tramp-parse-hosts)
7810         (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
7811         Use them.
7812         (tramp-parse-passwd-group, tramp-parse-netrc-group)
7813         (tramp-parse-putty-group): Don't narrow.
7814         (tramp-parse-putty): Make a loop.
7815         (tramp-file-name-handler): Catch the `suppress' signal.
7817 2012-06-11  Chong Yidong  <cyd@gnu.org>
7819         * image.el (imagemagick-register-types): Put the ImageMagick entry
7820         at the end of image-type-file-name-regexps.
7822 2012-06-11  Johan Bockgård  <bojohan@gnu.org>
7824         * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
7825         (pcase, pcase-let*, pcase-dolist): Use them.
7827 2012-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
7829         * emacs-lisp/pcase.el (pcase--let*): New function.
7830         (pcase-let*): Use it.  Use pcase--memoize to avoid repeated expansions.
7831         (pcase--expand): Use macroexp-let².
7833 2012-06-10  Stefan Monnier  <monnier@iro.umontreal.ca>
7835         * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
7836         * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
7837         * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
7838         * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
7839         * emacs-lisp/derived.el: Use pcase instead of `cl'.
7840         * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
7842 2012-06-10  Glenn Morris  <rgm@gnu.org>
7844         * mail/rmail.el (rmail-yank-current-message): Leave point at
7845         correct position.  (Bug#11660)
7847 2012-06-10  Chong Yidong  <cyd@gnu.org>
7849         * allout-widgets.el: Fix code header.
7851 2012-06-10  Chong Yidong  <cyd@gnu.org>
7853         * cus-edit.el (customize-changed-options-previous-release):
7854         Bump to 24.1.
7856 2012-06-09  Andreas Schwab  <schwab@linux-m68k.org>
7858         * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
7860 2012-06-09  Chong Yidong  <cyd@gnu.org>
7862         * ebuff-menu.el (electric-buffer-list): Preserve header line.
7864 2012-06-09  Martin Rudalics  <rudalics@gmx.at>
7866         * window.el (special-display-popup-frame): Don't use
7867         window--display-buffer (Bug#11651).
7869 2012-06-09  Eli Zaretskii  <eliz@gnu.org>
7871         Fix parallel builds: make sure loaddefs.el is not being written
7872         while Lisp files are compiled.
7873         (compile): Don't depend on 'mh-autoloads'.
7874         (compile-CMD, compile-SH): Depend on 'autoloads'.
7875         (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
7877         * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200.  (Bug#11649)
7879 2012-06-09  Chong Yidong  <cyd@gnu.org>
7881         * face-remap.el (face-remap-add-relative, face-remap-set-base)
7882         (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
7883         Doc fixes (Bug#11225).
7885 2012-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>
7887         * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
7888         a function if there's a clear indication that it has a compiler-macro.
7889         * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
7890         (macro-declarations-alist): Add arglist to declaration functions.
7891         (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
7892         * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
7893         * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
7894         * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
7895         Also add autoload to find the compiler macro.
7896         * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
7897         (cl--compiler-macro-member, cl--compiler-macro-assoc)
7898         (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
7899         (cl--compiler-macro-get): New functions, replacing calls to
7900         cl-define-compiler-macro.
7901         (cl-typep) [compiler-macro]: Use macroexp-let².
7903 2012-06-08  Nick Dokos  <nicholas.dokos@hp.com>  (tiny change)
7905         * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
7906         string properly, fixes Bug#11473.
7908 2012-06-08  Chong Yidong  <cyd@gnu.org>
7910         * faces.el (set-face-attribute): Doc fix.
7911         (modify-face): Don't use :bold and :italic.
7912         (error, warning, success): Tweak definitions.
7914         * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
7915         (custom-modified, custom-set, custom-changed, custom-themed)
7916         (custom-saved, custom-button, custom-button-mouse)
7917         (custom-button-pressed, custom-state, custom-comment-tag)
7918         (custom-variable-tag, custom-group-tag-1, custom-group-tag)
7919         (custom-group-subtitle): Use new-style face specs.
7920         (custom-invalid-face, custom-rogue-face, custom-modified-face)
7921         (custom-set-face, custom-changed-face, custom-saved-face)
7922         (custom-button-face, custom-button-pressed-face)
7923         (custom-documentation-face, custom-state-face)
7924         (custom-comment-face, custom-comment-tag-face)
7925         (custom-variable-tag-face, custom-variable-button-face)
7926         (custom-face-tag-face, custom-group-tag-face-1)
7927         (custom-group-tag-face): Remove obsolete face alias.
7929         * epa.el (epa-validity-high, epa-validity-medium)
7930         (epa-validity-low, epa-mark, epa-field-name, epa-string)
7931         (epa-field-name, epa-field-body):
7932         * font-lock.el (font-lock-comment-face, font-lock-string-face)
7933         (font-lock-keyword-face, font-lock-builtin-face)
7934         (font-lock-function-name-face, font-lock-variable-name-face)
7935         (font-lock-type-face, font-lock-constant-face):
7936         * ido.el (ido-first-match, ido-only-match, ido-subdir)
7937         (ido-virtual, ido-indicator, ido-incomplete-regexp):
7938         * speedbar.el (speedbar-button-face, speedbar-file-face)
7939         (speedbar-directory-face, speedbar-tag-face)
7940         (speedbar-selected-face, speedbar-highlight-face)
7941         (speedbar-separator-face):
7942         * whitespace.el (whitespace-newline, whitespace-space)
7943         (whitespace-hspace, whitespace-tab, whitespace-trailing)
7944         (whitespace-line, whitespace-space-before-tab)
7945         (whitespace-space-after-tab, whitespace-indentation)
7946         (whitespace-empty):
7947         * emulation/cua-base.el (cua-global-mark):
7948         * eshell/em-prompt.el (eshell-prompt):
7949         * net/newst-plainview.el (newsticker-new-item-face)
7950         (newsticker-old-item-face, newsticker-immortal-item-face)
7951         (newsticker-obsolete-item-face, newsticker-date-face)
7952         (newsticker-statistics-face, newsticker-default-face):
7953         * net/newst-reader.el (newsticker-feed-face)
7954         (newsticker-extra-face, newsticker-enclosure-face):
7955         * net/newst-treeview.el (newsticker-treeview-face)
7956         (newsticker-treeview-new-face, newsticker-treeview-old-face)
7957         (newsticker-treeview-immortal-face)
7958         (newsticker-treeview-obsolete-face)
7959         (newsticker-treeview-selection-face):
7960         * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
7961         (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
7962         (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
7963         (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
7964         * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
7965         (nxml-outline-active-indicator, nxml-outline-ellipsis):
7966         * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
7967         (mpuz-text):
7968         * progmodes/vera-mode.el (vera-font-lock-number)
7969         (vera-font-lock-function, vera-font-lock-interface):
7970         * textmodes/table.el (table-cell): Use new-style face specs, and
7971         don't use the old :bold and :italic attributes.
7973         * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
7974         (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
7975         (ebrowse-member-class, ebrowse-progress): Likewise.
7976         (ebrowse-tree-mark-face, ebrowse-root-class-face)
7977         (ebrowse-file-name-face, ebrowse-default-face)
7978         (ebrowse-member-attribute-face, ebrowse-member-class-face)
7979         (ebrowse-progress-face): Remove obsolete faces.
7981         * progmodes/flymake.el (flymake-errline, flymake-warnline):
7982         Inherit from error and warning faces respectively.
7984         * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
7985         Likewise.
7986         (flyspell-incorrect-face, flyspell-duplicate-face):
7987         Remove obsolete aliases.
7989 2012-06-08  Michael Albinus  <michael.albinus@gmx.de>
7991         * net/tramp-compat.el (tramp-compat-temporary-file-directory):
7992         Avoid infloop.
7994 2012-06-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7996         * startup.el (argv, argi): Make lexically scoped.
7997         * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
7998         * emacs-lisp/cl-macs.el: Use lexical-binding.
7999         Rename cl-bind-* to cl--bind-*.
8000         * files.el: Don't require `cl' since it doesn't use it.
8001         * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
8003 2012-06-08  Juanma Barranquero  <lekktu@gmail.com>
8005         * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
8006         (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
8007         instead of calling external sort utility.
8008         (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
8010 2012-06-08  Eli Zaretskii  <eliz@gnu.org>
8012         * descr-text.el (describe-char): Mention how to insert the
8013         character, if the current input method doesn't support it.
8014         See the discussion in this thread for the details:
8015         http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
8017 2012-06-08  Sam Steingold  <sds@gnu.org>
8019         * bindings.el (global-map): Bind XF86Forward to next-buffer and
8020         XF86Back to previous-buffer.
8021         (minibuffer-local-map): Bind them to next-history-element and
8022         previous-history-element respectively.
8023         * help-mode.el (help-mode-map): Bind them to help-go-forward and
8024         help-go-back respectively.
8025         * info.el (Info-mode-map): Bind them to Info-history-forward and
8026         Info-history-back respectively.
8027         These are the keys next to Up on the ThinkPad keyboard.
8029 2012-06-08  Stefan Monnier  <monnier@iro.umontreal.ca>
8031         Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
8032         * emacs-lisp/cl-macs.el: Provide itself.
8033         (cl--labels-convert-cache): New var.
8034         (cl--labels-convert): New function.
8035         (cl-flet, cl-labels): New implementation with new semantics, relying on
8036         lexical-binding.
8037         * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
8038         (cl-closure-vars, cl--function-convert-cache)
8039         (cl--function-convert): Move from cl-macs.el.
8040         (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
8041         rename by removing the "cl-" prefix.
8042         * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
8044 2012-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
8046         * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
8047         (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
8048         (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
8049         (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
8050         (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
8051         (cl-hash-table-count): Add old compatibility aliases.
8053         * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
8054         Use macroexpand-all-environment instead.
8055         (cl--old-macroexpand): New var.
8056         (cl--sm-macroexpand): New function.
8057         (cl-symbol-macrolet): Use it during macro expansion.
8058         (cl--function-convert-cache): New var.
8059         (cl--function-convert): New function, extracted from
8060         cl-macroexpand-all.
8061         (cl-lexical-let): Use it.
8063         * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
8064         (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
8065         (cl-member): Remove old alias.
8067         * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
8068         (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
8069         (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
8070         (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
8071         (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
8072         (cl-macroexpand-cmacs): Remove var.
8073         (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
8074         Use macroexpand-all instead.
8076 2012-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
8078         * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
8079         (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
8080         (macroexp-copyable-p): New functions and macros.
8081         * emacs-lisp/edebug.el (edebug-unwrap):
8082         * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
8083         * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
8084         (pcase--let*): Remove.
8085         * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
8086         (byte-compile-constp): Remove.  Use macroexp--const-symbol-p and
8087         macroexp-const-p instead.
8088         * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
8090         * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
8091         instead of "cl-" for internal definitions.  Use macroexp-const-p.
8092         (cl-old-bc-file-form): Remove var.
8093         (cl-const-exprs-p): Remove fun.
8094         (cl-labels, cl-macrolet): Use backquote.
8095         (cl-lexical-let): Use cl-symbol-macrolet.  Don't use cl-defun-expander.
8096         (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
8097         (cl-define-setf-expander): Rename from cl-define-setf-method.
8098         * emacs-lisp/cl.el: Adjust alias for define-setf-method.
8100         * international/mule-cmds.el: Don't require CL.
8101         (view-hello-file): Don't use `letf'.
8103 2012-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
8105         * tmm.el (tmm-prompt): Use string-prefix-p.
8106         (tmm-completion-delete-prompt): Don't affect current-buffer outside.
8107         (tmm-add-prompt): Use minibuffer-completion-help.
8108         (tmm-delete-map): Remove.
8110         * subr.el (kbd): Make it its own function.
8112 2012-06-07  Stefan Merten  <smerten@oekonux.de>
8114         * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
8115         Silence compiler warnings.  Fix versions.
8116         (rst-position-if, rst-position, rst-some, rst-signum): New functions.
8117         (rst-shift-region, rst-adornment-level, rst-compute-tabs)
8118         (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
8119         (rst-package-emacs-version-alist): Correct Emacs version to
8120         represent major merge with upstream.
8121         (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
8123 2012-06-06  Glenn Morris  <rgm@gnu.org>
8125         * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
8126         Only print environment variables if set.
8128 2012-06-06  Stefan Monnier  <monnier@iro.umontreal.ca>
8130         * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
8131         (macroexp--cons): Rename from maybe-cons.
8132         (macroexp--accumulate): Rename from macroexp-accumulate.
8133         (macroexp--all-forms): Rename from macroexpand-all-forms.
8134         (macroexp--all-clauses): Rename from macroexpand-all-clauses.
8135         (macroexp--expand-all): Rename from macroexpand-all-1.
8137 2012-06-06  Sam Steingold  <sds@gnu.org>
8139         * calendar/calendar.el (calendar-in-read-only-buffer):
8140         Call `special-mode' to enable the standard read-only keybindings.
8142 2012-06-06  Stefan Monnier  <monnier@iro.umontreal.ca>
8144         * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
8145         with "loading" messages (bug#11635).
8147 2012-06-06  Michael Albinus  <michael.albinus@gmx.de>
8149         * files.el (enable-remote-dir-locals): New option.
8150         (hack-dir-local-variables): Use it.  (Bug#1933, Bug#6731)
8152         * net/tramp-compat.el (tramp-compat-temporary-file-directory):
8153         Ensure, that the temp directory is local.
8155         * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
8156         `temporary-file-directory'.
8158         * progmodes/python.el (python-send-region): Ensure, that the
8159         temporary file is created also in the remote case.
8161 2012-06-06  Glenn Morris  <rgm@gnu.org>
8163         * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
8164         (vc-rcs-update-changelog): Use it.
8166         * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
8168         * vc/vc-sccs.el (vc-sccs-write-revision): New function.
8169         (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
8170         (vc-sccs-diff): Replace use of the external vcdiff script.
8172 2012-06-05  Glenn Morris  <rgm@gnu.org>
8174         * ledit.el: Move to obsolete/.
8176 2012-06-05  Sam Steingold  <sds@gnu.org>
8178         * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
8179         patch (Bug#11140).
8181 2012-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
8183         * emacs-lisp/cust-print.el: Move to obsolete.
8185         * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
8186         compiler-macro expansion.
8188         Add native compiler-macro support.
8189         * emacs-lisp/macroexp.el (macroexpand-all-1):
8190         Support compiler-macros directly.  Properly follow aliases and apply
8191         the compiler macros more thoroughly.
8192         * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
8193         macroexpand now properly follows aliases.
8194         * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
8195         (cl-compiler-macroexpand): Use new prop.
8196         * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
8198         * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
8200 2012-06-05  Martin Rudalics  <rudalics@gmx.at>
8202         * window.el (get-lru-window, get-mru-window, get-largest-window):
8203         New argument NOT-SELECTED to avoid picking the selected window.
8204         (window--display-buffer-1, window--display-buffer-2): Replace by
8205         new function window--display-buffer
8206         (display-buffer-same-window, display-buffer-reuse-window)
8207         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
8208         Use window--display-buffer.
8209         (display-buffer-use-some-window): Remove temporary dedication
8210         hack by calling get-lru-window and get-largest-window with
8211         NOT-SELECTED argument non-nil.  Call window--display-buffer.
8213 2012-06-05  Glenn Morris  <rgm@gnu.org>
8215         * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
8216         Replace external vcdiff script.
8218 2012-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
8220         * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
8222 2012-06-04  Chong Yidong  <cyd@gnu.org>
8224         * image.el (imagemagick-types-inhibit): Revert last change.
8225         Add INFO and M.
8226         (imagemagick-enabled-types): Remove CIN and EPS*.
8228 2012-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
8230         * emacs-lisp/cl-lib.el: Rename from cl.el.
8231         * emacs-lisp/cl.el: New compatibility file.
8232         * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
8233         * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
8234         to obey the "cl-" prefix.
8235         * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
8237 2012-06-03  Glenn Morris  <rgm@gnu.org>
8239         * emacs-lisp/authors.el (authors-aliases): Addition.
8241         * cus-start.el (tool-bar-style, tool-bar-max-label-size):
8242         Fix :version.
8244 2012-06-03  Stefan Merten  <smerten@oekonux.de>
8246         * textmodes/rst.el: Add comments.
8247         (rst-transition, rst-adornment): New faces.
8248         (rst-adornment-faces-alist): Make default safe to reevaluate.
8249         Fixes
8250         http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
8251         Improve customization tags.
8252         (rst-define-level-faces): Clarify meaning.
8254 2012-06-03  Chong Yidong  <cyd@gnu.org>
8256         * progmodes/compile.el (compilation-mode-line-fail)
8257         (compilation-mode-line-run, compilation-mode-line-exit):
8258         New faces.
8259         (compilation-start, compilation-handle-exit): Use them (Bug#11032).
8261 2012-06-03  Jack Duthen  <duthen.mac.01@gmail.com>  (tiny change)
8263         * progmodes/which-func.el (which-func-update-ediff-windows):
8264         New function.  Use it in ediff-select-hook (Bug#11478).
8266 2012-06-03  Chong Yidong  <cyd@gnu.org>
8268         * bindings.el: Remove explicit help text from format-mode-line.
8269         It is now supplied by mode-line-default-help-echo.
8270         (mode-line-front-space, mode-line-end-spaces)
8271         (mode-line-misc-info): New variables.
8272         (mode-line-modes, mode-line-position): Move the default value to
8273         the variable definition.
8274         (mode-line-default-help-echo): New defcustom.
8275         (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
8276         (mode-line-modified-help-echo): New functions.
8277         (mode-line-mule-info, mode-line-modified): Use them.
8278         (mode-line-eol-desc, propertized-buffer-identification):
8279         Consistency fixes for help text.
8280         (mode-line-coding-system-map): Allow using mouse-3 to invoke
8281         set-buffer-file-coding-system (Bug#289).
8282         (mode-line-mule-info-help-echo): Update help text.
8284 2012-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
8286         * simple.el (execute-extended-command): Set real-this-command
8287         (bug#11506).
8289 2012-06-02  Chong Yidong  <cyd@gnu.org>
8291         Remove incorrect uses of "modeline" in comments, docstrings, and
8292         function/variable names (Bug#10329).
8294         * cus-edit.el (mode-line):
8295         * dframe.el (dframe-mouse-hscroll):
8296         * emacs-lisp/re-builder.el:
8297         * emacs-lisp/easy-mmode.el (define-minor-mode):
8298         * frame.el (set-frame-name):
8299         * help.el (lookup-minor-mode-from-indicator):
8300         * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
8301         * progmodes/cc-cmds.el (c-toggle-auto-newline)
8302         (c-toggle-hungry-state):
8303         * progmodes/antlr-mode.el (antlr-language-alist):
8304         * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
8305         * progmodes/vhdl-mode.el (vhdl-mode):
8306         * progmodes/which-func.el (which-func, which-func-cleanup-function):
8307         * term/ns-win.el (ns-face-at-pos):
8308         * term/sup-mouse.el (sup-mouse-report):
8309         * textmodes/flyspell.el (flyspell-mode-line-string):
8310         * textmodes/ispell.el (ispell-highlight-face):
8311         * textmodes/reftex-global.el:
8312         * vc/vc-arch.el (vc-arch-mode-line-string):
8313         * vc/vc-cvs.el (vc-cvs-mode-line-string):
8314         * vc/vc-git.el (vc-git-mode-line-string):
8315         * vc/vc-hooks.el (vc-display-status)
8316         (vc-default-mode-line-string):
8317         * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
8319         * ansi-color.el (ansi-color-faces-vector): Change default faces.
8321         * dired.el (dired-sort-set-mode-line): Rename from
8322         dired-sort-set-modeline.  All callers changed.
8324         * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
8325         eshell-status-in-modeline.
8327         * foldout.el (foldout-mode-line-string): Rename from
8328         foldout-modeline-string.  All callers changed.
8329         (foldout-update-mode-line): Rename from foldout-update-modeline.
8331         * subr.el (redraw-modeline): Make into obsolete alias.
8333         * calendar/timeclock.el (timeclock-mode-line-display): Rename from
8334         timeclock-modeline-display.  Make old name an alias.
8335         (timeclock-update-mode-line): Likewise.  All callers changed.
8336         (timeclock-mode-line-display): No need to check before using
8337         add-hook.
8338         (timeclock-relative, timeclock-day-over-hook)
8339         (timeclock-use-elapsed, timeclock-mode-string)
8340         (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
8342         * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
8343         crisp-mode-modeline-string.
8345         * play/solitaire.el (solitaire-build-mode-line): Rename from
8346         solitaire-build-modeline.  All callers changed.
8348         * play/zone.el (zone-hiding-mode-line): Rename from
8349         zone-hiding-modeline.  All callers changed.
8350         (zone): Remove unusued `modeline-hidden-level' property.
8352         * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
8353         xscheme-modeline-initialize.  All callers changed.
8355         * strokes.el (strokes-lighter): Rename from
8356         strokes-modeline-string.
8358         * textmodes/sgml-mode.el (html-face-tag-alist)
8359         (html-tag-face-alist): Use mode-line face instead of obsolete
8360         alias modeline.
8362 2012-06-02  Stefan Merten  <smerten@oekonux.de>
8364         * textmodes/rst.el: Always require `cl'.
8365         (rst-mode-map): Fix meaning of C-M-a / C-M-e.
8367 2012-06-02  Chong Yidong  <cyd@gnu.org>
8369         * image.el (imagemagick-enabled-types): Rename from
8370         imagemagick-types-enable.  Add many more types.
8371         (imagemagick-types-inhibit): Change default to nil.
8372         (imagemagick-filter-types): Caller changed.
8374 2012-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
8376         * emacs-lisp/cl-macs.el: Use backquotes.
8377         (cl-transform-function-property): Use eval-and-compile rather than
8378         abusing `require'.
8379         (defstruct): Use declare-function instead of with-no-warnings.
8381         * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
8382         (byte-compile-output-docform): Re-add the print-circle bindings.
8383         (byte-compile-fix-header): Use #$ just because it's shorter.
8384         (byte-compile-output-file-form): Remove defun/defmacro.
8386 2012-06-01  Martin Rudalics  <rudalics@gmx.at>
8388         * simple.el (choose-completion): Remove now obsolete binding for
8389         owindow.
8391 2012-06-01  Michael Albinus  <michael.albinus@gmx.de>
8393         * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
8394         in order to avoid "Stack overflow in regexp matcher".
8396 2012-05-31  Glenn Morris  <rgm@gnu.org>
8398         * image.el: For clarity, call imagemagick-register-types at
8399         top-level, rather than relying on a custom :initialize.
8400         (imagemagick-types-enable): New option.  (Bug#11557)
8401         (imagemagick-filter-types): New function.  (Bug#7406)
8402         (imagemagick-register-types): Use imagemagick-filter-types.
8403         If disabling support, remove elements altogether rather
8404         than using an impossible regexp.
8405         (imagemagick-types-inhibit): Give it the default init function.
8407 2012-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
8409         * emacs-lisp/bytecomp.el (byte-compile-fix-header):
8410         Handle arbitrary file name lengths (Bug#11585).
8412 2012-05-31  Martin Rudalics  <rudalics@gmx.at>
8414         * desktop.el (desktop-read): Clear previous and next buffers for
8415         all windows and bury *Messages* buffer (bug#11556).
8417 2012-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
8419         Add `declare' for `defun'.  Align `defmacro's with it.
8420         * emacs-lisp/easy-mmode.el (define-minor-mode)
8421         (define-globalized-minor-mode): Don't autoload the var definitions.
8422         * emacs-lisp/byte-run.el: Use lexical-binding.
8423         (defun-declarations-alist, macro-declarations-alist): New vars.
8424         (defmacro, defun): Use them.
8425         (make-obsolete, define-obsolete-function-alias)
8426         (make-obsolete-variable, define-obsolete-variable-alias):
8427         Use `declare'.
8428         (macro-declaration-function): Mark obsolete.
8429         * emacs-lisp/autoload.el: Use lexical-binding.
8430         (make-autoload): Add `expansion' arg.  Rely more on macro expansion.
8432 2012-05-30  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
8434         * textmodes/ispell.el (ispell-with-no-warnings):
8435         Define as a macro.
8436         (ispell-kill-ispell, ispell-change-dictionary):
8437         Use `called-interactively-p' for Emacs instead of obsolete
8438         `interactive-p'.
8440 2012-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
8442         * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
8443         (macro-declaration-function): Move var from C code.
8444         (macro-declaration-function): Define function with defalias.
8445         * emacs-lisp/macroexp.el (macroexpand-all-1):
8446         * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
8447         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
8448         defun/defmacro any more.
8449         * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
8450         Provide fallback for unknown arglist.
8451         (byte-compile-arglist-warn): Change calling convention.
8452         (byte-compile-output-file-form): Move print-vars binding.
8453         (byte-compile-output-docform): Simplify accordingly.
8454         (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
8455         (byte-compile-defmacro-declaration): Remove.
8456         (byte-compile-file-form-defmumble): Generalize to defalias.
8457         (byte-compile-output-as-comment): Return byte-positions.
8458         Simplify callers accordingly.
8459         (byte-compile-lambda): Use `assert'.
8460         (byte-compile-defun, byte-compile-defmacro): Remove.
8461         (byte-compile-file-form-defalias):
8462         Use byte-compile-file-form-defmumble.
8463         (byte-compile-defalias-warn): Remove.
8465 2012-05-29  Stefan Merten  <smerten@oekonux.de>
8467         * textmodes/rst.el: Silence `checkdoc-ispell' errors where
8468         possible.  Fix authors.  Improve comments.  Improve loading of `cl'.
8470         (rst-mode-abbrev-table): Merge definition.
8471         (rst-mode): Make sure `font-lock-defaults' is buffer local.
8472         (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
8474 2012-05-29  Ulf Jasper  <ulf.jasper@web.de>
8476         * calendar/icalendar.el
8477         (icalendar-export-region): Export UID properly.
8479 2012-05-29  Leo Liu  <sdl.web@gmail.com>
8480         * calendar/icalendar.el (icalendar-import-format):
8481         Add `icalendar-import-format-uid' (Bug#11525).
8482         (icalendar-import-format-uid): New.
8483         (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
8484         Export UID.
8486 2012-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>
8488         * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
8489         different alternative patterns.
8490         (pcase-codegen): Be more careful to preserve identity.
8491         (pcase--u1): Don't forget to mark vars as used.
8493         * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
8494         (byte-compile-close-variables): Bind byte-compile--outbuffer here...
8495         (byte-compile-from-buffer): ...rather than here.
8497         * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
8498         functions from byte-compile-function-environment.
8500 2012-05-29  Troels Nielsen  <bn.troels@gmail.com>
8502         * window.el (window-deletable-p): Avoid deleting the root window
8503         of a frame with an active minibuffer.
8505 2012-05-29  Martin Rudalics  <rudalics@gmx.at>
8507         * simple.el (choose-completion): Use quit-window (Bug#11567).
8509 2012-05-29  Chong Yidong  <cyd@gnu.org>
8511         * whitespace.el (whitespace-cleanup): Fix usage of
8512         whitespace-empty-at-bob-regexp (Bug#11492).
8514 2012-05-29  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
8516         * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
8517         revert (Bug#11488).
8519 2012-05-29  Juri Linkov  <juri@jurta.org>
8521         * isearch.el (isearch-mode-map): Bind `M-s _' to
8522         `isearch-toggle-symbol'.  Bind `M-s c' to
8523         `isearch-toggle-case-fold'.
8524         (search-map): Bind `M-s _' to `isearch-forward-symbol'.
8525         (isearch-forward): Add `M-s _' to the docstring.
8526         (isearch-forward-symbol, isearch-toggle-case-fold)
8527         (isearch-symbol-regexp): New functions.  (Bug#11381)
8529 2012-05-29  Juri Linkov  <juri@jurta.org>
8531         * isearch.el (isearch-word): Add docstring.  (Bug#11381)
8532         (isearch-occur, isearch-search-and-update): If `isearch-word' is
8533         a function, call it to get the regexp.
8534         (isearch-message-prefix): If `isearch-word' holds a symbol, use its
8535         property `isearch-message-prefix' instead of the string "word ".
8536         (isearch-search-fun-default): For the case of `isearch-word',
8537         return a lambda that calls re-search-forward/re-search-backward
8538         with a regexp returned by `word-search-regexp' or by the function
8539         in `isearch-word'.
8541 2012-05-29  Juri Linkov  <juri@jurta.org>
8543         * isearch.el (isearch-search-fun-default): New function.
8544         (isearch-search-fun): Move default part to the new function
8545         `isearch-search-fun-default'.
8546         (isearch-search-fun-function): Set the default value to
8547         `isearch-search-fun-default'.  (Bug#11381)
8549         * comint.el (comint-history-isearch-end):
8550         Use `isearch-search-fun-default'.
8551         (comint-history-isearch-search): Use `isearch-search-fun-default'
8552         and remove spacial case for `isearch-word'.
8553         (comint-history-isearch-wrap): Remove spacial case for
8554         `isearch-word'.
8556         * hexl.el (hexl-isearch-search-function):
8557         Use `isearch-search-fun-default'.
8559         * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
8560         Use `word-search-regexp' for `isearch-word'.
8562         * misearch.el (multi-isearch-search-fun):
8563         Use `isearch-search-fun-default'.
8565         * simple.el (minibuffer-history-isearch-search):
8566         Use `isearch-search-fun-default' and remove spacial case for
8567         `isearch-word'.
8568         (minibuffer-history-isearch-wrap): Remove spacial case for
8569         `isearch-word'.
8571         * textmodes/reftex-global.el (reftex-isearch-wrap-function):
8572         Remove spacial case for `isearch-word'.
8573         (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
8575 2012-05-28  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
8577         Decrease XEmacs incompatibilities.
8578         * textmodes/flyspell.el (flyspell-check-pre-word-p):
8579         Use `string-match'.
8580         (flyspell-delete-region-overlays): Use alternative definition for
8581         XEmacs.
8582         (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
8583         (flyspell-word): Use `process-kill-without-query' if XEmacs.
8584         (flyspell-mode-on): Use `interactive-p' if XEmacs.
8585         (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
8586         `define-obsolete-face-alias' under XEmacs, but old method.
8588         * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
8589         `with-no-warnings' definition or Emacs alias.
8590         (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
8591         (ispell-word): Do not use `region-p' if XEmacs.
8593 2012-05-28  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
8595         * textmodes/ispell.el (ispell-find-aspell-dictionaries):
8596         Check for `ispell-dictionary-base-alist' instead of full
8597         `ispell-dictionary-alist'.
8598         (ispell-init-process): Show spellchecker when starting new Ispell
8599         process.
8601 2012-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
8603         * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
8604         http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
8606 2012-05-27  Juanma Barranquero  <lekktu@gmail.com>
8608         * version.el (motif-version-string, gtk-version-string)
8609         (ns-version-string): Declare.
8611 2012-05-27  Juri Linkov  <juri@jurta.org>
8613         * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
8614         after the `eval-defun-1' specialcaseing
8615         like in `edebug-eval-defun' (bug#10181).
8617         * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
8618         like in `eval-defun-1'.
8620 2012-05-27  Eli Zaretskii  <eliz@gnu.org>
8622         * mail/sendmail.el (mail-yank-region):
8623         Recognize rmail-yank-current-message in addition to insert-buffer.
8624         Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
8625         a *mail* buffer created through rmail-start-mail with sendmail as
8626         mail-user-agent.
8628 2012-05-27  Chong Yidong  <cyd@gnu.org>
8630         * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
8631         Default to 256 (Bug#11267).
8633         * help.el (describe-mode): Doc fix.
8635 2012-05-26  Glenn Morris  <rgm@gnu.org>
8637         * w32-fns.el (w32-init-info): Remove.
8638         * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
8640         * info.el (info-initialize): For self-contained NS builds, put the
8641         included info/ directory at the front.  (Bug#2791)
8643         * paths.el (Info-default-directory-list): Make it a defcustom,
8644         mainly so that we can use custom-initialize-delay.
8646 2012-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
8648         * subr.el (buffer-has-markers-at): Mark obsolete.
8650         * subr.el (lambda): Use declare.
8652         * emacs-lisp/lisp-mode.el (lambda):
8653         * emacs-lisp/edebug.el (lambda): Move properties to its definition.
8655 2012-05-26  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
8657         * thingatpt.el (forward-same-syntax): Handle no ARG case.  (Bug#11560)
8659 2012-05-26  Glenn Morris  <rgm@gnu.org>
8661         * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
8663 2012-05-25  Glenn Morris  <rgm@gnu.org>
8665         * paths.el: Remove no-byte-compile.
8666         * loadup.el: No need to load paths.el uncompiled.
8668         * image.el (imagemagick-types-inhibit): Doc fix.
8670         * version.el: Remove no-byte-compile and associated formatting.
8671         * loadup.el: No need to load version.el uncompiled.  AFAICS, this
8672         is ancient code from when there was an "inc-vers.el".
8674 2012-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
8676         * progmodes/gdb-mi.el: Minor style changes.
8677         (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
8678         Turn into minor modes.
8679         (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
8680         (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
8681         (gdb-shell): Remove unneeded let-binding.
8682         (gdb-get-many-fields): Eliminate O(n²) behavior.
8684 2012-05-25  Eli Zaretskii  <eliz@gnu.org>
8686         * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
8687         platforms that don't link in fontset.c.
8689 2012-05-25  Juri Linkov  <juri@jurta.org>
8691         Use the same diff color scheme as in modern VCSes (bug#10181).
8693         * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
8694         to avoid confusion with `diff-added' that now uses green colors.
8695         (diff-removed): Use shades of red.
8696         (diff-added): Use shades of green.
8697         (diff-changed): Leave just the yellow color.
8698         (diff-use-changed-face): New variable.
8699         (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
8700         how to highlight context diff changes.
8701         (diff-refine-change): Use shades of yellow.
8702         (diff-refine-removed): New face that uses shades of red.
8703         (diff-refine-added): New face that uses shades of green.
8704         (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
8705         `diff-refine-removed' in the call to `smerge-refine-subst'
8706         depending on the value of `diff-use-changed-face'.
8708         * vc/smerge-mode.el (smerge-mine): Use shades of red.
8709         (smerge-other): Use shades of green.
8710         (smerge-base): Use shades of yellow.
8711         (smerge-refined-change): Empty face.
8712         (smerge-refined-removed): New face that uses shades of red.
8713         (smerge-refined-added): New face that uses shades of green.
8714         (smerge-refine-subst): Rename arg `props' to `props-c'.  Add new
8715         args `props-r' and `props-a', and use them.  Doc fix.
8716         (smerge-refine): Evaluate `smerge-use-changed-face' and depending
8717         on its value use different faces `smerge-refined-change',
8718         `smerge-refined-removed', `smerge-refined-added' in the call to
8719         `smerge-refine-subst'.
8721         * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
8722         Add face condition `min-colors 88' with shades of red.
8723         (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
8724         `min-colors 88' with shades of green.
8725         (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
8726         `min-colors 88' with shades of yellow.
8728 2012-05-24  Glenn Morris  <rgm@gnu.org>
8730         * paths.el (prune-directory-list, remote-shell-program): Move to...
8731         * files.el (prune-directory-list, remote-shell-program): ...here.
8732         For the latter, delay initialization, prefer ssh, just search PATH.
8734         * paths.el (term-file-prefix): Move to faces.el (the only user).
8735         * faces.el (term-file-prefix): Move here, make it a defcustom.
8737         * paths.el (news-directory, news-path, news-inews-program):
8738         Move to gnus/nnspool.el.
8740         * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
8742         * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
8743         * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
8744         Make the latter a defcustom, with a delayed initialization.
8746         * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
8747         These were deleted from Gnus itself late 2010.
8749 2012-05-22  Juanma Barranquero  <lekktu@gmail.com>
8751         * progmodes/which-func.el (which-func-ff-hook):
8752         Check against user-error, not error.
8754         * emacs-lisp/edebug.el (top): Do not load or set up loading of
8755         cl-specs.el, which no longer exists.
8757 2012-05-22  Glenn Morris  <rgm@gnu.org>
8759         * info.el (info-emacs-bug): New command.
8760         * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
8761         * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
8763 2012-05-21  Glenn Morris  <rgm@gnu.org>
8765         * makefile.w32-in (update-subdirs-SH):
8766         * Makefile.in (update-subdirs): Update for moved update-subdirs.
8768 2012-05-21  Stefan Monnier  <monnier@iro.umontreal.ca>
8770         * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
8772         * progmodes/compile.el (compilation-error-regexp-alist-alist):
8773         Simplify Maven regexp, and make sure the file can't start with a space
8774         (bug#11517).
8776 2012-05-21  Glenn Morris  <rgm@gnu.org>
8778         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
8779         Scrap superfluous subshells.
8781 2012-05-19  Stefan Monnier  <monnier@iro.umontreal.ca>
8783         * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
8784         (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
8786 2012-05-19  Jay Belanger  <jay.p.belanger@gmail.com>
8788         * calc/calc.el (calc-ensure-consistent-units): New variable.
8790         * calc/calc-units.el (math-consistent-units-p)
8791         (math-check-unit-consistency): New functions.
8792         (calc-quick-units, calc-convert-units):
8793         Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
8794         is non-nil.
8795         (calc-extract-units): Fix typo.
8797 2012-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
8799         * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
8801         * textmodes/flyspell.el: Commenting style, plus code simplifications.
8802         (flyspell-default-deplacement-commands): Don't spell check after
8803         repeated window/frame switches (e.g. triggered by mouse-movement).
8804         (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
8805         (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
8806         (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
8807         (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
8808         Remove unused vars.
8809         (flyspell-get-casechars, flyspell-get-not-casechars):
8810         Simplify; Don't bother removing a ] just to add it back.
8811         * textmodes/ispell.el (ispell-program-name): Use executable-find.
8813 2012-05-18  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
8815         * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
8816         New functions.
8817         (math-function-table): Add support for more C functions.
8819 2012-05-18  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
8821         * textmodes/flyspell.el (flyspell-check-pre-word-p)
8822         (flyspell-check-word-p, flyspell-debug-signal-word-checked):
8823         Protect delay handling for otherchars against empty otherchars.
8825 2012-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
8827         * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
8828         their respective macro declarations.
8829         * skeleton.el (define-skeleton):
8830         * progmodes/compile.el (define-compilation-mode):
8831         * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
8832         (define-ibuffer-filter):
8833         * emacs-lisp/generic.el (define-generic-mode):
8834         * emacs-lisp/easy-mmode.el (define-minor-mode)
8835         (define-globalized-minor-mode):
8836         * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
8837         * emacs-lisp/byte-run.el (defsubst):
8838         * custom.el (deftheme): Add doc-string metadata.
8840 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
8842         * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
8844 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
8846         * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
8848         * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
8849         * emacs-lisp/cl-macs.el: Idem.
8850         * emacs-lisp/cl-specs.el: Remove.
8852 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
8854         Minor renaming of internal CL functions and variables.
8855         * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
8856         (cl--position): Rename from cl-position.
8857         (cl--delete-duplicates): Rename from cl-delete-duplicates.
8858         * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
8859         (cl--random-state): Rename from *random-state*.
8861 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
8863         * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
8864         parens around the arg list (bug#11499).
8866 2012-05-17  Juri Linkov  <juri@jurta.org>
8868         * isearch.el (word-search-regexp, word-search-backward)
8869         (word-search-forward, word-search-backward-lax)
8870         (word-search-forward-lax): Move functions from search.c
8871         (bug#10145, bug#11381).
8873 2012-05-16  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
8875         * textmodes/flyspell.el (flyspell-check-pre-word-p)
8876         (flyspell-check-word-p, flyspell-debug-signal-word-checked):
8877         Delay for otherchars as for normal word components.
8879 2012-05-16  Stefan Monnier  <monnier@iro.umontreal.ca>
8881         * minibuffer.el (completion--sifn-requote): Fix last change.
8882         (minibuffer-local-must-match-filename-map):
8883         Move define-obsolete-variable-alias before its var.
8885 2012-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
8887         * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
8889         * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
8890         behavior.
8891         (completion--string-equal-p): New function.
8892         (completion--twq-all): Use it to get better assertion failure data.
8894         Only handle ".." and '..' quoting in shell-mode (bug#11466).
8895         * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
8896         (shell--requote-argument): New functions.
8897         (shell-completion-vars): Use them.
8898         (shell--parse-pcomplete-arguments): Rename from
8899         shell-parse-pcomplete-arguments.
8900         * comint.el (comint-word): Obey comint-file-name-quote-list.  Simplify.
8901         (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
8902         Obey comint-file-name-quote-list.
8904         * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
8905         (smie-indent-keyword): Use it.
8907 2012-05-14  Stefan Merten  <smerten@oekonux.de>
8909         * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
8911 2012-05-14  Stefan Monnier  <monnier@iro.umontreal.ca>
8913         * net/rlogin.el (rlogin-mode-map): Fix last change.
8915 2012-05-14  Jason L. Wright  <jason.wright@inl.gov>  (tiny change)
8917         * mail/smtpmail.el (smtpmail-send-command): Send the command and
8918         the following \r\n using a single `process-send-string', since the
8919         Lotus SMTP server refuses to accept any commands if they are sent
8920         with two `process-send-string's (Bug#11444).
8922 2012-05-14  Stefan Monnier  <monnier@iro.umontreal.ca>
8924         * shell.el (shell-parse-pcomplete-arguments):
8925         Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
8927 2012-05-14  Wolfgang Jenkner  <wjenkner@inode.at>
8929         * image-mode.el: Fit to width/height for rotated images (Bug#11431).
8930         (image-transform-scale, image-transform-right-angle-fudge): New vars.
8931         (image-transform-width, image-transform-fit-width): New functions.
8932         (image-transform-properties): Use them.
8933         (image-transform-check-size): New function.
8934         (image-toggle-display-image): Use it (for testing).
8935         (image-transform-set-rotation): Reduce angle mod 360.
8936         Delete obsolete comment.
8938 2012-05-14  Wolfgang Jenkner  <wjenkner@inode.at>
8940         * image-mode.el: Fix scaling (bug#11399).
8941         (image-transform-resize): Doc fix.
8942         (image-transform-properties): Default scale is 1 and height should
8943         be an integer.
8945 2012-05-13  Johan Bockgård  <bojohan@gnu.org>
8947         * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
8948         than hard-coding `car', to fix misbehavior when moving forward.
8950 2012-05-13  Chong Yidong  <cyd@gnu.org>
8952         * emacs-lisp/tabulated-list.el (tabulated-list-format)
8953         (tabulated-list-entries, tabulated-list-padding)
8954         (tabulated-list-sort-key): Make permanent-local.
8956         * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
8957         (electric-buffer-list): Put electric buffer menu
8958         command descriptions in this docstring, instead of the docstring
8959         of electric-buffer-menu-mode.  Code cleanups.
8960         (electric-buffer-menu-mode): Use define-derived-mode.  Rename from
8961         Electric-buffer-menu-mode.
8962         (electric-buffer-update-highlight): Minor code cleanup.
8964 2012-05-13  Michael Albinus  <michael.albinus@gmx.de>
8966         * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
8967         (Bug#11447)
8969 2012-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
8971         Move define-obsolete-variable-alias before the var's definition.
8972         * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
8973         * tooltip.el (tooltip-hook):
8974         * textmodes/reftex-toc.el (reftex-toc-map):
8975         * textmodes/reftex-sel.el (reftex-select-label-map)
8976         (reftex-select-bib-map):
8977         * textmodes/reftex-index.el (reftex-index-map)
8978         (reftex-index-phrases-map):
8979         * speedbar.el (speedbar-syntax-table, speedbar-key-map):
8980         * progmodes/meta-mode.el (meta-mode-map):
8981         * novice.el (disabled-command-hook):
8982         * loadhist.el (unload-hook-features-list):
8983         * frame.el (blink-cursor):
8984         * files.el (find-file-not-found-hooks, write-file-hooks)
8985         (write-contents-hooks):
8986         * emulation/tpu-edt.el (GOLD-map):
8987         * emacs-lock.el (emacs-lock-from-exiting):
8988         * emacs-lisp/generic.el (generic-font-lock-defaults):
8989         * emacs-lisp/chart.el (chart-map):
8990         * dos-fns.el (register-name-alist):
8991         * dired-x.el (dired-omit-files-p):
8992         * desktop.el (desktop-enable):
8993         * cus-edit.el (custom-mode-hook):
8994         * buff-menu.el (buffer-menu-mode-hook):
8995         * bookmark.el (bookmark-read-annotation-text-func)
8996         (bookmark-exit-hooks):
8997         * allout.el (allout-mode-deactivate-hook)
8998         (allout-exposure-change-hook, allout-structure-added-hook)
8999         (allout-structure-deleted-hook, allout-structure-shifted-hook):
9000         * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
9001         (dirtrack-debug): Move call to define-obsolete-variable-alias so it
9002         comes before the corresponding variable's definition.
9004 2012-05-12  Chong Yidong  <cyd@gnu.org>
9006         * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
9007         (Buffer-menu-mouse-select): Restore function (Bug#11459).
9008         (Buffer-menu-mode-map): Bind it.
9009         (Buffer-menu--pretty-name): Add a mouse-face property.
9011 2012-05-11  Stefan Monnier  <monnier@iro.umontreal.ca>
9013         * progmodes/prolog.el: Use SMIE.  Cleanup regexp setup.
9014         (prolog-upper-case-string, prolog-lower-case-string)
9015         (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
9016         (prolog-use-smie, prolog-smie-grammar): New vars.
9017         (prolog-smie-forward-token, prolog-smie-backward-token)
9018         (prolog-smie-rules): New funs.
9019         (prolog-comment-indent): Remove.
9020         (prolog-mode-variables): Use default comment indentation instead.
9021         Setup SMIE.
9022         (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
9023         (prolog-mode): Don't call them any more.
9024         (prolog-electric-colon, prolog-electric-dash)
9025         (prolog-edit-menu-insert-move): Use indent-according-to-mode.
9027         * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
9029         * minibuffer.el (completion--twq-all): Again, allow case differences.
9031         * term.el: Move keymap initialization code to be more idiomatic.
9032         (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
9033         (term-terminal-menu): Move initialization into declaration.
9034         (term-escape-char): Let the user set it in her .emacs.
9036         * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
9037         Provide SMIE-based indentation (not enabled by default yet).
9038         (sh-mode-map): Don't bind electric keys.
9039         Use electric-pair-mode instead of skeleton-pair.
9040         (sh-assignment-regexp): Fit within 80 columns.
9041         (sh-indent-supported): Specify actual shell name instead of boolean.
9042         (sh--maybe-here-document): New fun, from sh-maybe-here-document.
9043         (sh-maybe-here-document): Use it.  Make obsolete.
9044         (sh-electric-here-document-mode) New minor mode.
9045         (sh-mode): Use it.  Don't set sh-indent-supported-here here.
9046         (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
9047         (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
9048         (sh-smie-rc-grammar, sh-use-smie): New vars.
9049         (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
9050         (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
9051         (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
9052         (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
9053         (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
9054         (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
9055         (sh-set-shell): Use smie-setup if requested.
9057         * term.el (term-set-escape-char): Properly set term-escape-char.
9058         See http://stackoverflow.com/questions/10524656.
9060 2012-05-10  Chong Yidong  <cyd@gnu.org>
9062         * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
9063         Use url-generic-parse-url, and handle host names and Windows
9064         filenames properly.
9065         (ffap-url-unwrap-remote): Use url-generic-parse-url.
9066         (ffap-url-unwrap-remote): Accept list values, specifying a list of
9067         URL schemes to work on.
9068         (ffap--toggle-read-only): New function.
9069         (ffap-read-only, ffap-read-only-other-window)
9070         (ffap-read-only-other-frame): Use it.
9071         (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
9072         necessary for ffap-url-unwrap-remote.
9074 2012-05-10  Dave Abrahams  <dave@boostpro.com>
9076         * cus-start.el (create-lockfiles): Add it.
9078 2012-05-09  Chong Yidong  <cyd@gnu.org>
9080         * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
9081         (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
9083 2012-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
9085         * shell.el (shell-completion-vars): Fix last change (bug#11348).
9087 2012-05-09  Chong Yidong  <cyd@gnu.org>
9089         * ansi-color.el (ansi-color-process-output): Check for validity of
9090         comint-last-output-start before using it.  This avoids a bad
9091         interaction with gdb-mi's input/output buffer.
9093 2012-05-09  Glenn Morris  <rgm@gnu.org>
9095         * files.el (dir-locals-read-from-file):
9096         Mention dir-locals in any error message.
9098 2012-05-09  Chong Yidong  <cyd@gnu.org>
9100         * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
9101         package (Bug#11410).
9103         * emacs-lisp/package.el (package-buffer-info): Avoid putting local
9104         variables into description.
9106 2012-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
9108         * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
9109         shell-delimiter-argument-list (bug#11348).
9110         (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
9112 2012-05-09  Juanma Barranquero  <lekktu@gmail.com>
9114         * textmodes/rst.el: Silence byte-compiler warnings.
9115         (rst-re-alist, rst-reset-section-caches): Move around.
9116         (rst-re): Use `characterp', not `char-valid-p'.
9117         (font-lock-beg, font-lock-end): Declare.
9119         * progmodes/idlw-shell.el (specs): Remove reference to deleted
9120         variable `idlwave-shell-activate-alt-keybindings' and simplify.
9122         * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
9124 2012-05-08  Glenn Morris  <rgm@gnu.org>
9126         * files.el (auto-mode-alist): Treat ".make" like ".mk".
9128 2012-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
9130         * vc/log-edit.el: Add GNU coding standards highlighting.
9131         (log-edit-font-lock-gnu-style)
9132         (log-edit-font-lock-gnu-keywords): New vars.
9133         (log-edit-font-lock-keywords): New fun.
9134         (log-edit-mode): Don't fold case in font-lock.
9135         (log-edit-font-lock-keywords): Do not assume case-folding.
9137         * imenu.el: Misc cleanup.  Make docstrings out of comments.
9138         Use lexical-binding.
9139         (imenu--index-alist, imenu--last-menubar-index-alist)
9140         (imenu-menubar-modified-tick): Use defvar-local.
9141         (imenu--split-menu): Remove unused var.
9142         (imenu--cleanup-seen): Declare as global.
9143         (imenu--cleanup): Use dolist.
9145         * subr.el (defvar-local): Add debug spec and doc-string position.
9147 2012-05-08  Glenn Morris  <rgm@gnu.org>
9149         * language/burmese.el, language/cham.el, language/czech.el:
9150         * language/english.el, language/georgian.el, language/greek.el:
9151         * language/japanese.el, language/khmer.el, language/korean.el:
9152         * language/lao.el, language/misc-lang.el, language/romanian.el:
9153         * language/sinhala.el, language/slovak.el, language/tai-viet.el:
9154         * language/thai.el, language/utf-8-lang.el:
9155         Remove no-byte-compile setting.
9157         * play/zone.el (zone-pgm-stress): Don't pollute kill-ring.  (Bug#11388)
9159 2012-05-08  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
9161         * progmodes/make-mode.el (makefile-browse):
9162         Remove unnecessary interactive.  (Bug#11324)
9164 2012-05-07  Glenn Morris  <rgm@gnu.org>
9166         * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
9168         * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
9170 2012-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
9172         * loadup.el: Preload newcomment.el.
9173         * newcomment.el: Move autoload-only code to toplevel.
9175         * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
9176         * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
9177         Handle new :right-align column property.
9178         (tabulated-list-print-col): Idem, plus use `display' text-property to
9179         try and preserve alignment for variable pitch fonts.
9181 2012-05-07  Chong Yidong  <cyd@gnu.org>
9183         * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
9184         (tabulated-list-use-header-line): New var.
9185         (tabulated-list-init-header): Use it.
9186         (tabulated-list-print-fake-header): New function.
9187         (tabulated-list-print): Use it.
9188         (tabulated-list-sort-button-map): Add non-header-line commands.
9189         (tabulated-list-init-header): Add column name property to basic
9190         labels as well.
9191         (tabulated-list-col-sort): Handle non-header-line button case.
9192         (tabulated-list--sort-by-column-name): Fix a corner case.
9194         * buff-menu.el (list-buffers--refresh):
9195         Handle Buffer-menu-use-header-line.
9197 2012-05-06  Chong Yidong  <cyd@gnu.org>
9199         * buff-menu.el: Convert to Tabulated List mode.
9200         (Buffer-menu-buffer+size-width): Make obsolete.
9201         (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
9202         (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
9203         (Buffer-menu-mode): Derive from tabulated-list-mode.  Move command
9204         documentation into docstring of buffer-menu.
9205         (Buffer-menu-toggle-files-only): Add an informative message.
9206         (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
9207         (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
9208         (Buffer-menu-unmark, Buffer-menu-backup-unmark)
9209         (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
9210         (Buffer-menu-execute, Buffer-menu-select)
9211         (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
9212         (Buffer-menu-bury): Use Tabulated List machinery.
9213         (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
9214         (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
9215         Delete.
9216         (list-buffers--refresh): New function.
9217         (list-buffers-noselect): Use it.
9218         (tabulated-list-entry-size->, Buffer-menu--pretty-name)
9219         (Buffer-menu--pretty-file-name): New helper functions.
9221         * loadup.el: Preload tabulated-list.
9223         * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
9224         tabulated-list-sort-column.
9225         (tabulated-list-init-header): Add the initial aligning space even
9226         if tabulated-list-padding is zero.
9228 2012-05-06  Christopher Schmidt  <christopher@ch.ristopher.com>
9230         * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
9231         whose cdr is not a cons cell correctly (bug#11038).
9233 2012-05-06  Chong Yidong  <cyd@gnu.org>
9235         * emacs-lisp/tabulated-list.el (tabulated-list-format):
9236         Accept additional plist in column descriptors.
9237         (tabulated-list-init-header): Obey it.
9238         (tabulated-list-get-entry): New function.
9239         (tabulated-list-put-tag): Use it.  Use string-width instead of
9240         length.
9241         (tabulated-list--column-number): New function.
9242         (tabulated-list-print): Use it.
9243         (tabulated-list-print-col): New function.
9244         Set `tabulated-list-column-name' property on each column's text.
9245         (tabulated-list-print-entry): Use it.
9246         (tabulated-list-delete-entry, tabulated-list-set-col):
9247         New functions.
9248         (tabulated-list-sort-column): New command (Bug#11337).
9250         * buff-menu.el (list-buffers): Move C-x C-b binding from
9251         buff-menu.el to bindings.el.
9253         * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
9254         :advertised-binding feature.
9256 2012-05-06  Troels Nielsen  <bn.troels@gmail.com>  (tiny change)
9258         * progmodes/compile.el (compilation-internal-error-properties):
9259         Calculate start position correctly when end-col is set but
9260         end-line is not (Bug#11382).
9262 2012-05-06  Wolfgang Jenkner  <wjenkner@inode.at>
9264         * man.el (Man-unindent): Use text-property-default-nonsticky to
9265         prevent untabify from inheriting face properties (Bug#11408).
9267 2012-05-05  Stefan Merten  <smerten@oekonux.de>
9269         * textmodes/rst.el: Major merge with upstream development up to
9270         Docutils SVN r7399 / rst.el V1.2.1.
9272         Clarify maintainership and authors.
9274         (rst-extract-version, rst-cvs-header, rst-cvs-rev)
9275         (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
9276         (rst-official-version, rst-official-cvs-rev, rst-version)
9277         (rst-package-emacs-version-alist): New functions and variables
9278         for version information.
9280         (rst-bullets, rst-uri-schemes, rst-adornment-chars)
9281         (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
9282         (rst-mode-syntax-table, rst-mode): New and corrected functions
9283         and variables representing reStructuredText features.
9285         (rst-re): New function for reStructuredText regexes.  Use in
9286         many places.
9288         (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
9289         (rst-mode-map): Rebind keys.
9291         (rst-mode-lazy, rst-font-lock-keywords)
9292         (rst-font-lock-extend-region)
9293         (rst-font-lock-extend-region-internal)
9294         (rst-font-lock-extend-region-extend)
9295         (rst-font-lock-find-unindented-line-limit)
9296         (rst-font-lock-find-unindented-line-match)
9297         (rst-adornment-level, rst-font-lock-adornment-level)
9298         (rst-font-lock-adornment-match)
9299         (rst-font-lock-handle-adornment-pre-match-form)
9300         (rst-font-lock-handle-adornment-matcher): Major revision of
9301         font-locking.  Integrate with other code.  Use `jit-lock-mode'.
9303         (rst-preferred-adornments, rst-adjust-hook)
9304         (rst-new-adornment-down, rst-preferred-bullets)
9305         (rst-preferred-bullets, rst-indent, rst-indent-width)
9306         (rst-indent-field, rst-indent-literal-normal)
9307         (rst-indent-literal-minimized, rst-indent-comment): Change,
9308         extend and improve customization.
9310         (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
9311         (rst-normalize-cursor-position, rst-get-decoration)
9312         (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
9313         (rst-rstrip, rst-toc-insert-find-delete-contents)
9314         (rst-shift-fill-region, rst-compute-bullet-tabs)
9315         (rst-debug-print-tabs, rst-debug-mark-found)
9316         (rst-shift-region-guts, rst-shift-region-right)
9317         (rst-shift-region-left, rst-use-char-classes)
9318         (rst-font-lock-keywords-function)
9319         (rst-font-lock-indentation-point)
9320         (rst-font-lock-find-unindented-line-begin)
9321         (rst-font-lock-find-unindented-line-end)
9322         (rst-font-lock-find-unindented-line)
9323         (rst-font-lock-adornment-point, rst-font-lock-level)
9324         (rst-adornment-level-alist): Remove functions and variables.
9326         (rst-compare-adornments, rst-get-adornment-match)
9327         (rst-suggest-new-adornment, rst-get-adornments-around)
9328         (rst-adornment-complete-p, rst-get-next-adornment)
9329         (rst-adjust-adornment, rst-display-adornments-hierarchy)
9330         (rst-straighten-adornments): Standardize function names to
9331         use "adornment" instead of "decoration".  Correct callers.
9332         Similar standardizing in many places.
9334         (rst-update-section, rst-adjust, rst-promote-region)
9335         (rst-enumerate-region, rst-bullet-list-region)
9336         (rst-repeat-last-character): Correct use of `interactive'.
9338         (rst-classify-adornment, rst-find-all-adornments)
9339         (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
9340         (rst-find-leftmost-column, rst-repeat-last-character):
9341         Refactor functions.
9343         (rst-find-title-line, rst-reset-section-caches)
9344         (rst-get-adornments-around, rst-adjust-adornment-work)
9345         (rst-arabic-to-roman, rst-roman-to-arabic)
9346         (rst-insert-list-pos, rst-insert-list-new-item)
9347         (rst-insert-list-continue, rst-insert-list, rst-forward-line):
9348         New functions.
9350         (rst-all-sections, rst-section-hierarchy)
9351         (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
9352         New variables.
9354         (rst-toc-return-wincfg, rst-toc-quit-window): Use window
9355         configuration instead of only buffer.  Change where necessary.
9357         (rst-line-tabs, rst-compute-tabs, rst-indent-line)
9358         (rst-shift-region, rst-adaptive-fill): New functions for
9359         indentation and filling.
9361         (rst-comment-line-break, rst-comment-indent)
9362         (rst-comment-insert-comment, rst-comment-region)
9363         (rst-uncomment-region): New functions for handling comments.
9365         (rst-compile): Quote shell arguments.
9367         (rst-compile-pdf-preview, rst-compile-slides-preview):
9368         Delete temporary files after use.
9370 2012-05-05  Glenn Morris  <rgm@gnu.org>
9372         * calendar/cal-html.el: Optionally include holidays in the output.
9373         Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
9374         (cal-html-holidays): New option.
9375         (cal-html-css-default): Add holiday entry.
9376         (holiday-in-range): Autoload it.
9377         (cal-html-htmlify-entry): Add optional class argument.
9378         (cal-html-htmlify-list): Add optional holidays argument.
9379         (cal-html-insert-agenda-days): Include holidays in the output.
9380         (cal-html-one-month): Maybe include holidays.
9382         * calendar/holidays.el (holiday-in-range):
9383         Move here from cal-tex-list-holidays.
9384         * calendar/cal-tex.el (cal-tex-list-holidays):
9385         Make it an obsolete alias for holiday-in-range.  Update all callers.
9387 2012-05-05  Chong Yidong  <cyd@gnu.org>
9389         * select.el (xselect--encode-string): Always use utf-8 for TEXT on
9390         Nextstep.
9392 2012-05-05  Ransom Williams  <auvergnerw@gmail.com>  (tiny change)
9394         * files.el (file-auto-mode-skip): New var.
9395         (set-auto-mode-1): Use it.
9397 2012-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
9399         * repeat.el: Use lexical-binding.
9400         (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
9401         (repeat-undo-count): Remove.
9402         (repeat):
9403         * progmodes/octave-mod.el (octave-abbrev-start):
9404         * progmodes/f90.el (f90-abbrev-start):
9405         * face-remap.el (text-scale-adjust):
9406         * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
9408         * emacs-lisp/pcase.el (pcase--let*): New function.
9409         (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
9410         a bit more.
9411         (pcase--split-pred): Be more clever about ruling out overlap between
9412         a predicate and some constant pattern.
9413         (pcase--q1): Use `null' instead of (eq foo nil).
9415         * subr.el (setq-local, defvar-local): New macros.
9416         (kbd): Redefine as an alias.
9417         (with-selected-window): Leave unrelated frames alone.
9418         (set-temporary-overlay-map): New function.
9420 2012-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
9422         * subr.el (user-error): New function.
9423         * window.el (switch-to-buffer):
9424         * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
9425         (smerge-match-conflict):
9426         * simple.el (previous-matching-history-element)
9427         (next-matching-history-element, goto-history-element, undo-more)
9428         (undo-start):
9429         * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
9430         (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
9431         (next-file, tags-loop-scan, list-tags, complete-tag):
9432         * progmodes/compile.el (compilation-loop):
9433         * mouse.el (mouse-minibuffer-check):
9434         * man.el (Man-bgproc-sentinel, Man-goto-page):
9435         * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
9436         (Info-history-forward, Info-follow-reference, Info-menu)
9437         (Info-extract-menu-item, Info-extract-menu-counting)
9438         (Info-forward-node, Info-backward-node, Info-next-menu-item)
9439         (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
9440         (Info-next-reference, Info-prev-reference, Info-index)
9441         (Info-index-next, Info-follow-nearest-node)
9442         (Info-copy-current-node-name):
9443         * imenu.el (imenu--make-index-alist)
9444         (imenu-default-create-index-function, imenu-add-to-menubar):
9445         * files.el (basic-save-buffer, recover-file):
9446         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
9447         * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
9448         (checkdoc-message-text, checkdoc-defun):
9449         * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
9450         * cus-edit.el (customize-changed-options, customize-rogue)
9451         (customize-saved, custom-variable-set, custom-variable-mark-to-save)
9452         (custom-variable-mark-to-reset-standard)
9453         (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
9454         (custom-file):
9455         * completion.el (check-completion-length):
9456         * comint.el (comint-search-arg)
9457         (comint-previous-matching-input-string-position)
9458         (comint-previous-matching-input)
9459         (comint-replace-by-expanded-history-before-point, comint-send-input)
9460         (comint-copy-old-input, comint-backward-matching-input)
9461         (comint-goto-process-mark, comint-set-process-mark):
9462         * calendar/calendar.el (calendar-cursor-to-date): Use it.
9463         * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
9465 2012-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
9467         * dabbrev.el (dabbrev--ignore-case-p): New function.
9468         (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
9469         Use it.
9471         * files.el (automount-dir-prefix): Mark as obsolete.
9473 2012-05-04  Glenn Morris  <rgm@gnu.org>
9475         * patcomp.el, play/bruce.el: Move to obsolete/.
9477 2012-05-04  Paul Eggert  <eggert@cs.ucla.edu>
9479         Fix minor Y10k bugs.
9480         * arc-mode.el (archive-unixdate):
9481         * autoinsert.el (auto-insert-alist):
9482         * calc/calc-forms.el (math-this-year):
9483         * emacs-lisp/copyright.el (copyright-current-year)
9484         (copyright-update-year, copyright):
9485         * tar-mode.el (tar-clip-time-string):
9486         * time.el (display-time-update):
9487         Don't assume years have 4 digits.
9489 2012-05-04  Chong Yidong  <cyd@gnu.org>
9491         * dos-w32.el (file-name-buffer-file-type-alist)
9492         (direct-print-region-use-command-dot-com):
9493         * ffap.el (ffap-menu-regexp):
9494         * find-file.el (ff-special-constructs):
9495         * follow.el (follow-debug):
9496         * forms.el (forms--debug):
9497         * iswitchb.el (iswitchb-all-frames):
9498         * ido.el (ido-all-frames):
9499         * emacs-lisp/timer.el (timer-max-repeats):
9500         * mail/feedmail.el (feedmail-mail-send-hook)
9501         (feedmail-mail-send-hook-queued):
9502         * mail/footnote.el (footnote-signature-separator):
9503         * mail/mailabbrev.el (mail-alias-separator-string)
9504         (mail-abbrev-mode-regexp):
9505         * mail/rmail.el (rmail-speedbar-match-folder-regexp):
9506         * progmodes/idlwave.el (idlwave-libinfo-file)
9507         (idlwave-default-completion-case-is-down)
9508         (idlwave-library-routines): Convert defvars to defcustoms.
9510         * mail/rmail.el (rmail-decode-mime-charset):
9511         * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
9512         (idlwave-shell-fix-inserted-breaks)
9513         (idlwave-shell-activate-alt-keybindings)
9514         (idlwave-shell-use-breakpoint-glyph):
9515         * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
9517 2012-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
9519         * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
9521 2012-05-03  Wilson Snyder  <wsnyder@wsnyder.org>
9523         * progmodes/verilog-mode.el (font-lock-keywords):
9524         Fix mis-highligting auto.  Reported by Craig Barner.
9525         (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
9526         defines from global name space.  Reported by Dan Dever.
9527         (verilog-auto-reset, verilog-auto-reset-widths)
9528         (verilog-auto-tieoff): Support using unbased numbers for
9529         AUTORESET and AUTOTIEOFF.
9530         (verilog-submit-bug-report): Update variable list.
9531         (verilog-read-auto-params): Fix AUTOINPUT regexps containing
9532         parenthesis from not matching.  Reported by Michael Rytting.
9533         (verilog-auto-template-lint): Fix hash error when linting modules
9534         with no used templates.
9535         (verilog-warn, verilog-warn-error)
9536         (verilog-warn-fatal): When non-interactive report multiple
9537         warnings before exiting.  Suggested by Brad Dobbie.
9538         (verilog-auto-template-lint, verilog-auto-template-warn-unused)
9539         (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
9540         to report unused template errors.  Reported by Brad Dobbie.
9541         (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
9542         nets, bug438.  Reported by Vns Blore.
9543         (verilog-auto-inout-module, verilog-auto-reg)
9544         (verilog-read-decls, verilog-read-sub-decls-sig)
9545         (verilog-signals-edit-wire-reg, verilog-signals-with):
9546         Fix passing of Verilog data types in ANSI input/output ports
9547         such as "output logic" into the AUTOs.  Special case "wire" and
9548         "reg" for backwards compatibility presuming Verilog 2001.
9549         (verilog-auto-ascii-enum): Add "auto enum" as alias.
9550         (verilog-preprocess): Fix replication of preprocess output.
9551         Reported by Brad Dobbie.
9552         (verilog-auto-inst-interfaced-ports):
9553         Create verilog-auto-inst-interfaced-ports, bug429.
9554         Reported by Julian Gorfajn.
9555         (verilog-after-save-font-hook)
9556         (verilog-before-save-font-hook): New variable.
9557         (verilog-modi-cache-results, verilog-save-font-mod-hooked)
9558         (verilog-save-font-mods): Wrap disabling fontification, reported
9559         by David Rogoff.
9560         (verilog-do-indent, verilog-pretty-declarations-auto)
9561         (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
9562         Reported by Pierre-David Pfister.
9563         (verilog-set-auto-endcomments): Fix endtask auto comments outside
9564         of class declarations, bug292.  Reported by Kevin Heilman.
9565         (verilog-read-decls): Fix 'parameter type' not appearing in
9566         AUTOINSTPARAM, bug340.  Reported by Jonathan Greenlaw.
9567         (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
9568         AUTOINPUTs, bug411.  Reported by Jonathan Greenlaw.
9569         (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
9570         Reported by David Kravitz.
9572 2012-05-03  Michael McNamara  <mac@mail.brushroad.com>
9574         * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
9575         assignment with tests in ifs and for loops.
9576         (verilog-extended-complete-re, verilog-complete-reg): Change so
9577         that DPI inport functions don't look like fuction declarations.
9578         (verilog-pretty-expr): Don't line up assignment
9579         operations to the test and increment in if and for loops
9580         (verilog-extended-complete-re, verilog-complete-reg): Change so
9581         that DPI inport functions don't look like fuction declarations.
9583 2012-05-03  Kenichi Handa  <handa@m17n.org>
9585         * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
9586         decoding, and show a warning message without signaling an error
9587         (Bug#11282).
9589 2012-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
9591         * emacs-lisp/bytecomp.el
9592         (byte-compile-file-form-custom-declare-variable): Compile all elements,
9593         since cconv.el might have introduced :fun-body, internal-make-closure,
9594         and friends for bytecomp to handle (bug#11391).
9595         * custom.el (defcustom): Avoid ((λ ..) ..).
9597 2012-05-02  Stefan Monnier  <monnier@iro.umontreal.ca>
9599         * subr.el (read-passwd): Better clean after ourselves (bug#11392).
9601 2012-05-02  Juanma Barranquero  <lekktu@gmail.com>
9603         * notifications.el (dbus-debug):
9604         * term/linux.el (gpm-mouse-enable):
9605         * term/screen.el (xterm-register-default-colors): Declare.
9607 2012-05-02  Chong Yidong  <cyd@gnu.org>
9609         * cus-start.el (gc-cons-percentage, exec-suffixes)
9610         (dos-display-scancodes, dos-hyper-key, dos-super-key)
9611         (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
9612         (make-cursor-line-fully-visible, void-text-area-pointer)
9613         (font-list-limit): Add customization data.
9615         * allout.el (allout-exposure-change-functions)
9616         (allout-structure-added-functions)
9617         (allout-structure-deleted-functions)
9618         (allout-structure-shifted-functions): Rename abnormal hooks from
9619         *-hook, and convert to defcustoms.
9620         (allout-after-copy-or-kill-hook, allout-post-undo-hook):
9621         Convert to defcustoms.
9622         (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
9624         * allout-widgets.el: Hook callers changed.
9626 2012-05-02  Eli Zaretskii  <eliz@gnu.org>
9628         * mail/rmail.el (rmail-yank-current-message): Use the encoding of
9629         the yanked message in preference to the default value of
9630         buffer-file-coding-system.
9632 2012-05-02  Martin Rudalics  <rudalics@gmx.at>
9634         * window.el (display-buffer--action-function-custom-type):
9635         Fix entry.
9637 2012-05-02  Alan Mackenzie  <acm@muc.de>
9639         * progmodes/cc-defs.el (c-version): Update to 5.32.3.
9641 2012-05-01  Glenn Morris  <rgm@gnu.org>
9643         * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
9645         * eshell/esh-cmd.el (eshell-debug-command): Doc fix.  Add :set.
9647         * cus-edit.el (custom-variable-documentation): Simplify with format.
9649 2012-05-01  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
9650             Stefan Monnier  <monnier@iro.umontreal.ca>
9652         * simple.el (suggest-key-bindings, execute-extended-command):
9653         Move from keyboard.c.
9655 2012-05-01  Chong Yidong  <cyd@gnu.org>
9657         * follow.el: Eliminate advice.
9658         (set-process-filter, process-filter, sit-for): Advice deleted.
9659         (follow-mode-off-hook): Obsolete hook removed.
9660         (follow-avoid-tail-recenter-p, follow-process-filter-alist):
9661         Vars deleted.
9662         (follow-auto): Use a :set function.
9663         (follow-mode): Rewritten.  Don't advise process filters.
9664         (follow-switch-to-current-buffer-all, follow-scroll-up)
9665         (follow-scroll-down): Assume follow-mode is bound.
9666         (follow-comint-scroll-to-bottom)
9667         (follow-align-compilation-windows): New functions.
9668         (follow--window-sorter): New function.
9669         (follow-all-followers): Use it to explicitly sort windows by their
9670         positions; don't make assumptions about next-window order.
9671         (follow-windows-start-end, follow-delete-other-windows-and-split)
9672         (follow-calc-win-start): Doc fix.
9673         (follow-windows-aligned-p, follow-select-if-visible): Don't call
9674         vertical-motion unnecessarily.
9675         (follow-adjust-window): New function.
9676         (follow-post-command-hook): Use it.
9677         (follow-call-set-process-filter, follow-call-process-filter)
9678         (follow-intercept-process-output, follow-tidy-process-filter-alist)
9679         (follow-stop-intercept-process-output, follow-generic-filter):
9680         Functions deleted.
9681         (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
9682         (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
9683         New functions, replacing advice on scroll-bar-* commands.
9684         (follow-mwheel-scroll): New function (Bug#4112).
9686         * comint.el (comint-adjust-point): New function.
9687         (comint-postoutput-scroll-to-bottom): Use it.
9688         Call follow-comint-scroll-to-bottom for Follow mode buffers.
9690 2012-05-01  Glenn Morris  <rgm@gnu.org>
9692         * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
9693         * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
9694         * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
9695         * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
9696         * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
9697         Remove no-byte-compile setting.
9699 2012-05-01  Stefan Monnier  <monnier@iro.umontreal.ca>
9701         * minibuffer.el (completion-table-with-quoting): Fix compatibility
9702         all-completions code to not return a number in the last cdr.
9704 2012-04-30  Leo Liu  <sdl.web@gmail.com>
9706         * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
9707         read-only error.
9709 2012-04-29  Chong Yidong  <cyd@gnu.org>
9711         * follow.el (follow-calc-win-end): Rewrite to handle partial
9712         screen lines correctly (Bug#8390).
9713         (follow-avoid-tail-recenter): Minor cleanup.
9715 2012-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
9717         Avoid the obsolete `assoc' package.
9718         * speedbar.el (speedbar-refresh): Avoid adelete.
9719         (speedbar-file-lists): Simplify and avoid aput.
9720         * man.el (Man--sections, Man--refpages): New vars, replacing
9721         Man-sections-alist and Man-refpages-alist.
9722         (Man-build-section-alist, Man-build-references-alist):
9723         Use them; avoid aput.
9724         (Man--last-section, Man--last-refpage): New vars.
9725         (Man-follow-manual-reference): Use them.
9726         Use the `default' arg of completing-read.
9727         (Man-goto-section): Idem.  Move prompt to the `interactive' spec.
9729 2012-04-27  Chong Yidong  <cyd@gnu.org>
9731         * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
9733         * startup.el (x-apply-session-resources): New function.
9735         * term/ns-win.el (ns-initialize-window-system):
9736         * term/w32-win.el (w32-initialize-window-system):
9737         * term/x-win.el (x-initialize-window-system): Use it to properly
9738         set menu-bar-mode and other vars from X resources, even if the
9739         initial frame is not a window-system frame (Bug#2299).
9741         * subr.el (read-key): Avoid running filter function when setting
9742         up temporary tool bar entries (Bug#9922).
9744 2012-04-27  Andreas Schwab  <schwab@linux-m68k.org>
9746         * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
9747         (Bug#11344)
9749 2012-04-27  Chong Yidong  <cyd@gnu.org>
9751         * select.el (xselect--encode-string): New function, split from
9752         xselect-convert-to-string.
9753         (xselect-convert-to-string): Use it.
9754         (xselect-convert-to-filename, xselect-convert-to-os)
9755         (xselect-convert-to-host, xselect-convert-to-user): Ensure that
9756         returned strings are properly encoded (Bug#11315).
9758 2012-04-27  Chong Yidong  <cyd@gnu.org>
9760         * simple.el (delete-active-region): Move to killing custom group.
9762 2012-04-27  Andreas Schwab  <schwab@linux-m68k.org>
9764         * progmodes/which-func.el (which-func-current): Quote %
9765         characters for mode-line processing.
9767 2012-04-27  Chong Yidong  <cyd@gnu.org>
9769         * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
9770         reaching eob (Bug#11286).
9772 2012-04-27  Eli Zaretskii  <eliz@gnu.org>
9774         * progmodes/gdb-mi.el (gdb-control-level): New variable.
9775         (gdb): Make it buffer-local and init to zero.
9776         (gdb-control-commands-regexp): New variable.
9777         (gdb-send): Don't wrap in "-interpreter-exec console" if
9778         gdb-control-level is positive.  Increment gdb-control-level
9779         whenever the command matches gdb-control-commands-regexp, and
9780         decrement it each time the command is "end".  (Bug#11279)
9782 2012-04-27  Martin Rudalics  <rudalics@gmx.at>
9784         * window.el (adjust-window-trailing-edge, enlarge-window)
9785         (shrink-window, window-resize):
9786         * mouse.el (mouse-drag-line): Fix resizing of minibuffer
9787         windows (Bug#11276).
9789 2012-04-27  Chong Yidong  <cyd@gnu.org>
9791         * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
9792         fix "missing prefix" warning.  All callers changed.
9794 2012-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
9796         * emacs-lisp/assoc.el: Move to obsolete/.
9798 2012-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
9800         * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
9802         * term/ns-win.el (ns-define-service):
9803         * progmodes/pascal.el (pascal-goto-defun):
9804         * progmodes/js.el (js--read-tab):
9805         * progmodes/etags.el (tags-lazy-completion-table):
9806         * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
9807         * emacs-lisp/ewoc.el (ewoc--wrap):
9808         * emacs-lisp/assoc.el (aput, adelete, amake):
9809         * doc-view.el (doc-view-convert-current-doc):
9810         * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
9812 2012-04-26  Chong Yidong  <cyd@gnu.org>
9814         * image.el (image-type-from-buffer): Only return supported image
9815         type (Bug#9045).
9817         * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
9818         value, for symmetry with diff-end-of-hunk.
9819         (diff-split-hunk, diff-find-source-location)
9820         (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
9821         (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
9822         (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
9823         compute the relevant hunk or file properly (Bug#6005).
9824         (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
9826 2012-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
9828         * vc/vc-mtn.el:
9829         * vc/vc-hg.el:
9830         * vc/vc-git.el:
9831         * vc/vc-dir.el:
9832         * vc/vc-cvs.el:
9833         * vc/vc-bzr.el:
9834         * vc/vc-arch.el:
9835         * vc/vc.el: Replace lexical-let by lexical-binding.
9836         * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
9837         * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
9838         * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
9840 2012-04-26  Chong Yidong  <cyd@gnu.org>
9842         * vc/diff-mode.el (diff-undo): New command (Bug#5302).
9843         (diff-mode-shared-map): Bind it to / and [remap undo].
9845         * vc/ediff-wind.el (ediff-setup-windows-default): New function.
9846         (ediff-window-setup-function): Use it as the default, to set up
9847         windows based on whether the current frame is graphical (Bug#2138).
9848         (ediff-choose-window-setup-function-automatically): Make obsolete.
9850         * vc/ediff-init.el: Always define ediff-pixel-width/height.
9852 2012-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
9854         * ffap.el: Remove old code for obsolete package.
9855         (ffap-complete-as-file-p): Remove.
9857         Use completion-table-with-quoting for comint and pcomplete.
9858         * comint.el (comint--unquote&requote-argument)
9859         (comint--unquote-argument, comint--requote-argument): New functions.
9860         (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
9861         (comint-quote-filename): Use regexp-opt-charset.
9862         (comint--common-suffix, comint--common-quoted-suffix)
9863         (comint--table-subvert): Remove.
9864         (comint-unquote-function, comint-requote-function): New vars.
9865         (comint--complete-file-name-data): Use them with
9866         completion-table-with-quoting.
9867         * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
9868         * pcomplete.el (pcomplete-arg-quote-list)
9869         (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
9870         (pcomplete-unquote-argument-function): Default to non-nil.
9871         (pcomplete-unquote-argument): Simplify.
9872         (pcomplete--common-quoted-suffix): Remove.
9873         (pcomplete-requote-argument-function): New var.
9874         (pcomplete--common-suffix): New function.
9875         (pcomplete-completions-at-point): Use completion-table-with-quoting
9876         and completion-table-subvert.
9878         * minibuffer.el: Use completion-table-with-quoting for read-file-name.
9879         (minibuffer--double-dollars): Preserve properties.
9880         (completion--sifn-requote): New function.
9881         (completion--file-name-table): Rewrite using it and c-t-with-quoting.
9883         * minibuffer.el: Add support for completion of quoted/escaped data.
9884         (completion-table-with-quoting, completion-table-subvert): New funs.
9885         (completion--twq-try, completion--twq-all): New functions.
9886         (completion--nth-completion): New function.
9887         (completion-try-completion, completion-all-completions): Use it.
9889 2012-04-25  Leo Liu  <sdl.web@gmail.com>
9891         * progmodes/python.el (python-pdbtrack-get-source-buffer):
9892         Use compilation-message if available to find real filename.
9894 2012-04-25  Chong Yidong  <cyd@gnu.org>
9896         * vc/diff-mode.el (diff-setup-whitespace): New function.
9897         (diff-mode): Use it.
9899         * vc/diff.el (diff-sentinel):
9900         * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
9901         Whitespace mode variables based on diff style (Bug#8612).
9903 2012-04-25  Leo Liu  <sdl.web@gmail.com>
9905         * progmodes/python.el (python-send-region): Add suffix .py to the
9906         temp file.
9908         * files.el (auto-mode-alist): Use javascript-mode instead.
9910 2012-04-25  Alex Harsanyi  <AlexHarsanyi@gmail.com>
9912         Sync with soap-client repository.  Support SOAP simpleType (Bug#10331).
9914         * net/soap-client.el (soap-resolve-references-for-sequence-type)
9915         (soap-resolve-references-for-array-type): Hack to prevent self
9916         references, see Bug#9.
9917         (soap-parse-envelope): Report the contents of the 'detail' node
9918         when receiving a fault reply.
9919         (soap-parse-envelope): Report the contents of the entire 'detail' node.
9921         * net/soap-inspect.el (soap-sample-value-for-simple-type)
9922         (soap-inspect-simple-type): New function.
9924         * net/soap-client.el (soap-simple-type): New struct.
9925         (soap-default-xsd-types, soap-default-soapenc-types)
9926         (soap-decode-basic-type, soap-encode-basic-type):
9927         support unsignedInt and double basic types.
9928         (soap-resolve-references-for-simple-type)
9929         (soap-parse-simple-type, soap-encode-simple-type): New function.
9930         (soap-parse-schema): Parse xsd:simpleType declarations.
9932         * net/soap-client.el (soap-default-xsd-types)
9933         (soap-default-soapenc-types): Add integer, byte and anyURI types.
9934         (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
9935         the local name of "soapenc:Array".
9936         (soap-decode-basic-type, soap-encode-basic-type): Support encoding
9937         decoding integer, byte and anyURI xsd types.
9939 2012-04-25  Chong Yidong  <cyd@gnu.org>
9941         * cus-edit.el (custom-buffer-create-internal): Update header text.
9943 2012-04-25  Eli Zaretskii  <eliz@gnu.org>
9945         * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
9946         settings on 'system-type', not on 'window-system'.  On MS-Windows,
9947         set interactive-mode on in GDB.
9949 2012-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
9951         * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
9952         (ruby-syntax-propertize-regexp): Remove.
9953         (ruby-syntax-propertize-function): Split regexp into chunks.
9954         Match following code directly.
9956 2012-04-24  Dmitry Gutov  <dgutov@yandex.ru>
9958         * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
9959         (ruby-syntax-propertize-regexp): New function.
9960         (ruby-syntax-propertize-function): Use it to handle regexp not preceded
9961         by a special keyword.
9963         * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
9964         (ruby-syntax-general-delimiters-goto-beg)
9965         (ruby-syntax-propertize-general-delimiters): New functions.
9966         (ruby-syntax-propertize-function): Use them to handle GDL.
9967         (ruby-font-lock-keywords): Move old handling of GDL...
9968         (ruby-font-lock-syntactic-keywords): .. to here.
9969         (ruby-calculate-indent): Adjust indentation for GDL.
9971 2012-04-24  Michael Albinus  <michael.albinus@gmx.de>
9973         * notifications.el (top): Remove unneeded declarations.
9974         (notifications-specification-version): Change to "1.2".
9975         (notifications-interface, notifications-notify-method)
9976         (notifications-close-notification-method): Fix docstring.
9977         (notifications-get-capabilities-method): New defconst.
9978         (notifications-notify): Add :action-items, :resident and
9979         :transient hints.  Change "image_data" to "image-data" and
9980         "image_path" to "image-path".
9981         (notifications-get-capabilities): New defun.
9983 2012-04-24  Leo Liu  <sdl.web@gmail.com>
9985         * progmodes/python.el: Move hideshow setup to the end.
9987 2012-04-24  Martin Rudalics  <rudalics@gmx.at>
9989         * window.el (handle-select-window): Clear echo area since this is
9990         no more done by read_char (Bug#11304).
9992 2012-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
9994         * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
9995         and `/ M' to filter-derived-mode.
9996         * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
9997         (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
9998         (ibuffer-mark-by-mode): Use default rather than initial-input.
9999         (ibuffer-filter-by-derived-mode): Autoload and require-match.
10001 2012-04-24  Ivan Andrus  <darthandrus@gmail.com>  (tiny change)
10003         * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
10004         (ibuffer-filter-by-derived-mode): New filter.
10005         * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
10007 2012-04-23  Andreas Politz  <politza@fh-trier.de>
10009         * subr.el (accept-change-group): Fix arg usage (Bug#6095).
10011 2012-04-23  Chong Yidong  <cyd@gnu.org>
10013         * cus-edit.el (customize-apropos, customize-apropos-options):
10014         Disable matching of non-option variables (Bug#11176).
10015         (customize-option, customize-option-other-window)
10016         (customize-changed-options): Doc fix.
10017         (customize-apropos-options, customize-apropos-faces)
10018         (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
10020         * apropos.el (apropos-read-pattern): Make prompt less cryptic.
10021         Fix word list splitting (Bug#11132).
10022         (apropos-symbol, apropos-keybinding, apropos-label)
10023         (apropos-property, apropos-function-button)
10024         (apropos-variable-button, apropos-misc-button): New faces.
10025         (apropos-symbol-face, apropos-keybinding-face)
10026         (apropos-label-face, apropos-property-face, apropos-match-face):
10027         Variables removed (Bug#8396).
10028         (apropos-library-button, apropos-format-plist, apropos-print)
10029         (apropos-print-doc, apropos-describe-plist): Callers changed.
10031 2012-04-23  Michael Albinus  <michael.albinus@gmx.de>
10033         * net/xesam.el (xesam-mode-map): Use let-bound map in
10034         initialization.  (Bug#11292)
10036 2012-04-23  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
10038         Preserve ispell session localwords when switching back to
10039         original buffer.
10041         * textmodes/ispell.el (ispell-buffer-session-localwords):
10042         New buffer-local variable to hold buffer session localwords.
10043         (ispell-kill-ispell): Add option 'clear to delete session
10044         localwords.
10045         (ispell-command-loop, ispell-change-dictionary)
10046         (ispell-buffer-local-words): Preserve session localwords when
10047         needed.
10049         * textmodes/flyspell.el (flyspell-process-localwords)
10050         (flyspell-do-correct): Preserve session localwords when needed.
10052 2012-04-23  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
10054         * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
10055         using obsolete `translation-table-for-input'.
10056         (ispell-word, ispell-process-line, ispell-complete-word):
10057         Use plain `insert' instead of removed `ispell-insert-word'.
10059 2012-04-22  Chong Yidong  <cyd@gnu.org>
10061         * cus-edit.el (custom-variable-menu)
10062         (custom-variable-reset-saved, custom-face-menu)
10063         (custom-face-reset-saved): If there is no saved value, make the
10064         "reset-saved" operation bring back the default (Bug#9509).
10065         (custom-face-state): Properly detect themed faces.
10067         * faces.el (face-spec-set): Stop supporting deprecated form of
10068         third arg.
10070 2012-04-22  Michael Albinus  <michael.albinus@gmx.de>
10072         Move functions from C to Lisp.  Make non-blocking method calls
10073         the default.  Implement further D-Bus standard interfaces.
10075         * net/dbus.el (dbus-message-internal): Declare function.
10076         Remove unneeded function declarations.
10077         (defvar dbus-message-type-invalid, dbus-message-type-method-call)
10078         (dbus-message-type-method-return, dbus-message-type-error)
10079         (dbus-message-type-signal): Declare variables.  Remove local
10080         definitions.
10081         (dbus-interface-dbus, dbus-interface-peer)
10082         (dbus-interface-introspectable, dbus-interface-properties)
10083         (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
10084         Adapt docstring.
10085         (dbus-interface-objectmanager): New defconst.
10086         (dbus-call-method, dbus-call-method-asynchronously)
10087         (dbus-send-signal, dbus-method-return-internal)
10088         (dbus-method-error-internal, dbus-register-service)
10089         (dbus-register-signal, dbus-register-method): New defuns, moved
10090         from dbusbind.c
10091         (dbus-call-method-handler, dbus-setenv)
10092         (dbus-get-all-managed-objects, dbus-managed-objects-handler):
10093         New defuns.
10094         (dbus-call-method-non-blocking): Make it an obsolete function.
10095         (dbus-unregister-object, dbus-unregister-service)
10096         (dbus-handle-event, dbus-register-property)
10097         (dbus-property-handler): Obey the new structure of
10098         `bus-registered-objects'.
10099         (dbus-introspect): Use `dbus-call-method'.  Use a timeout.
10100         (dbus-get-property, dbus-set-property, dbus-get-all-properties):
10101         Use `dbus-call-method'.
10103 2012-04-22  Chong Yidong  <cyd@gnu.org>
10105         * cus-edit.el (custom-commands, custom-reset-menu)
10106         (Custom-reset-standard): Tweak labels.
10107         (custom-reset-button-menu): Change default to t.
10108         (custom-buffer-create-internal): For the custom-reset-button-menu
10109         case, put the revert button first.
10110         (custom-group-subtitle): New face.
10111         (custom-group-value-create): Align docstring to a specific column.
10113         * wid-edit.el (widget-documentation-link-add): Don't handle
10114         indentation in this function.
10115         (widget-documentation-string-indent-to): New function.
10116         (widget-documentation-string-value-create): Use it.
10118         * autorevert.el (auto-revert):
10119         * epg-config.el (epg):
10120         * ibuffer.el (ibuffer):
10121         * mpc.el (mpc):
10122         * ses.el (ses):
10123         * eshell/eshell.el (eshell):
10124         * net/ange-ftp.el (ange-ftp):
10125         * progmodes/ebnf2ps.el (postscript):
10126         * progmodes/flymake.el (flymake):
10127         * progmodes/prolog.el (prolog):
10128         * progmodes/verilog-mode.el (verilog-mode):
10129         * progmodes/which-func.el (which-func):
10130         * term/xterm.el (xterm):
10131         * textmodes/picture.el (picture):
10132         * textmodes/tildify.el (tildify):
10133         * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
10134         customization buffers.
10136 2012-04-22  Alan Mackenzie  <acm@muc.de>
10138         * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
10139         Adding a ) can hide the resulting (..) from searches.  Fix it.
10140         Bound the backward search to the position of the existing (.
10142 2012-04-21  Juanma Barranquero  <lekktu@gmail.com>
10144         * progmodes/verilog-mode.el (verilog-mode): Check whether
10145         which-func-modes is t before adding verilog-mode.
10146         Reported by Andy Moreton <andrewjmoreton@gmail.com>.
10148 2012-04-21  Leo Liu  <sdl.web@gmail.com>
10150         * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
10152 2012-04-21  Michael Vehrs  <Michael.Burschik@gmx.de>
10154         * woman.el: Add support for "T{ T}" tbl syntax, and fix the
10155         filling of the last column of a table (Bug#5635).
10156         (woman-find-next-control-line): New arg, specifying an additional
10157         regexp component for the control line.
10158         (woman2-roff-buffer): Use it.
10159         (woman-break-table): New function.
10160         (woman2-TS): Use it.
10162 2012-04-21  Chong Yidong  <cyd@gnu.org>
10164         * woman.el (woman-set-buffer-display-table, woman-decode-region)
10165         (woman-horizontal-escapes, woman-negative-vertical-space)
10166         (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
10167         (WoMan-warn-ignored): Use ?\s instead of ?\ .
10169 2012-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
10171         * minibuffer.el (completion-file-name-table): Complete user names.
10173 2012-04-20  Leo Liu  <sdl.web@gmail.com>
10175         * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
10176         and pcase-let*.
10178 2012-04-20  Chong Yidong  <cyd@gnu.org>
10180         * server.el (server-execute): Respect initial-buffer-choice if it
10181         is a string and there are no files to open (Bug#2825).
10182         (server-create-window-system-frame, server-create-tty-frame):
10183         Don't switch buffers here.
10184         (server-process-filter): Only try to open a window system frame if
10185         compiled with graphical support (Bug#8314).
10187 2012-04-20  Dan Nicolaescu  <dann@gnu.org>
10189         * battery.el (battery-echo-area-format): Display remaining time
10190         for sysfs backend too (Bug#11269).
10191         (battery-linux-sysfs): Fix conditional for the charge.
10193 2012-04-20  Chong Yidong  <cyd@gnu.org>
10195         * progmodes/gdb-mi.el (gdb): Revert previous change.
10196         (gdb-inferior-io--init-proc): New function.
10197         (gdb-init-1): Use it.
10198         (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
10199         responsible for allocating a new pty and hooking it to gdb when
10200         the old pty gets an EIO due to process exit.
10201         (gdb-delchar-or-quit): New command.  Bind it in gdb-mi buffers.
10202         (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
10203         (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
10205 2012-04-20  Eli Zaretskii  <eliz@gnu.org>
10207         * window.el (window-min-size, window-sizable, window-min-delta)
10208         (window-max-delta, window--resizable, window-resizable)
10209         (window-total-size, window-full-height-p, window-full-width-p)
10210         (window-in-direction, window--resize-mini-window, window-resize)
10211         (window--resize-child-windows-normal)
10212         (window--resize-child-windows, window--resize-siblings)
10213         (window--resize-this-window, adjust-window-trailing-edge)
10214         (enlarge-window, shrink-window): Doc fixes.
10216 2012-04-20  Chong Yidong  <cyd@gnu.org>
10218         * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
10219         New function to call delete-process on the gdb-inferior buffer's pty.
10220         (gdb-reset): Use it, instead of relying on kill-buffer to kill the
10221         pty process (Bug#11273).
10222         (gdb-update): New arg to suppress talking to the gdb process.
10223         (gdb-done-or-error): Use it.
10224         (gdb-stopped-functions): Rename from gdb-stopped-hooks.
10225         (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
10226         sentinel not being called.
10228         * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
10230         * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
10232 2012-04-20  Glenn Morris  <rgm@gnu.org>
10234         * net/network-stream.el (open-network-stream): Doc fix.
10236 2012-04-20  Chong Yidong  <cyd@gnu.org>
10238         * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
10240 2012-04-20  Alan Mackenzie  <acm@muc.de>
10242         Ensure searching for keywords is case sensitive.
10244         * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
10245         (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
10246         (c-defun-name, c-mark-function, c-cpp-define-name)
10247         (c-comment-indent, c-scan-conditionals, c-indent-defun)
10248         (c-context-line-break): Bind case-fold-search to nil.
10250         * progmodes/cc-mode.el (c-font-lock-fontify-region):
10251         Bind case-fold-search to nil.
10253 2012-04-20  Chong Yidong  <cyd@gnu.org>
10255         * mail/sendmail.el (mail-bury): Call return action with the right
10256         Rmail buffer (Bug#11242).
10258         * server.el (server-process-filter): Handle corner case where both
10259         tty and nowait options are present (Bug#11102).
10261 2012-04-20  Eli Zaretskii  <eliz@gnu.org>
10263         * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
10264         (top level): Put into the executable the ident-style '$Id:' tag on
10265         windows-nt as well.
10267 2012-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
10269         * electric.el (electric-indent-post-self-insert-function): Check that
10270         electric-indent-mode is enabled in current buffer.
10272 2012-04-19  Juanma Barranquero  <lekktu@gmail.com>
10274         * imenu.el (imenu-progress-message): Restore; it is "used" in
10275         erc/erc-imenu.el and net/snmp-mode.el.
10277 2012-04-19  Juanma Barranquero  <lekktu@gmail.com>
10279         * avoid.el (mouse-avoidance-mode): Mark unused arg.
10280         (mouse-avoidance-nudge-mouse): Remove unused binding.
10282         * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
10284         * descr-text.el (describe-char):
10285         * progmodes/python.el (python-describe-symbol):
10286         Don't call `toggle-read-only', set `buffer-read-only'.
10288         * imenu.el (imenu-default-goto-function): Mark unused args.
10289         (imenu-progress-message): Remove obsolete macro; all callers changed.
10291         * subr.el (keymap-canonicalize): Remove unused binding.
10292         (read-passwd): Mark unused arg.
10294         * tutorial.el (tutorial--display-changes): Remove unused binding.
10295         (tutorial--save-tutorial-to): Remove unused variable.
10297         * emacs-lisp/package.el (define-package, package-menu-mark-delete)
10298         (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
10299         (package-generate-autoloads, package-menu--generate)
10300         (package-menu--find-upgrades): Remove unused bindings.
10302         * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
10303         (cua-restrict-prefix-rectangle): Doc fixes.  Remove unused bindings.
10304         (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
10305         (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
10306         (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
10307         (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
10308         (cua--rectangle-aux-replace, cua--left-fill-rectangle)
10309         (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
10310         (cua-delete-char-rectangle): Mark unused args.
10311         (cua-align-rectangle): Remove unused binding.
10313         * mail/rmail.el (compilation--message->loc)
10314         (epa--find-coding-system-for-mime-charset): Declare.
10316         * net/dbus.el (dbus-register-service): Declare.
10317         (dbus-name-owner-changed-handler): Remove unused binding.
10319         * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
10320         (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
10321         (nxml-scan-backward-within): Mark unused arg.
10322         (nxml-dynamic-markup-word): Remove unused binding.
10324         * mouse.el (mouse-menu-major-mode-map):
10325         * emacs-lisp/authors.el (authors-scan-change-log)
10326         (authors-add-to-author-list):
10327         * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
10328         * emacs-lisp/smie.el (smie-auto-fill):
10329         * mail/sendmail.el (mail-bury):
10330         * mail/unrmail.el (unrmail):
10331         * net/tls.el (open-tls-stream):
10332         * textmodes/picture.el (picture-mouse-set-point):
10333         Remove unused bindings.
10335 2012-04-19  Michael Albinus  <michael.albinus@gmx.de>
10337         * net/tramp.el (tramp-action-password): Let-bind
10338         `enable-recursive-minibuffers' to t.
10340 2012-04-18  Sam Steingold  <sds@gnu.org>
10342         * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
10343         instead of 'string to accommodate values like [f11].
10344         Always use `vconcat' instead of `concat' on it, like in `gud-def'.
10345         * progmodes/gdb-mi.el: Likewise.
10347 2012-04-18  Leo Liu  <sdl.web@gmail.com>
10349         * abbrev.el (edit-abbrevs): Move point to the abbrev table of
10350         current buffer.
10351         (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
10352         LOCAL is nil.
10354 2012-04-18  Chong Yidong  <cyd@gnu.org>
10356         * simple.el (line-move): Use forward-line if in batch mode
10357         (Bug#11053).
10359 2012-04-18  Christopher Schmidt  <christopher@ch.ristopher.com>
10361         * files.el (after-find-file): Do not try to add a final newline if
10362         the buffer is read-only (Bug#11156).
10364 2012-04-17  Richard Stallman  <rms@gnu.org>
10366         * mail/rmail.el (rmail-start-mail):
10367         Pass (rmail-mail-return...) for the return-action.
10368         Pass (rmail-yank-current-message...) for the yank-action.
10369         (rmail-yank-current-message): New function.
10370         (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
10371         (rmail-reply): Likewise.
10372         (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
10374         * mail/sendmail.el (mail-bury): Choose the first rmail-mode
10375         buffer, not the last.  Reject temp buffers.  Use the rmail-mode
10376         buffer, not newbuf.
10378 2012-04-17  Juanma Barranquero  <lekktu@gmail.com>
10380         * server.el (server-ensure-safe-dir): Simplify.
10382 2012-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
10384         * emacs-lisp/smie.el: Provide smarter auto-filling.
10385         (smie-auto-fill): New function.
10386         (smie-setup): Use it.
10388         * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
10390 2012-04-17  Philipp Haselwarter  <philipp.haselwarter@gmx.de>  (tiny change)
10392         * newcomment.el (comment-inline-offset): New custom var (bug#11090).
10393         (comment-indent): Use it.
10395 2012-04-17  Vincent Belaïche  <vincentb1@users.sourceforge.net>
10397         * ses.el: The overall change is to add cell renaming, that is
10398         setting fancy names for cell symbols other than name matching
10399         "\\`[A-Z]+[0-9]+\\'" regexp .
10400         (ses-localvars): Add ses--renamed-cell-symb-list.
10401         (ses-create-cell-variable): New defun.
10402         (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
10403         (ses-relocate-formula): Relocate formulas only for cells the
10404         symbols of which are not renamed, i.e. symbols whose names do not
10405         match regexp "\\`[A-Z]+[0-9]+\\'".
10406         (ses-relocate-all): Relocate values only for cells the symbols of
10407         which are not renamed.
10408         (ses-load): Create cells variables as the (ses-cell ...) are read,
10409         in order to check row col consistency with cell symbol name only
10410         for cells that are not renamed.
10411         (ses-replace-name-in-formula): New defun.
10412         (ses-rename-cell): New defun.
10414 2012-04-17  Peter Oliver  <bzr@mavit.org.uk>  (tiny change)
10416         * progmodes/perl-mode.el (perl-indent-parens-as-block):
10417         New option (bug#11118).
10418         (perl-calculate-indent): Respect it.
10420 2012-04-17  Glenn Morris  <rgm@gnu.org>
10422         * dired-aux.el (dired-mark-read-string): Doc fix.
10424 2012-04-17  Dmitry Antipov  <dmantipov@yandex.ru>
10426         * dired-aux.el (dired-mark-read-string): Offer optional completion.
10427         (dired-do-chxxx): Complete chown, chgrp over users, groups.  (Bug#7900)
10429 2012-04-17  Glenn Morris  <rgm@gnu.org>
10431         * mouse.el (mouse-drag-track):
10432         * speedbar.el (speedbar-frame-mode):
10433         Use auto-hscroll-mode rather than the alias automatic-hscrolling.
10435 2012-04-16  Leo Liu  <sdl.web@gmail.com>
10437         * progmodes/python.el: Trivial cleanup.
10439 2012-04-16  Glenn Morris  <rgm@gnu.org>
10441         * vc/vc.el (vc-string-prefix-p):
10442         * vc/pcvs-util.el (cvs-string-prefix-p):
10443         * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
10444         * mpc.el (mpc-string-prefix-p):
10445         Make all of these into obsolete aliases for string-prefix-p.
10446         Update callers.
10447         * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
10449         * textmodes/two-column.el: Move custom options to the start.
10450         (frame-width): Remove compat definition.
10451         (2C-associate-buffer, 2C-dissociate):
10452         Use with-current-buffer rather than save-excursion.
10453         (2C-dissociate): Force a mode-line update.
10454         (2C-autoscroll): Use ignore-errors.
10456         * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
10457         Autoload trivia.
10459         * emacs-lisp/cl-extra.el (*random-state*):
10460         Remove unnecessary declaration.
10462         * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
10464         * play/cookie1.el (cookie-snarf):
10465         Give an explicit error if input file cannot be read.
10467         * play/yow.el (yow-file): Use expand-file-name rather than concat.
10469         * progmodes/perl-mode.el (c-macro-expand):
10470         Remove unnecessary autoload (it is in loaddefs.el).
10472         * textmodes/picture.el (picture-desired-column)
10473         (picture-update-desired-column): Convert comments to doc-strings.
10474         (picture-substitute): Remove function.
10475         (picture-mode-map): Initialize in the defvar.
10477         * woman.el: Remove eval-after-load for tar-mode.
10478         * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
10479         (woman-tar-extract-file): Autoload it.
10481         * frame.el (automatic-hscrolling): Make this alias obsolete.
10483 2012-04-12  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
10485         * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
10486         `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
10487         (ispell-dictionary-base-alist): Revert to original XEmacs
10488         friendly version for default.  [:alpha:] will be added in
10489         `ispell-set-spellchecker-params' if needed.
10491 2012-04-16  Chong Yidong  <cyd@gnu.org>
10493         * image.el (imagemagick--file-regexp): New variable.
10494         (imagemagick-register-types): Use it.
10495         (imagemagick-types-inhibit): Add :set function.  Allow new value
10496         of t to inhibit all types.
10498         * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
10499         so we can preload it.
10501         * loadup.el (fboundp): Preload regexp-opt, needed by
10502         imagemagick-register-types.
10504 2012-04-15  Chong Yidong  <cyd@gnu.org>
10506         * frame.el (scrolling): Remove nearly unused customization group.
10508         * scroll-all.el (scroll-all-mode): Move to windows group.
10510 2012-04-15  Chong Yidong  <cyd@gnu.org>
10512         * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
10514 2012-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
10516         Avoid the use of ((lambda ...) ...) in lexical-binding code.
10517         * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
10519 2012-04-15  Glenn Morris  <rgm@gnu.org>
10521         * simple.el (process-file-side-effects): Doc fix.
10523 2012-04-15  Glenn Morris  <rgm@gnu.org>
10525         * international/mule-cmds.el (set-language-environment): Doc fix.
10527 2012-04-14  Juanma Barranquero  <lekktu@gmail.com>
10529         * server.el (server-auth-key, server-generate-key): Doc fixes.
10530         (server-get-auth-key): Doc fix.  Use `string-match-p'.
10531         (server-start): Reflow docstring.
10533 2012-04-14  Lars Ingebrigtsen  <larsi@gnus.org>
10535         * server.el (server-generate-key): `called-interactively-p'
10536         requires a parameter.
10538 2012-04-14  Michal Nazarewicz  <mina86@mina86.com>
10540         * server.el (server-auth-key): New variable.
10541         (server-generate-key, server-get-auth-key): New function.
10542         (server-start): Use the new variable and functions to allow
10543         setting a permanent server key (bug#9423).
10545 2012-04-14  Leo Liu  <sdl.web@gmail.com>
10547         * vc/diff-mode.el (diff-file-prev/next): Fix typo.
10549 2012-04-14  Paul Eggert  <eggert@cs.ucla.edu>
10551         Spelling fixes.
10552         * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
10553         Emacs uses American spelling.
10555 2012-04-14  Juanma Barranquero  <lekktu@gmail.com>
10557         * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
10558         (emacs-lock--exit-locked-buffer): Return the locked buffer.  Doc fix.
10559         (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
10560         (emacs-lock--kill-buffer-query-functions): Run new hook.  (Bug#11017)
10562 2012-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
10564         * progmodes/which-func.el (which-func-modes): Change default.
10566 2012-04-14  Kim F. Storm  <storm@cua.dk>
10568         * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
10569         exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
10571 2012-04-14  Chong Yidong  <cyd@gnu.org>
10573         * custom.el (custom-theme-set-variables): Doc fix.
10575 2012-04-14  Glenn Morris  <rgm@gnu.org>
10577         * international/mule.el (set-auto-coding-for-load): Doc fix.
10579 2012-04-14  Alan Mackenzie  <acm@muc.de>
10581         * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
10582         imenu work again for Objective C Mode.  Correct the *-index values,
10583         these having been disturbed by a previous change in 2011-08.
10585         * progmodes/cc-engine.el (c-before-change-check-<>-operators):
10586         Correct two search limits.
10588 2012-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
10590         * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
10592 2012-04-14  Andreas Schwab  <schwab@linux-m68k.org>
10594         * international/characters.el: Fix sorting.
10596 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
10598         * international/characters.el: Add more missing Latin case pairs.
10600 2012-04-14  Glenn Morris  <rgm@gnu.org>
10602         * files.el (dir-locals-set-class-variables): Doc fix.
10604 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
10606         * international/characters.el: Add set-case-syntax-pair call for
10607         LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
10608         counterpart.  (Bug#11209)
10610         * simple.el (shell-command-on-region): Doc fix.  (Bug#11208)
10612 2012-04-14  Glenn Morris  <rgm@gnu.org>
10614         * calendar/holidays.el (calendar-check-holidays): Doc fix.
10616 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
10618         * textmodes/ispell.el (ispell-dictionary-base-alist):
10619         Add data for Hebrew.
10621 2012-04-14  Chong Yidong  <cyd@gnu.org>
10623         * net/rcirc.el (rcirc-cmd-quit):
10624         Revert 2012-03-18 change (Bug#11192).
10626 2012-04-14  Glenn Morris  <rgm@gnu.org>
10628         * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
10630 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
10632         * minibuffer.el (completion-in-region-mode-map):
10633         Bind completion-help-at-point to M-? rather than ?.  (Bug#11182)
10635 2012-04-13  Vivek Dasmohapatra  <vivek@etla.org>
10637         * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
10639 2012-04-13  Masatake YAMATO  <yamato@redhat.com>
10641         * minibuffer.el (minibuffer-local-filename-syntax): New variable
10642         to allow `C-M-f' and `C-M-b' to move to the nearest path
10643         separator (bug#9511).
10645 2012-04-13  Lars Ingebrigtsen  <larsi@gnus.org>
10647         * avoid.el: Require cl when compiling.  And also move the
10648         `provide' to the end.
10650 2012-04-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
10652         * avoid.el (mouse-avoidance-banish-position): New variable.
10653         (mouse-avoidance-banish-destination): Use it (bug#10165).
10655 2012-04-13  Leo Liu  <sdl.web@gmail.com>
10657         * progmodes/which-func.el (which-func-modes): Add objc-mode.
10659 2012-04-13  Ken Brown  <kbrown@cornell.edu>
10661         * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
10662         this is no longer needed now that cygstart understands file:// URLs.
10663         (browse-url-filename-alist): For the same reason, don't modify
10664         file:// URLs on Cygwin.
10666 2012-04-13  Stefan Monnier  <monnier@iro.umontreal.ca>
10668         * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
10669         the region on shift if the binding is already shifted (bug#11221).
10671 2012-04-12  Glenn Morris  <rgm@gnu.org>
10673         * mail/mailpost.el: Move to obsolete/.
10675 2012-04-12  Drew Adams  <drew.adams@oracle.com>
10677         * imenu.el (imenu--generic-function): Ignore invisible definitions
10678         (bug#10123).
10680 2012-04-12  Vivek Dasmohapatra  <vivek@etla.org>
10682         * hexl.el (hexl-bits): New variable.
10683         (hexl-options): Mention the variable in the doc string.
10684         (hexl-rulerise, hexl-line-displen): New functions.
10685         (hexl-mode): Mention the new variable.
10686         (hexl-mode, hexl-current-address, hexl-current-address):
10687         Use the displen.
10688         (hexl-ascii-start-column): New function.
10689         (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
10690         (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
10692 2012-04-12  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
10694         * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
10695         '("-i" ENCODING), in 2 separate command-line arguments, to specify
10696         the encoding, as expected by hunspell.
10698 2012-04-12  Stefan Monnier  <monnier@iro.umontreal.ca>
10700         * battery.el (battery--linux-sysfs-regexp): New const.
10701         (battery-status-function): Use it.  Remove yeeloong special case.
10702         (battery-yeeloong-sysfs): Remove.
10703         (battery-echo-area-format): Remove yeeloong special case.
10705 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
10707         * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
10708         Reported by Noah Friedman.
10710         * subr.el (read-passwd): Use read-string.
10712 2012-04-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10714         * vcursor.el (vcursor-move): Increase the priority of the overlay
10715         (bug#9663).
10717 2012-04-11  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
10719         * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
10720         (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
10722 2012-04-11  William Stevenson  <yhvh2000@gmail.com>
10724         * textmodes/artist.el (artist-mode): Convert artist-mode to use
10725         define-minor-mode (bug#10760).
10727 2012-04-11  Wolfgang Jenkner  <wjenkner@inode.at>  (tiny change)
10729         * progmodes/grep.el (rgrep): Tweak the find command line so
10730         that directories matching `grep-find-ignored-files' won't be
10731         pruned (bug#10351).
10733 2012-04-11  Chong Yidong  <cyd@gnu.org>
10735         * startup.el (command-line): Remove support for long-obsolete
10736         variable font-lock-face-attributes.
10738 2012-04-11  Glenn Morris  <rgm@gnu.org>
10740         * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
10742 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
10744         * window.el (window--state-get-1): Obey window-point-insertion-type.
10746 2012-04-11  Lennart Borgman  <lennart.borgman@gmail.com>
10748         * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
10749         to previous function when point is on the first character of a
10750         function.  Take care of that in `narrow-to-defun' (bug#6157).
10752 2012-04-11  Glenn Morris  <rgm@gnu.org>
10754         * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
10755         not just file-errors.
10757         * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
10758         (vc-bzr-sha1): Use internal sha1.
10760 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
10762         * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
10764 2012-04-10  Sébastien Gross  <seb@chezwam.org>  (tiny change)
10766         * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
10767         that start in the middle of the line (bug#10496).
10769 2012-04-10  Dan Nicolaescu  <dann@gnu.org>
10771         * battery.el (battery-linux-proc-acpi): Only one battery is
10772         discharged at a time, but that seems to confuse battery.el when
10773         computing `rate-type' for the battery not being discharged
10774         (bug#10332).
10776 2012-04-10  Stefan Monnier  <monnier@iro.umontreal.ca>
10778         * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
10780         * international/quail.el: Use dolist and simplify.
10781         (quail-define-package, quail-update-keyboard-layout)
10782         (quail-define-rules): Use dolist.
10783         (quail-insert-kbd-layout, quail-get-translation): CSE.
10785         * tmm.el: Use dolist, remove left over hook.
10786         (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
10787         Use dolist.
10788         (calendar-load-hook): Don't mess with it.
10790         * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
10791         Use derived-mode-p.  Run the diff asynchronously.
10793 2012-04-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10795         * obsolete/mouse-sel.el: Add an Obsolete-since header.
10797 2012-04-10  Juanma Barranquero  <lekktu@gmail.com>
10799         * misc.el: Display absolute path of loaded DLLs (bug#10424).
10800         (list-dynamic-libraries--loaded): New function.
10801         (list-dynamic-libraries--refresh): Use it.
10803 2012-04-10  Nathan Weizenbaum  <nweiz@google.com>
10805         * progmodes/python.el (python-fill-paragraph):
10806         Make python-fill-region in a multiline string work when font-lock is
10807         disabled (bug#7018).
10809 2012-04-10  Laimonas Vėbra  <laimonas.vebra@gmail.com>  (tiny change)
10811         * language/european.el (cp775): Add oem/legacy (en)coding on
10812         DOS/MS Windows for the Baltic languages.  There are still plenty
10813         of texts written in this encoding/codepage (bug#6519).
10815 2012-04-10  Glenn Morris  <rgm@gnu.org>
10817         * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
10818         Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
10820 2012-04-10  Florian Adamsky  <florian@adamsky.it>  (tiny change)
10822         * recentf.el (recentf-dialog-mode-map): Add two keybindings for
10823         next-line "n" and previous-line "p" in order to make recentf more
10824         consistent with ibuffer, dired or org-mode (bug#9387).
10826 2012-04-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10828         * image.el (put-image): Return the overlay created instead of the
10829         optional input string (bug#7834).  Note that this may break code
10830         that is (for some reason or other) depending on `put-image'
10831         returning the string.
10833         * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
10835         * simple.el (zap-to-char): Allow zapping using input methods
10836         (bug#1580).
10838         * textmodes/fill.el (fill-region): Leave point and mark where they
10839         were before filling (bug#5399).
10841 2012-04-09  Glenn Morris  <rgm@gnu.org>
10843         * version.el (emacs-bzr-get-version):
10844         Handle lightweight checkouts of local branches.
10846 2012-04-09  Andreas Schwab  <schwab@linux-m68k.org>
10848         * international/characters.el: Recover lost case pairs.  (Bug#11209)
10850 2012-04-09  Chong Yidong  <cyd@gnu.org>
10852         * custom.el (custom-variable-p): Return nil for non-symbol
10853         arguments instead of signaling an error.
10854         (user-variable-p): Obsolete alias for custom-variable-p.
10856         * apropos.el (apropos-variable):
10857         * files-x.el (read-file-local-variable):
10858         * simple.el (set-variable):
10859         * woman.el (woman-mini-help):
10860         * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
10862 2012-04-09  Glenn Morris  <rgm@gnu.org>
10864         * startup.el (normal-top-level): Don't look for leim-list.el
10865         in places where it will not be found.  (Bug#910)
10867         * international/mule-cmds.el (set-default-coding-systems):
10868         * files.el (normal-mode):
10869         Remove guarded calls to ucs-set-table-for-input.  (Bug#9821)
10870         This function was removed with ucs-tables.el in 2008.
10872 2012-04-08  Eli Zaretskii  <eliz@gnu.org>
10874         * textmodes/ispell.el (ispell-check-version): For hunspell, set
10875         ispell-encoding8-command to "-i", without a trailing space.
10876         (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
10877         separate command-line arguments, to specify the encoding, since
10878         that's how hunspell expects it.
10880 2012-04-08  Glenn Morris  <rgm@gnu.org>
10882         * loadup.el: Load bindings before cus-start.
10883         This reduces somewhat the number of "rogue" settings in emacs -Q.
10885 2012-04-07  Glenn Morris  <rgm@gnu.org>
10887         * version.el (emacs-bzr-get-version): New function.
10888         (emacs-bzr-version): New variable.
10889         * loadup.el (emacs-bzr-version): Set it.  (Bug#8054)
10890         * mail/emacsbug.el (report-emacs-bug): Include bzr version.
10892 2012-04-07  Eli Zaretskii  <eliz@gnu.org>
10894         * international/uni-bidi.el, international/uni-category.el:
10895         * international/uni-combining.el, international/uni-decimal.el:
10896         * international/uni-decomposition.el, international/uni-digit.el:
10897         * international/uni-lowercase.el, international/uni-mirrored.el:
10898         * international/uni-name.el, international/uni-numeric.el:
10899         * international/uni-titlecase.el, international/uni-uppercase.el:
10900         Update for Unicode 6.1.
10902 2012-04-07  Eli Zaretskii  <eliz@gnu.org>
10904         * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
10906 2012-04-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10908         * window.el (shrink-window): Mention the `window-min-height'
10909         variable in the doc string.
10911 2012-04-05  Bastien Guerry  <bzg@altern.org>
10913         * color.el (color-lighten-name): Fix typo.
10915 2012-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
10917         * server.el (server--on-display-p): New function.
10918         (server--on-display-p): Use it.
10920 2012-04-04  Gabor Vida  <vidagabor@gmail.com>  (tiny change)
10922         * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
10923         (bug#11145).
10925 2012-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
10927         * comint.el (comint--common-quoted-suffix): Check string boundary
10928         before comparing (bug#11158).
10929         * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
10931 2012-04-04  Chong Yidong  <cyd@gnu.org>
10933         * minibuffer.el (completion-extra-properties): Doc fix.
10935         * subr.el (delayed-warnings-hook): Doc fix.
10937 2012-04-04  Daiki Ueno  <ueno@unixuser.org>
10939         * epa.el (epa--select-keys): Bind C-c C-c to finish the key
10940         selection (Bug#11159).
10941         (epa-insert-keys): Inform that the default public key will be
10942         exported if no key is selected.
10944 2012-04-04  Richard Stallman  <rms@gnu.org>
10946         * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
10948 2012-04-03  Chong Yidong  <cyd@gnu.org>
10950         * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
10951         mail-insert-file, not its obsolete alias mail-attach-file.
10953 2012-04-03  Michael Albinus  <michael.albinus@gmx.de>
10955         * notifications.el (notifications-notify): Fix docstring.
10957 2012-04-02  Glenn Morris  <rgm@gnu.org>
10959         * emacs-lisp/authors.el (authors-aliases): Another addition.
10961 2012-04-02  Michael Albinus  <michael.albinus@gmx.de>
10963         * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
10964         `tramp-compat-call-process' instead of `tramp-local-call-process'.
10965         Reported by Magnus Henoch <magnus.henoch@gmail.com>.
10967 2012-04-01  Chong Yidong  <cyd@gnu.org>
10969         * files.el (file-in-directory-p): Rename from file-subdir-of-p.
10970         Handle root directory properly.
10971         (copy-directory): Caller changed.
10973         * dired-aux.el (dired-copy-file-recursive, dired-create-files):
10974         * net/tramp.el (tramp-file-name-for-operation): Callers changed.
10976 2012-03-31  Glenn Morris  <rgm@gnu.org>
10978         * term/xterm.el (xterm-extra-capabilities): Doc fix.
10980         * language/indian.el ("Devanagari"): Fix typo.  (Bug#11103)
10982         * calendar/calendar.el (calendar-window-list)
10983         (calendar-hide-window): Restore.  (Bug#11140)
10984         (calendar-exit): Use calendar-window-list, calendar-hide-window again.
10986         * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
10988 2012-03-30  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
10990         * dired-aux.el (dired-copy-file-recursive, dired-create-files):
10991         Check if file is a symlink (Bug#10489).
10993         * files.el (copy-directory): Likewise.
10995 2012-03-30  Chong Yidong  <cyd@gnu.org>
10997         * image.el (imagemagick-types-inhibit)
10998         (imagemagick-register-types): Doc fix.
11000 2012-03-30  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
11002         * textmodes/ispell.el (ispell-get-extended-character-mode):
11003         Disable extended-char-mode for hunspell.  hunspell does not support it
11004         and treats ~word as ordinary words in pipe mode.
11006 2012-03-30  Glenn Morris  <rgm@gnu.org>
11008         * tutorial.el (help-with-tutorial): Ensure local variables don't
11009         happen to make the buffer read-only.  (Bug#11127)
11011 2012-03-30  Stefan Monnier  <monnier@iro.umontreal.ca>
11013         * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
11014         (perl-calculate-indent): Return `noindent' in strings.
11016 2012-03-28  Sam Steingold  <sds@gnu.org>
11018         * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
11019         instead of the broken adhockery which does not prevent calendar
11020         buffers from being displayed at random after exit.
11021         (calendar-window-list, calendar-hide-window): Remove the broken
11022         adhockery.
11024 2012-03-28  Glenn Morris  <rgm@gnu.org>
11026         * replace.el (query-replace-map): Doc fix.
11028 2012-03-28  Andreas Schwab  <schwab@linux-m68k.org>
11030         * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
11031         contents.  (Bug#11109)
11033 2012-03-27  Stefan Monnier  <monnier@iro.umontreal.ca>
11035         * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
11036         (bug#11077).
11037         (avl-tree--check, avl-tree--check-node): New funs.
11039 2012-03-27  Martin Rudalics  <rudalics@gmx.at>
11041         * window.el (switch-to-visible-buffer): New option.
11042         (switch-to-prev-buffer, switch-to-next-buffer):
11043         Observe switch-to-visible-buffer.  Make sure that checking for a window
11044         showing a buffer already is done on the same frame.
11046 2012-03-27  Glenn Morris  <rgm@gnu.org>
11048         * startup.el (mail-host-address): Doc fix.
11050 2012-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
11052         * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
11053         than 197 variables.
11055 2012-03-26  Ami Fischman  <ami@fischman.org>
11057         * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
11059 2012-03-26  Glenn Morris  <rgm@gnu.org>
11061         * files.el (save-buffers-kill-emacs): Doc fix.
11063         * startup.el (normal-top-level, command-line, command-line-1):
11064         Give them doc strings.
11066 2012-03-25  Eli Zaretskii  <eliz@gnu.org>
11068         * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
11069         of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
11071 2012-03-25  Chong Yidong  <cyd@gnu.org>
11073         * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
11074         theme if it was previously enabled before (Bug#11031).
11076         * cus-theme.el (custom-theme-write-faces): Retrieve current face
11077         spec with custom-face-get-current-spec if its :shown-value is not
11078         determined yet (Bug#9337).
11079         (customize-create-theme, custom-theme-revert): Doc fixes.
11081         * button.el (button-at): Minor addition to docstring.
11083 2012-03-24  Simon Leinen  <simon.leinen@gmail.com>
11085         * vc/vc.el (vc-merge): Fix a prompt.
11087 2012-03-24  Chong Yidong  <cyd@gnu.org>
11089         * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
11090         point (Bug#9623).
11092         * button.el (button-at): Minor addition to docstring.
11094 2012-03-23  Stefan Monnier  <monnier@iro.umontreal.ca>
11096         * newcomment.el (comment-choose-indent): No space after BOL.
11098 2012-03-22  Sam Steingold  <sds@gnu.org>
11100         * window.el (switch-to-prev-buffer): Revert last patch because the
11101         bug turned out to be an advertised feature (Elisp manual 28.14).
11103 2012-03-22  Glenn Morris  <rgm@gnu.org>
11105         * vc/vc-bzr.el (vc-bzr-status-switches): New option.  (Bug#6724)
11106         (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
11108 2012-03-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11110         * net/network-stream.el (network-stream-open-starttls): Make error
11111         message under Windows be less misleading.
11113 2012-03-22  Liang Wang  <netcasper@gmail.com>  (tiny change)
11115         * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
11116         understands (bug#9942).
11118 2012-03-22  Chong Yidong  <cyd@gnu.org>
11120         * simple.el (end-of-visible-line): Handle return value of
11121         next-single-property-change properly (Bug#9371).
11123 2012-03-22  Kenichi Handa  <handa@m17n.org>
11125         * international/quail.el (quail-insert-kbd-layout): Fix previous
11126         change.  To avoid unwanted bidi reordering, use
11127         bidi-string-mark-left-to-right instead of inserting LRO and PDF.
11129 2012-03-21  Dmitry Gutov  <dgutov@yandex.ru>
11131         * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
11132         (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
11133         (ruby-beginning-of-indent): Be more careful with the difference
11134         between word-boundary and symbol boundary.
11135         (ruby-mode-syntax-table): Make : a symbol constituent.
11137 2012-03-21  Andreas Politz  <politza@fh-trier.de>
11139         * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
11141 2012-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
11143         * progmodes/etags.el (tags-completion-at-point-function):
11144         Improve last fix.
11146         * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
11148 2012-03-21  Sam Steingold  <sds@gnu.org>
11150         * progmodes/etags.el (tags-completion-at-point-function):
11151         Avoid the error when point is inside the pattern.
11153 2012-03-21  John Yates  <john@yates-sheets.org>  (tiny change)
11155         * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
11156         line (Bug#10855).
11158 2012-03-21  Drew Adams  <drew.adams@oracle.com>
11160         * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
11162 2012-03-21  Anmol Khirbat  <anmol@khirbat.net>  (tiny change)
11164         * ido.el (ido-set-current-directory, ido-read-internal)
11165         (ido-choose-completion-string, ido-completion-help): Handle nil
11166         value of ido-completion-buffer (Bug#11008).
11168 2012-03-21  Sam Steingold  <sds@gnu.org>
11170         * window.el (switch-to-prev-buffer): Do not switch to a visible
11171         window previous buffer, just like with the frame previous buffers.
11173 2012-03-21  Chong Yidong  <cyd@gnu.org>
11175         * faces.el (make-face, make-empty-face, copy-face):
11176         * face-remap.el (face-remap-add-relative, face-remap-set-base):
11177         Doc fixes.
11179 2012-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
11181         * wid-edit.el (widget-complete-field): Remove (bug#11051).
11182         (widget-complete): Remove broken use of it.
11184 2012-03-20  Chong Yidong  <cyd@gnu.org>
11186         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
11187         Use string-width and truncate-string-width to handle arbitrary
11188         characters.
11190 2012-03-20  Tassilo Horn  <tassilo@member.fsf.org>
11192         * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
11193         to draw rectangles, not squares.  (Regression introduced by revno
11194         2011-03-02T03:48:01Z!cyd@stupidchicken.com)
11196 2012-03-18  Chong Yidong  <cyd@gnu.org>
11198         * faces.el (face-spec-reset-face): Don't call display-graphic-p if
11199         it is not yet defined (for temacs).
11201 2012-03-18  Leo Liu  <sdl.web@gmail.com>
11203         * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
11204         prefix.
11206 2012-03-17  Eli Zaretskii  <eliz@gnu.org>
11208         * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
11209         (ispell-choices-win-default-height, ispell-silently-savep)
11210         (ispell-dictionary-alist, ispell-encoding8-command)
11211         (ispell-check-version, ispell-aspell-find-dictionary)
11212         (ispell-valid-dictionary-list, ispell-words-keyword)
11213         (ispell-get-word, ispell-internal-change-dictionary)
11214         (ispell-region, ispell-skip-region-list)
11215         (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
11216         (ispell-process-line, ispell-minor-mode, ispell-minor-check)
11217         (ispell-message-text-end, ispell-message)
11218         (ispell-buffer-local-parsing): Doc fix.
11220 2012-03-13  Jambunathan K  <kjambunathan@gmail.com>
11222         * htmlfontify.el: Add support for code block fontification for ODT
11223         export (Bug #9914).
11224         (hfy-optimisations): Define new option
11225         `body-text-only'
11226         (hfy-fontify-buffer): Honor above setting.
11227         (hfy-begin-span, hfy-end-span): New routines factored out form
11228         `hfy-fontify-buffer'.
11229         (hfy-begin-span-handler, hfy-end-span-handler): New variables
11230         that permit insertion of custom tags.
11231         (hfy-fontify-buffer): Use above handlers.
11232         (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
11233         (hfy-face-to-css): Re-defined to be a variable.
11234         (hfy-compile-stylesheet): Modify.  Allow stylesheet to be built
11235         over multiple runs.  This is made possible by having the caller let
11236         bind a special variable `hfy-user-sheet-assoc'.
11237         (htmlfontify-string): New defun.
11238         (hfy-compile-face-map): Make sure that the last char in the
11239         buffer is correctly fontified.
11240         (hfy-face-resolve-face): Whitespace only change.
11242 2012-03-17  Eli Zaretskii  <eliz@gnu.org>
11244         * textmodes/ispell.el (ispell-get-decoded-string): Make the error
11245         message more clear.
11247 2012-03-16  Leo Liu  <sdl.web@gmail.com>
11249         * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
11251 2012-03-16  Alan Mackenzie  <acm@muc.de>
11253         Further optimise the handling of large macros.
11255         * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
11256         limit to a call of `c-literal-limits'.
11257         (c-determine-+ve-limit): New function.
11258         (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
11259         (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
11260         In CASE 5B, restrict a search limit to 500.
11261         (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
11263         * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
11264         Restrict macro bounds to +-500 from after-change's BEG END.
11266 2012-03-16  Leo Liu  <sdl.web@gmail.com>
11268         * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
11270 2012-03-16  Aaron S. Hawley  <Aaron.S.Hawley@gmail.com>
11272         * tar-mode.el (tar-mode): Fix saving by conditionally undoing
11273         `special-mode' setting of `buffer-read-only'.  (Bug#11010)
11275 2012-03-16  Glenn Morris  <rgm@gnu.org>
11277         * view.el (view-buffer, view-buffer-other-window)
11278         (view-buffer-other-frame): Doc fixes re special mode-class.
11280         * subr.el (eval-after-load): If named feature is provided not from
11281         a file, run after-load forms.  (Bug#10946)
11283         * calendar/calendar.el (calendar-insert-at-column):
11284         Handle non-unit-width characters a bit better.  (Bug#10978)
11286 2012-03-15  Chong Yidong  <cyd@gnu.org>
11288         * emacs-lisp/ring.el (ring-extend): New function.
11289         (ring-insert+extend): Extend the ring correctly (Bug#11019).
11291         * comint.el (comint-read-input-ring)
11292         (comint-add-to-input-history): Grow comint-input-ring lazily.
11294 2012-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
11296         * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
11297         Fix up parsing of multiline twoarg non-paired elements (bug#11014).
11299         * imenu.el: Fix multiple inheritance breakage (bug#9199).
11300         (imenu-add-to-menubar): Don't add a redundant index.
11301         (imenu-update-menubar): Handle a dynamically composed keymap.
11303 2012-03-13  Katsumi Yamaoka  <yamaoka@jpl.org>
11305         * mail/sendmail.el (mail-encode-header):
11306         Bind rfc2047-encode-encoded-words to nil.
11308 2012-03-13  Glenn Morris  <rgm@gnu.org>
11310         * calendar/calendar.el (calendar-string-spread):
11311         Handle non-unit-width characters a bit better.  (Bug#10978)
11313 2012-03-13  Leo Liu  <sdl.web@gmail.com>
11315         * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
11316         directory and file as argument (Bug#10822).
11318 2012-03-13  Kaushik Srenevasan  <ksrenevasan@gmail.com>  (tiny change)
11320         * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
11321         For dynamically generated code, follow $PC.
11322         (gdb-disassembly-handler-custom): Handle no function name case.
11324 2012-03-13  Tim Landscheidt  <tim@tim-landscheidt.de>  (tiny change)
11326         * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
11327         * emulation/ws-mode.el (ws-query-replace):
11328         * sort.el (sort-regexp-fields):
11329         Fix missing trailing whitespace in interactive prompts.  (Bug#11002)
11331 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
11333         * dabbrev.el: Fix cycle completion order (bug#10963).
11334         (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
11335         (dabbrev-completion): Don't use an obarray; provide
11336         a cycle-sort-function.
11338 2012-03-12  Leo Liu  <sdl.web@gmail.com>
11340         * simple.el (kill-new): Use equal-including-properties for comparison.
11341         (kill-do-not-save-duplicates): Doc fix.
11343 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
11345         * dabbrev.el: Fix cycle completion (bug#10963).
11346         Use lexical binding and wrap to 80 columns.
11347         (dabbrev-completion): Delay computing the list of completions.
11349 2012-03-12  Kenichi Handa  <handa@m17n.org>
11351         * international/quail.el (quail-insert-kbd-layout): Surround each
11352         row by LRO and PDF instead of inserting many LRMs.  Pad the left
11353         and right of each non-spacing marks.  Insert invisible space
11354         between lower and upper characters to prevent composition.
11356 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
11358         * minibuffer.el (minibuffer-complete): Don't get confused when the
11359         function is run twice via different commands (bug#10958).
11360         (complete-with-action): Fix docstring.
11362 2012-03-12  Chong Yidong  <cyd@gnu.org>
11364         * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
11365         (nxml-completion-at-point-function): New function.
11366         (nxml-mode): Use it.
11367         (nxml-bind-meta-tab-to-complete-flag): Default to t.
11369         * emacs-lisp/package.el (package-unpack, package-unpack-single):
11370         Load generated autoloads file before byte compiling (Bug#10970).
11371         (package--make-autoloads-and-compile): New helper fun.
11373 2012-03-12  Christopher Schmidt  <christopher@ch.ristopher.com>
11375         * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
11377 2012-03-11  Michael Albinus  <michael.albinus@gmx.de>
11379         * autorevert.el (auto-revert-handler): Ensure, that
11380         file-readable-p is applied only for local files or in
11381         auto-revert-tail-mode.
11383 2012-03-11  Andreas Schwab  <schwab@linux-m68k.org>
11385         * server.el (server-eval-at): Handle non-tcp connections.
11386         Decode result string.
11388         * server.el (server-msg-size): New constant.
11389         (server-reply-print): New function.
11390         (server-eval-and-print): Use it.
11391         (server-eval-at): Use server-quote-arg and server-unquote-arg.
11392         Handle -print-nonl.
11394 2012-03-11  Christopher Schmidt  <christopher@ch.ristopher.com>
11396         * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
11397         (Bug#10987).
11399 2012-03-11  Chong Yidong  <cyd@gnu.org>
11401         * simple.el (goto-line): Doc fix (Bug#9938).
11403         * subr.el (save-window-excursion): Doc fix (Bug#9979).
11405         * dabbrev.el (dabbrev--find-expansion): Update progress reporter
11406         when finished (Bug#10963).
11408 2012-03-11  Martin Rudalics  <rudalics@gmx.at>
11410         * window.el (split-window-below): Fix bug in case where
11411         split-window-keep-point is nil (Bug#10971).
11413 2012-03-11  Juri Linkov  <juri@jurta.org>
11415         * replace.el (replace-highlight): Set isearch-word to nil
11416         unconditionally.  (Bug#10887)
11418 2012-03-10  Eli Zaretskii  <eliz@gnu.org>
11420         * net/mairix.el (mairix-replace-invalid-chars): Rename from
11421         mairix-replace-illegal-chars; all callers changed.  Don't remove
11422         ^, ~, and = characters: they are meaningful in mairix search specs.
11423         (mairix-widget-create-query): Add usage information about mairix
11424         search forms: negating words, searching for substrings, etc.
11426 2012-03-10  Jae-hyeon Park  <jae-hyeon.park@desy.de>  (tiny change)
11428         * international/fontset.el (font-encoding-alist): Add an entry for
11429         ksx1001 (Bug#5667).
11431 2012-03-10  Richard Stallman  <rms@gnu.org>
11433         * mail/sendmail.el (mail-encode-header):
11434         Set rfc2047-encode-encoded-words.
11436         * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
11438         * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
11439         view buffer means not swapped.
11440         (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
11441         (rmail-write-region-annotate): Error if real text has disappeared.
11443         * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
11445 2012-03-10  Chong Yidong  <cyd@gnu.org>
11447         * emulation/cua-rect.el (cua--init-rectangles):
11448         * emulation/cua-base.el (cua--init-keymaps):
11449         Add delete-forward-char to remappings (Bug#9666).
11451 2012-03-10  Martin Rudalics  <rudalics@gmx.at>
11453         * speedbar.el (speedbar-unhighlight-one-tag-line):
11454         Avoid unhighlighting due to frame switching (Bug#10275).
11456 2012-03-10  Chong Yidong  <cyd@gnu.org>
11458         * minibuffer.el (completion-in-region, completion-help-at-point):
11459         Give the completion field overlay a high priority (Bug#6830).
11461         * dired.el (dired-goto-file): Recognize absolute file name
11462         listings (Bug#7126).
11463         (dired-goto-file-1): New helper function.
11464         (dired-toggle-read-only): Inhibit warnings.
11466 2012-03-09  Michael Albinus  <michael.albinus@gmx.de>
11468         * net/dbus.el (dbus-property-handler): Return empty array if
11469         there are no properties.
11471 2012-03-09  Leo Liu  <sdl.web@gmail.com>
11473         * savehist.el (savehist-printable): Stricter check for string
11474         value (Bug#10937).
11476 2012-03-09  Eli Zaretskii  <eliz@gnu.org>
11478         * mail/smtpmail.el (smtpmail-send-it):
11479         Bind coding-system-for-write to *-unix, so that FCC files are kept in
11480         valid mbox format.
11482 2012-03-09  Glenn Morris  <rgm@gnu.org>
11484         * files.el (dir-locals-find-file):
11485         Don't check result is regular, readable.
11486         (dir-locals-read-from-file): Demote errors.
11488 2012-03-08  Eli Zaretskii  <eliz@gnu.org>
11490         * international/quail.el (quail-insert-kbd-layout):
11491         Insert invisible LRM characters before each character in a keyboard
11492         layout cell, to prevent their reordering by bidi display engine.
11493         For details, see the discussion in
11494         http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
11496 2012-03-08  Alan Mackenzie  <acm@muc.de>
11498         * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
11499         the starting position; make it extend the marked region when
11500         invoked repeatedly - all under appropriate circumstances.
11501         Fixes bugs #5525, #10906.
11503 2012-03-08  Glenn Morris  <rgm@gnu.org>
11505         * files.el (locate-dominating-file, dir-locals-find-file):
11506         Undo 2012-03-06 change.
11508 2012-03-07  Eli Zaretskii  <eliz@gnu.org>
11510         * international/quail.el (quail-help):
11511         Force bidi-paragraph-direction be left-to-right.  See discussion in
11512         http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
11513         for the reason.
11515 2012-03-07  Michael Albinus  <michael.albinus@gmx.de>
11517         Avoid superfluous registering of signals.  (Bug#10807)
11519         * notifications.el (notifications-on-action-object)
11520         (notifications-on-close-object): New defvars.
11521         (notifications-on-action-signal, notifications-on-closed-signal):
11522         Unregister the signal if not needed any longer.
11523         (notifications-notify): Register `notifications-action-signal' or
11524         `notifications-closed-signal', if :on-action or :on-close has been
11525         passed as argument.
11527 2012-03-07  Chong Yidong  <cyd@gnu.org>
11529         * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
11530         non-X platforms.
11532 2012-03-06  Glenn Morris  <rgm@gnu.org>
11534         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
11535         (x-disown-selection-internal, x-get-selection-internal):
11536         Doc fix (add arglist signatures).  (Bug#10783)
11538 2012-03-06  Kaushik Srenevasan  <ksrenevasan@gmail.com>  (tiny change)
11540         * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
11541         Handle breakpoints with no "type".
11543 2012-03-06  Glenn Morris  <rgm@gnu.org>
11545         * files.el (locate-dominating-file): Add optional predicate argument.
11546         (dir-locals-find-file): Make use of above change.
11548 2012-03-06  Thien-Thi Nguyen  <ttn@gnuvola.org>
11550         * info.el (Info-insert-dir): Also try "dir.gz".
11552 2012-03-06  Glenn Morris  <rgm@gnu.org>
11554         * files.el (dir-locals-find-file):
11555         Ignore non-readable or non-regular files.  (Bug#10928)
11557         * files.el (locate-dominating-file): Doc fix.
11559 2012-03-06  Adam Spiers  <emacs@adamspiers.org>  (tiny change)
11561         * calendar/calendar.el (calendar-set-mode-line):
11562         `getenv' returns a string.  (Bug#10951)
11564 2012-03-05  Leo Liu  <sdl.web@gmail.com>
11566         * simple.el (backward-delete-char-untabify): Constrain point to
11567         field (Bug#10939).
11569         * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
11571 2012-03-05  Chong Yidong  <cyd@gnu.org>
11573         * simple.el (count-words): If called from Lisp, return the word
11574         count, for symmetry with `count-lines'.  Arglist changed.
11575         (count-words--message): Args changed.  Consolidate counting code
11576         from count-words and count-words-region.
11577         (count-words-region): Caller changed.
11578         (count-lines-region): Make it an obsolete alias.
11580 2012-03-04  Tassilo Horn  <tassilo@member.fsf.org>
11582         * saveplace.el (save-place-to-alist)
11583         (save-place-ignore-files-regexp): Allow value nil to disable this
11584         feature.
11586 2012-03-04  Chong Yidong  <cyd@gnu.org>
11588         * faces.el (face-spec-reset-face): For the default face, reset the
11589         attributes to default values (Bug#10748).
11591 2012-03-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11593         * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
11594         previous patch: Check `message-send-mail-function', and not the
11595         default function (bug#10897).
11597 2012-03-04  Michael Albinus  <michael.albinus@gmx.de>
11599         * notifications.el (notifications-on-action-signal)
11600         (notifications-on-closed-signal): Check for unique service name of
11601         incoming event.  Fix error in removing entry.
11602         (top): Register for signals with wildcard service name.
11603         (notifications-notify): Use daemon unique service name for map entries.
11605 2012-03-04  Chong Yidong  <cyd@gnu.org>
11607         * cus-start.el: Make x-select-enable-clipboard-manager customizable.
11609 2012-03-04  Glenn Morris  <rgm@gnu.org>
11611         * abbrev.el (copy-abbrev-table, abbrev-table-p)
11612         (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
11613         (expand-abbrev, define-abbrev-table): Doc fixes.
11615 2012-03-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11617         * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
11618         `message-default-send-mail-function' and not `send-mail-function'
11619         when doing the prompting for `sendmail-query-once' before sending
11620         in Message buffers (bug#10897).
11622         * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
11623         This is inconsistent with all the other stream functions, which leave
11624         the setting up to the higher levels (if so wanted) (bug#10931).
11626 2012-03-02  Alan Mackenzie  <acm@muc.de>
11628         Depessimize the handling of very large macros.
11630         * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
11631         (c-macro-cache-syntactic): New variables to implement a one
11632         element macro cache.
11633         (c-invalidate-macro-cache): New function.
11634         (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
11635         Adapt to use the new cache.
11636         (c-state-safe-place): Use better the cache of safe positions.
11637         (c-state-semi-nonlit-pos-cache)
11638         (c-state-semi-nonlit-pos-cache-limit):
11639         New variables for...
11640         (c-state-semi-safe-place): New function.  Here, in a macro is "safe".
11641         (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
11642         (c-in-literal, c-literal-limits, c-determine-limit-get-base):
11643         Use c-state-semi-safe-place.
11645         * progmodes/cc-langs.el (c-get-state-before-change-functions):
11646         Add c-invalidate-macro-cache to the C, C++, Obj entries.
11648 2012-03-02  Michael Albinus  <michael.albinus@gmx.de>
11650         * jka-compr.el (jka-compr-call-process):
11651         Apply `file-accessible-directory-p' only when the default directory is
11652         not remote.
11654 2012-03-01  Michael Albinus  <michael.albinus@gmx.de>
11656         * files.el (file-equal-p): Fix docstring.  Avoid unnecessary
11657         access of FILE2, if FILE1 does not exist.
11659         * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
11660         Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
11662         * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
11663         Add "PAGER=" to `process-environment'.
11665 2012-03-01  Michael R. Mauger  <mmaug@yahoo.com>
11667         * progmodes/sql.el: Bug fix
11668         (sql-get-login-ext): Save login values in globals.
11669         (sql-get-login): Use new version of `sql-get-login-ext'.
11670         (sql-interactive-mode): Set global `sql-connection' to nil.
11671         (sql-connect): Set global values for connection.
11672         (sql-product-interactive): Save global values as buffer local.
11674 2012-02-29  Leo Liu  <sdl.web@gmail.com>
11676         * abbrev.el (define-abbrevs): Reset sys to nil.
11678 2012-02-28  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
11680         * files.el (file-equal-p): Rename from `files-equal-p'.
11681         Return nil when one or both files don't exist.
11682         (file-subdir-of-p): Now only top directory must exists,
11683         return nil if it doesn't.
11684         (copy-directory): No need to test with `file-subdir-of-p' after
11685         creating dir.
11686         * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
11687         to `file-equal-p'.
11689 2012-02-28  Glenn Morris  <rgm@gnu.org>
11691         * shell.el (shell-mode):
11692         * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
11693         * play/landmark.el (landmark-font-lock-face-O):
11694         * play/handwrite.el (handwrite):
11695         * play/gomoku.el (gomoku-O):
11696         * net/browse-url.el (browse-url-browser-display):
11697         * international/mule.el (define-charset):
11698         * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
11699         * filesets.el (filesets-find-file-delay):
11700         * eshell/em-xtra.el (eshell-xtra):
11701         * eshell/em-unix.el (eshell-grep):
11702         * emulation/viper.el (viper-mode):
11703         * emacs-lisp/regexp-opt.el (regexp-opt-group):
11704         * emacs-lisp/easymenu.el (easy-menu-define):
11705         * calendar/timeclock.el (timeclock-use-display-time):
11706         * bs.el (bs-mode):
11707         * bookmark.el (bookmark-save-flag):
11708         Doc fix (standardize possessive apostrophe usage).
11710 2012-02-27  Chong Yidong  <cyd@gnu.org>
11712         * emulation/viper-cmd.el (viper-intercept-ESC-key):
11713         Fix key-binding lookup for ESC key (Bug#9146).
11715         * font-lock.el (font-lock-specified-p): Rename from
11716         font-lock-spec-present.  Callers changed.
11718 2012-02-27  Daniel Hackney  <dan@haxney.org>
11720         * emacs-lisp/package.el (package-compute-transaction):
11721         Handle holding a package version to t in package-load-list.
11723 2012-02-26  Michael Albinus  <michael.albinus@gmx.de>
11725         * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
11726         (tramp-get-inode, tramp-get-device): Use cached values.
11728 2012-02-26  Alan Mackenzie  <acm@muc.de>
11730         Check there is a font-lock specification before doing initial
11731         fontification.
11733         * font-core.el (font-lock-mode): Move the conditional from
11734         :after-hook to font-lock-initial-fontify.
11735         (font-lock-default-function): Move the check for a specification
11736         to font-lock-spec-present.
11738         * font-lock.el (font-lock-initial-fontify): Call ...
11739         (font-lock-spec-present): New function.
11741 2012-02-26  Jim Blandy  <jimb@red-bean.com>
11743         * progmodes/gdb-mi.el (gdb-mi-quote): New function.
11744         (gdb-send): Apply it to the operand of the '-interpreter-exec
11745         console' command, so that we can pass arguments with (say) quotes
11746         in them.  Store exact string sent in gdb-debug-log (Bug#10765).
11748 2012-02-26  Chong Yidong  <cyd@gnu.org>
11750         * help-fns.el (describe-function-1): Clarify description of
11751         remapping (Bug#10844).
11753         * files.el (files-equal-p): Doc fix.
11754         (file-subdir-of-p): Doc fix.  Convert loop macro to plain Lisp,
11755         and quit the loop once a mismatch is found.
11757 2012-02-25  Juanma Barranquero  <lekktu@gmail.com>
11759         * bs.el (bs--show-with-configuration): Don't throw an error
11760         if the window cannot be split; otherwise, subsequent calls to
11761         bs-show fail, restoring a stale window config.  (Bug#10882)
11763 2012-02-25  Jan Djärv  <jan.h.d@swipnet.se>
11765         * term/ns-win.el (global-map): Bind ns-drag-file to
11766         ns-find-file (Bug#5855, Bug#10050).
11768 2012-02-25  Andreas Schwab  <schwab@linux-m68k.org>
11770         * calendar/parse-time.el (parse-time-string): Allow extractor to
11771         return nil.
11773 2012-02-25  Michael Albinus  <michael.albinus@gmx.de>
11775         * net/tramp.el (tramp-file-name-for-operation):
11776         Add `files-equal-p' and `file-subdir-of-p'.
11778         * net/tramp-sh.el (tramp-sh-handle-copy-directory):
11779         * net/tramp-smb.el (tramp-smb-handle-copy-directory):
11780         Add COPY-CONTENTS argument.
11782 2012-02-25  Chong Yidong  <cyd@gnu.org>
11784         Add custom groups for VC backends, for consistency with vc-bzr.
11786         * vc/vc-arch.el (vc-arch):
11787         * vc/vc-cvs.el (vc-cvs):
11788         * vc/vc-git.el (vc-git):
11789         * vc/vc-hg.el (vc-hg):
11790         * vc/vc-mtn.el (vc-mtn):
11791         * vc/vc-rcs.el (vc-rcs):
11792         * vc/vc-sccs.el (vc-sccs):
11793         * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
11794         All relevant defcustoms reassigned.
11796 2012-02-25  Chong Yidong  <cyd@gnu.org>
11798         * newcomment.el (comment-styles): Add autoload (Bug#10868).
11800         * term/x-win.el (x-initialize-window-system): Reduce default for
11801         x-selection-timeout to 5 seconds (Bug#8869).
11803 2012-02-24  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
11805         * files.el (files-equal-p, file-subdir-of-p): New functions.
11806         (copy-directory): Error when trying to copy a directory on itself.
11807         Add missing copy-contents arg to tramp handler.
11808         * dired-aux.el (dired-copy-file-recursive): Same.
11809         (dired-create-files): Modify destination when source is equal to
11810         dest when copying files.
11811         Return also when dest is a subdir of source.  (Bug#10489)
11813 2012-02-24  Michael Albinus  <michael.albinus@gmx.de>
11815         * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
11816         (Bug#10874)
11818 2012-02-23  Alan Mackenzie  <acm@muc.de>
11820         * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
11821         parameter "after-hook:" to allow the expansion to run code after
11822         the execution of the mode hooks.
11824         * font-lock.el (font-lock-initial-fontify): New function extracted
11825         from font-lock-mode-internal.
11827         * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
11828         :after-hook.
11830 2012-02-23  Stefan Monnier  <monnier@iro.umontreal.ca>
11832         * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
11833         (completion--cache-all-sorted-completions): New function.
11834         (completion-all-sorted-completions): Use it.
11835         (completion--do-completion, minibuffer-force-complete):
11836         Use it to re-instate the flush hook.
11838         * icomplete.el (icomplete-completions): Replace last fix with a better
11839         one (bug#10850).
11841 2012-02-23  Dmitry Gutov  <dgutov@yandex.ru>
11843         * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
11844         when it might call us back infinitely (bug#10797).
11846 2012-02-23  Glenn Morris  <rgm@gnu.org>
11848         * minibuffer.el (completion-category-overrides): Doc fix.
11850 2012-02-23  Stefan Monnier  <monnier@iro.umontreal.ca>
11852         * minibuffer.el (completion-table-with-context): Fix inf-loop.
11853         Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
11855 2012-02-23  Glenn Morris  <rgm@gnu.org>
11857         * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
11858         (authors-obsolete-files-regexps, authors-ignored-files)
11859         (authors-ambiguous-files, authors-renamed-files-alist):
11860         Add more entries.
11862 2012-02-23  Juri Linkov  <juri@jurta.org>
11864         * isearch.el (isearch-occur): Sync interactive spec with occur's
11865         new feature in `occur-read-primary-args'.  Doc fix.  (Bug#10705)
11867         * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
11869 2012-02-22  Juri Linkov  <juri@jurta.org>
11871         * international/mule-cmds.el (read-char-by-name): Use \` and \'.
11872         (ucs-insert): Doc fix.  Check for hex digits in the string.
11873         Don't display `nil' in the error message.  (Bug#10857)
11875 2012-02-22  Alan Mackenzie  <acm@muc.de>
11877         * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
11879 2012-02-22  Glenn Morris  <rgm@gnu.org>
11881         * ffap.el (ffap-c-path):
11882         * man.el (Man-header-file-path): Handle multiarch.  (Bug#10702)
11884 2012-02-22  Chong Yidong  <cyd@gnu.org>
11886         * custom.el (load-theme): Doc fix.
11888 2012-02-22  Glenn Morris  <rgm@gnu.org>
11890         * dired-x.el (dired-guess-shell-alist-default):
11891         Remove escape sequences from nroff output.  (Bug#172)
11893 2012-02-21  Glenn Morris  <rgm@gnu.org>
11895         * vc/emerge.el (emerge-defvar-local):
11896         Set `permanent-local' property rather than unused `preserved'.
11898         * textmodes/picture.el (picture-delete-char): New alias.
11899         (picture-mode-map): Use it.  (Bug#10860)
11900         (picture-mode): Doc fix.
11902 2012-02-21  Juanma Barranquero  <lekktu@gmail.com>
11904         * newcomment.el (uncomment-region-default): Remove unused binding.
11906 2012-02-21  Glenn Morris  <rgm@gnu.org>
11908         * textmodes/picture.el (picture-motion, picture-motion-reverse)
11909         (picture-self-insert, picture-tab-chars): Doc fix.
11910         (picture-mode-map): Fix C-a, C-e.
11912 2012-02-20  Glenn Morris  <rgm@gnu.org>
11914         * emacs-lisp/authors.el (authors-aliases): Add another entry.
11916 2012-02-20  Leo Liu  <sdl.web@gmail.com>
11918         * icomplete.el (icomplete-completions): Check FROM arg before
11919         passing to substring (Bug#10850).
11921 2012-02-19  Chong Yidong  <cyd@gnu.org>
11923         * comint.el: Require ansi-color.
11924         (comint-output-filter-functions): Add ansi-color-process-output.
11926         * ansi-color.el: Don't set comint-output-filter-functions; it is
11927         now in the initial value defined in comint.el.
11928         (ansi-color-apply-face-function): New variable.
11929         (ansi-color-apply-on-region): Use it.
11930         (ansi-color-apply-overlay-face): New function.
11932         * shell.el (shell): No need to require ansi-color.
11933         (shell-mode): Use ansi-color-apply-face-function to highlight
11934         color escapes using font-lock-face property (Bug#10835).
11936 2012-02-19  Chong Yidong  <cyd@gnu.org>
11938         * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
11939         mode-line formats (Bug#10839).
11941 2012-02-18  Glenn Morris  <rgm@gnu.org>
11943         * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
11945         * mail/undigest.el (unforward-rmail-message): Doc fix.
11947         * saveplace.el (save-place-ignore-files-regexp): Add :version.
11949 2012-02-18  Eli Zaretskii  <eliz@gnu.org>
11951         * international/characters.el (script-list): Sync with the latest
11952         Unicode Character Database.
11954 2012-02-18  Andreas Schwab  <schwab@linux-m68k.org>
11956         * international/titdic-cnv.el: Remove duplicate coding tag.
11957         * language/cham.el: Likewise.
11958         * language/tai-viet.el: Likewise.
11960 2012-02-18  Glenn Morris  <rgm@gnu.org>
11962         * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
11963         * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
11964         (calendar-bahai-all-holidays-flag, calendar-other-dates):
11965         * calendar/diary-lib.el (diary-abbreviated-year-flag):
11966         * calendar/holidays.el (holiday-bahai-holidays)
11967         (calendar-holidays, list-holidays):
11968         Use utf-8 Bahá'í in doc-strings, menus, etc.
11970 2012-02-17  Tassilo Horn  <tassilo@member.fsf.org>
11972         * saveplace.el (save-place-ignore-files-regexp): New variable
11973         allowing for excluding files from saving their location of point.
11974         The default value matches the temporary commit message editing
11975         files from Git, SVN, Bazaar, and Mercurial.
11976         (save-place-to-alist): Use it.
11978 2012-02-17  Lawrence Mitchell  <wence@gmx.li>
11979             Stefan Monnier  <monnier@iro.umontreal.ca>
11981         * newcomment.el (uncomment-region-default): Don't leave extra space
11982         when an arg is provided (bug#8150).
11984 2012-02-17  Teodor Zlatanov  <tzz@lifelogs.com>
11986         * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
11988 2012-02-17  Glenn Morris  <rgm@gnu.org>
11990         * net/socks.el: Require network-stream.  (Bug#10599)
11992 2012-02-17  Kenichi Handa  <handa@m17n.org>
11994         * international/charprop.el:
11995         * international/uni-name.el:
11996         * international/uni-old-name.el:
11997         * international/uni-comment.el: Regenerate.
11999 2012-02-16  Glenn Morris  <rgm@gnu.org>
12001         * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
12002         Interactively in calendar buffer, give an error if not on a date.
12004 2012-02-15  Glenn Morris  <rgm@gnu.org>
12006         * shell.el (shell-delimiter-argument-list):
12007         Revert 2011-02-17 change.  (Bug#8027)
12009 2012-02-15  Chong Yidong  <cyd@gnu.org>
12011         * minibuffer.el (completion-at-point-functions): Doc fix.
12013         * custom.el (defcustom): Doc fix; note use of defvar.
12015 2012-02-15  Glenn Morris  <rgm@gnu.org>
12017         * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
12018         Doc fixes.
12020 2012-02-14  Glenn Morris  <rgm@gnu.org>
12022         * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
12024 2012-02-14  Lars Ingebrigtsen  <larsi@gnus.org>
12026         * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
12027         way the ports list is computed.
12028         (smtpmail-query-smtp-server): Prompt the user for a port number if
12029         we can't connect to any of the standard ports (bug#10810).
12031 2012-02-14  Teodor Zlatanov  <tzz@lifelogs.com>
12033         * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
12035 2012-02-13  Glenn Morris  <rgm@gnu.org>
12037         * minibuffer.el (read-file-name): Doc fix.  (Bug#10798)
12039 2012-02-13  Teodor Zlatanov  <tzz@lifelogs.com>
12041         * net/gnutls.el (gnutls-trustfiles): New variable.
12042         (gnutls-negotiate): Use it.
12044 2012-02-13  Lars Ingebrigtsen  <larsi@gnus.org>
12046         * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
12047         does its stuff if Gnus is running.
12049 2012-02-13  Alan Mackenzie  <acm@muc.de>
12051         Fix a loop in c-set-fl-decl-start.
12053         * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
12054         c-backward-syntactic-ws actually moves backwards.
12056 2012-02-13  Leo Liu  <sdl.web@gmail.com>
12058         * net/rcirc.el (rcirc-markup-attributes): Move point to the
12059         beginning so that all \C-o chars are removed.
12061 2012-02-12  Teodor Zlatanov  <tzz@lifelogs.com>
12063         * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
12065 2012-02-12  Alan Mackenzie  <acm@muc.de>
12067         Fix infinite loop with long macros.
12068         * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
12070 2012-02-12  Chong Yidong  <cyd@gnu.org>
12072         * window.el (display-buffer): Doc fix (Bug#10785).
12074 2012-02-12  Glenn Morris  <rgm@gnu.org>
12076         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
12077         (x-disown-selection-internal, x-get-selection-internal):
12078         Sync docs with the xselect.c versions.
12080         * allout-widgets.el: Add missing license notice.
12082 2012-02-11  Glenn Morris  <rgm@gnu.org>
12084         * select.el (x-get-selection-internal, x-own-selection-internal)
12085         (x-disown-selection-internal):
12086         * x-dnd.el (x-get-selection-internal): Update declarations.
12088         * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
12090         * window.el (window-sides-slots):
12091         * tool-bar.el (tool-bar-position):
12092         * term/xterm.el (xterm-extra-capabilities):
12093         * ses.el (ses-self-reference-early-detection):
12094         * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
12095         (verilog-auto-wire-type)
12096         (verilog-auto-delete-trailing-whitespace)
12097         (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
12098         (verilog-auto-tieoff-declaration):
12099         * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
12100         (sql-oracle-statement-starters, sql-oracle-scan-on):
12101         * progmodes/prolog.el (prolog-align-comments-flag)
12102         (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
12103         (prolog-left-indent-regexp, prolog-paren-indent-p)
12104         (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
12105         (prolog-types, prolog-mode-specificators)
12106         (prolog-determinism-specificators, prolog-directives)
12107         (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
12108         (prolog-electric-dot-flag)
12109         (prolog-electric-dot-full-predicate-template)
12110         (prolog-electric-underscore-flag, prolog-electric-tab-flag)
12111         (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
12112         (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
12113         (prolog-program-switches, prolog-prompt-regexp)
12114         (prolog-debug-on-string, prolog-debug-off-string)
12115         (prolog-trace-on-string, prolog-trace-off-string)
12116         (prolog-zip-on-string, prolog-zip-off-string)
12117         (prolog-use-standard-consult-compile-method-flag)
12118         (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
12119         (prolog-imenu-max-lines, prolog-info-predicate-index)
12120         (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
12121         (prolog-char-quote-workaround):
12122         * progmodes/cc-vars.el (c-defun-tactic):
12123         * net/tramp.el (tramp-encoding-command-interactive)
12124         (tramp-local-end-of-line):
12125         * net/soap-client.el (soap-client):
12126         * net/netrc.el (netrc-file):
12127         * net/gnutls.el (gnutls):
12128         * minibuffer.el (completion-category-overrides)
12129         (completion-cycle-threshold)
12130         (completion-pcm-complete-word-inserts-delimiters):
12131         * man.el (Man-name-local-regexp):
12132         * mail/feedmail.el (feedmail-display-full-frame):
12133         * international/characters.el (glyphless-char-display-control):
12134         * eshell/em-ls.el (eshell-ls-date-format):
12135         * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
12136         (lisp-lambda-list-keyword-parameter-indentation)
12137         (lisp-lambda-list-keyword-parameter-alignment):
12138         * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
12139         * dired-x.el (dired-omit-verbose):
12140         * cus-theme.el (custom-theme-allow-multiple-selections):
12141         * calc/calc.el (calc-highlight-selections-with-faces)
12142         (calc-lu-field-reference, calc-lu-power-reference)
12143         (calc-note-threshold):
12144         * battery.el (battery-mode-line-limit):
12145         * arc-mode.el (archive-7z-extract, archive-7z-expunge)
12146         (archive-7z-update):
12147         * allout.el (allout-prefixed-keybindings)
12148         (allout-unprefixed-keybindings)
12149         (allout-inhibit-auto-fill-on-headline)
12150         (allout-flattened-numbering-abbreviation):
12151         * allout-widgets.el (allout-widgets-auto-activation)
12152         (allout-widgets-icons-dark-subdir)
12153         (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
12154         (allout-widgets-theme-dark-background)
12155         (allout-widgets-theme-light-background)
12156         (allout-widgets-item-image-properties-emacs)
12157         (allout-widgets-item-image-properties-xemacs)
12158         (allout-widgets-run-unit-tests-on-load)
12159         (allout-widgets-time-decoration-activity)
12160         (allout-widgets-hook-error-post-time)
12161         (allout-widgets-track-decoration):
12162         Add missing :version tags to new defcustoms and defgroups.
12164         * progmodes/sql.el (sql-ansi-statement-starters)
12165         (sql-oracle-statement-starters): Add custom type.
12167         * progmodes/prolog.el: Remove leading '*' from defcustom docs.
12168         (prolog-system-version): Give it a type.
12170 2012-02-11  Eli Zaretskii  <eliz@gnu.org>
12172         * term/pc-win.el (x-select-text, x-selection-owner-p)
12173         (x-own-selection-internal, x-disown-selection-internal)
12174         (x-get-selection-internal): Sync doc strings and argument lists
12175         with xselect.c, common-win.el and x-win.el.  (Bug#10783)
12177 2012-02-11  Leo Liu  <sdl.web@gmail.com>
12179         * progmodes/python.el (python-end-of-statement): Fix infinite
12180         loop.  (Bug#10788)
12182 2012-02-10  Glenn Morris  <rgm@gnu.org>
12184         * international/mule-cmds.el (unify-8859-on-encoding-mode)
12185         (unify-8859-on-decoding-mode): Properly mark as obsolete.
12187 2012-02-10  Lars Ingebrigtsen  <larsi@gnus.org>
12189         * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
12190         about SMTP before checking the From header.
12192         * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
12193         into own function for reuse by emacsbug.el.
12195 2012-02-10  Leo Liu  <sdl.web@gmail.com>
12197         * subr.el (condition-case-unless-debug): Rename from
12198         condition-case-no-debug.  All callers changed.
12199         (with-demoted-errors): Fix caller.
12201         * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
12202         * nxml/rng-valid.el (rng-do-some-validation):
12203         * emacs-lisp/package.el (package-refresh-contents)
12204         (package-menu-execute):
12205         * desktop.el (desktop-create-buffer):
12206         * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
12208 2012-02-10  Glenn Morris  <rgm@gnu.org>
12210         * textmodes/bibtex.el:
12211         Add missing :version tags for new/changed defcustoms.
12213         * files.el (remote-file-name-inhibit-cache): Doc fixes.
12215 2012-02-09  Lars Ingebrigtsen  <larsi@rusty>
12217         * mail/smtpmail.el (smtpmail-user-mail-address): New function.
12218         (smtpmail-via-smtp): Use it, or fall back on the From address.
12219         (smtpmail-send-it): Ditto.
12221 2012-02-09  Stefan Monnier  <monnier@iro.umontreal.ca>
12223         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
12224         Don't fallback on byte-compile-defvar.  Optimize (defvar foo) away.
12225         (byte-compile-tmp-var): New const.
12226         (byte-compile-defvar): Use it to minimize .elc size.
12227         Just use `defvar' rather than simulate it (bug#10761).
12229 2012-02-09  Glenn Morris  <rgm@gnu.org>
12231         * files.el (rename-uniquely): Doc fix.  (Bug#3806)
12233         * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
12234         Add :version tags.
12236         * progmodes/compile.el (compilation-error-screen-columns)
12237         (compilation-first-column, compilation-filter-start): Doc fixes.
12239         * vc/log-view.el (log-view-toggle-entry-display):
12240         * vc/vc.el (vc-merge, vc-pull): Doc fixes.
12242         * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
12243         (report-emacs-bug-can-use-xdg-email):
12244         (report-emacs-bug-insert-to-mailer): Doc fixes.
12245         (report-emacs-bug): Message fix.
12247         * net/browse-url.el (browse-url-can-use-xdg-open)
12248         (browse-url-xdg-open): Doc fixes.
12250         * electric.el (electric-indent-mode, electric-pair-mode)
12251         (electric-layout-rules, electric-layout-mode): Doc fixes.
12252         (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
12254 2012-02-08  Martin Rudalics  <rudalics@gmx.at>
12256         * server.el (server-unselect-display): Don't inadvertently kill
12257         the current buffer.  (Bug#10729)
12259 2012-02-08  Glenn Morris  <rgm@gnu.org>
12261         * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
12262         (sql-list-table): Doc fixes.
12264         * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
12265         Comment out (does nothing).
12267         * completion.el (dynamic-completion-mode):
12268         * dirtrack.el (dirtrack-debug-mode):
12269         * electric.el (electric-layout-mode):
12270         * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
12271         * face-remap.el (text-scale-mode, buffer-face-mode):
12272         * iimage.el (iimage-mode):
12273         * image-mode.el (image-transform-mode):
12274         * minibuffer.el (completion-in-region-mode):
12275         * scroll-lock.el (scroll-lock-mode):
12276         * simple.el (next-error-follow-minor-mode):
12277         * tar-mode.el (tar-subfile-mode):
12278         * tooltip.el (tooltip-mode):
12279         * vcursor.el (vcursor-use-vcursor-map):
12280         * wid-browse.el (widget-minor-mode):
12281         * emulation/tpu-edt.el (tpu-edt-mode):
12282         * emulation/tpu-extras.el (tpu-cursor-free-mode):
12283         * international/iso-ascii.el (iso-ascii-mode):
12284         * language/thai-util.el (thai-word-mode):
12285         * mail/supercite.el (sc-minor-mode):
12286         * net/goto-addr.el (goto-address-mode):
12287         * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
12288         * progmodes/cwarn.el (cwarn-mode):
12289         * progmodes/flymake.el (flymake-mode):
12290         * progmodes/glasses.el (glasses-mode):
12291         * progmodes/hideshow.el (hs-minor-mode):
12292         * progmodes/pascal.el (pascal-outline-mode):
12293         * textmodes/enriched.el (enriched-mode):
12294         * vc/smerge-mode.el (smerge-mode):
12295         Doc fixes (minor mode argument).
12297 2012-02-07  Eli Zaretskii  <eliz@gnu.org>
12299         * ls-lisp.el (ls-lisp-sanitize): New function.
12300         (ls-lisp-insert-directory): Use it to fix or remove any elements
12301         in file-alist with missing attributes.  (Bug#4673)
12303 2012-02-07  Alan Mackenzie  <acm@muc.de>
12305         Fix spurious recognition of c-in-knr-argdecl.
12307         * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
12308         putative K&R region.
12310 2012-02-07  Alan Mackenzie  <acm@muc.de>
12312         * progmodes/cc-engine.el (c-forward-objc-directive):
12313         Prevent looping in "#pragma mark @implementation".
12315 2012-02-07  Michael Albinus  <michael.albinus@gmx.de>
12317         * notifications.el (notifications-on-closed-signal): Make `reason'
12318         optional.  (Bug#10744)
12320 2012-02-07  Glenn Morris  <rgm@gnu.org>
12322         * emacs-lisp/easy-mmode.el (define-minor-mode):
12323         Doc fixes for the macro and the mode it defines.
12325         * image.el (imagemagick-types-inhibit): Doc fix.
12327         * cus-start.el (imagemagick-render-type): Add it.
12329 2012-02-06  Lars Ingebrigtsen  <larsi@gnus.org>
12331         * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
12332         Set the default at load time, too, so that `font-lock-fontify-buffer'
12333         can be called without setting up the entire mode first.  This fixes
12334         a bug in `mm-inline-text' with C MIME parts.
12336 2012-02-06  Chong Yidong  <cyd@gnu.org>
12338         * simple.el (list-processes--refresh): Delete exited processes
12339         (Bug#8094).
12341         * comint.el (comint-next-prompt): next-single-char-property-change
12342         and prev-single-char-property-change never return nil (Bug#8657).
12344         * custom.el (defcustom): Doc fix (Bug#9711).
12346 2012-02-05  Chong Yidong  <cyd@gnu.org>
12348         * cus-edit.el (custom-variable-reset-backup): Quote the value
12349         before storing it in the customized-value property (Bug#6712).
12350         (custom-display): Add a customization type tag.
12351         (custom-buffer-create-internal): Improve tooltip message.
12353         * wid-edit.el (widget-field-value-get): New optional arg to
12354         suppress trailing whitespace truncation.
12355         (character): Use it (Bug#2689).
12357 2012-02-05  Andreas Schwab  <schwab@linux-m68k.org>
12359         * progmodes/gud.el (gud-pv): Use pv instead of pv1.
12360         * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
12362 2012-02-05  Chong Yidong  <cyd@gnu.org>
12364         * cus-edit.el (custom-variable-value-create): For mismatched
12365         types, show the current value (Bug#7600).
12367         * custom.el (defcustom): Doc fix.
12369 2012-02-05  Glenn Morris  <rgm@gnu.org>
12371         * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
12373 2012-02-05  Juanma Barranquero  <lekktu@gmail.com>
12375         * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
12376         (pp-buffer): Use `ignore-errors', `looking-at-p'.
12377         (pp-last-sexp): Use `looking-at-p'.
12379 2012-02-04  Glenn Morris  <rgm@gnu.org>
12381         * files.el (revert-buffer):
12382         Doc fix (mention revert-buffer-in-progress-p).
12384         * emacs-lisp/ert-x.el (ert-simulate-command):
12385         Check deferred-action-list (which is obsolete) is bound.
12387         * subr.el (with-wrapper-hook): Doc fixes.
12389         * simple.el (filter-buffer-substring-functions)
12390         (buffer-substring-filters, filter-buffer-substring): Doc fixes.
12392 2012-02-04  Lars Ljung  <lars@matholka.se>  (tiny change)
12394         * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
12395         anywhere in shell-file-name, not just at the beginning.  (Bug#10523)
12397 2012-02-04  Leo Liu  <sdl.web@gmail.com>
12399         * emacs-lisp/smie.el: Fix dead link (Bug#10711).
12401 2012-02-04  Glenn Morris  <rgm@gnu.org>
12403         * image.el (image-extension-data): Add obsolete alias.
12405         * isearch.el (isearch-update): Doc fix.
12407         * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
12409         * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
12411 2012-02-03  Glenn Morris  <rgm@gnu.org>
12413         * image.el (image-animated-p): Doc fix.  Use image-animated-types.
12414         (image-animate-timeout): Doc fix.
12416         * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
12418 2012-02-02  Glenn Morris  <rgm@gnu.org>
12420         * server.el (server-auth-dir): Doc fix.
12421         (server-eval-at): Doc fix.  Give an explicit error if !server-use-tcp.
12423         * subr.el (run-mode-hooks): Doc fix.
12425 2012-02-02  Juri Linkov  <juri@jurta.org>
12427         * image-mode.el (image-toggle-display-image): Remove tautological
12428         `major-mode' from the `derived-mode-p' test.
12430 2012-02-02  Kenichi Handa  <handa@m17n.org>
12432         * composite.el (compose-region): Cancel previous change.
12434 2012-02-02  Kenichi Handa  <handa@m17n.org>
12436         * composite.el (compose-region, compose-string): Signal error for
12437         a null string component (Bug#6988).
12439 2012-02-01  Chong Yidong  <cyd@gnu.org>
12441         * view.el (view-buffer-other-window, view-buffer-other-frame):
12442         Handle special modes like view-buffer (Bug#10650).
12443         (view-buffer): Simplify.
12445         * frame.el (set-frame-font): Tweak meaning of third argument.
12447         * dynamic-setting.el (font-setting-change-default-font):
12448         Use set-frame-font (Bug#9982).
12450 2012-02-01  Glenn Morris  <rgm@gnu.org>
12452         * progmodes/compile.el (compilation-internal-error-properties):
12453         Respect compilation-first-column in the "*compilation*" buffer.
12455         * emacs-lisp/easy-mmode.el (define-minor-mode):
12456         Relax :variable's test for a named function.
12458 2012-01-31  Alan Mackenzie  <acm@muc.de>
12460         * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
12461         off by one error.
12463 2012-01-31  Chong Yidong  <cyd@gnu.org>
12465         * frame.el (set-frame-font): New arg ALL-FRAMES.
12467         * menu-bar.el (menu-set-font): Use set-frame-font.
12469         * faces.el (face-spec-reset-face): Don't apply unspecified
12470         attribute values to the default face.
12472 2012-01-31  Juanma Barranquero  <lekktu@gmail.com>
12474         * progmodes/cwarn.el (cwarn): Remove dead link.
12475         (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
12476         Remove * from defcustom docstrings.
12477         (turn-on-cwarn-mode): Make obsolete.
12478         (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
12479         (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
12481 2012-01-31  Glenn Morris  <rgm@gnu.org>
12483         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
12484         Fix :variable handling of mode a symbol not equal to modefun.
12485         Allow named functions to be used as the cdr of :variable.
12487 2012-01-30  Glenn Morris  <rgm@gnu.org>
12489         * emacs-lisp/authors.el (authors-fixed-entries):
12490         Remove reference to deleted file rnewspost.el.
12492 2012-01-29  Juanma Barranquero  <lekktu@gmail.com>
12494         * window.el (window-with-parameter): Remove unused variable `windows'.
12495         (window--side-check): Remove unused variable `code'.
12496         (window--resize-siblings): Remove unused variable `first'.
12497         (adjust-window-trailing-edge): Remove unused variable `failed'.
12498         (window-deletable-p, window--delete): Remove unused variable `buffer'.
12499         Use `let', not `let*'.
12500         (balance-windows-2): Remove unused variable `found'.
12501         (window--state-put-2): Remove unused variable `splits'.
12502         (window-state-put): Remove unused variable `selected'.
12503         (same-window-p): Use `string-match-p'.
12504         (display-buffer-assq-regexp): Remove unused variable `value'.
12505         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
12506         Mark argument ALIST as ignored.
12507         (pop-to-buffer): Remove unused variable `old-window'.
12509 2012-01-29  Eli Zaretskii  <eliz@gnu.org>
12511         * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
12512         and .lzma compressed files.
12514 2012-01-29  Chong Yidong  <cyd@gnu.org>
12516         * frame.el (window-system-default-frame-alist): Doc fix.
12518         * dynamic-setting.el (font-setting-change-default-font): Don't
12519         change the default face if SET-FONT argument is non-nil (Bug#9982).
12521 2012-01-29  Samuel Bronson  <naesten@gmail.com>
12523         * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
12525 2012-01-29  Syver Enstad  <syver.enstad@cisco.com>  (tiny change)
12527         * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
12528         breakpoints in files outside current directory (Bug#6098).
12530 2012-01-29  Chong Yidong  <cyd@gnu.org>
12532         * progmodes/python.el: Require ansi-color at top-level.
12534         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
12535         Define and use in Emacs Lisp mode (Bug#9360).
12536         (lisp-mode-abbrev-table): Add doc.
12537         (lisp-mode-variables): Don't set local-abbrev-table.
12538         (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
12540 2012-01-28  Roland Winkler  <winkler@gnu.org>
12542         * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
12544 2012-01-28  Roland Winkler  <winkler@gnu.org>
12546         * textmodes/bibtex.el (bibtex-entry-alist): New function.
12547         (bibtex-set-dialect): Use it.  Either set global values of
12548         dialect-dependent variables or bind these variables buffer-locally
12549         (Bug#10254).
12550         (bibtex-mode): Call bibtex-set-dialect via
12551         hack-local-variables-hook.
12552         (bibtex-dialect): Update docstring.
12553         Add safe-local-variable predicate.
12554         (bibtex-entry-alist, bibtex-field-alist): Initialize via
12555         bibtex-set-dialect.
12556         (bibtex-mode-map): Define menu for each dialect.
12557         (bibtex-entry): Fix docstring.
12559 2012-01-28  Chong Yidong  <cyd@gnu.org>
12561         * eshell/esh-arg.el (eshell-quote-argument): New function.
12563         * eshell/esh-ext.el (eshell-invoke-batch-file):
12564         * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
12565         first arg to eshell-parse-command (Bug#10523).
12567 2012-01-28  Drew Adams  <drew.adams@oracle.com>
12569         * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
12570         `default-directory' is non-nil.
12572 2012-01-28  Eli Zaretskii  <eliz@gnu.org>
12574         * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
12575         line that displays system-configuration-options.  (Bug#9924)
12577 2012-01-28  Drew Adams  <drew.adams@oracle.com>
12579         * descr-text.el (describe-char): Show information about POS, in
12580         addition to information about the character at POS.  Improve and
12581         update the doc string.  Change "code point" to "code point in
12582         charset", to avoid confusion with the character's Unicode code
12583         point shown above that.  (Bug#10129)
12585 2012-01-28  Eli Zaretskii  <eliz@gnu.org>
12587         * descr-text.el (describe-char): Show the raw character, not only
12588         its display form at POS.  Suggested by Kenichi Handa <handa@m17n.org>.
12589         See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
12590         for the reasons.
12592 2012-01-28  Phil Hagelberg  <phil@hagelb.org>
12594         * emacs-lisp/package.el (package-install):
12595         Run package-refresh-contents if there is no archive yet (Bug#9798).
12597 2012-01-28  Chong Yidong  <cyd@gnu.org>
12599         * emacs-lisp/package.el (package-maybe-load-descriptor):
12600         New function, split from package-maybe-load-descriptor.
12601         (package-maybe-load-descriptor): Use it.
12602         (package-download-transaction): Fully load required packages
12603         inside the loop, so that `require' calls work (Bug#10593).
12604         (package-install): No need to call package-initialize now.
12606 2012-01-28  Chong Yidong  <cyd@gnu.org>
12608         * simple.el (deactivate-mark): Doc fix (Bug#8614).
12610         * tooltip.el (tooltip-mode): Doc fix.
12611         (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
12613         * frame.el (set-cursor-color): Doc fix (Bug#352).
12615         * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
12616         (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
12618         * cus-edit.el (custom-buffer-create-internal): Fix search button
12619         action (Bug#10542).
12620         (customize-unsaved, customize-saved): Doc fix (Bug#10541).
12622 2012-01-27  Eduard Wiebe  <usenet@pusto.de>
12624         * dired.el (dired-mark-files-regexp):
12625         Include any subdirectory components.  (Bug#10445)
12627 2012-01-27  Mike Lamb  <mrlamb@gmail.com>  (tiny change)
12629         * pcmpl-unix.el (pcmpl-ssh-known-hosts):
12630         Handle [host]:port syntax.  (Bug#10533)
12632 2012-01-27  Alex Harsanyi  <harsanyi@mac.com>
12634         * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
12636 2012-01-26  Glenn Morris  <rgm@gnu.org>
12638         * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
12639         * term.el (term-raw-escape-map): Use Control-X-prefix.
12640         * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map.  (Bug#10566)
12642 2012-01-25  Martin Rudalics  <rudalics@gmx.at>
12644         * window.el (window-state-get, window--state-get-1): Don't deal
12645         with fixed-sizeness of windows.  Simplify code.
12647 2012-01-25  Jérémy Compostella  <jeremy.compostella@gmail.com>
12649         * window.el (window--state-get-1, window--state-put-2):
12650         Don't save and restore the mark.
12652 2012-01-25  Chong Yidong  <cyd@gnu.org>
12654         * custom.el (custom-variable-p): Doc fix.
12656 2012-01-25  Glenn Morris  <rgm@gnu.org>
12658         * dired.el (dired-goto-file): Handle some of the more common
12659         characters that `ls -b' escapes.  (Bug#10596)
12661         * progmodes/compile.el (compilation-next-error-function):
12662         Respect compilation-first-column in the "*compilation*" buffer.
12663         * progmodes/grep.el (grep-first-column): New variable.  (Bug#10594)
12665         * vc/vc.el (vc-modify-change-comment): Scoping fix.  (Bug#10513)
12667 2012-01-24  Glenn Morris  <rgm@gnu.org>
12669         * pcmpl-gnu.el (pcomplete/tar): Handle " - ".  (Bug#10457)
12671 2012-01-24  Julien Danjou  <julien@danjou.info>
12673         * color.el (color-rgb-to-hsl): Fix value computing.
12674         (color-hue-to-rgb): New function.
12675         (color-hsl-to-rgb): New function.
12676         (color-clamp, color-saturate-hsl, color-saturate-name)
12677         (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
12678         (color-lighten-name, color-darken-hsl, color-darken-name): New function.
12680 2012-01-24  Glenn Morris  <rgm@gnu.org>
12682         * vc/vc-rcs.el (vc-rcs-create-tag):
12683         * vc/vc-sccs.el (vc-sccs-create-tag):
12684         Fix argument spec to be what vc-create-tag expects.  (Bug#10515)
12686 2012-01-23  Mike Lamb  <mrlamb@gmail.com>  (tiny change)
12688         * eshell/esh-util.el (eshell-read-hosts-file):
12689         Skip comment lines.  (Bug#10549)
12691         * eshell/em-unix.el (pcomplete/ssh): Remove.  (Bug#10548)
12693 2012-01-23  Juanma Barranquero  <lekktu@gmail.com>
12695         * subr.el (display-delayed-warnings): Doc fix.
12696         (collapse-delayed-warnings): New function to collapse identical
12697         adjacent warnings.
12698         (delayed-warnings-hook): Add it.
12700 2012-01-22  Michael Albinus  <michael.albinus@gmx.de>
12702         * net/tramp.el (tramp-action-login): Set connection property "login-as".
12704         * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
12705         (tramp-default-user-alist): Don't add "pscp".
12706         (tramp-do-copy-or-rename-file-out-of-band): Use connection
12707         property "login-as", if set.  (Bug#10530)
12709 2012-01-21  Michael Albinus  <michael.albinus@gmx.de>
12711         * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
12712         "plink1" and "psftp".  (Bug#10530)
12714 2012-01-21  Kenichi Handa  <handa@m17n.org>
12716         * international/mule-cmds.el (prefer-coding-system): Show a
12717         warning message if the default value of file-name-coding-system
12718         was not changed.
12720 2012-01-21  Jérémy Compostella  <jeremy.compostella@gmail.com>
12722         * windmove.el (windmove-reference-loc):
12723         Fix windmove-reference-loc miscalculation.
12725 2012-01-21  Jay Belanger  <jay.p.belanger@gmail.com>
12727         * calc/calc-units.el (math-put-default-units): Don't use "1" as a
12728         default unit.
12730 2012-01-21  Glenn Morris  <rgm@gnu.org>
12732         * international/mule.el (auto-coding-alist): Add .tbz.
12734         * files.el (local-enable-local-variables): Doc fix.
12735         (inhibit-local-variables-regexps): Rename from
12736         inhibit-first-line-modes-regexps.  Keep old name as obsolete alias.
12737         Doc fix.  Add some extensions from auto-coding-alist.
12738         (inhibit-local-variables-suffixes):
12739         Rename from inhibit-first-line-modes-suffixes.  Doc fix.
12740         (inhibit-local-variables-p):
12741         New function, extracted from set-auto-mode-1.
12742         (set-auto-mode): Doc fix.  Respect inhibit-local-variables-regexps.
12743         (set-auto-mode-1): Doc fix.  Use inhibit-local-variables-p.
12744         (hack-local-variables): Doc fix.  Make the mode-only case
12745         respect enable-local-variables and friends.
12746         Respect inhibit-local-variables-regexps for file-locals, but
12747         not for directory-locals.
12748         (set-visited-file-name):
12749         Take account of inhibit-local-variables-regexps.
12750         Whether it applies may change as the file name is changed.
12751         * jka-cmpr-hook.el (jka-compr-install):
12752         * jka-compr.el (jka-compr-uninstall):
12753         Update for inhibit-first-line-modes-suffixes name change.
12755 2012-01-20  Martin Rudalics  <rudalics@gmx.at>
12757         * help-macro.el (make-help-screen): Temporarily restore original
12758         binding for minor-mode-map-alist (Bug#10454).
12760 2012-01-19  Julien Danjou  <julien@danjou.info>
12762         * color.el (color-name-to-rgb): Use the white color to find the max
12763         color component value and return correctly computed values.
12764         (color-name-to-rgb): Add missing float conversion for max value.
12766 2012-01-19  Martin Rudalics  <rudalics@gmx.at>
12768         * window.el (window--state-get-1, window-state-get): Do not use
12769         special state value for window-persistent-parameters.
12770         Rename argument IGNORE to WRITABLE.  Rewrite doc-string.
12771         (window--state-put-2): Reset all window parameters to nil before
12772         assigning values of persistent parameters.
12774 2012-01-18  Alan Mackenzie  <acm@muc.de>
12776         Eliminate sluggishness and hangs in fontification of "semicolon
12777         deserts".
12779         * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
12780         Change value 10000 -> 3000.
12781         (c-state-safe-place): Reformulate so it doesn't stack up an
12782         infinite number of wrong entries in c-state-nonlit-pos-cache.
12783         (c-determine-limit-get-base, c-determine-limit): New functions to
12784         determine backward search limits disregarding literals.
12785         (c-find-decl-spots): Amend commenting.
12786         (c-cheap-inside-bracelist-p): New function which detects "={".
12788         * progmodes/cc-fonts.el
12789         (c-make-font-lock-BO-decl-search-function): Give a limit to a
12790         backward search.
12791         (c-font-lock-declarations): Fix an occurrence of point being
12792         undefined.  Check additionally for point being in a bracelist or
12793         near a macro invocation without a semicolon so as to avoid a
12794         fruitless time consuming search for a declarator.  Give a more
12795         precise search limit for declarators using the new
12796         c-determine-limit.
12798 2012-01-18  Glenn Morris  <rgm@gnu.org>
12800         * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
12801         (set-auto-mode): Doc fixes.
12803 2012-01-17  Glenn Morris  <rgm@gnu.org>
12805         * isearch.el (search-nonincremental-instead): Fix doc typo.
12807         * dired.el (dired-insert-directory): Handle newlines in directory name.
12808         (dired-build-subdir-alist): Unescape newlines in directory name.
12810 2012-01-17  Michael Albinus  <michael.albinus@gmx.de>
12812         * net/tramp.el (tramp-local-end-of-line): New defcustom.
12813         (tramp-action-login, tramp-action-yesno, tramp-action-yn)
12814         (tramp-action-terminal): Use it.  (Bug#10530)
12816 2012-01-16  Stefan Monnier  <monnier@iro.umontreal.ca>
12818         * minibuffer.el (completion--replace): Strip properties (bug#10062).
12820 2012-01-16  Martin Rudalics  <rudalics@gmx.at>
12822         * window.el (window-state-ignored-parameters): Remove variable.
12823         (window--state-get-1): Rename argument MARKERS to IGNORE.
12824         Handle persistent window parameters.  Make copy of clone-of
12825         parameter only if requested.  (Bug#10348)
12826         (window--state-put-2): Install a window parameter only if it has
12827         a non-nil value or an existing parameter shall be overwritten.
12829 2012-01-15  Michael Albinus  <michael.albinus@gmx.de>
12831         * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
12833 2012-01-14  Eli Zaretskii  <eliz@gnu.org>
12835         * info.el (Info-toc-build): If the Info file has no "Up" pointer,
12836         don't pass the (nil) value of `upnode' to string-match.
12838 2012-01-14  Chong Yidong  <cyd@gnu.org>
12840         * startup.el (command-line): Fix X resource class for cursorColor.
12841         Fix values recognized by the cursorBlink resource.
12843 2012-01-14  Paul Eggert  <eggert@cs.ucla.edu>
12845         * epg.el (epg--make-temp-file): Avoid permission race condition
12846         when running on old Emacs versions (bug#10403).
12848 2012-01-14  Glenn Morris  <rgm@gnu.org>
12850         * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
12852 2012-01-13  Alan Mackenzie  <acm@muc.de>
12854         Fix filling for when filladapt mode is enabled.
12856         * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
12857         c-mask-paragraph, pass in `fill-paragraph' rather than
12858         `fill-region-as-paragraph'.  (This is a reversion of a previous
12859         change.)
12860         * progmodes/cc-mode.el (c-basic-common-init):
12861         Make fill-paragraph-handle-comment buffer local and set it to nil.
12863 2012-01-13  Glenn Morris  <rgm@gnu.org>
12865         * dired.el (dired-switches-escape-p): New function.
12866         (dired-insert-directory): Use dired-switches-escape-p.
12867         (dired-get-filename): Undo "\ " quoting if needed.  (Bug#10469)
12869         * find-dired.el (find-ls-option): Doc fix.  (Bug#10262)
12871 2012-01-12  Glenn Morris  <rgm@gnu.org>
12873         * mail/sendmail.el (mail-mode): Update paragraph-separate for
12874         changes in adaptive-fill-regexp.  (Bug#10276)
12876 2012-01-11  Alan Mackenzie  <acm@muc.de>
12878         Fix Emacs bug #10463 - put `widen's around the critical spots.
12880         * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
12881         widen around each invocation of c-state-pp-to-literal.  Remove an
12882         unused let variable.
12884 2012-01-11  Glenn Morris  <rgm@gnu.org>
12886         * dired-aux.el (dired-do-shell-command): Fix */? logic.  (Bug#6561)
12887         Doc fix.
12889 2012-01-10  Chong Yidong  <cyd@gnu.org>
12891         * net/network-stream.el (network-stream-open-starttls):
12892         Avoid emitting a confusing error message when the server gives a bad
12893         response to the capability command.
12895 2012-01-10  Glenn Morris  <rgm@gnu.org>
12897         * mail/unrmail.el (unrmail): Tweak previous change.
12899 2012-01-09  Chong Yidong  <cyd@gnu.org>
12901         * custom.el (custom-safe-themes): Use SHA-256 for hashing.
12903 2012-01-08  Alan Mackenzie  <acm@muc.de>
12905         Optimise font locking in long enum definitions.
12907         * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
12908         arm to a cond form to handle enums.
12909         * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
12910         * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
12912 2012-01-07  Paul Eggert  <eggert@cs.ucla.edu>
12914         * files.el (move-file-to-trash): Preserve default file modes on error.
12915         (Bug#10401)
12917 2012-01-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12919         * faces.el (set-face-attribute): Clarify the meaning of the nil
12920         frame (bug#10294).
12922         * subr.el (with-selected-frame): Mention that the selected frame
12923         is restored (bug#9980).
12925         * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
12926         (bug#9759).
12928         * mail/smtpmail.el (password-cache-add): Remove unused declaration.
12929         (password-read): Don't autoload unused function.
12931 2012-01-07  Juanma Barranquero  <lekktu@gmail.com>
12933         * progmodes/which-func.el (which-func-mode): Turn into a
12934         non-interactive function and mark as obsolete (bug#10428).
12936 2012-01-06  Chong Yidong  <cyd@gnu.org>
12938         * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
12939         (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
12940         functions, along with 1 and -1.
12942 2012-01-06  Eli Zaretskii  <eliz@gnu.org>
12944         * time.el (display-time-load-average)
12945         (display-time-default-load-average): Doc fixes.  See the thread
12946         starting at
12947         http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
12948         for the details.
12950 2012-01-06  Glenn Morris  <rgm@gnu.org>
12952         * mail/unrmail.el (unrmail): Give an explicit error if the input file
12953         has no messages.  (Bug#10377)
12955         * info.el (Info-mode-map): Bind e to end-of-buffer, rather
12956         than Info-edit.  (Bug#10385)
12958         * time.el (display-time-load-average, display-time-next-load-average):
12959         Doc fixes.
12961         * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
12962         local setting of buffer-read-only to the input buffer.  (Bug#10419)
12964         * calendar/calendar.el (calendar-mode):
12965         Locally set scroll-margin to 0.  (Bug#10379)
12967 2012-01-06  Ulrich Mueller  <ulm@gentoo.org>
12969         * play/doctor.el (doctor-death): Escape "," characters.  (Bug#10370)
12971 2012-01-05  Glenn Morris  <rgm@gnu.org>
12973         * eshell/em-unix.el (diff-no-select): Autoload it.
12974         (eshell/diff): Use diff-no-select.  (Bug#10420)
12976 2012-01-05  Chong Yidong  <cyd@gnu.org>
12978         * shell.el (shell-dynamic-complete-functions): Revert last change.
12979         (shell-command-completion-function): New function.
12980         (shell-completion-vars): Use it to implement
12981         shell-completion-execonly (Bug#10417).
12983         * custom.el (enable-theme): Don't set custom-safe-themes.
12985         * cus-theme.el (custom-theme-merge-theme):
12986         Ignore custom-enabled-themes and custom-safe-themes.
12988 2012-01-05  Michael R. Mauger  <mmaug@yahoo.com>
12990         * progmodes/sql.el (sql-login-hook): Add hook to respond to the
12991         first prompt in `sql-interacive-mode'.
12992         (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
12993         keywords.
12994         (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
12995         (sql-product-interactive): Bug fix: Set `sql-buffer' in
12996         context of original buffer.  Invoke `sql-login-hook'.
12998 2012-01-04  Eli Zaretskii  <eliz@gnu.org>
13000         * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
13001         letters in cite-prefix.
13003 2012-01-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13005         * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
13007 2012-01-03  Chong Yidong  <cyd@gnu.org>
13009         * shell.el (shell-dynamic-complete-functions):
13010         Put pcomplete-completions-at-point, so as to try
13011         comint-filename-completion first (Bug#10417).
13013 2012-01-02  Richard Stallman  <rms@gnu.org>
13015         * battery.el (battery-status-function):
13016         Detect when to use battery-yeeloong-sysfs.
13017         (battery-echo-area-format): Add string for Yeeloong.
13018         (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
13019         (battery-yeeloong-sysfs): New function.
13021 2012-01-02  Chong Yidong  <cyd@gnu.org>
13023         * dirtrack.el (dirtrack-list): Eliminate unused third element.
13024         (dirtrack): Merge code for handling relative filenames in prompt
13025         from shell-dir-cookie-watcher.
13026         (dirtrack-debug-message): New arg to avoid excess format calls.
13028         * shell.el (shell-dir-cookie-re): Variable deleted.
13029         (shell-dir-cookie-watcher): Function deleted.
13030         (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
13031         with dirtrack-mode.
13033 2012-01-01  Eli Zaretskii  <eliz@gnu.org>
13035         * term/w32-win.el (dynamic-library-alist) <gnutls>:
13036         Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
13037         libgnutls-26.dll.
13039 2011-12-31  Andreas Schwab  <schwab@linux-m68k.org>
13041         * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
13043 2011-12-31  Eli Zaretskii  <eliz@gnu.org>
13045         * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
13046         headers of non-MIME messages, when rmail-enable-mime is non-nil.
13048 2011-12-29  Michael Albinus  <michael.albinus@gmx.de>
13050         * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
13051         also for alternative shells.
13052         (tramp-open-connection-setup-interactive-shell): Check, whether
13053         the shell is a busybox.
13054         (tramp-send-command): Don't suppress multiple prompts for
13055         busyboxes, it hurts.
13057 2011-12-28  Chong Yidong  <cyd@gnu.org>
13059         * progmodes/gdb-mi.el (gdb-get-source-file-list)
13060         (gdb-get-source-file): Move mode line update to
13061         gdb-get-source-file (Bug#10087).
13063 2011-12-25  Chong Yidong  <cyd@gnu.org>
13065         * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
13066         gud-gdb-marker-filter without taking it as an argument.
13067         (gud-gdb-run-command-fetch-lines): Caller changed.
13068         (gud-gdb-completion-function): New variable.
13069         (gud-gdb-completion-at-point): Use it.
13070         (gud-gdb-completions-1): Split from gud-gdb-completions.
13072         * progmodes/gdb-mi.el (gdb-input): Accept command and handler
13073         function as separate arguments.
13074         (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
13075         (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
13076         (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
13077         (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
13078         (gdb-stopped, def-gdb-auto-update-trigger)
13079         (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
13080         (gdb-get-changed-registers, gdb-get-main-selected-frame):
13081         Callers changed.
13082         (gud-gdbmi-completions): New function.
13083         (gdb): Use it for generating the completion table.
13085 2011-12-24  Alan Mackenzie  <acm@muc.de>
13087         Introduce a mechanism to widen the region used in context font
13088         locking.  Use this to protect declarations from losing their contexts.
13090         * progmodes/cc-langs.el (c-before-font-lock-functions):
13091         Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
13092         (c-before-context-fontification-functions): New defvar, a list of
13093         functions to be run just before context (etc.) font locking.
13095         * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
13096         New, functionality extracted from
13097         c-neutralize-syntax-in-and-mark-CPP.
13098         (c-in-after-change-fontification): New variable.
13099         (c-after-change): Set c-in-after-change-fontification.
13100         (c-set-fl-decl-start): Rejig its interface, so it can be called
13101         from both after-change and context fontifying.
13102         (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
13103         New functions.
13104         (c-standard-font-lock-fontify-region-function): New variable.
13105         (c-font-lock-fontify-region): New function.
13107 2011-12-24  Juri Linkov  <juri@jurta.org>
13109         * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
13110         (Bug#10348)
13112 2011-12-23  Michael Albinus  <michael.albinus@gmx.de>
13114         * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
13115         existence of source file.  (Bug#10325)
13117 2011-12-23  Alan Mackenzie  <acm@muc.de>
13119         Fix unstable fontification inside templates.
13121         * progmodes/cc-langs.el (c-before-font-lock-functions):
13122         Newly created from the singular version.  The (c c++ objc) entry now
13123         additionally has c-set-fl-decl-start.  The other languages (apart
13124         from AWK) have that as a single entry.
13126         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
13127         The functionality for "local" declarations has been extracted to
13128         c-set-fl-decl-start.
13130         * progmodes/cc-mode.el (c-common-init, c-after-change):
13131         Changes due to pluralisation of c-before-font-lock-functions.
13132         (c-set-fl-decl-start): New function, extracted from
13133         c-font-lock-enclosing-decls and enhanced.
13135 2011-12-23  Juanma Barranquero  <lekktu@gmail.com>
13137         * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
13139 2011-12-22  Juri Linkov  <juri@jurta.org>
13141         * progmodes/grep.el (rgrep): Fix docstring.  (Bug#10185)
13143 2011-12-22  Chong Yidong  <cyd@gnu.org>
13145         * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
13147 2011-12-21  Drew Adams  <drew.adams@oracle.com>
13149         * files.el (file-remote-p): Fix docstring.  (Bug#10319)
13151 2011-12-21  Jérémy Compostella  <jeremy.compostella@gmail.com>
13153         * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
13155 2011-12-21  Teodor Zlatanov  <tzz@lifelogs.com>
13157         * progmodes/cfengine.el: Add Version.  Improve CFEngine 3.x syntax
13158         highlighting and support.  Fix up comments for capitalization.
13159         (cfengine-mode-debug): New var.
13160         (cfengine3-mode): Change the modeline indicator to "CFE3".
13161         (cfengine3-font-lock-keywords): Improve defun highlighting.
13162         (cfengine2-actions): Rename from `cfengine-actions'.
13163         (cfengine2-font-lock-keywords): Rename from
13164         `cfengine-font-lock-keywords'.
13165         (cfengine2-imenu-expression): Rename from
13166         `cfengine-imenu-expression'.
13167         (cfengine2-outline-level): Rename from `cfengine-outline-level'.
13168         (cfengine2-beginning-of-defun): Rename from
13169         `cfengine-beginning-of-defun'.
13170         (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
13171         (cfengine2-indent-line): Rename from `cfengine-indent-line'.
13172         (cfengine2-mode): Rename from `cfengine-mode'.  Change the
13173         modeline indicator to "CFE2".
13174         (cfengine-mode): Defalias to `cfengine-auto-mode'.
13175         (cfengine-mode-abbrevs): Mark obsolete.
13177 2011-12-21  Chong Yidong  <cyd@gnu.org>
13179         * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
13180         filename argument.
13182 2011-12-20  Martin Rudalics  <rudalics@gmx.at>
13184         * window.el (window-normalize-buffer-to-display): Remove.
13185         (display-buffer): Handle buffer-or-name argument as in Emacs 23.
13187 2011-12-19  Chong Yidong  <cyd@gnu.org>
13189         * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
13190         Don't signal an error in a predicate function; return non-nil.
13191         (vc-dir-mark-file): Move the error here.
13192         (vc-dir-mark-unmark): If acting on the region, keep going if one
13193         of the entries cannot be marked/unmarked.
13194         (vc-dir-mark-all-files): If current entry is a directory, mark
13195         only child files, as documented.
13197 2011-12-19  Vincent Belaïche  <vincentb1@users.sourceforge.net>
13199         * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
13200         branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
13201         addition.
13203 2011-12-18  Jan Djärv  <jan.h.d@swipnet.se>
13205         * term/ns-win.el (ns-get-selection-internal)
13206         (ns-store-selection-internal): Declare.
13207         (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
13208         Declare as obsolete.
13209         (ns-get-pasteboard, ns-paste-secondary):
13210         Use ns-get-selection-internal.
13211         (ns-set-pasteboard, ns-copy-including-secondary):
13212         Use ns-store-selection-internal.
13214 2011-12-17  Chong Yidong  <cyd@gnu.org>
13216         * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
13217         (vc-deduce-fileset): Doc fix.
13219 2011-12-16  Andreas Schwab  <schwab@linux-m68k.org>
13221         * calc/calc-misc.el (calc-help): Avoid wrapping help message.
13223 2011-12-13  Sam Steingold  <sds@gnu.org>
13225         * man.el (Man-getpage-in-background): When running under a
13226         window-system, ignore $MANWIDTH and $COLUMNS.
13228 2011-12-15  Kenichi Handa  <handa@m17n.org>
13230         * language/ethio-util.el: Change coding tag to utf-8-emacs.
13231         (setup-ethiopic-environment-internal): Comment out key-binding for
13232         ethio-toggle-punctuation.
13234 2011-12-13  Alan Mackenzie  <acm@muc.de>
13236         Add the switch statement to AWK Mode.
13238         * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
13239         "default" to the keywords regexp.
13241         * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
13242         expression as the rest.
13243         (c-nonlabel-token-key): Allow string literals for AWK.
13244         Refactor for the other modes.
13246         Large brace-block initialisation makes CC Mode slow: Fix.
13247         Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13248         routines.  Limit backward searching in c-font-lock-enclosing.decl.
13250         * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
13251         pp-state and literal type in addition to the limits.
13252         (c-state-safe-place): New defun, extracted from c-state-literal-at.
13253         (c-state-literal-at): Use the above new defun.
13254         (c-slow-in-literal, c-fast-in-literal): Remove.
13255         (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13257         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
13258         being in a literal.  Add a limit for backward searching.
13260         * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
13261         c-slow-in-literal.
13263 2011-12-13  Stefan Monnier  <monnier@iro.umontreal.ca>
13265         * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
13267 2011-12-13  Martin Rudalics  <rudalics@gmx.at>
13269         * window.el (delete-other-windows): Use correct frame in call to
13270         window-with-parameter.
13272 2011-12-12  Daniel Pfeiffer  <occitan@t-online.de>
13274         * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
13275         (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
13276         (makefile-gmake-statements, makefile-makepp-statements):
13277         Use it and add new makepp keywords.
13278         (makefile-makepp-font-lock-keywords): Add new patterns.
13279         (makefile-match-function-end): Match new [...] and [[...]].
13281 2011-12-11  Juanma Barranquero  <lekktu@gmail.com>
13283         * ses.el (ses-call-printer-return, ses-cell-property-get)
13284         (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
13285         (ses-create-cell-variable, ses-reset-header-string)
13286         (ses-cell-set-formula, ses-repair-cell-reference-all)
13287         (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
13288         (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
13289         (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
13290         (ses-aset-with-undo, ses-load, ses-truncate-cell)
13291         (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
13292         (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
13293         (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
13294         (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
13295         (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
13296         (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
13297         (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
13298         (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
13300 2011-12-11  Vincent Belaïche  <vincentb1@users.sourceforge.net>
13302         * ses.el: The overall change is to add cell renaming, that is
13303         setting fancy names for cell symbols other than name matching
13304         "\\`[A-Z]+[0-9]+\\'" regexp .
13305         (ses-create-cell-variable): New defun.
13306         (ses-relocate-formula): Relocate formulas only for cells the
13307         symbols of which are not renamed, i.e. symbols whose names do not
13308         match regexp "\\`[A-Z]+[0-9]+\\'".
13309         (ses-relocate-all): Relocate values only for cells the symbols of
13310         which are not renamed.
13311         (ses-load): Create cells variables as the (ses-cell ...) are read,
13312         in order to check row col consistency with cell symbol name only
13313         for cells that are not renamed.
13314         (ses-replace-name-in-formula): New defun.
13315         (ses-rename-cell): New defun.
13317 2011-12-11  Chong Yidong  <cyd@gnu.org>
13319         * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
13320         for completion via gud-gdb-fetch-lines-filter (Bug#10274).
13322 2011-12-11  Eric Hanchrow  <eric.hanchrow@gmail.com>
13324         * window.el (other-window): Fix docstring.
13326 2011-12-10  Eli Zaretskii  <eliz@gnu.org>
13328         * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
13329         `from' or `to' address before taking its substring.
13330         Fixes incorrect display in Rmail summary buffer whereby an RFC2047
13331         encoded name is chopped in the middle of the encoded string, and
13332         thus displayed encoded.
13334 2011-12-10  Juanma Barranquero  <lekktu@gmail.com>
13336         * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
13338 2011-12-10  Eli Zaretskii  <eliz@gnu.org>
13340         * textmodes/texnfo-upd.el: Update commentary.  Add a warning not
13341         to use texinfo-update-node and commands that call it if the
13342         Texinfo file uses @node lines without next/prev/up pointers.
13343         Correct outdated description about texinfo-master-menu.
13344         (texinfo-all-menus-update, texinfo-master-menu)
13345         (texinfo-update-node, texinfo-every-node-update)
13346         (texinfo-multiple-files-update): Doc fix.  Warn against updating
13347         all the @node lines.
13348         (texinfo-master-menu): Only call texinfo-update-node if the prefix
13349         argument is numeric.  Explain better in the doc string what the
13350         function really does.
13351         (texinfo-insert-master-menu-list): Improve the error message
13352         displayed if there's no menu in the Top node.
13353         (Bug#2975)  See also this thread:
13354         http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
13356 2011-12-09  Manuel Gómez  <mgrojo@gmail.com>  (tiny change)
13358         * speedbar.el (speedbar-supported-extension-expressions):
13359         Add .adb and .ads, commonly used for Ada source code (bug#10256).
13361 2011-12-09  Juanma Barranquero  <lekktu@gmail.com>
13363         * printing.el (pr-mode-alist):
13364         * simple.el (filter-buffer-substring-functions)
13365         (completion-list-insert-choice-function):
13366         * window.el (window-with-parameter, window-atom-root)
13367         (window-sides-slots, window-size-fixed, window-min-delta)
13368         (window-max-delta, window--resize-mini-window)
13369         (window--resize-child-windows-normal, window-tree)
13370         (delete-other-windows, quit-window, split-window)
13371         (display-buffer-record-window, special-display-buffer-names)
13372         (special-display-regexps, special-display-popup-frame)
13373         (same-window-p, split-window-sensibly)
13374         (display-buffer-overriding-action, display-buffer-alist)
13375         (display-buffer-base-action, display-buffer, switch-to-buffer)
13376         (switch-to-buffer-other-window, switch-to-buffer-other-frame)
13377         (fit-window-to-buffer, recenter-positions)
13378         (mouse-autoselect-window-state, mouse-autoselect-window-select):
13379         * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
13380         and remove unneeded backslashes in docstrings.
13382 2011-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
13384         * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
13386         * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
13387         (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
13388         end in ".mk".
13389         (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
13390         when reading the makefile (bug#10116).
13392 2011-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
13394         * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
13395         (bug#10116).
13397 2011-12-06  Glenn Morris  <rgm@gnu.org>
13399         * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
13401 2011-12-06  Chong Yidong  <cyd@gnu.org>
13403         * progmodes/cc-fonts.el (c-annotation-face): Use defface.
13405 2011-12-06  Juanma Barranquero  <lekktu@gmail.com>
13407         * textmodes/table.el (table-shorten-cell): Fix typo.
13409 2011-12-05  Christopher Genovese  <genovese.cr@gmail.com>  (tiny change)
13411         * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
13413 2011-12-05  Eli Zaretskii  <eliz@gnu.org>
13415         * descr-text.el (describe-char): Fix display of strong
13416         right-to-left characters and directional embeddings and overrides.
13418         * simple.el (what-cursor-position): Fix display of codepoints of
13419         strong right-to-left characters.
13421 2011-12-05  Chong Yidong  <cyd@gnu.org>
13423         * faces.el (read-color): Doc fix.
13425 2011-12-05  Glenn Morris  <rgm@gnu.org>
13427         * align.el (align--set-marker): Add doc-string.
13428         Don't try to move something that is not a marker.  (Bug#10216)
13430 2011-12-04  Glenn Morris  <rgm@gnu.org>
13432         * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
13433         overly zealous deletion of trailing whitespace.
13435 2011-12-04  Juanma Barranquero  <lekktu@gmail.com>
13437         * server.el (server-delete-client): On Windows, do not try to delete
13438         the only terminal.
13439         (server-process-filter): On Windows, treat requests for a tty frame as
13440         if they were for a GUI frame if the running server is in GUI mode.
13442 2011-12-03  Glenn Morris  <rgm@gnu.org>
13444         * textmodes/texinfmt.el (batch-texinfo-format): Doc fix.  (Bug#10207)
13446 2011-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
13448         * electric.el: Streamline electric-indent's hook.
13449         (electric-indent-chars): Revert to simple list.
13450         (electric-indent-functions): New var.
13451         (electric-indent-post-self-insert-function): Use it.
13453         * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
13454         there's no inferior buffer (bug#10196).
13455         (prolog-consult-compile): Don't use toggle-read-only.
13457 2011-12-02  Michael Albinus  <michael.albinus@gmx.de>
13459         * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
13460         interrupt.  (Bug#10187)
13462 2011-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
13464         * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
13465         (bug#9160).
13467         * dired-aux.el (dired-query): Don't assume help-char is modifier-free
13468         (bug#10191).
13470 2011-12-02  Juri Linkov  <juri@jurta.org>
13472         * info.el (Info-search): Display "end of manual" when Isearch
13473         reaches the end of single-file Info manual.  (Bug#9918)
13475 2011-12-02  Eli Zaretskii  <eliz@gnu.org>
13477         * isearch.el (isearch-message-prefix): Run the input method part
13478         of the prompt through bidi-string-mark-left-to-right.  (Bug#10183)
13480 2011-12-02  Juri Linkov  <juri@jurta.org>
13482         * isearch.el (isearch-occur): Use `word-search-regexp' for
13483         `isearch-word'.
13484         (isearch-search-and-update): Add condition for `isearch-word' and
13485         call `word-search-regexp'.  (Bug#10145)
13487 2011-12-01  Glenn Morris  <rgm@gnu.org>
13489         * eshell/em-hist.el (eshell-hist-initialize):
13490         Handle eshell-history-size nil and HISTSIZE set or unset.
13491         (eshell-history-file-name, eshell-history-size): Fix custom type.
13493 2011-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
13495         * man.el (Man-completion-table): Fix the lambda case (bug#10168).
13497 2011-12-01  Michael McNamara  <mac@mail.brushroad.com>
13499         * progmodes/verilog-mode.el (verilog-pretty-expr):
13500         Rework verilog-pretty-expr to handle new assignment operators in system
13501         verilog, such as += *= and the like.
13502         (verilog-assignment-operator-re): Regular expression to find the
13503         assigment operator in a verilog assignment.
13504         (verilog-assignment-operation-re): Regular expression to find an
13505         assignment statement for pretty-expr.
13506         (verilog-in-attribute-p): Query returns true if point is in an
13507         attribute context; used to skip these for expression line up from
13508         pretty-expr.
13509         (verilog-in-parameter-p): Query returns true if point is in an
13510         parameter definition context; used to skip these for expression
13511         line up from pretty-expr.
13512         (verilog-in-parenthesis-p): Query returns true if point is in a
13513         parenthetical expression, specifically ( ) but not [ ] or { };
13514         used by pretty-expr.
13515         (verilog-just-one-space): If there is no space, don't add one.
13516         (verilog-get-lineup-indent-2): Specifically skip just attribute
13517         contexts for expression lineup, rather than skipping all
13518         parenthetical expressions.
13519         (verilog-calculate-indent): Fix comment, and fix indent.
13520         (verilog-do-indent): Indent declarations in lists (suggested by
13521         Joachim Lechner).
13522         (verilog-mode-abbrev-table): Populate abbrev mode with the various
13523         skeleton items.
13524         (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
13525         by Alain Mellan).
13527 2011-12-01  Wilson Snyder  <wsnyder@wsnyder.org>
13529         * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
13530         parameters with embedded comments.  Reported by Ray Stevens.
13531         (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
13532         verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
13533         Reported by Tim Holt.
13534         (verilog-auto): Fix AUTOing a upper module then AUTOing module
13535         instantiated by upper module causing wrong expansion until AUTOed a
13536         second time.  Reported by K C Buckenmaier.
13537         (verilog-diff-auto): Fix showing .* as a difference when
13538         `verilog-auto-star-save' off.  Reported by Dan Dever.
13539         (verilog-auto-reset, verilog-read-always-signals)
13540         (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
13541         temporary signals in reset list if
13542         verilog-auto-reset-blocking-in-non is nil, and match assignment
13543         style to each signal's assignment type, bug381.
13544         Reported by Thomas Esposito.
13545         (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
13546         (verilog-uvm-statement-re): Support UVM indentation and
13547         highlighting, with old OVM keywords only.
13548         (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
13549         Support AUTOTIEOFF creating non-wire data types.
13550         Suggested by Jonathan Greenlaw.
13551         (verilog-auto-insert-lisp, verilog-delete-to-paren)
13552         (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
13553         (verilog-inject-sense, verilog-read-inst-pins)
13554         (verilog-read-sub-decls, verilog-read-sub-decls-line):
13555         Fix mismatching parenthesis inside commented out code when deleting
13556         AUTOINST, bug383.  Reported by Jonathan Greenlaw.
13557         (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
13558         non-numeric vector width.  Reported by Alex Reed.
13559         (verilog-auto-ascii-enum): Add "onehot" option to work around not
13560         detecting signals with parameter widths.  Reported by Alex Reed.
13561         (verilog-auto-delete-trailing-whitespace):
13562         With `verilog-auto-delete-trailing-whitespace' remove trailing
13563         whitespace in auto expansion, bug371.  Reported by Brad Dobbie.
13564         (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
13565         Fix verilog-scan-cache corruption when running user AUTO expansion
13566         hooks that call indentation routines.
13567         (verilog-simplify-range-expression): Fix typo ignoring lower case
13568         identifiers.
13569         (verilog-delete-auto): Fix delete-autos to also remove user created
13570         automatics, as long as they start with AUTO.
13571         (verilog-batch-diff-auto, verilog-diff-auto)
13572         (verilog-diff-function): Add `verilog-diff-auto' and bind to
13573         "C-c?"  to report differences in AUTO expansion, ignoring spaces.
13574         (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
13575         (verilog-in-paren-quick, verilog-re-search-backward-quick)
13576         (verilog-re-search-forward-quick, verilog-syntax-ppss):
13577         Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
13578         is disabled and its cache will get corrupt, causing AUTOS not to
13579         expand.  Instead use only -quick functions.
13580         (verilog-scan-region): Fix scanning over escaped quotes.
13581         (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
13582         (verilog-re-search-backward-quick)
13583         (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
13584         related functions now ignore strings, to fix misparsing of strings
13585         with magic comments embedded in them.
13586         (verilog-read-auto-template):
13587         Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
13588         Reported by Brad Dobbie.
13589         (verilog-read-auto-template):
13590         Fix 'verilog-auto-inst-template-numbers' with comments.
13591         Reported by Brad Dobbie.
13592         (verilog-auto-inst, verilog-auto-inst-param)
13593         (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
13594         merge conflicts with AUTOINST, bug358.  Reported by Brad Dobbie.
13595         (verilog-auto-inst-template-numbers): Add 'lhs' policy for
13596         debugging templates without merge conflicts, bug357.
13597         Reported by Brad Dobbie.
13598         (verilog-read-auto-template):
13599         Fix verilog-auto-inst-template-numbers with multiple templates.
13600         Reported by Brad Dobbie.
13601         (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
13602         abbrevs so user won't be asked to save.
13603         (verilog-read-auto-lisp-present): Fix to start at beginning of
13604         buffer in case called outside of verilog-auto.
13605         (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
13606         to "X-2".  Reported by Matthew Myers.
13607         (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
13608         all inputs from module templates.  Reported by Leith Johnson.
13609         (verilog-module-inside-filename-p): Fix locating programs as with
13610         modules.
13611         (verilog-auto-inst-port): Fix vl-width expressions when using
13612         verilog-auto-inst-param-value, bug331.  Reported by Julian Gorfajn.
13613         (verilog-decls-get-regs, verilog-decls-get-signals,
13614         verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
13615         verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
13616         verilog-read-decls): Combine reg and wire structures into one var
13617         structure to represent SystemVerilog concepts.
13618         (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
13619         (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
13620         (verilog-auto-wire-type, verilog-insert-definition):
13621         Add verilog-auto-wire-type and AUTOLOGIC to support using
13622         SystemVerilog "logic" keyword instead of "wire"/"reg".
13623         (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
13624         to declares outputs that also have assignments (presumably in an
13625         ifdef or generate if so there's not a driver conflict).
13626         Reported by Matthew Myers.
13627         (verilog-auto-declare-nettype, verilog-insert-definition):
13628         Add verilog-auto-declare-nettype to fix declarations using
13629         `default_nettype none.  Reported by Julian Gorfajn.
13630         (verilog-read-always-signals-recurse, verilog-read-decls)
13631         (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
13632         malformed end statement, bug325.  Reported by Joshua Wise and
13633         Andrew Drake.
13634         (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
13635         (verilog-inst-comment-re): Fix not deleting Interfaced comment
13636         when expanding .* in interfaces, bug320.
13637         Reported by Pierre-David Pfister.
13638         (verilog-read-module-name): Fix import statements between module
13639         name and open parenthesis, bug317.
13640         Reported by Pierre-David Pfister.
13641         (verilog-simplify-range-expression): Fix simplification of
13642         multiplications inside AUTOWIRE connections, bug303.
13643         (verilog-auto-inst-port): Support parameter expansion in
13644         multidimensional arrays.
13645         (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
13646         after "assert property".  Reported by Julian Gorfajn.
13647         (verilog-simplify-range-expression): Fix "couldn't merge" errors
13648         with multiplication, bug303.
13649         (verilog-read-decls): Fix parsing of unsigned data types, bug302.
13650         Reported by Jan Frode Lonnum.
13652 2011-11-30  Juanma Barranquero  <lekktu@gmail.com>
13654         * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
13655         (hfy-shell-file-name, hfy-shell):
13656         * international/fontset.el (x-decompose-font-name): Fix typos.
13658 2011-11-29  Ken Brown  <kbrown@cornell.edu>
13660         * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
13661         (gdb-version): Remove defvar.
13662         (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
13663         (gdb-gud-context-command, gdb-non-stop-handler)
13664         (gdb-current-context-command, gdb-stopped): Use it.
13665         (gdb-init-1): Enable pretty printing here.
13666         (gdb-non-stop-handler): Don't enable pretty-printing here.
13667         Check to see if the target supports non-stop mode; if not, turn off
13668         non-stop mode.  Use the following.
13669         (gdb-check-target-async): New defun.
13670         (gud-watch, gdb-stopped): Fix whitespace.
13671         (gdb-get-source-file): Don't try to display the source file if
13672         `gdb-main-file' is nil.
13674 2011-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
13676         * align.el: Try to generate fewer markers (bug#10047).
13677         (align--set-marker): New macro.
13678         (align-region): Use it.
13680 2011-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
13682         * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
13684 2011-11-29  Chong Yidong  <cyd@gnu.org>
13686         * indent.el (indent-for-tab-command, indent-according-to-mode):
13687         Doc fix.
13688         (indent-region): Doc fix.  Switch nested ifs to equivalent cond.
13690 2011-11-29  Michael Albinus  <michael.albinus@gmx.de>
13692         * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
13693         aware of remote file names.  (Bug#10124)
13695 2011-11-29  Chong Yidong  <cyd@gnu.org>
13697         * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
13699 2011-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
13701         * files.el (find-file): Don't use force-same-window (bug#10144).
13702         * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
13703         use pop-to-buffer if the selected window can't be used.
13704         (pop-to-buffer-same-window): Use display-buffer--same-window-action.
13706 2011-11-28  Eli Zaretskii  <eliz@gnu.org>
13708         * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
13709         special-mode-map.
13711 2011-11-28  Chong Yidong  <cyd@gnu.org>
13713         * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
13715 2011-11-27  Nick Roberts  <nickrob@snap.net.nz>
13717         * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
13718           gdb-get-source-file-list on gdb-create-source-file-list.
13720 2011-11-26  Eli Zaretskii  <eliz@gnu.org>
13722         * whitespace.el (whitespace-newline): Use a different foreground
13723         color for 16-color light-background displays.
13725 2011-11-24  Chong Yidong  <cyd@gnu.org>
13727         * window.el (display-buffer--special-action): Doc fix.
13729 2011-11-25  Juanma Barranquero  <lekktu@gmail.com>
13731         * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
13732         (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
13733         (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
13734         (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
13735         (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
13736         (avl-tree-stack-first):
13737         * emacs-lisp/cconv.el (cconv--analyse-use):
13738         * net/gnutls.el (gnutls-negotiate): Fix typos.
13740 2011-11-24  Glenn Morris  <rgm@gnu.org>
13742         * lpr.el (lpr-windows-system, lpr-lp-system):
13743         * mail/binhex.el (binhex-begin-line):
13744         * progmodes/grep.el (grep-history, grep-find-history):
13745         * textmodes/flyspell.el:
13746         * vc/pcvs-defs.el (cvs-global-menu):
13747         * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
13748         * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
13749         * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
13751         * net/tls.el: Fix case of "GnuTLS".
13753         * paths.el (rmail-file-name): Format doc-string for make-docfile.
13755         * version.el (emacs-build-system): Give it a doc-string.
13757 2011-11-24  Juri Linkov  <juri@jurta.org>
13759         * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
13761 2011-11-24  Glenn Morris  <rgm@gnu.org>
13763         * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
13764         if called on a non-mime message just toggle the headers.  (Bug#8006)
13766 2011-11-24  Juanma Barranquero  <lekktu@gmail.com>
13768         * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
13769         (allout-lead-with-comment-string, allout-structure-deleted-hook)
13770         (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
13771         (allout-rebullet-heading, allout-open-sibtopic)
13772         (allout-toggle-current-subtree-encryption)
13773         (allout-toggle-subtree-encryption, allout-encrypt-string)
13774         (allout-next-topic-pending-encryption, allout-adjust-file-variable)
13775         (allout-distinctive-bullets-string, allout-auto-activation):
13776         * window.el (window-normalize-buffer-to-display):
13777         * progmodes/verilog-mode.el (verilog-batch-indent):
13778         * textmodes/bibtex.el (bibtex-field-braces-opt)
13779         (bibtex-field-strings-opt):
13780         * vc/cvs-status.el (cvs-tree-merge):
13781         Fix typos.
13783 2011-11-23  Michael Albinus  <michael.albinus@gmx.de>
13785         * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
13786         `non-essential' to t, in order to avoid remote connections.
13788 2011-11-23  Eli Zaretskii  <eliz@gnu.org>
13790         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
13791         On MS-DOS and MS-Windows, compare with loaddefs.el
13792         case-insensitively.
13794 2011-11-23  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
13796         * mail/unrmail.el (unrmail): Always add blank line.  (Bug#7743)
13798 2011-11-23  Glenn Morris  <rgm@gnu.org>
13800         * paths.el (rmail-file-name): Reformat the doc-string so that it
13801         is picked up.
13803         * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
13804         (rmail-auto-file): Ignore case in the "special" field names,
13805         as mail-fetch-field does for all others.
13807         * mail/rmail.el (rmail-forward):
13808         * mail/rmailkwd.el (rmail-set-label):
13809         * mail/rmailout.el (rmail-output, rmail-output-as-seen)
13810         (rmail-output-body-to-file): Give error if no message.  (Bug#10082)
13812         * mail/rmail.el (rmail-current-message): Doc fix.
13814         * mail/rmail.el (rmail-message-filter): Mark as obsolete.  (Bug#2624)
13816 2011-11-22  Stefan Monnier  <monnier@iro.umontreal.ca>
13818         * server.el (server-eval-and-print): Allow C-g (bug#6585).
13820 2011-11-22  Glenn Morris  <rgm@gnu.org>
13822         * mail/rmailmm.el (test-rmail-mime-handler)
13823         (test-rmail-mime-bulk-handler)
13824         (test-rmail-mime-multipart-handler): Move tests to test/ directory.
13826 2011-11-21  Juri Linkov  <juri@jurta.org>
13828         * calc/calc.el (calc-read-key-sequence):
13829         Let-bind `input-method-function' to nil.  (Bug#10018)
13831 2011-11-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13833         * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
13834         Tell the caller that the next line needs recomputation, even
13835         though it doesn't start a sexp (bug#10094).
13837 2011-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
13839         * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
13841 2011-11-20  Stefan Monnier  <monnier@iro.umontreal.ca>
13843         * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
13844         Use force-same-window.
13846 2011-11-20  Juanma Barranquero  <lekktu@gmail.com>
13848         * descr-text.el (describe-char-unicode-data):
13849         * json.el (json-string-escape):
13850         * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
13851         (Footnote-unicode, Footnote-style-p):
13852         * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
13854 2011-11-20  Chong Yidong  <cyd@gnu.org>
13856         * window.el (replace-buffer-in-windows): Restore interactive spec.
13858 2011-11-20  Stefan Monnier  <monnier@iro.umontreal.ca>
13860         * electric.el (electric-indent-mode): Fix last change (too optimistic).
13862         * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
13863         (byte-compile-global-not-obsolete-vars): New var.
13864         (byte-compile-check-variable, byte-compile-make-obsolete-variable):
13865         Use it.
13866         (byte-compile-warn-obsolete): Align text with the one in *Help*.
13868 2011-11-20  Juanma Barranquero  <lekktu@gmail.com>
13870         * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
13871         * progmodes/pascal.el (electric-pascal-equal):
13872         * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
13873         * xml.el (xml-substitute-special): Fix typos.
13875 2011-11-20  Glenn Morris  <rgm@gnu.org>
13877         * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
13878         (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
13879         Doc fixes.
13880         (rmail-decode-mime-charset): Mark as obsolete.
13882         * mail/rmailsum.el (rmail-message-regexp-p-1):
13883         * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
13884         Before using mime functions, check they are set.  (Bug#10077)
13886 2011-11-19  Juri Linkov  <juri@jurta.org>
13888         * info.el (Info-finder-find-node): Use `package--builtins' instead
13889         of `package-alist'.  Use node names formed by the pattern "Keyword "
13890         and the keyword name.
13892 2011-11-19  Andreas Schwab  <schwab@linux-m68k.org>
13894         * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
13896 2011-11-19  Juri Linkov  <juri@jurta.org>
13898         * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
13899         that calls `revert-buffer' on all Info buffers.  (Bug#9915)
13900         (Info-revert-find-node): Remove let-bindings `old-buffer-name',
13901         `old-history', `old-history-forward'.  Add let-binding
13902         `window-selected'.  Remove calls to `kill-buffer',
13903         `switch-to-buffer' and `Info-mode'.  Set `Info-current-file' to nil
13904         before calling `Info-find-node', so `Info-find-node-2' will reread
13905         the Info file.  Restore window positions only when `window-selected'
13906         is non-nil.
13908 2011-11-19  Juri Linkov  <juri@jurta.org>
13910         * isearch.el (isearch-lazy-highlight-new-loop):
13911         Remove condition `(not isearch-error)'.  (Bug#9918)
13913         * misearch.el (multi-isearch-search-fun): Add condition
13914         `(not bound)' to ignore lazy-highlighting search.
13915         Add the search-failed message "end of multi" when the end of
13916         multi-sequence is reached.  Uncapitalize the search-failed
13917         message "Repeat for next buffer".
13919         * info.el (Info-search): Add the search-failed message
13920         "end of the manual" when the end of the manual is reached
13921         in Isearch mode.
13923 2011-11-19  Juri Linkov  <juri@jurta.org>
13925         * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
13926         Use non-destructive `remove' instead of `delete' because
13927         `Info-history-list' stored to `Info-isearch-initial-history-list' in
13928         `Info-isearch-start' might need to be restored in `Info-isearch-end'.
13930 2011-11-19  Juri Linkov  <juri@jurta.org>
13932         * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
13933         to nil instead of binding `search-ring' and `regexp-search-ring'.
13934         (Bug#9185)
13936 2011-11-19  Eli Zaretskii  <eliz@gnu.org>
13938         * simple.el (line-move): Force movement by logical lines for any
13939         hscrolled window, not only when auto-hscroll-mode is on.
13940         (line-move-visual): Update doc string to that effect.  (Bug#10076)
13942 2011-11-19  Andreas Schwab  <schwab@linux-m68k.org>
13944         * language/european.el (macintosh): Define as alias for mac-roman.
13946 2011-11-19  Eli Zaretskii  <eliz@gnu.org>
13948         * mail/rmailmm.el (rmail-mime-display-header)
13949         (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
13950         (rmail-mime-entity-segment, rmail-mime-toggle-raw)
13951         (rmail-mime-toggle-hidden, rmail-mime-insert-text)
13952         (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
13953         (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
13954         of a raw aref.
13955         (rmail-mime-entity-segment): To get past the tagline, move forward
13956         2 more lines, to account for the 2 empty lines that precede and
13957         follow the line with the buttons.
13958         (rmail-mime-update-tagline): Move one more line, to get past the
13959         empty line that follows the buttons in the tagline.  (Bug#9520)
13961 2011-11-19  Martin Rudalics  <rudalics@gmx.at>
13963         * window.el (window-max-delta-1, window-min-delta-1)
13964         (window-min-size-1, window-state-get-1, window-state-put-1)
13965         (window-state-put-2): Use "window--" prefix.
13967 2011-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
13969         * emacs-lisp/smie.el: Improve warnings and conflict detection.
13970         (smie-warning-count): New var.
13971         (smie-set-prec2tab): Use it.
13972         (smie-bnf->prec2): Improve warnings.  Add docstring.
13973         (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
13974         (smie-bnf--set-class): New function.
13975         (smie-bnf--classify): Rename from smie-bnf-classify.  Rewrite to fix
13976         corner case.
13978         * progmodes/compile.el: Obey compilation-first-column in dest buffer.
13979         (compilation-error-properties, compilation-move-to-column):
13980         Handle compilation-first-column while in the target buffer.
13982         * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
13983         Don't hardcode point-min==1.
13985         * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
13986         (eshell-rewrite-for-command): Remove workaround.
13987         (eshell-do-pipelines, eshell-do-pipelines-synchronously)
13988         (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
13989         * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
13991         * files-x.el (modify-file-local-variable): Obey commenting conventions.
13993 2011-11-17  Glenn Morris  <rgm@gnu.org>
13995         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
13996         Ignore buffer-local generated-autoload-file if it is the same
13997         as the global value.  (Bug#10049)
13999 2011-11-17  Juanma Barranquero  <lekktu@gmail.com>
14001         * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
14002         (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
14003         (reftex-toc-previous-heading, reftex-toc-max-level)
14004         (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
14005         (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
14006         (reftex-toc-do-promote, reftex-toc-promote-prepare)
14007         (reftex-toc-promote-action, reftex-toc-extract-section-number)
14008         (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
14009         (reftex-toc-rename-label, reftex-toc-visit-location)
14010         (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
14011         (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
14012         (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
14013         leaving "*toc*" only for references to the buffer.
14015 2011-11-17  Martin Rudalics  <rudalics@gmx.at>
14017         * window.el (window-resize, delete-window, split-window):
14018         Replace window-splits by window-combination-resize.
14019         * cus-start.el (window-splits): Replace by window-combination-resize.
14021 2011-11-17  Glenn Morris  <rgm@gnu.org>
14023         * progmodes/sh-script.el (sh-font-lock-keywords-var):
14024         Make bash entry derive from sh entry, not shell entry.
14026 2011-11-16  Michael Albinus  <michael.albinus@gmx.de>
14028         * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
14029         local file name.
14031 2011-11-16  Juanma Barranquero  <lekktu@gmail.com>
14033         * menu-bar.el (menu-bar-file-menu):
14034         * printing.el (pr-ps-utility):
14035         * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
14036         (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
14037         (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
14038         (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
14039         (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
14040         (icalendar--convert-cyclic-to-ical)
14041         (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
14042         (icalendar--convert-ical-to-diary)
14043         (icalendar--convert-recurring-to-diary)
14044         (icalendar--convert-non-recurring-all-day-to-diary)
14045         (icalendar-import-format-sample):
14046         * progmodes/idlw-shell.el (idlwave-shell-mode):
14047         * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
14048         (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
14049         (vhdl-ps-print-init): Fix typos.
14051 2011-11-16  Ken Manheimer  <ken.manheimer@gmail.com>
14053         * allout.el, allout-widgets.el (file metadata): Attribute copyright to
14054         FSF and collapse date sequence, obscure author/maintainer email address
14055         better, remove extra version line, track relocation of author's webpage.
14057         * progmodes/python.el (python-pdbtrack-input-prompt)
14058         (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
14059         regular python pdb prompts.  Adjustments shamelessly taken exactly as
14060         suggested in EmacsWiki page (tiny change):
14061         http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
14063 2011-11-16  Juanma Barranquero  <lekktu@gmail.com>
14065         * expand.el (expand-pos, expand-index, expand-point):
14066         Remove redundant info from docstring.
14067         (expand-add-abbrevs): Doc fix.
14068         (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
14069         (expand-sample-perl-mode-expand-list): Fix typos.
14071         * net/dbus.el (dbus-event-member-name):
14072         * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
14073         * term/pc-win.el (msdos-create-frame-with-faces):
14074         * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
14076 2011-11-16  Martin Rudalics  <rudalics@gmx.at>
14078         * window.el (split-window, window-state-get-1)
14079         (window-state-put-1, window-state-put-2): Rename occurrences of
14080         window-nest to window-combination-limit.
14081         * cus-start.el (window-nest): Rename to window-combination-limit.
14083 2011-11-16  Chong Yidong  <cyd@gnu.org>
14085         * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
14086         regexp (Bug#10033).
14088 2011-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
14090         * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
14091         `completing-read' will remove *Completions* and will preserve
14092         current-buffer for us.
14093         (tmm-add-prompt): Users of *Completions* will always (re)set its
14094         major mode.
14095         (tmm-old-comp-map): Remove.
14097 2011-11-16  Glenn Morris  <rgm@gnu.org>
14099         * mail/rmailedit.el: Require rmailmm when compiling.
14100         (rmail-old-mime-state): New declaration.
14101         (rmail-edit-current-message): If editing a mime message,
14102         edit the "raw" message from the mbox buffer.
14103         (rmail-cease-edit): Handle mime messages.  (Bug#9840)
14105 2011-11-15  Glenn Morris  <rgm@gnu.org>
14107         * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
14108         which wasn't being used.  Add optional arg to force given state.
14109         (rmail-mime): Add optional arg to force given state.
14111 2011-11-15  Juanma Barranquero  <lekktu@gmail.com>
14113         * allout.el (allout-encryption-plaintext-sanitization-regexps):
14114         * frame.el (display-mm-dimensions-alist):
14115         * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
14116         (outline-move-subtree-down):
14117         * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
14118         (newsticker--treeview-do-get-node):
14119         * net/quickurl.el (quickurl-list-buffer-name):
14120         * progmodes/dcl-mode.el (dcl-mode):
14121         * progmodes/gdb-mi.el (gdb-mapcar*):
14122         * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
14124 2011-11-15  Glenn Morris  <rgm@gnu.org>
14126         * mail/rmail.el (rmail-file-coding-system): It's only ever used
14127         in a boolean sense, so just make it a boolean, and fix the doc.
14128         (rmail-show-mime-function, rmail-mime-feature)
14129         (rmail-require-mime-maybe): Doc fixes.
14130         (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
14132         * mail/rmailmm.el (rmail-show-mime): Doc fix.
14134 2011-11-15  Juanma Barranquero  <lekktu@gmail.com>
14136         * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
14137         (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
14138         (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
14139         (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
14141 2011-11-15  Glenn Morris  <rgm@gnu.org>
14143         * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
14144         (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
14145         (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
14146         (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
14147         (rmail-mime, rmail-show-mime): Doc fixes.
14149         * term/ns-win.el (mode-line-frame-identification):
14150         Leave it alone.  (Bug#10051)
14152         * simple.el (mark-whole-buffer): Doc fix.  (Bug#10023)
14154         * mail/rmailout.el (rmail-output-to-rmail-buffer):
14155         Handle empty buffers.  (Bug#9978)
14157 2011-11-14  Juanma Barranquero  <lekktu@gmail.com>
14159         * international/mule.el (define-charset):
14160         * mail/rmailmm.el (rmail-mime-find-header-encoding):
14161         * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
14162         * progmodes/verilog-mode.el (verilog-backward-token):
14163         * textmodes/ispell.el (lookup-words):
14164         * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
14166 2011-11-14  Glenn Morris  <rgm@gnu.org>
14168         * progmodes/executable.el
14169         (executable-make-buffer-file-executable-if-script-p):
14170         Handle file-modes returning nil.
14172         * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
14173         message - not necessary, and causes problems.  (Bug#9831)
14175         * mail/rmailsum.el (rmail-new-summary): Preserve message number.
14177         * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
14179         * mail/rmailsum.el (rmail-summary, rmail-new-summary)
14180         (rmail-new-summary-1): Allow empty summaries.  (Bug#9964)
14181         (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
14183 2011-11-12  Martin Rudalics  <rudalics@gmx.at>
14185         * window.el (window-resize, delete-window): Use window-splits
14186         variable instead of function.
14187         (window-state-get-1, window-state-put-2, window-state-put):
14188         Don't deal with windows' splits status.
14190 2011-11-12  Glenn Morris  <rgm@gnu.org>
14192         * apropos.el (apropos-do-all, apropos-library, apropos-value)
14193         (apropos-documentation): Doc fixes.
14195 2011-11-11  Juanma Barranquero  <lekktu@gmail.com>
14197         * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
14198         * textmodes/sgml-mode.el (html-tag-help): Fix typos.
14200 2011-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
14202         * electric.el (electric-indent-post-self-insert-function): Make it
14203         possible for a char to only indent in some circumstances.
14204         (electric-indent-mode): Simplify.
14206 2011-11-11  Martin Rudalics  <rudalics@gmx.at>
14208         * window.el (windows-with-parameter): Remove unused function.
14209         (windows-at-side): Rename to window-at-side-list.
14210         (window-check, window-atom-check, window-atom-check-1)
14211         (window-side-check, window-size-ignore, window-size-fixed-1)
14212         (window-in-direction-2): Prefix with "window--".
14213         (window-tree-1): Rename to window--subtree, fix doc-string.
14215 2011-11-11  Glenn Morris  <rgm@gnu.org>
14217         * subr.el (eval-after-load): If FILE is already loaded,
14218         evaluate FORM before it gets wrapped in more stuff.  (Bug#10009)
14220 2011-11-10  Glenn Morris  <rgm@gnu.org>
14222         * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
14223         Call svn via vc-svn-command rather than vc-do-command.
14224         (vc-svn-command): Add --non-interactive.  (Bug#9993)
14225         (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
14227         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
14228         Add toggle-read-only.  (Bug#7292)
14229         * files.el (toggle-read-only): Mention that it should only
14230         be used interactively.  (Bug#10006)
14232 2011-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
14234         * progmodes/compile.el (compilation-error-regexp-alist-alist):
14235         Adjust regexp for OCaml warnings.
14237         * electric.el (electric-pair-post-self-insert-function): Let user
14238         turn it off buffer-locally (bug#9932).
14240         * progmodes/python.el (python-beginning-of-statement):
14241         Rewrite (bug#2703).
14243         * progmodes/compile.el: Better handle TABs (bug#9749).
14244         (compilation-internal-error-properties)
14245         (compilation-next-error-function): Obey the target buffer's
14246         compilation-error-screen-columns.
14248 2011-11-09  Juanma Barranquero  <lekktu@gmail.com>
14250         * progmodes/meta-mode.el: Remove obsolete comments.
14251         (meta-right-comment-regexp, meta-ignore-comment-regexp):
14252         Fix typos in docstrings.
14254 2011-11-09  Martin Rudalics  <rudalics@gmx.at>
14256         * window.el (window-size-fixed-p): Rewrite doc-string.
14257         (window-resizable-p): Rename to window--resizable-p.  Update callers.
14258         (window--resizable): New function.  Make all callers of
14259         window-resizable call window--resizable instead.
14260         (window-resizable): Rewrite in terms of window--resizable.
14262 2011-11-08  Glenn Morris  <rgm@gnu.org>
14264         * progmodes/delphi.el (delphi-mode-syntax-table):
14265         Let define-derived-mode define a proper syntax table.  (Bug#9994)
14267 2011-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
14269         * window.el: Stay away from defsubst.
14270         (window-list-no-nils): Remove.
14271         (window-state-get-1, window-state-get): Use backquote instead.
14273 2011-11-08  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
14275         * emacs-lisp/find-func.el (find-function-read):
14276         Fix incorrect use of default argument in `completing-read'.
14278 2011-11-08  Martin Rudalics  <rudalics@gmx.at>
14280         * window.el (display-buffer-function, special-display-function):
14281         Mention display-buffer-record-window but do not mention
14282         help-setup parameter in doc-strings.
14283         (window-min-delta): Fix doc-string typo.
14285 2011-11-08  Chong Yidong  <cyd@gnu.org>
14287         * window.el (window-total-height, window-total-width): Doc fix.
14288         (window-body-size): Move from C.
14289         (window-body-height, window-body-width): Move to C.
14291 2011-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
14293         * window.el: Make special-display like display-buffer-alist (bug#9532).
14294         (display-buffer--special-action): New function, morphed
14295         from display-buffer--special.
14296         (display-buffer): Use it to handle special-display-buffers at higher
14297         priority (just after display-buffer-alist).
14298         (display-buffer-fallback-action, display-buffer--other-frame-action)
14299         (pop-to-buffer-same-window): Remove display-buffer--special.
14301 2011-11-07  Glenn Morris  <rgm@gnu.org>
14303         * calendar/cal-menu.el (cal-menu-set-date-title):
14304         Do nothing if not in a calendar.  (Bug#9976)
14306 2011-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
14308         * files.el (find-file): Always use selected-window.
14310 2011-11-07  Martin Rudalics  <rudalics@gmx.at>
14312         * window.el (window-combinations): Make WINDOW argument
14313         mandatory.  Rewrite doc-string.
14314         (walk-window-subtree, window-atom-check, window-min-delta)
14315         (window-max-delta, window--resize-this-window)
14316         (window--resize-root-window-vertically, window-tree)
14317         (balance-windows, window-state-put): Rewrite doc-strings as to
14318         not mention the term "subwindow".
14319         (window--resize-subwindows-skip-p): Rename to
14320         window--resize-child-windows-skip-p.
14321         (window--resize-subwindows-normal): Rename to
14322         window--resize-child-windows-normal.
14323         (window--resize-subwindows): Rename to
14324         window--resize-child-windows.
14325         (window-or-subwindow-p): Rename to window--in-subtree-p.
14327 2011-11-07  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
14329         * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
14330         Ensure that mbox format messages end in two newlines (Bug#9974).
14332 2011-11-06  Chong Yidong  <cyd@gnu.org>
14334         * window.el (window-combination-p): Function deleted; its
14335         side-effect is not used in any existing code.
14336         (window-combinations, window-combined-p): Call window-*-child
14337         directly.
14339 2011-11-05  Chong Yidong  <cyd@gnu.org>
14341         * window.el (window-valid-p): Rename from window-any-p.
14342         (window-size-ignore, window-state-get): Callers changed.
14343         (window-normalize-window): Rename from window-normalize-any-window.
14344         New arg LIVE-ONLY, replacing window-normalize-live-window.
14345         (window-normalize-live-window): Delete.
14346         (window-combination-p, window-combined-p, window-combinations)
14347         (walk-window-subtree, window-atom-root, window-min-size)
14348         (window-sizable, window-sizable-p, window-size-fixed-p)
14349         (window-min-delta, window-max-delta, window-resizable)
14350         (window-resizable-p, window-full-height-p, window-full-width-p)
14351         (window-current-scroll-bars, window-point-1, set-window-point-1)
14352         (window-at-side-p, window-in-direction, window-resize)
14353         (adjust-window-trailing-edge, maximize-window, minimize-window)
14354         (window-deletable-p, delete-window, delete-other-windows)
14355         (record-window-buffer, unrecord-window-buffer)
14356         (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
14357         (quit-window, split-window, window-state-put)
14358         (set-window-text-height, fit-window-to-buffer)
14359         (shrink-window-if-larger-than-buffer): Callers changed.
14361 2011-11-04  Eli Zaretskii  <eliz@gnu.org>
14363         * mail/rmail.el (rmail-simplified-subject): Decode subject with
14364         rfc2047-decode-string.
14365         (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
14366         warnings.
14368         * window.el (window-body-height, window-body-width): Mention in
14369         the doc string that the return values are in frame's canonical
14370         units.  (Bug#9949)
14372 2011-11-03  Alan Mackenzie  <acm@muc.de>
14374         * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
14375         change in cc-engine.el.
14377 2011-11-02  Stefan Monnier  <monnier@iro.umontreal.ca>
14379         * window.el (switch-to-buffer): Use `force-same-window' interactively.
14381 2011-11-02  Martin Rudalics  <rudalics@gmx.at>
14383         * window.el (quit-window): Call unrecord-window-buffer after
14384         showing another buffer in the window.  (Bug#9937)
14385         (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
14387 2011-11-02  Juanma Barranquero  <lekktu@gmail.com>
14389         * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
14390         Accept status with more than 9 shelves.  (Bug#9935)
14391         Reported by Colin D Bennett <colin@gibibit.com>.
14393 2011-11-01  Martin Rudalics  <rudalics@gmx.at>
14395         * help.el (with-help-window): Don't reference
14396         temp-buffer-show-specifiers in doc-string.
14398 2011-10-31  Andreas Schwab  <schwab@linux-m68k.org>
14400         * subr.el (keymap--menu-item-with-binding): Ignore item if not a
14401         menu-item.
14403 2011-10-30  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
14405         * whitespace.el: New version 13.2.2.
14406         (whitespace-newline-mode): Disable properly.  Reported by Sarah
14407         <EmacsWiki>.
14409 2011-10-30  Ulf Jasper  <ulf.jasper@web.de>
14411         * net/newst-treeview.el: Remove "Time-stamp".
14412         (newsticker--group-manage-orphan-feeds): Do not call
14413         newsticker--treeview-tree-update.
14414         (newsticker-treeview-update, newsticker-treeview):
14415         Call newsticker--treeview-tree-update if necessary.
14417 2011-10-30  Martin Rudalics  <rudalics@gmx.at>
14419         * window.el (window-iso-combination-p, window-iso-combined-p)
14420         (window-iso-combinations): Remove "iso-" infix.
14421         Suggested by Chong Yidong.
14422         (window-min-size-1, window-size-fixed-1, window-min-delta-1)
14423         (window-max-delta-1, window-resize, window--resize-siblings)
14424         (window--resize-this-window, adjust-window-trailing-edge)
14425         (split-window, balance-windows-1)
14426         (shrink-window-if-larger-than-buffer):
14427         * calendar/calendar.el (calendar-generate-window):
14428         * help.el (resize-temp-buffer-window): Adjust callers accordingly.
14430 2011-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
14432         * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
14433         in place (bug#9907).
14434         (eshell-subcommand-arg-values, eshell-rewrite-named-command)
14435         (eshell-rewrite-if-command, eshell-rewrite-for-command)
14436         (eshell-structure-basic-command, eshell-rewrite-while-command)
14437         (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
14438         (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
14439         (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
14440         (eshell-do-pipelines-synchronously, eshell-eval-command):
14441         Use backquotes and prefer setq to set.
14442         (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
14443         (eshell-macrop): Use functionp.
14444         (eshell-do-eval): Handle multiple expressions in `while' body.
14446 2011-10-30  Chong Yidong  <cyd@gnu.org>
14448         * emulation/viper-cmd.el (viper-exec-change): Use push-mark
14449         instead of set-mark (Bug#9810).
14451 2011-10-30  Chong Yidong  <cyd@gnu.org>
14453         * window.el (split-window-below, split-window-right): Rename from
14454         split-window-above-each-other and split-window-side-by-side
14455         respectively.  All callers changed.
14456         (split-window-sensibly, split-window-sensibly): Use them.
14457         (split-window-keep-point): Doc fix.
14459         * isearch.el: Add isearch-scroll property to split-window-below
14460         and split-window-right.
14462         * follow.el (follow-mode):
14463         * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
14464         * progmodes/ada-xref.el (ada-gdb-application):
14465         * emulation/vip.el (vip-buffer-in-two-windows):
14466         * image-dired.el (image-dired-dired-with-window-configuration):
14467         * dired-x.el (dired-do-find-marked-files):
14468         * dired.el (dired-pop-to-buffer):
14469         * bs.el (bs--show-with-configuration):
14470         * vc/emerge.el (emerge-setup-windows):
14471         * textmodes/two-column.el (2C-two-columns):
14472         * textmodes/reftex-toc.el (reftex-toc):
14473         * progmodes/gdb-mi.el (gdb-setup-windows):
14474         * progmodes/fortran.el (fortran-window-create):
14475         * net/newst-treeview.el (newsticker--treeview-window-init):
14476         * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
14477         * emulation/tpu-edt.el (tpu-gold-map):
14478         * emulation/crisp.el (crisp-mode-map):
14479         * calendar/calendar.el (calendar-basic-setup): Callers changed.
14481 2011-10-29  Chong Yidong  <cyd@gnu.org>
14483         * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
14485         * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
14487         * textmodes/flyspell.el (flyspell-word): Fix char offset for
14488         forged Ispell output (Bug#7904).
14490         * emacs-lisp/package.el (package-refresh-contents): Add autoload.
14492 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
14494         * doc-view.el: Avoid ugly errors about not finding nil.
14495         (doc-view-ghostscript-program, doc-view-dvipdfm-program)
14496         (doc-view-dvipdf-program, doc-view-unoconv-program)
14497         (doc-view-ps2pdf-program, doc-view-pdftotext-program):
14498         Avoid nil or absolute file name as default value.
14499         (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
14501 2011-10-28  Alan Mackenzie  <acm@muc.de>
14503         * progmodes/cc-defs.el (c-version): -> 5.32.2.
14505 2011-10-28  Alan Mackenzie  <acm@muc.de>
14507         Amend the handling of c-beginning/end-of-defun in nested declaration
14508         scopes.
14510         * progmodes/cc-vars.el (c-defun-tactic): Move here from
14511         cc-langs.el.  Change it to a defcustom.
14513         * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
14514         cc-vars.el.
14516         * progmodes/cc-engine.el (c-beginning-of-statement-1):
14517         Prevent "class foo : bar" being spuriously recognized as a label.
14519         * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
14520         Add parameter `inclusive' (to include enclosing braces in the region).
14521         (c-widen-to-enclosing-decl-scope): New function.
14522         (c-while-widening-to-decl-block): New macro.
14523         (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
14524         outward for defun boundaries, and correspondingly change symbol
14525         `respect-enclosure' to `go-outward'.
14526         (c-declaration-limits): Change algorithm to report only the "innermost"
14527         defun's boundaries.
14529 2011-10-28  Deniz Dogan  <deniz@dogan.se>
14531         * net/rcirc.el (rcirc-mode): Use hard newlines.
14533 2011-10-28  Alan Mackenzie  <acm@muc.de>
14535         Amend to indent and fontify macros "which include their own semicolon"
14536         correctly, using the "virtual semicolon" mechanism.
14538         * progmodes/cc-defs.el: Update "virtual semicolon" comments.
14540         * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
14541         Recode to scan one line at a time rather than having \n and \r
14542         explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
14543         (c-forward-label): Amend for virtual semicolons.
14544         (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
14546         * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
14547         of the new C macros.
14549         * progmodes/cc-langs.el (c-at-vsemi-p-fn):
14550         (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
14551         (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
14552         (c-opt-cpp-macro-define): Make into a full language variable.
14553         (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
14554         AWK Mode (including \n, \r) removed, no longer needed.
14556         * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
14557         Invoke c-make-macro-with-semi-re.
14559         * progmodes/cc-vars.el (c-macro-with-semi-re):
14560         (c-macro-names-with-semicolon): New variables.
14561         (c-make-macro-with-semi-re): New function.
14563 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
14565         * vc/log-edit.el: Fill empty field rather than adding new one.
14566         (log-edit-add-field): New function.
14567         (log-edit-insert-changelog): Use it.
14569 2011-10-28  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
14571         * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
14573 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
14575         * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
14576         (gdb--check-interpreter): New function.
14577         (gdb): Use it.
14579 2011-10-27  Glenn Morris  <rgm@gnu.org>
14581         * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
14582         (least-positive-float, least-negative-float)
14583         (least-positive-normalized-float, least-negative-normalized-float)
14584         (float-epsilon, float-negative-epsilon):
14585         Remove unnecessary declarations.
14587         * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
14588         * emacs-lisp/cl.el (most-positive-float, most-negative-float)
14589         (least-positive-float, least-negative-float)
14590         (least-positive-normalized-float, least-negative-normalized-float)
14591         (float-epsilon, float-negative-epsilon): Add doc-strings,
14592         based on those in cl.texi.
14594         * files.el (set-visited-file-name): If the major-mode changed,
14595         reload the local variables.  (Bug#9796)
14597 2011-10-27  Chong Yidong  <cyd@gnu.org>
14599         * subr.el (change-major-mode-after-body-hook): New hook.
14600         (run-mode-hooks): Run it.
14602         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14603         Use change-major-mode-before-body-hook.
14605         * simple.el (fundamental-mode):
14606         * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
14607         change introducing fundamental-mode-hook.
14609 2011-10-26  Juanma Barranquero  <lekktu@gmail.com>
14611         * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
14613 2011-10-26  Michael Albinus  <michael.albinus@gmx.de>
14615         * ido.el (ido-file-name-all-completions-1): Do not require
14616         tramp.el explicitly.  (Bug#7583)
14618 2011-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
14620         * progmodes/octave-mod.el:
14621         * progmodes/octave-inf.el: Update maintainer.
14623 2011-10-26  Chong Yidong  <cyd@gnu.org>
14625         * subr.el (with-wrapper-hook): Rewrite doc.
14627 2011-10-25  Michael Albinus  <michael.albinus@gmx.de>
14629         * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
14630         filenames "/method:foo:".  (Bug#9793)
14632 2011-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
14634         * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
14635         (bug#9865).
14637 2011-10-24  Glenn Morris  <rgm@gnu.org>
14639         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.  (Bug#9819)
14641 2011-10-24  Michael Albinus  <michael.albinus@gmx.de>
14643         * notifications.el: Add the requirement of a running D-Bus session
14644         bus to the Commentary.
14646 2011-10-24  Juri Linkov  <juri@jurta.org>
14648         * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
14649         `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
14650         (Bug#9364)
14652 2011-10-24  Juri Linkov  <juri@jurta.org>
14654         * info.el (Info-following-node-name-re): Add newline to the list
14655         of allowed characters for leading space.  (Bug#9824)
14657 2011-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
14659         * progmodes/octave-inf.el (inferior-octave-mode-map):
14660         Fix C-c C-h binding.
14661         * progmodes/octave-mod.el (octave-help): Remove.
14663 2011-10-23  Michael Albinus  <michael.albinus@gmx.de>
14665         Sync with Tramp 2.2.3.
14667         * net/tramp-cache.el (top): Pacify byte-compiler using
14668         `init-file-user' and `site-run-file'.
14670         * net/trampver.el: Update release number.
14672 2011-10-23  Chong Yidong  <cyd@gnu.org>
14674         * files.el (toggle-read-only): Remove obsolete comment about
14675         version control.
14677         * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
14678         for toggle-read-only.  Note that this hasn't called vc-next-action
14679         since 2008-05-02, though it wasn't documented at the time.
14681         * vc/ediff-init.el (ediff-toggle-read-only-function):
14682         Use toggle-read-only.
14684 2011-10-22  Alan Mackenzie  <bug-cc-mode@gnu.org>
14686         Fix bug #9560, sporadic wrong indentation; improve instrumentation
14687         of c-parse-state.
14689         * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
14690         correct faulty logical expression.
14691         (c-parse-state-state, c-record-parse-state-state):
14692         (c-replay-parse-state-state): New defvar/defuns.
14693         (c-debug-parse-state): Use new functions.
14695 2011-10-22  Martin Rudalics  <rudalics@gmx.at>
14697         * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
14698         last fix.  Use window-in-direction correctly.
14700 2011-10-21  Chong Yidong  <cyd@gnu.org>
14702         * progmodes/idlwave.el (idlwave-mode):
14703         * progmodes/vera-mode.el (vera-mode): No need to set
14704         require-final-newline; that's done in prog-mode.
14705         Suggested by Stefan Monnier.
14707 2011-10-21  Martin Rudalics  <rudalics@gmx.at>
14709         * mouse.el (mouse-drag-window-above)
14710         (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
14711         (mouse-drag-mode-line-1, mouse-drag-header-line)
14712         (mouse-drag-vertical-line-rightward-window): Remove.
14713         (mouse-drag-line): New function.
14714         (mouse-drag-mode-line, mouse-drag-header-line)
14715         (mouse-drag-vertical-line): Call mouse-drag-line.
14716         * window.el (window-at-side-p, windows-at-side): New functions.
14718 2011-10-21  Ulrich Mueller  <ulm@gentoo.org>
14720         * tar-mode.el (tar-grind-file-mode):
14721         Fix handling of setuid/setgid, handle sticky bit.  (Bug#9817)
14723 2011-10-21  Chong Yidong  <cyd@gnu.org>
14725         * progmodes/idlwave.el (idlwave-mode):
14726         * progmodes/vera-mode.el (vera-mode):
14727         Use mode-require-final-newline.
14729 2011-10-20  Glenn Morris  <rgm@gnu.org>
14731         * vc/vc.el (vc-next-action): Handle removed directories.  (Bug#9781)
14733 2011-10-20  Christoph Scholtes  <cschol2112@googlemail.com>
14735         * emulation/cua-base.el (cua-set-mark): Fix case of string.
14737 2011-10-20  Chong Yidong  <cyd@gnu.org>
14739         * emulation/cua-base.el (cua-mode):
14740         * mail/footnote.el (footnote-mode):
14741         * mail/mailabbrev.el (mail-abbrevs-mode):
14742         * net/xesam.el (xesam-minor-mode):
14743         * progmodes/bug-reference.el (bug-reference-mode):
14744         * progmodes/cap-words.el (capitalized-words-mode):
14745         * progmodes/compile.el (compilation-minor-mode)
14746         (compilation-shell-minor-mode):
14747         * progmodes/gud.el (gud-tooltip-mode):
14748         * progmodes/hideif.el (hide-ifdef-mode):
14749         * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
14750         * progmodes/subword.el (subword-mode):
14751         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
14752         * progmodes/which-func.el (which-function-mode):
14753         * term/tvi970.el (tvi970-set-keypad-mode):
14754         * term/vt100.el (vt100-wide-mode):
14755         * textmodes/flyspell.el (flyspell-mode):
14756         * textmodes/ispell.el (ispell-minor-mode):
14757         * textmodes/nroff-mode.el (nroff-electric-mode):
14758         * textmodes/paragraphs.el (use-hard-newlines):
14759         * textmodes/refill.el (refill-mode):
14760         * textmodes/reftex.el (reftex-mode):
14761         * textmodes/rst.el (rst-minor-mode):
14762         * textmodes/sgml-mode.el (html-autoview-mode)
14763         (sgml-electric-tag-pair-mode):
14764         * textmodes/tex-mode.el (latex-electric-env-pair-mode):
14765         * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
14766         * emulation/crisp.el (crisp-mode):
14767         * emacs-lisp/eldoc.el (eldoc-mode):
14768         * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
14769         minor mode behavior.
14771 2011-10-19  Juri Linkov  <juri@jurta.org>
14773         * descr-text.el (describe-char): Add #x2010 and #x2011 to
14774         the list of hard-coded chars with escape-glyph face.
14776 2011-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
14778         * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
14780 2011-10-19  Michael Albinus  <michael.albinus@gmx.de>
14782         * net/tramp.el (tramp-connectable-p): Make a stronger check on a
14783         running process.
14785 2011-10-19  Glenn Morris  <rgm@gnu.org>
14787         * vc/vc-bzr.el (vc-bzr-after-dir-status):
14788         Ignore ignored files.  (Bug#9726)
14790 2011-10-19  Chong Yidong  <cyd@gnu.org>
14792         Doc fix for minor modes, stating that an omitted argument enables
14793         the mode unconditionally when called from Lisp.
14795         * abbrev.el (abbrev-mode):
14796         * allout.el (allout-mode):
14797         * autoinsert.el (auto-insert-mode):
14798         * autoarg.el (autoarg-mode, autoarg-kp-mode):
14799         * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
14800         (global-auto-revert-mode):
14801         * battery.el (display-battery-mode):
14802         * composite.el (global-auto-composition-mode)
14803         (auto-composition-mode):
14804         * delsel.el (delete-selection-mode):
14805         * desktop.el (desktop-save-mode):
14806         * dired-x.el (dired-omit-mode):
14807         * dirtrack.el (dirtrack-mode):
14808         * doc-view.el (doc-view-minor-mode):
14809         * double.el (double-mode):
14810         * electric.el (electric-indent-mode, electric-pair-mode):
14811         * emacs-lock.el (emacs-lock-mode):
14812         * epa-hook.el (auto-encryption-mode):
14813         * follow.el (follow-mode):
14814         * font-core.el (font-lock-mode):
14815         * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
14816         * help.el (temp-buffer-resize-mode):
14817         * hilit-chg.el (highlight-changes-mode)
14818         (highlight-changes-visible-mode):
14819         * hi-lock.el (hi-lock-mode):
14820         * hl-line.el (hl-line-mode, global-hl-line-mode):
14821         * icomplete.el (icomplete-mode):
14822         * ido.el (ido-everywhere):
14823         * image-file.el (auto-image-file-mode):
14824         * image-mode.el (image-minor-mode):
14825         * iswitchb.el (iswitchb-mode):
14826         * jka-cmpr-hook.el (auto-compression-mode):
14827         * linum.el (linum-mode):
14828         * longlines.el (longlines-mode):
14829         * master.el (master-mode):
14830         * mb-depth.el (minibuffer-depth-indicate-mode):
14831         * menu-bar.el (menu-bar-mode):
14832         * minibuf-eldef.el (minibuffer-electric-default-mode):
14833         * mouse-sel.el (mouse-sel-mode):
14834         * msb.el (msb-mode):
14835         * mwheel.el (mouse-wheel-mode):
14836         * outline.el (outline-minor-mode):
14837         * paren.el (show-paren-mode):
14838         * recentf.el (recentf-mode):
14839         * reveal.el (reveal-mode, global-reveal-mode):
14840         * rfn-eshadow.el (file-name-shadow-mode):
14841         * ruler-mode.el (ruler-mode):
14842         * savehist.el (savehist-mode):
14843         * scroll-all.el (scroll-all-mode):
14844         * scroll-bar.el (scroll-bar-mode):
14845         * server.el (server-mode):
14846         * shell.el (shell-dirtrack-mode):
14847         * simple.el (auto-fill-mode, transient-mark-mode)
14848         (visual-line-mode, overwrite-mode, binary-overwrite-mode)
14849         (line-number-mode, column-number-mode, size-indication-mode)
14850         (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
14851         * strokes.el (strokes-mode):
14852         * time.el (display-time-mode):
14853         * t-mouse.el (gpm-mouse-mode):
14854         * tool-bar.el (tool-bar-mode):
14855         * tooltip.el (tooltip-mode):
14856         * type-break.el (type-break-mode-line-message-mode)
14857         (type-break-query-mode):
14858         * view.el (view-mode):
14859         * whitespace.el (whitespace-mode, whitespace-newline-mode)
14860         (global-whitespace-mode, global-whitespace-newline-mode):
14861         * xt-mouse.el (xterm-mouse-mode): Doc fix.
14863         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14864         Fix autogenerated docstring.
14866 2011-10-19  Juri Linkov  <juri@jurta.org>
14868         * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
14869         by checking environment variables "DESKTOP_SESSION" and
14870         "XDG_CURRENT_DESKTOP".  (Bug#9779)
14872 2011-10-19  Juri Linkov  <juri@jurta.org>
14874         * net/browse-url.el (browse-url-browser-function): Add "Chromium".
14875         (browse-url-chromium-program, browse-url-chromium-arguments):
14876         New defcustoms.
14877         (browse-url-default-browser): Check for `browse-url-chromium' and
14878         call `browse-url-chromium-program'.
14879         (browse-url-chromium): New command.  (Bug#9779)
14881 2011-10-18  Juanma Barranquero  <lekktu@gmail.com>
14883         * facemenu.el (list-colors-duplicates): On Windows, detect more
14884         duplicates by assuming that only colors matching "^System" are
14885         special "system colors".  (Bug#9722)
14887 2011-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
14889         * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
14890         to distinguish the author from the committer.
14892 2011-10-18  Michael Albinus  <michael.albinus@gmx.de>
14894         * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
14896 2011-10-18  Jirka Kosek  <jirka@kosek.cz>  (tiny change)
14898         * international/mule.el (sgml-html-meta-auto-coding-function):
14899         Add support for detecting encoding in HTML5 specified only as
14900         <meta charset="UTF-8">.  Implementation just makes http-equiv and
14901         content-type parts from HTML4 encoding string optional.  (Bug#9716)
14903 2011-10-18  Glenn Morris  <rgm@gnu.org>
14905         * vc/vc.el (vc-initial-comment): Mark as obsolete.  (Bug#9745)
14907 2011-10-18  Chong Yidong  <cyd@gnu.org>
14909         * faces.el (cursor): Doc fix.
14911 2011-10-17  Chong Yidong  <cyd@gnu.org>
14913         * font-lock.el (font-lock-maximum-size): Mark as obsolete.
14915 2011-10-17  Ryan Barrett  <emacs@ryanb.org>  (tiny change)
14917         * dirtrack.el (dirtrack): Support shell buffers with path
14918         prefixes, e.g. tramp-based remote shells.  (Bug#9647)
14920 2011-10-17  Teodor Zlatanov  <tzz@lifelogs.com>
14922         * json.el: Bump version to 1.3 and note change in History.
14923         (json-alist-p, json-plist-p): Rewrite to avoid recursion.
14925 2011-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
14927         * comint.el (comint-insert-input, comint-send-input)
14928         (comint-get-old-input-default, comint-backward-matching-input)
14929         (comint-next-prompt): Use nil instead of `input' for field property of
14930         past user input (bug#114).
14932         * minibuffer.el (completion--replace): Inherit surrounding properties
14933         (bug#114).
14934         (minibuffer-complete-and-exit): Use it.
14936         * comint.el (comint--table-subvert): Quote the all-completions output
14937         (bug#9160).
14939 2011-10-17  Martin Rudalics  <rudalics@gmx.at>
14941         * ido.el (ido-default-buffer-method): Remove redundant :type entry.
14943         * menu-bar.el (menu-bar-file-menu): Add entry for making new
14944         window on right of selected.  (Bug#9350) Reword other window
14945         entries and separate them from frame entries.
14947 2011-10-15  Glenn Morris  <rgm@gnu.org>
14949         * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
14950         Doc fixes.
14952 2011-10-15  Chong Yidong  <cyd@stupidchicken.com>
14954         * net/network-stream.el (network-stream-open-starttls):
14955         Improve detection of failure due to lack of TLS support.
14957         * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
14958         putting the input text in front and in bold.
14960 2011-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
14962         * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
14964         * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
14965         empty buffer.
14967         * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
14968         unread-command-events rather than pushing yet-another event.
14970 2011-10-14  Eli Zaretskii  <eliz@gnu.org>
14972         * mail/sendmail.el (sendmail-query-once): Improve the wording of
14973         the explanation of the possible choices.  Make the options passed
14974         to completing-read shorter.
14976 2011-10-13  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
14978         * textmodes/flyspell.el (flyspell-large-region): Make sure
14979         extended character mode is used if defined (Bug#1339).
14981 2011-10-13  Eli Zaretskii  <eliz@gnu.org>
14983         * simple.el (what-cursor-position): Fix the display of the
14984         character info for LRE, LRO, RLE, and RLO characters by appending
14985         an invisible PDF.
14987 2011-10-13  Stefan Monnier  <monnier@iro.umontreal.ca>
14989         * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
14990         even in case of error; add debug spec; simplify data flow.
14991         (with-timeout-handler): Remove.
14993 2011-10-12  Michael Albinus  <michael.albinus@gmx.de>
14995         Fix Bug#6019, Bug#9315.
14997         * files.el (set-auto-mode): Call `file-name-sans-versions' for the
14998         complete `buffer-file-name', the local file name part could look
14999         remotely (for example on VMS).
15001         * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
15002         `tramp-run-real-handler'.
15003         (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
15004         already quoted by '"'.
15006         * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
15007         Let `file-name-handler-alist' be nil, the local file name part
15008         could look remotely (for example on VMS).
15010 2011-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
15012         * textmodes/flyspell.el (flyspell-word): Move with-local-quit
15013         from here...
15014         (flyspell-post-command-hook): ...to here.
15016 2011-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
15018         * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
15019         if not needed.
15020         (sendmail-query-once): Remove OS dependencies.  Make it a 3-way choice
15021         using completion.  Protect against "slow" callers.
15022         Remove the "message hack".
15024 2011-10-11  Juri Linkov  <juri@jurta.org>
15026         * isearch.el (isearch-lazy-highlight-word): New variable.
15027         (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
15028         Use it.  (Bug#9727)
15030 2011-10-11  Glenn Morris  <rgm@gnu.org>
15032         * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
15033         like f90-previous-statement does.
15035 2011-10-11  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
15037         * eshell/eshell.el (eshell-command): History should be saved
15038         only in interactive use, to avoid error.
15040 2011-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
15042         * minibuffer.el (completion-file-name-table): Fix last change,
15043         i.e. ignore normal errors but not the other ones.
15045 2011-10-10  Martin Rudalics  <rudalics@gmx.at>
15047         * window.el (special-display-buffer-names)
15048         (special-display-regexps): Remove some remnants of earlier
15049         changes from doc-strings.
15050         (quit-windows-on): New function.
15052         * vc/vc.el (vc-revert, vc-rollback):
15053         * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
15054         instead of deleting windows.  (Bug#4557) (Bug#5310) (Bug#5556)
15055         (Bug#6183) (Bug#7074) (Bug#7447)
15057 2011-10-09  Martin Rudalics  <rudalics@gmx.at>
15059         * window.el (frame-auto-hide-function): Add version tag.
15060         (Bug#9699)
15062 2011-10-09  Michael Albinus  <michael.albinus@gmx.de>
15064         * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
15065         condition.
15067 2011-10-09  Leo Liu  <sdl.web@gmail.com>
15069         * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
15070         (Bug#9701)
15072 2011-10-08  Glenn Morris  <rgm@gnu.org>
15074         * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
15075         before the first code statement zero indent.  (Bug#9690)
15077 2011-10-08  Chong Yidong  <cyd@stupidchicken.com>
15079         * simple.el (count-words-region): Always count in the region.
15080         Report the number of lines and characters too.
15081         (count-words): New command, which counts in the buffer if the
15082         region is inactive, as count-words-region used to.
15083         (count-words--message): New function.  Handle plurals.
15084         (count-lines-region): Make it an alias for count-words-region.
15086         * bindings.el (esc-map): Replace count-lines-region with
15087         count-words-region.
15089 2011-10-08  Martin Rudalics  <rudalics@gmx.at>
15091         * window.el (window--delete): Delete dedicated frame
15092         unconditionally when argument KILL is non-nil.  (Bug#9699)
15093         (switch-to-buffer): Fix doc-string typo.
15095 2011-10-08  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
15097         * eshell/eshell.el (eshell-command): Avoid using hooks.
15099 2011-10-07  Chong Yidong  <cyd@stupidchicken.com>
15101         * bindings.el ([M-left],[M-right]): Bind to left-word and
15102         right-word respectively.
15104 2011-10-07  Glenn Morris  <rgm@gnu.org>
15106         * cus-start.el (debug-on-quit): Fix custom type.
15108 2011-10-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15110         * subr.el (define-key-after): Clarify that the function is not
15111         useful for non-menu keymaps.
15113         * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
15115 2011-10-06  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
15117         * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
15118         in current minibuffer (Fix bug with recursive minibuffers).
15120 2011-10-06  Chong Yidong  <cyd@stupidchicken.com>
15122         * progmodes/gdb-mi.el (gdb): Doc fix.
15124 2011-10-05  Martin Rudalics  <rudalics@gmx.at>
15126         * window.el (frame-auto-hide-function): New option replacing
15127         frame-auto-delete.  Suggested by Stefan Monnier.
15128         (window--delete): Call frame-auto-hide-function instead of
15129         investigating frame-auto-delete.
15130         (window-point-1, set-window-point-1): New functions.
15131         (window-in-direction, record-window-buffer, window-state-get-1)
15132         (display-buffer-record-window): Use window-point-1 instead of
15133         window-point.
15134         (set-window-buffer-start-and-point): Use set-window-point-1.
15136 2011-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
15138         * emacs-lisp/edebug.el: Heed checkdoc recommendations.
15140 2011-10-05  Glenn Morris  <rgm@gnu.org>
15142         * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
15143         (perl-calculate-indent): Suppress scan errors.  (Bug#2205)
15145 2011-10-05  Leo Liu  <sdl.web@gmail.com>
15147         * subr.el (read-char-choice): Fix argument to buffer-live-p which
15148         works with buffer object.
15150 2011-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
15152         * mpc.el (mpc-tool-bar-map): Add labels.
15154 2011-10-04  Glenn Morris  <rgm@gnu.org>
15156         * calendar/holidays.el (calendar-check-holidays): Doc fix.
15158 2011-10-04  Martin Rudalics  <rudalics@gmx.at>
15160         * window.el (window--delete): New function.
15161         (frame-auto-delete): Resuscitate option.
15162         (bury-buffer, replace-buffer-in-windows)
15163         (quit-window): Rewrite using window--delete.
15164         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
15165         Pass display-buffer-mark-dedicated to window--display-buffer-2
15166         (Bug#9639).
15168 2011-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
15170         * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
15171         returns a list (bug#9554).  Add remote file name completion.
15172         * comint.el (comint--table-subvert): Curry and get quote&unquote
15173         functions as arguments.
15174         (comint--complete-file-name-data): Adjust call accordingly.
15175         * pcomplete.el (pcomplete--table-subvert): Remove.
15176         (pcomplete-completions-at-point): Use comint--table-subvert instead.
15178         * minibuffer.el (completion-table-case-fold): Use currying.
15179         (completion--styles-type, completion--cycling-threshold-type):
15180         New constants.
15181         (completion-styles, completion-category-overrides)
15182         (completion-cycle-threshold): Use them.
15183         * pcomplete.el (pcomplete-completions-at-point): Adjust call to
15184         completion-table-case-fold.
15186 2011-10-03  Stephen Berman  <stephen.berman@gmx.net>
15188         * minibuffer.el (completion-category-overrides): Fix type of styles
15189         and add more user friendly tags (bug#9660).
15191 2011-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
15193         * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
15194         (mule-input-method-string): New widget.
15195         (default-input-method, language-info-custom-alist): Use it.
15197 2011-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
15199         * pcomplete.el: Require comint.
15200         (pcomplete--common-suffix): Remove.
15201         (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
15202         (pcomplete--table-subvert): Sync with comint--table-subvert.
15203         (pcomplete--entries): Use comint-completion-file-name-table.
15204         * comint.el (comint-unquote-filename): Simplify.
15205         (comint-completion-file-name-table): New function (bug#9616).
15206         (comint--complete-file-name-data): Use it.
15208         * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
15209         (pcmpl-gnu-tar-buffer): Remove.
15210         (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
15211         around.  Make sure pcomplete-suffix-list is only changed temporarily.
15212         Don't look inside the tar's file if it's too large.
15214 2011-10-01  Chong Yidong  <cyd@stupidchicken.com>
15216         * cus-edit.el (custom-mode-map):
15217         * epa.el (epa-key-list-mode-map):
15218         * man.el (Man-mode-map):
15219         * startup.el (splash-screen-keymap):
15220         * simple.el (special-mode-map): Use scroll-up-command and
15221         scroll-down-command.
15223         * progmodes/idlw-help.el (idlwave-help-mode-map):
15224         * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
15225         * net/newst-plainview.el (newsticker-mode-map):
15226         * emulation/ws-mode.el (wordstar-mode-map):
15227         * emulation/vi.el (vi-com-map):
15228         * calc/calc-graph.el (calc-graph-show-dumb):
15229         * term/sun.el (terminal-init-sun):
15230         * term/ns-win.el (global-map):
15231         * progmodes/grep.el (grep-mode-map):
15232         * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
15233         * mail/rmail.el (rmail-mode-map):
15234         * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
15236         * custom.el (custom-safe-themes, load-theme): Treat value of t for
15237         custom-safe-themes as special.
15239 2011-10-01  Julien Danjou  <julien@danjou.info>
15241         * notifications.el (notifications-notify): Fix docstring.
15243 2011-10-01  Per Starbäck  <per@starback.se>
15245         * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call.  (Bug#9643)
15247 2011-09-30  Martin Rudalics  <rudalics@gmx.at>
15249         * startup.el (command-line-1): Fix last fix by inserting
15250         initial-scratch-message into *scratch* before displaying it.
15251         (Bug#9605) and (Bug#9636)
15253 2011-09-29  Eli Zaretskii  <eliz@gnu.org>
15255         * simple.el (line-move): If auto-hscroll-mode is disabled and the
15256         window is hscrolled, move by logical lines.  (Bug#9607)
15257         (line-move-visual): Update the doc string to the above effect.
15259 2011-09-29  Martin Rudalics  <rudalics@gmx.at>
15261         * window.el (display-buffer-record-window): When WINDOW is the
15262         selected window use `point' instead of `window-point'.  (Bug#9626)
15264         * startup.el (command-line-1): Use insert-before-markers when
15265         inserting initial-scratch-message.  (Bug#9605)
15267         * help.el (help-window): Remove variable.
15269 2011-09-29  Glenn Morris  <rgm@gnu.org>
15271         * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
15273 2011-09-29  Juanma Barranquero  <lekktu@gmail.com>
15275         * descr-text.el (describe-char-categories): Accept category
15276         descriptions more than one line long.
15278 2011-09-28  Stefan Monnier  <monnier@iro.umontreal.ca>
15280         * simple.el (delete-trailing-whitespace): Fix last change.
15282         * progmodes/perl-mode.el (perl-syntax-propertize-function):
15283         Don't confuse "y => 3" as the beginning of a `y' operation.
15285         * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
15286         object has more than 4 slots (bug#9613).
15288 2011-09-28  Juanma Barranquero  <lekktu@gmail.com>
15290         * subr.el (with-output-to-temp-buffer):
15291         * net/quickurl.el (quickurl, quickurl-browse-url):
15292         Fix typos in docstrings.
15294 2011-09-27  Eli Zaretskii  <eliz@gnu.org>
15296         * minibuffer.el (completion-styles)
15297         (completion-category-overrides): Cross reference each other in doc
15298         strings.
15300 2011-09-27  Glenn Morris  <rgm@gnu.org>
15302         * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
15303         to split-string.  (Bug#9606)
15305 2011-09-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15307         * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
15308         (bug#9615).
15310 2011-09-27  Chong Yidong  <cyd@stupidchicken.com>
15312         * emacs-lisp/package.el (list-packages): Fix echo area message.
15314 2011-09-27  Leo Liu  <sdl.web@gmail.com>
15316         * ido.el (ido-read-internal): Accept cons cell HIST arg.
15318 2011-09-25  Michael Albinus  <michael.albinus@gmx.de>
15320         * net/dbus.el (dbus-unregister-object): Don't release services for
15321         registered signals.  (Bug#9581)
15323 2011-09-25  Teodor Zlatanov  <tzz@lifelogs.com>
15325         * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
15326         function that picks between cfengine 2 and 3 support
15327         automatically.  Update docs accordingly.
15329 2011-09-22  Kenichi Handa  <handa@m17n.org>
15331         * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
15332         ZERO.
15333         (indian-itrans-v5-table-for-tamil): New variable.
15334         (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
15336 2011-09-22  Ken Manheimer  <ken.manheimer@gmail.com>
15338         * allout.el (allout-this-command-hid-stuff): Buffer-local variable
15339         that's true if the current command involved collapsing of text.
15340         It's reset to false at the beginning of the next command.
15341         (allout-post-command-business): Move the cursor to the beginning
15342         of entry if the cursor is hidden and collapsing activity just
15343         happened.
15345 2011-09-24  Chong Yidong  <cyd@stupidchicken.com>
15347         * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
15348         tracking (Bug#9541).
15350 2011-09-24  Ulf Jasper  <ulf.jasper@web.de>
15352         * net/newst-reader.el (newsticker-html-renderer)
15353         (newsticker-show-news): Automatically load html rendering package
15354         if newsticker-html-renderer is set.  Fixes "Warning: defvar ignored
15355         because w3m-fill-column is let-bound" and the error "Symbol's value
15356         as variable is void: w3m-fill-column".
15358 2011-09-24  Michael Albinus  <michael.albinus@gmx.de>
15360         * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
15361         Release services only if they are defined.  (Bug#9581)
15363 2011-09-23  Richard Stallman  <rms@gnu.org>
15365         * textmodes/paragraphs.el (forward-sentence): For backwards case,
15366         distinguish start of paragraph from start of its text.
15368         * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
15370         * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
15371         (rmail-generate-viewer-buffer): Put that hook on view buffer.
15372         (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
15374 2011-09-23  Andreas Schwab  <schwab@linux-m68k.org>
15376         * international/mule-diag.el (mule-diag): Insert a newline after
15377         each fontset description.
15379 2011-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
15381         * simple.el (delete-trailing-whitespace):
15382         Document last change; simplify.
15384 2011-09-23  Peter J. Weisberg  <pj@irregularexpressions.net>
15386         * simple.el (delete-trailing-whitespace): Also delete
15387         extra newlines at the end of the buffer.
15389         * textmodes/picture.el: Make motion commands obey shift-select-mode.
15390         (picture-newline): Use forward-line so as to ignore fields.
15392 2011-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
15394         * subr.el (with-wrapper-hook): Fix edebug spec.
15396 2011-09-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15398         * simple.el (kill-line): Note effect of `show-trailing-whitespace'
15399         (bug#4538).
15401 2011-09-23  Michael Albinus  <michael.albinus@gmx.de>
15403         * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
15404         Fix nasty bug using wrong cached values.
15406 2011-09-23  Alan Mackenzie  <acm@muc.de>
15408         * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
15410 2011-09-23  Chong Yidong  <cyd@stupidchicken.com>
15412         * window.el (pop-to-buffer): Ensure right window is selected if we
15413         chose another frame.
15415 2011-09-22  Eli Zaretskii  <eliz@gnu.org>
15417         * simple.el (what-cursor-position): Use get-char-property-change
15418         and next-single-char-property-change, to be able to show display
15419         properties that come from overlays as well as text properties.
15421 2011-09-22  Chong Yidong  <cyd@stupidchicken.com>
15423         * window.el (pop-to-buffer-same-window): New (reinstated) fun.
15425         * cmuscheme.el (run-scheme, switch-to-scheme):
15426         * cus-edit.el (customize-group, custom-buffer-create)
15427         (customize-browse):
15428         * info.el (info):
15429         * shell.el (shell):
15430         * mail/sendmail.el (mail):
15431         * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
15433 2011-09-22  Richard Stallman  <rms@gnu.org>
15435         * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
15436         move back only to line beg, don't move back over blank lines.
15438 2011-09-22  Michael Albinus  <michael.albinus@gmx.de>
15440         * files.el (copy-directory): Set directory attributes only in case
15441         they could be retrieved from the source directory.  (Bug#9565)
15443 2011-09-22  Dima Kogan  <dkogan@secretsauce.net>  (tiny change)
15445         * progmodes/hideshow.el (hs-looking-at-block-start-p)
15446         (hs-find-block-beginning, hs-hide-level-recursive):
15447         Ignore strings as well as comments.  (Bug#9502)
15449 2011-09-22  Andrew Schein  <andrew@andrewschein.com>  (tiny change)
15451         * progmodes/sql.el (sql-comint-postgres):
15452         Convert port number to a string.  (Bug#9566)
15454 2011-09-22  Martin Rudalics  <rudalics@gmx.at>
15456         * window.el (quit-window): Undedicate window when switching to
15457         previous buffer.  Reported by Thierry Volpiatto
15458         <thierry.volpiatto@gmail.com>.
15459         (special-display-popup-frame): When popping up a new frame reset
15460         its previous buffers to nil.  Simplify code.
15462 2011-09-21  Michael Albinus  <michael.albinus@gmx.de>
15464         * net/tramp.el (tramp-handle-shell-command): Set process sentinel
15465         and process filter, as done also in `shell-command'.
15467 2011-09-21  Martin Rudalics  <rudalics@gmx.at>
15469         * window.el (set-window-buffer-start-and-point):
15470         Call set-window-start with NOFORCE argument t.
15471         Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
15472         (quit-window): Reword doc-string.  Handle new format of
15473         quit-restore parameter.  Don't delete window if it has a
15474         previous buffer we can show instead of the present one.
15475         (display-buffer-record-window): Rewrite using a new format for
15476         the quit-restore window parameter
15477         (special-display-popup-frame, display-buffer-same-window)
15478         (display-buffer-reuse-window, display-buffer-pop-up-frame)
15479         (display-buffer-pop-up-window, display-buffer-use-some-window):
15480         Adapt symbol passed to display-buffer-record-window.
15481         * help.el (help-window-setup): Handle new format of quit-restore
15482         parameter.
15484 2011-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
15486         * faces.el (face-list): Fix docstring (bug#9564).
15488         * window.el (display-buffer--action-function-custom-type):
15489         Don't include internal functions in the Custom interface.
15491 2011-09-20  Juri Linkov  <juri@jurta.org>
15493         * info.el (Info-history-skip-intermediate-nodes): New defcustom.
15494         (Info-forward-node, Info-backward-node, Info-next-preorder)
15495         (Info-last-preorder): Use it.  (Bug#9528)
15497 2011-09-20  Juri Linkov  <juri@jurta.org>
15499         * info.el (Info-last-preorder): Visit last menu item only when
15500         `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
15502 2011-09-20  Julien Danjou  <julien@danjou.info>
15504         * password-cache.el (password-cache-remove): Remove entries even if the
15505         value is nil, so that password with a nil value (negative caching) is
15506         possible to invalidate.
15508 2011-09-20  Lawrence Mitchell  <wence@gmx.li>
15510         * progmodes/f90.el (f90-break-line): If breaking inside comment delete
15511         all whitespace around breakpoint.  (Bug#9553)
15512         (f90-find-breakpoint): Only break at whitespace inside a comment.
15514 2011-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
15516         * minibuffer.el (completion-file-name-table): Keep track of errors.
15517         (completion-table-with-predicate): Handle the case where pred1 is nil.
15518         * pcomplete.el (pcomplete-completions-at-point): Simplify.
15520 2011-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
15522         * emacs-lisp/debug.el (debugger-args): Give it a docstring.
15523         (debugger-return-value): Signal an error if the debugging context does
15524         not await any return value.
15526         * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
15527         * image-mode.el (image-toggle-display-text)
15528         (image-toggle-display-image): Stay away from evil `intangible'.
15530 2011-09-19  Leo Liu  <sdl.web@gmail.com>
15532         * replace.el (occur-revert-arguments): Make it permanent-local.
15533         (occur-mode): Don't call font-lock-defontify.
15535 2011-09-19  Chong Yidong  <cyd@stupidchicken.com>
15537         * net/ldap.el (ldap-search-internal): Don't push empty search
15538         result (Bug#9508).
15540 2011-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
15542         * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
15544 2011-09-19  Michael Albinus  <michael.albinus@gmx.de>
15546         * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
15547         Suggested by Liam Stitt <stittl@cuug.ab.ca>.
15549 2011-09-18  Juri Linkov  <juri@jurta.org>
15551         * buff-menu.el (Buffer-menu-mode-map):
15552         * dired.el (dired-mode-map):
15553         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
15554         (lisp-interaction-mode-map):
15555         * emacs-lisp/package.el (package-menu-mode-map):
15556         * epa.el (epa-key-list-mode-map):
15557         * menu-bar.el (menu-bar-showhide-tool-bar-menu)
15558         (menu-bar-options-menu):
15559         * outline.el (outline-mode-menu-bar-map):
15560         * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
15561         * vc/vc-dir.el (vc-dir-menu-map):
15562         * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
15563         Capitalize non-function content words in menu item strings.
15565         * dired.el (dired-mode-map): Add menu item for
15566         `image-dired-dired-toggle-marked-thumbs'.
15568 2011-09-18  Juri Linkov  <juri@jurta.org>
15570         * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
15571         to `isearch-case-fold-search' and restore its original value
15572         after the `isearch-mode' call.
15574 2011-09-18  Juri Linkov  <juri@jurta.org>
15576         * progmodes/grep.el (grep-process-setup): Don't check code for 1
15577         because `zgrep' returns 1 for successful matches (bug#9226).
15579 2011-09-18  Juri Linkov  <juri@jurta.org>
15581         * info.el (Info-extract-menu-node-name): Check the second match
15582         for empty string (second test-case of bug#9528).
15583         (Info-last-preorder): Let-bind `Info-history' to nil to not add
15584         intermediate nodes to the history (first test-case of bug#9528).
15586 2011-09-18  Juri Linkov  <juri@jurta.org>
15588         * info.el (Info-mode-syntax-table): New variable.
15589         (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
15591 2011-09-18  Juri Linkov  <juri@jurta.org>
15593         * info.el (Info-file-supports-index-cookies):
15594         Increment line-beginning-position's arg from 3 to 4 because makeinfo
15595         outputs one more line for long file names (bug#4142).
15597 2011-09-18  Chong Yidong  <cyd@stupidchicken.com>
15599         * newcomment.el (comment-normalize-vars): If prompting for
15600         comment-start, set comment-start-skip too (Bug#8424).
15602 2011-09-18  Johan Bockgård  <bojohan@gnu.org>
15604         * icomplete.el: Fix previous fix of Bug#5849.
15605         (icomplete-mode): Don't set completion-show-inline-help.
15606         (icomplete-minibuffer-setup): Set completion-show-inline-help
15607         locally during icompletion.
15609 2011-09-18  Chong Yidong  <cyd@stupidchicken.com>
15611         * woman.el (woman2-process-escapes): Don't delete unrecognized
15612         escapes (Bug#7843).
15614         * files.el (inhibit-first-line-modes-regexps): Add image files.
15615         (hack-local-variables-prop-line): Return nil for malformed
15616         prop-lines (Bug#9044).
15618 2011-09-18  Michael Albinus  <michael.albinus@gmx.de>
15620         * net/tramp.el (top): Don't require 'shell.
15621         (tramp-methods): Fix docstring.
15622         (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
15623         Return complete remote file name.  Handle "smb" case.
15624         Use `tramp-tmpdir', if defined for the respective method.
15625         (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
15627         * net/tramp-compat.el (top): Require 'shell.
15629         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
15630         (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
15631         `tramp-current-host'.
15632         (tramp-get-remote-tmpdir): Remove.
15634         * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
15635         `tramp-tmpdir' entries.
15636         (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
15637         (tramp-smb-handle-file-attributes): Ignore errors.
15638         (tramp-smb-wait-for-output): Check also for process end.
15640 2011-09-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15642         * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
15643         when sending QUIT (bug#9312).
15645 2011-09-17  Chong Yidong  <cyd@stupidchicken.com>
15647         * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
15648         (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
15649         occur-mode-display-occurrence.
15650         (occur-edit-mode): Add usage message.
15651         (occur-cease-edit): New command.
15652         (occur-after-change-function): Use text properties to find the
15653         position of the prefix text.
15654         (occur-engine): Set stickiness of prefix text properties.
15656 2011-09-17  Glenn Morris  <rgm@gnu.org>
15658         * progmodes/etags.el (complete-tag):
15659         Fix call to completion-in-region.  (Bug#9526)
15661 2011-09-17  Juri Linkov  <juri@jurta.org>
15663         * textmodes/ispell.el (ispell-word): Add to the error message
15664         the word, ispell program name and current dictionary (bug#9121).
15665         (ispell-tex-arg-end): Capitalize "error" in the error message.
15667 2011-09-17  Andreas Schwab  <schwab@linux-m68k.org>
15669         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
15670         check.  (Bug#4251)
15672 2011-09-17  Juri Linkov  <juri@jurta.org>
15674         * window.el (window-safe-min-height, window-safe-min-width):
15675         Fix typos (followup to bug#9522).
15677 2011-09-17  Sven Joachim  <svenjoac@gmx.de>
15679         * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
15681 2011-09-16  Eli Zaretskii  <eliz@gnu.org>
15683         * simple.el (line-move): If goal-column is set, move by logical
15684         lines, not by display lines.  (Bug#971)
15685         (next-line, previous-line, goal-column, line-move-visual): Doc fix
15686         to reflect the above change.
15688 2011-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
15690         * image.el (imagemagick-register-types): Use regexp-opt.
15692 2011-09-15  Chong Yidong  <cyd@stupidchicken.com>
15694         * window.el (display-buffer-base-action): Rename from
15695         display-buffer-default-action.  Make default value empty.
15696         (display-buffer-overriding-action): Convert to defvar.
15697         (display-buffer-fallback-action): New var.
15699 2011-09-15  Chong Yidong  <cyd@stupidchicken.com>
15701         * emacs-lisp/package.el (package-alist): Fix risky-local-variable
15702         declaration.
15703         (package--add-to-archive-contents): If there is a duplicate entry
15704         with an older version, remove it.
15705         (package-menu-mark-delete, package-menu-mark-install)
15706         (package-menu-mark-unmark): Make unused args optional.
15707         (package-menu-mark-obsolete-for-deletion):
15708         Use package-menu-get-status instead of a regexp search.
15709         (package-menu-get-status): Use tabulated-list-entry.
15710         (package-menu-mark-upgrades): New command.
15711         (package-menu-mode-map): Bind it to U.  Add it to menu bar.
15712         (package-menu-execute): Do installation before deletion.
15713         (package-menu-refresh, package-menu-execute): Use derived-mode-p
15714         instead of checking major-mode.
15715         (package-menu--find-upgrades): New function.
15717 2011-09-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15719         * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
15720         passwords in the log buffer.
15721         (smtpmail-process-filter): Update the process marker so that the
15722         "broken by peer" status message is inserted in the right place.
15724 2011-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
15726         * textmodes/bibtex.el (bibtex-complete-string-cleanup)
15727         (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
15728         bibtex-completion-at-point-function.
15729         (bibtex-completion-at-point-function): Use them.
15731         * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
15733         * mpc.el (mpc-constraints-tag-lookup): New function.
15734         (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
15735         also to browser "album|playlist".
15737 2011-09-14  Juri Linkov  <juri@jurta.org>
15739         * isearch.el (isearch-fail-pos): Add new arg `msg'.  Doc fix.
15740         (isearch-edit-string): Use length of `isearch-string' when
15741         `isearch-fail-pos' returns nil.
15742         (isearch-message): Remove duplicate code and call
15743         `isearch-fail-pos' with arg `t'.
15745 2011-09-14  Chong Yidong  <cyd@stupidchicken.com>
15747         * replace.el (occur-mode-goto-occurrence): Don't force using other
15748         window (Bug#9499).
15750         * dired-aux.el (dired-do-chmod): Don't provide initial input.
15752 2011-09-14  Martin Rudalics  <rudalics@gmx.at>
15754         * window.el (display-buffer-window): Remove.
15755         (display-buffer-record-window): Use help-setup window parameter
15756         instead of variable display-buffer-window.
15757         (display-buffer-function, special-display-buffer-names)
15758         (special-display-function): Mention help-setup parameter instead
15759         of display-buffer-window in doc-string.
15760         * help.el (help-window-setup): New argument help-window.
15761         Use help-window-setup parameter instead of display-buffer-window.
15762         Reword some messages.
15763         (with-help-window): Pass window used for displaying the buffer
15764         to help-window-setup.  Don't set display-buffer-window.
15766 2011-09-13  Glenn Morris  <rgm@gnu.org>
15768         * emacs-lisp/debug.el (debugger-make-xrefs):
15769         Preserve point.  (Bug#9462)
15771 2011-09-13  Chong Yidong  <cyd@stupidchicken.com>
15773         * window.el (window-deletable-p): Use next-frame.
15775 2011-09-13  Martin Rudalics  <rudalics@gmx.at>
15777         * window.el (window-auto-delete): Remove.
15778         (window-deletable-p): Remove argument FORCE.  Don't deal with
15779         dedication and previous buffers.
15780         (switch-to-prev-buffer): Don't delete window.
15781         (delete-windows-on): Delete a window's frame if and only if the
15782         window is dedicated.
15783         (replace-buffer-in-windows): Delete buffer's window or frame if
15784         and only if window is dedicated.
15785         (quit-window): Handle quit-restore as before last change.
15786         (bury-buffer): Delete window only if window-deletable-p returns t.
15788 2011-09-13  Chong Yidong  <cyd@stupidchicken.com>
15790         * window.el (window-deletable-p): Never delete the last frame on a
15791         given terminal.
15793 2011-09-13  Glenn Morris  <rgm@gnu.org>
15795         * help.el (describe-key-briefly): Copy previous standard-output change.
15797 2011-09-13  PJ Weisberg  <pj@irregularexpressions.net>
15799         * help.el (where-is): Respect non-standard standard-output.  (Bug#9030)
15801 2011-09-13  Glenn Morris  <rgm@gnu.org>
15803         * emacs-lisp/lisp-mode.el (lisp-indent-function):
15804         * progmodes/scheme.el (scheme-indent-function): Doc fixes.
15806 2011-09-12  Chong Yidong  <cyd@stupidchicken.com>
15808         * dired-aux.el (dired-mark-read-string): Don't return default
15809         value on empty input (Bug#9361).
15810         (dired-do-chxxx): Treat empty input for "touch" as no -t option.
15811         Omit initial minibuffer contents.
15812         (dired-do-chmod): Signal an error on empty input.
15813         (dired-mark-read-string): Don't return default on empty input.
15815         * files.el (file-modes-symbolic-to-number): Doc fix.
15817 2011-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
15819         * international/mule-cmds.el (ucs-completions): Remove.
15820         (read-char-by-name): Use complete-with-action instead; add metadata.
15822 2011-09-11  Chong Yidong  <cyd@stupidchicken.com>
15824         * window.el (display-buffer--action-function-custom-type)
15825         (display-buffer--action-custom-type): New vars.
15826         (display-buffer-alist, display-buffer-default-action)
15827         (display-buffer-overriding-action): Add defcustom types.
15829         * frame.el (delete-other-frames): Doc fix (Bug#276).
15831 2011-09-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15833         * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
15835 2011-09-11  Chong Yidong  <cyd@stupidchicken.com>
15837         Change modes that used same-window-* vars to use switch-to-buffer.
15839         * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
15840         Use switch-to-buffer.
15842         * cus-edit.el (customize-group, custom-buffer-create)
15843         (customize-browse, custom-buffer-create-other-window):
15844         Use switch-to-buffer or switch-to-buffer-other-window.
15846         * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
15847         (Info-prev, Info-up, Info-speedbar-goto-node)
15848         (info-display-manual): Use switch-to-buffer.
15849         (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
15851         * mail/sendmail.el (mail): Use switch-to-buffer.
15852         (mail-recover): Use switch-to-buffer-other-window.
15854         * cmuscheme.el (run-scheme, switch-to-scheme):
15855         * ielm.el (ielm):
15856         * shell.el (shell):
15857         * net/rlogin.el (rlogin):
15858         * net/telnet.el (telnet, rsh):
15859         * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
15861 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
15863         * dired.el (dired-sort-toggle-or-edit): Revert last changes.
15865 2011-09-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15867         * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
15868         so don't mention it (bug#9301).
15869         (dired-sort-toggle-or-edit): Clarify string further.
15871         * faces.el (face-spec-set-match-display): Make `(type graphic)'
15872         match `x', `w32' and `ns', like the manual says (bug#9029).
15874         * subr.el (eval-after-load): Doc string clarification (bug#9125).
15875         (process-kill-buffer-query-function): Mention the buffer name in
15876         the query.
15878         * image-mode.el (image-next-line): The line parameter is mandatory
15879         (bug#9258).
15881         * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
15882         which can be useful (bug#9301).
15884         * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
15886         * subr.el (match-string): Mention that the current buffer should
15887         be the same as the search was done in (bug#9282).
15889         * facemenu.el: Disable the remove-* commands if the mark isn't
15890         active (bug#9162).
15892 2011-09-10  Chong Yidong  <cyd@stupidchicken.com>
15894         * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
15895         of display-buffer.
15896         (Buffer-menu-2-window): Use switch-to-buffer-other-window.
15898         * replace.el (occur-mode-goto-occurrence)
15899         (occur-mode-display-occurrence) Use second arg of pop-to-buffer
15900         and display-buffer.
15902         * mail/reporter.el (reporter-submit-bug-report): Use second arg of
15903         display-buffer.
15905         * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
15906         special-display and same-window variables.
15907         (mail-other-window): Use switch-to-buffer-other-window.
15908         (mail-other-frame): USe switch-to-buffer-other-frame.
15910         * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
15911         Use display-buffer-other-frame.
15912         (gdb-display-gdb-buffer): Use pop-to-buffer.
15914         * progmodes/gud.el (gud-goto-info): Use info-other-window.
15916         * progmodes/python.el: Don't set same-window-buffer-names.
15918         * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
15920         * window.el (display-buffer-alist): Add *Python*.
15922 2011-09-10  Chong Yidong  <cyd@stupidchicken.com>
15924         * window.el (display-buffer-alist): Add entry for buffers
15925         previously handled same-window-*.
15926         (display-buffer-alist, display-buffer-default-action)
15927         (display-buffer-overriding-action): Mark as risky.
15928         (display-buffer-alist): Document action function changes.
15929         (display-buffer--same-window-action)
15930         (display-buffer--other-frame-action): New variables.
15931         (switch-to-buffer, display-buffer-other-frame): Use them.
15932         (display-buffer): Rename reuse-frame entry to reusable-frames.
15933         (display-buffer-reuse-selected-window): Function deleted.
15934         (display-buffer-reuse-window): Handle reusable-frames alist entry.
15935         If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
15936         (display-buffer-special): New function.
15937         (display-buffer--maybe-pop-up-frame-or-window): Rename from
15938         display-buffer-reuse-or-pop-window.  Split off special-display
15939         part into display-buffer-special.
15940         (display-buffer-use-some-window): Don't perform any special
15941         pop-up-frames handling.
15942         (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
15943         (display-buffer--maybe-same-window): Rename from
15944         display-buffer-maybe-same-window.
15946         * info.el: Don't set same-window-regexps.
15947         (info-setup): New function.
15948         (info-other-window, info): Call it.
15950         * cus-edit.el: Don't set same-window-regexps.
15951         (customize-group): New argument.
15952         (customize-group-other-window): Use it.
15953         (customize-face, customize-face-other-window): Likewise.
15954         (custom-buffer-create-other-window): Use pop-to-buffer directly.
15956         * net/rlogin.el:
15957         * net/telnet.el:
15958         * progmodes/gud.el: Don't set same-window-regexps.
15960         * cmuscheme.el:
15961         * ielm.el:
15962         * shell.el:
15963         * mail/sendmail.el:
15964         * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
15966 2011-09-10  Juri Linkov  <juri@jurta.org>
15968         * isearch.el (isearch-edit-string): Remove obsolete mention of
15969         `C-w' (`isearch-yank-word-or-char') from docstring.
15970         (isearch-query-replace): Fix typo in docstring (bug#9466).
15972 2011-09-10  Juri Linkov  <juri@jurta.org>
15974         * paren.el (show-paren-function): Don't show escaped parens.
15975         Let-bind `unescaped' to `t' when paren is not escaped.  (Bug#9461)
15977 2011-09-10  Eli Zaretskii  <eliz@gnu.org>
15979         * mail/sendmail.el (mml-to-mime, mml-attach-file)
15980         (mm-default-file-encoding): Remove autoload forms, they are
15981         replaced with autoload cookies in mml.el and mm-encode.el.
15982         (mail-add-attachment): New command.
15983         (mail-mode-map): Add a menu-bar item for mail-add-attachment.
15984         (mail-mode): Mention mail-insert-file and mail-add-attachment in
15985         the doc string.
15986         (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
15988 2011-09-10  Reuben Thomas  <rrt@sc3d.org>
15990         * simple.el (count-words-region): Use buffer if there's no region
15991         (bug#9429).
15993 2011-09-09  Juri Linkov  <juri@jurta.org>
15995         * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
15996         `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
15997         (wdired-isearch-filter-read-only): New function.  (Bug#6362)
15999 2011-09-09  Alan Mackenzie  <acm@muc.de>
16001         * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
16002         spuriously generating `awk-mode-syntax-table'.  (Bug #9448).
16004 2011-09-09  Eli Zaretskii  <eliz@gnu.org>
16006         Fix for Savannah bug#9392.
16007         * simple.el (mail-encode-mml): New defvar.
16009         * mail/rmail.el (mail-encode-mml): Add a defvar.
16010         (rmail-enable-mime-composing): Default to t.
16011         (rmail-forward): Use MIME method of forwarding only if both
16012         rmail-enable-mime-composing and rmail-enable-mime are non-nil.
16013         Set mail-encode-mml non-nil if the MIME method was used.
16015         * mail/sendmail.el (mml-to-mime): Add autoload form.
16016         (mail-encode-mml): Add a defvar.
16017         (mail-mode): Make mail-encode-mml buffer-local and initialize it
16018         to nil.
16019         (mail-send): If mail-encode-mml is non-nil, run the outgoing
16020         message through mml-to-mime, and reset mail-encode-mml to nil.
16022 2011-09-09  Glenn Morris  <rgm@gnu.org>
16024         * woman.el (woman-if-body): When processing an .el block,
16025         do not delete the next .el block as well.  (Bug#9447)
16026         (woman-special-characters): Add oq, cq, and hy characters.
16028 2011-09-08  Martin Rudalics  <rudalics@gmx.at>
16030         * window.el (window-deletable-p): Make sure window is live before
16031         invoking window-prev-buffers.
16033 2011-09-08  Leo Liu  <sdl.web@gmail.com>
16035         * net/rcirc.el (rcirc-cmd-invite): New rcirc command.  (Bug#9453)
16037 2011-09-08  Juri Linkov  <juri@jurta.org>
16039         * progmodes/compile.el (compilation-environment): Make it
16040         a defcustom (bug#8340).
16042 2011-09-08  Martin Rudalics  <rudalics@gmx.at>
16044         * window.el (frame-auto-delete): Rename to window-auto-delete.
16045         Make it control auto-deletion of windows and/or frames.
16046         (window-deletable-p): New argument FORCE.  Rewrite conditions
16047         for deleting window/frame.  (Bug#9419)
16048         (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
16049         Rewrite handling of case when window/frame can be deleted.
16050         (delete-windows-on): Call window-deletable-p with new FORCE
16051         argument t.  (Bug#9456)
16053 2011-09-07  Chong Yidong  <cyd@stupidchicken.com>
16055         * help-mode.el (help-mode): Restore autoload.
16057 2011-09-07  Juri Linkov  <juri@jurta.org>
16059         * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
16060         `compilation-environment'.  Set buffer-local
16061         `compilation-environment' to `thisenv' later after (funcall mode).
16062         (Bug#8340)
16064         * vc/vc-git.el (vc-git-grep): Remove --no-color.  (Bug#9408)
16065         (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
16066         instead of replacing its value.  (Bug#8340)
16068 2011-09-07  Juri Linkov  <juri@jurta.org>
16070         * progmodes/grep.el (grep-regexp-alist): Calculate column positions
16071         based on text properties put by `grep-filter' instead of matching
16072         escape sequences.
16073         (grep-mode): Set buffer-local `compilation-error-screen-columns'
16074         to the value of `grep-error-screen-columns' (bug#9438).
16076 2011-09-07  Juri Linkov  <juri@jurta.org>
16078         * simple.el (next-error-highlight, next-error-highlight-no-select):
16079         Doc fix (bug#9432).
16081 2011-09-07  OKAZAKI Tetsurou  <okazaki.tetsurou@gmail.com>  (tiny change)
16083         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
16084         Check for null c-opt-block-decls-with-vars-key.  (Bug#9443)
16086 2011-09-07  Leo Liu  <sdl.web@gmail.com>
16088         * net/rcirc.el (rcirc-mode): Conditionally initialize
16089         rcirc-input-ring.
16091 2011-09-07  Stefan Monnier  <monnier@iro.umontreal.ca>
16093         * emacs-lisp/find-func.el (find-function-C-source): Only set
16094         find-function-C-source-directory after checking that we found a source
16095         file there (bug#9440).
16097 2011-09-06  Alan Mackenzie  <acm@muc.de>
16099         * isearch.el (isearch-other-meta-char): Wherever a key list is
16100         unread, "unread" the prefix arg, too.  This fixes bug #8901.
16102 2011-09-05  Oleksandr Gavenko  <gavenkoa@gmail.com>  (tiny change)
16104         * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
16106 2011-09-05  Juri Linkov  <juri@jurta.org>
16108         * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
16110 2011-09-05  Juri Linkov  <juri@jurta.org>
16112         * progmodes/grep.el (grep-filter): Avoid incomplete processing by
16113         keeping point where processing of grep matches begins, and
16114         continue to delete remaining escape sequences from the same point.
16115         (grep-filter): Make leading zero optional in "0?1;31m" because
16116         git-grep emits "\033[1;31m" escape sequences unlike expected
16117         "\033[01;31m" as GNU Grep does (bug#9408).
16118         (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
16120 2011-09-05  Juri Linkov  <juri@jurta.org>
16122         * subr.el (y-or-n-p): Capitalize "yes".
16124 2011-09-04  Michael Albinus  <michael.albinus@gmx.de>
16126         * net/tramp.el (top): Require 'shell.  Use `tramp-unload-hook' but
16127         `tramp-cache-unload-hook' where appropriate.
16128         (tramp-methods): Rename `tramp-remote-sh' to
16129         `tramp-remote-shell'.  Add `tramp-remote-shell-args'.
16130         (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
16132         * net/tramp-sh.el (top): Don't require 'shell.
16133         (tramp-methods): Add `tramp-remote-shell' and
16134         `tramp-remote-shell-args' entries.
16135         (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
16136         (tramp-sh-handle-shell-command): Remove.
16137         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
16138         Use `tramp-remote-shell'.
16140 2011-09-03  Chong Yidong  <cyd@stupidchicken.com>
16142         * mail/sendmail.el (sendmail-query-once-function): Delete.
16143         (sendmail-query-once): Save directly to send-mail-function.
16144         Update message-send-mail-function too.
16146         * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
16148 2011-09-03  Christoph Scholtes  <cschol2112@googlemail.com>
16150         * progmodes/python.el (python-mode-map): Use correct function to
16151         start python interpreter from menu-bar (as reported by Geert
16152         Kloosterman).
16153         (inferior-python-mode-map): Fix typo.
16154         (python-shell-map): Remove.
16156 2011-09-03  Deniz Dogan  <deniz@dogan.se>
16158         * net/rcirc.el (rcirc-print): Simplify code for
16159         rcirc-scroll-show-maximum-output.  There is no need to walk
16160         through all windows to find the right one.
16162 2011-09-03  Christoph Scholtes  <cschol2112@googlemail.com>
16164         * help.el (help-return-method): Doc fix.
16166 2011-09-03  Martin Rudalics  <rudalics@gmx.at>
16168         * window.el (window-deletable-p): Don't return a non-nil value
16169         when there's a buffer that was shown in the window before.
16170         (Bug#9419)
16171         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
16172         Set window's previous buffers to nil.
16174 2011-09-03  Eli Zaretskii  <eliz@gnu.org>
16176         * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
16177         newline before and after the tag line, so it doesn't interfere
16178         with determining the paragraph direction of bidirectional text.
16180 2011-09-03  Leo Liu  <sdl.web@gmail.com>
16182         * files.el (find-file-not-true-dirname-list): Remove.  (Bug#9422)
16184 2011-09-02  Chong Yidong  <cyd@stupidchicken.com>
16186         * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
16187         (pop-to-buffer): Change interactive spec.  Pass second argument
16188         directly to display-buffer.
16189         (display-buffer): Fix interactive spec.  Use functionp to
16190         distinguish between a function and a list of functions.
16192         * abbrev.el (edit-abbrevs):
16193         * arc-mode.el (archive-extract):
16194         * autoinsert.el (auto-insert):
16195         * bookmark.el (bookmark-bmenu-list):
16196         * files.el (find-file):
16197         * view.el (view-buffer):
16198         * progmodes/compile.el (compilation-goto-locus):
16199         * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
16201 2011-09-02  Chong Yidong  <cyd@stupidchicken.com>
16203         * window.el (display-buffer-alist): Doc fix.
16204         (display-buffer): Add docstring.  Don't treat
16205         display-buffer-default specially.
16206         (display-buffer-reuse-selected-window)
16207         (display-buffer-same-window, display-buffer-maybe-same-window)
16208         (display-buffer-reuse-window, display-buffer-pop-up-frame)
16209         (display-buffer-pop-up-window)
16210         (display-buffer-reuse-or-pop-window)
16211         (display-buffer-use-some-window): New functions.
16212         (display-buffer-default-action): Use them.
16213         (display-buffer-default): Delete.
16214         (pop-to-buffer-1): Fix choice of actions.
16216 2011-09-02  Stefan Monnier  <monnier@iro.umontreal.ca>
16218         * minibuffer.el (completion--insert-strings): Don't get confused by
16219         completion entries that end with an LF char.
16221 2011-09-01  Eli Zaretskii  <eliz@gnu.org>
16223         * window.el (frame-auto-delete, window-deletable-p): Doc fix.
16225 2011-09-01  Chong Yidong  <cyd@stupidchicken.com>
16227         * window.el (display-buffer): Restore interactive spec.
16228         (display-buffer-same-window, display-buffer-other-window):
16229         New functions.
16230         (pop-to-buffer-1): New function.  Use the above.
16231         (pop-to-buffer, pop-to-buffer-same-window): Use it.
16232         (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
16234         * view.el (view-buffer-other-window, view-buffer-other-frame):
16235         Just use pop-to-buffer.
16237 2011-09-01  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
16239         * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories.  (Bug#9391)
16241 2011-09-01  Wilfred Hughes  <wilfred@potatolondon.com>  (tiny change)
16243         * vc/vc-git.el (vc-git-grep): Use --no-color.  (Bug#9408)
16245 2011-08-31  Richard Stallman  <rms@gnu.org>
16247         * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
16248         of the separation of rmail-view-buffer from rmail-buffer.
16249         If you say no to "replace original", the decrypt is in the
16250         view buffer.  If you say yes, the decrypt goes into the
16251         rmail buffer also.
16253 2011-08-31  Martin Rudalics  <rudalics@gmx.at>
16255         * window.el (display-buffer-window): Rewrite doc-string.
16256         (display-buffer-record-window): New function.
16257         (display-buffer-macro-specifiers)
16258         (display-buffer-even-window-sizes, display-buffer-set-height)
16259         (display-buffer-set-width, display-buffer-in-window)
16260         (display-buffer-reuse-window, display-buffer-split-specifiers)
16261         (display-buffer-side-specifiers, display-buffer-split-window-1)
16262         (display-buffer-split-window, display-buffer-split-atom-window)
16263         (display-buffer-pop-up-window, display-buffer-pop-up-frame)
16264         (display-buffer-pop-up-side-window, display-buffer-in-side-window)
16265         (display-buffer-other-window-means-other-frame)
16266         (display-buffer-normalize-special)
16267         (display-buffer-normalize-default)
16268         (display-buffer-normalize-argument)
16269         (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
16270         (display-buffer-normalize-specifiers, display-buffer-frame)
16271         (display-buffer-same-window, display-buffer-same-frame)
16272         (display-buffer-other-window)
16273         (display-buffer-same-frame-other-window)
16274         (display-buffer-other-frame, pop-to-buffer-same-window)
16275         (pop-to-buffer-same-frame, pop-to-buffer-other-window)
16276         (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
16277         (switch-to-buffer-same-frame)
16278         (switch-to-buffer-other-window-same-frame)
16279         (display-buffer-alist-of-strings-p, display-buffer-alist-add)
16280         (display-buffer-alist-set-1, display-buffer-alist-set-2)
16281         (display-buffer-alist-set): Remove.
16282         (display-buffer-function, special-display-buffer-names)
16283         (special-display-regexps, special-display-function):
16284         In doc-string refer to display-buffer-window and quit-restore
16285         parameter.
16286         (pop-up-frame-alist, pop-up-frame-function, special-display-p)
16287         (special-display-frame-alist, special-display-popup-frame)
16288         (same-window-buffer-names, same-window-regexps, same-window-p)
16289         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
16290         (split-window-preferred-function, split-height-threshold)
16291         (split-width-threshold, window-splittable-p)
16292         (split-window-sensibly, window--try-to-split-window)
16293         (window--frame-usable-p, even-window-heights)
16294         (window--even-window-heights, window--display-buffer-1)
16295         (window--display-buffer-2, display-buffer-other-frame):
16296         Restore old Emacs 23 code, order and doc-strings where applicable.
16297         (display-buffer-default, display-buffer-assq-regexp): New functions.
16298         (display-buffer-alist): Rewrite doc-string.
16299         (display-buffer-default-action)
16300         (display-buffer-overriding-action): New variables.
16301         (display-buffer, switch-to-buffer): Rewrite.
16302         (pop-to-buffer): Restore Emacs 23 behavior but use
16303         window-normalize-buffer-to-display.
16304         (switch-to-buffer-other-window, switch-to-buffer-other-frame):
16305         Restore Emacs 23 behavior but use
16306         window-normalize-buffer-to-switch-to.
16307         (pop-to-buffer-same-window): Rewrite.
16308         (pop-to-buffer-other-window, pop-to-buffer-other-frame):
16309         Rewrite using Emacs 23 options.
16311 2011-08-31  Michael Albinus  <michael.albinus@gmx.de>
16313         * net/tramp.el (tramp-root-regexp): Remove.
16314         (tramp-completion-file-name-regexp-unified)
16315         (tramp-completion-file-name-regexp-separate)
16316         (tramp-completion-file-name-regexp-url): Don't use leading volume
16317         letter on w32 systems.  (Bug#5303, Bug#9311)
16318         (tramp-drop-volume-letter): Simplify definition.
16319         Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
16321 2011-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
16323         * subr.el (event-modifiers): Fix "missing modifier" part of docstring
16324         (bug#9356).
16326 2011-08-30  Reuben Thomas  <rrt@sc3d.org>  (tiny change)
16328         * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
16330 2011-08-29  Juri Linkov  <juri@jurta.org>
16332         * isearch.el (isearch-done): Don't display message "Mark saved"
16333         when arg `edit' is non-nil to prevent its flicker in the echo area.
16335 2011-08-28  Chong Yidong  <cyd@stupidchicken.com>
16337         * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
16338         obsolete packages for deletion.
16340 2011-08-28  Christoph Scholtes  <cschol2112@googlemail.com>
16342         * help-mode.el (help-mode-map): Add special-mode-map to parent.
16343         (help-mode): Derive help-mode from special-mode.  Don't invoke
16344         view-mode from help-mode.
16345         (help-xref-override-view-map): Remove.
16346         (help-make-xrefs): Remove minor-mode-overriding-map-alist since
16347         view-mode is not used anymore.
16349 2011-08-28  Chong Yidong  <cyd@stupidchicken.com>
16351         * server.el (server-port): Doc fix.
16353         * cus-theme.el (custom-theme-choose-mode): Inherit from
16354         special-mode (Bug#9124).
16355         (custom-theme-choose-mode-map): Add special-mode to parent.
16357 2011-08-28  Alan Mackenzie  <acm@muc.de>
16359         * progmodes/cc-fonts.el
16360         (c-make-font-lock-BO-decl-search-function): New function.
16361         (c-basic-matchers-after - "Fontify the clauses after various
16362         keywords"): Extract the three keyword lists for the 3 erroneous
16363         constructs from the list of four, and use the new function above
16364         in place of an old one.
16366 2011-08-28  Deniz Dogan  <deniz@dogan.se>
16368         * net/rcirc.el (rcirc-insert-prev-input)
16369         (rcirc-insert-next-input): Remove unused argument.
16371 2011-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
16373         * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
16375 2011-08-27  Alan Mackenzie  <acm@muc.de>
16377         * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
16378         handle function pointer parameters properly.
16380 2011-08-27  Martin Rudalics  <rudalics@gmx.at>
16382         * window.el (display-buffer-reuse-window): Fix case where
16383         selected window was reused with non-nil OTHER-WINDOW argument.
16384         (Bug#9381)
16386 2011-08-27  Deniz Dogan  <deniz@dogan.se>
16388         * net/rcirc.el (rcirc-check-auth-status): Adding support for
16389         oftc's NickServ messages.
16391 2011-08-27  Glenn Morris  <rgm@gnu.org>
16393         * saveplace.el (save-place-limit): Make it finite.  (Bug#9352)
16395 2011-08-26  Chong Yidong  <cyd@stupidchicken.com>
16397         * emacs-lisp/package.el (package-install): Call package-initialize
16398         if called interactively.
16400 2011-08-26  Leo Liu  <sdl.web@gmail.com>
16402         * emacs-lisp/cl-macs.el (defstruct): Fix format.  (Bug#9357)
16404 2011-08-25  Juri Linkov  <juri@jurta.org>
16406         * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
16407         `search-whitespace-regexp' (bug#9364).
16409 2011-08-25  Juri Linkov  <juri@jurta.org>
16411         * isearch.el (isearch-edit-string): Let-bind `search-ring' and
16412         `regexp-search-ring' to their global values to protect from
16413         updating by `read-from-minibuffer' (bug#9185).
16415 2011-08-25  Juri Linkov  <juri@jurta.org>
16417         * textmodes/ispell.el (ispell-command-loop): Add newline
16418         at the end of the "Use option `i'..." line.
16420 2011-08-25  Juri Linkov  <juri@jurta.org>
16422         * battery.el (display-battery-mode): If `battery-status-function'
16423         or `battery-mode-line-format' is nil, display the message and set
16424         `display-battery-mode' to nil (bug#9363).
16426 2011-08-25  Eli Zaretskii  <eliz@gnu.org>
16428         * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
16429         bidi-string-mark-left-to-right; they are unnecessary now.
16431 2011-08-25  Deniz Dogan  <deniz@dogan.se>
16433         * net/quickurl.el: Documentation typo fixes.
16435 2011-08-25  Chong Yidong  <cyd@stupidchicken.com>
16437         * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
16439 2011-08-25  Glenn Morris  <rgm@gnu.org>
16441         * emacs-lisp/derived.el (define-derived-mode): Doc fix.
16443         * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
16444         (smtpmail-via-smtp): Handle nil response from smtp.
16446 2011-08-24  Juri Linkov  <juri@jurta.org>
16448         * proced.el (proced-marked): Inherit from `error' instead of
16449         `font-lock-warning-face'.
16451         * ibuffer.el (ibuffer-marked-face): Change default face from
16452         `font-lock-warning-face' to `warning'.
16453         (ibuffer-deletion-face): Change default face from
16454         `font-lock-type-face' to `error'.
16456         * battery.el (battery-update): Use the face `error' instead of
16457         `font-lock-warning-face' (bug#6117).
16459 2011-08-24  Juri Linkov  <juri@jurta.org>
16461         * faces.el (success): Change face color from "Green3" to
16462         "ForestGreen" on light background (bug#9353).
16464 2011-08-24  Chong Yidong  <cyd@stupidchicken.com>
16466         * window.el (quit-window): Rename from quit-restore-window.
16467         Use same arglist as old quit-window.
16468         (frame-auto-delete): Doc fix.
16470         * view.el (view-mode-exit): Use quit-window.
16472 2011-08-24  Juri Linkov  <juri@jurta.org>
16474         * isearch.el (isearch-ring-adjust1): Start visiting previous
16475         search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
16476         (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
16477         for empty search string (when the last search string is reused
16478         automatically) to adjust the isearch ring to the last element and
16479         prepare the correct index for further M-p commands (bug#9185).
16481 2011-08-24  Kenichi Handa  <handa@m17n.org>
16483         * international/ucs-normalize.el: If decomposition property of
16484         CHAR is the default one (i.e. a list of CHAR itself), treat it as
16485         nil.
16486         (nfd, nfkd): Likewise.
16488 2011-08-24  Stefan Monnier  <monnier@iro.umontreal.ca>
16490         * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
16491         from process filters aren't reliably transmitted to the surrounding
16492         accept-process-output.
16493         (mpc-proc-check): New function.
16494         (mpc-proc-sync): Use it (bug#8293)
16496 2011-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
16498         * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
16499         Add compatibility functions (bug#9313).
16501 2011-08-23  Eli Zaretskii  <eliz@gnu.org>
16503         * cus-start.el (all): Add entry for bidi-paragraph-direction.
16505         * international/uni-bidi.el: Regenerate.
16507 2011-08-23  Kenichi Handa  <handa@m17n.org>
16509         * international/charprop.el:
16510         * international/uni-bidi.el:
16511         * international/uni-category.el:
16512         * international/uni-combining.el:
16513         * international/uni-comment.el:
16514         * international/uni-decimal.el:
16515         * international/uni-decomposition.el:
16516         * international/uni-digit.el:
16517         * international/uni-lowercase.el:
16518         * international/uni-mirrored.el:
16519         * international/uni-name.el:
16520         * international/uni-numeric.el:
16521         * international/uni-old-name.el:
16522         * international/uni-titlecase.el:
16523         * international/uni-uppercase.el: Regenerate.
16525 2011-08-23  Martin Rudalics  <rudalics@gmx.at>
16527         * help.el (help-window-setup): Fix message displayed when other
16528         window is reused.  (Bug#9341)
16530 2011-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
16532         * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
16533         * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
16535         * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
16536         Mark obsolete.
16537         * shell.el (shell-parse-pcomplete-arguments): New function.
16538         (shell-completion-vars): Use it instead (bug#9160).
16540 2011-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
16542         * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
16543         strings and comments (bug#9333).
16545         * emacs-lisp/debug.el (debug-arglist): New function.
16546         (debug-convert-byte-code): Use it.  Handle lexical byte-codes.
16547         (debug-on-entry-1): Handle interpreted closures (bug#9120).
16549 2011-08-22  Juri Linkov  <juri@jurta.org>
16551         * progmodes/compile.el (compilation-mode-font-lock-keywords):
16552         Revert regexp that highlights output switches to its old
16553         pre-2010-10-28 value and remove one `?' from it (bug#9319).
16555         * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
16556         to check for empty output (bug#9226).
16558 2011-08-22  Chong Yidong  <cyd@stupidchicken.com>
16560         * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
16561         symbol-constituent as the default, as that stops font-lock from
16562         working properly (Bug#8843).
16564 2011-08-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16566         * mail/smtpmail.el (smtpmail-via-smtp): Only bind
16567         `coding-system-for-*' around the process open call to avoid
16568         auth-source side effects.
16569         (smtpmail-try-auth-methods): Expand the secret password.
16570         (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
16571         probe hangs.
16573 2011-08-21  Chong Yidong  <cyd@stupidchicken.com>
16575         * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
16577         * emacs-lisp/find-func.el (find-function-noselect): New arg
16578         lisp-only.
16580         * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
16581         signal an error for built-in functions (Bug#6664).
16583 2011-08-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16585         * mail/smtpmail.el (smtpmail-smtp-user): New variable.
16586         (smtpmail-try-auth-methods): Use it.
16588 2011-08-21  Chong Yidong  <cyd@stupidchicken.com>
16590         * font-lock.el (font-lock-fontify-region)
16591         (font-lock-unfontify-region, font-lock-default-fontify-buffer)
16592         (font-lock-default-unfontify-buffer)
16593         (font-lock-default-fontify-region)
16594         (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
16596         * progmodes/compile.el (compilation-error-properties):
16597         Fix confusion between file struct and message struct (Bug#9319).
16598         (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
16599         `ant' regexp.
16601         * net/browse-url.el (browse-url-firefox): Don't call
16602         browse-url-firefox-sentinel unless using -remote (Bug#9328).
16604 2011-08-20  Glenn Morris  <rgm@gnu.org>
16606         * tutorial.el (help-with-tutorial): Avoid an error on short screens.
16608         * tutorial.el (tutorial--default-keys): Update some default bindings.
16610         * files.el (hack-local-variables): Fully ignore case for "mode:".
16612 2011-08-20  Alan Mackenzie  <acm@muc.de>
16614         Resolve invalid use of a regexp in regexp-opt.
16616         * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
16617         detection for a java annotation.
16619         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
16620         detection for a java annotation.
16622         * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
16623         handling for java.
16624         (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
16626 2011-08-20  Chong Yidong  <cyd@stupidchicken.com>
16628         * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
16629         (Bug#9274).
16631 2011-08-20  Alan Mackenzie  <acm@muc.de>
16633         Fontify CPP expressions correctly when starting in the middle of
16634         such a construct.  Mainly for when jit-lock etc. starts a chunk
16635         here.
16637         * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
16638         variable.
16639         (c-make-font-lock-search-form): New function, extracted from
16640         c-make-font-lock-search-function.
16641         (c-make-font-lock-search-function): Use the above function.
16642         (c-make-font-lock-context-search-function): New function.
16643         (c-cpp-matchers): Enhance the preprocessor expression case with
16644         the above function
16645         (c-font-lock-complex-decl-prepare): Test for being in a CPP form
16646         which takes an expression.
16648         * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
16650 2011-08-20  Martin Rudalics  <rudalics@gmx.at>
16652         * window.el (display-buffer-reuse-window)
16653         (display-buffer-pop-up-window): Don't reuse or split a side
16654         window.
16656 2011-08-19  Glenn Morris  <rgm@gnu.org>
16658         * files.el (hack-local-variables-prop-line, hack-local-variables):
16659         Downcase "Mode:".  (Bug#9331)
16661 2011-08-18  Chong Yidong  <cyd@stupidchicken.com>
16663         * international/characters.el: Add L and R categories.
16665         * subr.el (bidi-string-mark-left-to-right): Rename from
16666         string-mark-left-to-right.  Use category search.
16668         * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
16670 2011-08-18  Juri Linkov  <juri@jurta.org>
16672         * faces.el (error, warning, success): New faces with definitions
16673         copied from old default values of `font-lock-warning-face',
16674         `compilation-warning', `compilation-info' (bug#6117).
16676         * font-lock.el (font-lock-warning-face): Inherit from `error'.
16678         * progmodes/compile.el (compilation-error): Inherit from `error'.
16679         (compilation-warning): Inherit from `warning'.
16680         (compilation-info): Inherit from `success'.
16682         * dired.el (dired-marked): Inherit from `warning'.
16683         (dired-flagged): Inherit from `error'.
16685 2011-08-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16687         * mail/smtpmail.el (auth-source): Require to avoid problems with
16688         binding variables (bug#9298).  Also clean up some unused
16689         autoloads.
16691         * net/network-stream.el (network-stream-open-starttls):
16692         Support using starttls.el without using gnutls-cli.
16694 2011-08-17  Juri Linkov  <juri@jurta.org>
16696         * progmodes/grep.el (rgrep): Handle the case when
16697         `grep-find-command' is a cons cell (bug#9278).
16699 2011-08-17  Martin Rudalics  <rudalics@gmx.at>
16701         * window.el (display-buffer-pop-up-frame): Run frame creation
16702         function with BUFFER current (as special-display-popup-frame
16703         does).  Reported by Drew Adams.
16705 2011-08-17  Daiki Ueno  <ueno@unixuser.org>
16707         * epa-mail.el: Simplify GnuPG group expansion using
16708         epg-expand-group.
16709         (epa-mail-group-alist, epa-mail-group-modtime)
16710         (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
16711         (epa-mail-sync-groups, epa-mail-expand-recipient-1)
16712         (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
16713         Remove.
16715 2011-08-16  Feng Li  <fengli@gmail.com>  (tiny change)
16717         * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
16719 2011-08-16  Alan Mackenzie  <acm@muc.de>
16721         * progmodes/cc-engine.el (c-state-cache-non-literal-place):
16722         Correct, to avoid the inside of macros.
16724 2011-08-16  Richard Stallman  <rms@gnu.org>
16726         * epa-mail.el: Handle GnuPG group definitions.
16727         (epa-mail-group-alist, epa-mail-group-modtime)
16728         (epa-mail-gnupg-conf-file): New variables.
16729         (epa-mail-parse-groups, epa-mail-sync-groups)
16730         (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
16731         (epa-mail-expand-recipients): New functions.
16732         (epa-mail-encrypt): Call epa-mail-expand-recipients.
16734         * mail/rmail.el (rmail-epa-decrypt): New command.
16736         * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
16737         Don't bind buffer-read-only, just inhibit-read-only.
16738         (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
16739         (epa-decrypt-armor-in-region): Make error message clearer.
16741 2011-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
16743         * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
16744         and "a2b" to "ab" for `prefix'.
16746 2011-08-14  Chong Yidong  <cyd@stupidchicken.com>
16748         * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
16749         filter groups.
16750         (ibuffer-included-in-filter-p-1): Use it.  Suggested by Rafaël
16751         Fourquet (Bug#8804).
16753 2011-08-12  Juanma Barranquero  <lekktu@gmail.com>
16755         * startup.el (argi): Declare as global variable (bug#9275).
16757 2011-08-12  Chong Yidong  <cyd@stupidchicken.com>
16759         * subr.el (string-mark-left-to-right): Search the entire string
16760         for RTL script, not just the terminating character.  Doc fix.
16762 2011-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
16764         * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
16765         New function.
16766         (js--regexp-literal, js-syntax-propertize-function): Remove.
16767         (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
16768         (js-mode-map): Don't rebind electric keys.
16769         (js-insert-and-indent): Remove.
16770         (js-mode): Setup electric-layout and electric-indent instead.
16772         * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
16774 2011-08-12  Daiki Ueno  <ueno@unixuser.org>
16776         * epa.el (epa-progress-callback-function): Fix the logic of
16777         displaying progress.
16778         * epa-file.el (epa-file-insert-file-contents): Make progress
16779         display more user-friendly.
16780         (epa-file-write-region): Ditto.
16782 2011-08-10  Chong Yidong  <cyd@stupidchicken.com>
16784         * subr.el (string-mark-left-to-right): New function.
16786         * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
16787         Use string-mark-left-to-right.
16788         (list-buffers-noselect): Caller changed.
16790         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
16791         Use string-mark-left-to-right.
16792         (tabulated-list-print): Recenter after moving point.
16794 2011-08-10  Juri Linkov  <juri@jurta.org>
16796         * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
16797         This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
16798         intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
16800 2011-08-09  Chong Yidong  <cyd@stupidchicken.com>
16802         * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
16803         (Bug#7554).
16805 2011-08-09  Andreas Schwab  <schwab@linux-m68k.org>
16807         * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
16808         character.  (Bug#6594)
16810 2011-08-08  Chong Yidong  <cyd@stupidchicken.com>
16812         * image-dired.el: Don't use find-file for temporary work (Bug#7895).
16813         (image-dired--with-db-file): New macro.
16814         (image-dired-write-tags, image-dired-remove-tag)
16815         (image-dired-create-gallery-lists, image-dired-write-comments)
16816         (image-dired-get-comment, image-dired-mark-tagged-files)
16817         (image-dired-list-tags, image-dired-gallery-generate): Use it.
16818         (image-dired-gallery-generate): Use insert-file-contents.
16820         * time.el (display-time-world-list, display-time-world-display):
16821         * time-stamp.el (time-stamp-string):
16822         * vc/add-log.el (add-change-log-entry): Use setenv instead of
16823         set-time-zone-rule (Bug#7337).
16825 2011-08-08  Daiki Ueno  <ueno@unixuser.org>
16827         * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
16828         (epg-error-to-string, epg-errors-to-string): New function.
16829         (epg-wait-for-completion): Reverse errors list.
16830         (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
16831         (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
16832         (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
16833         (epg-sign-keys, epg-generate-key-from-file)
16834         (epg-generate-key-from-string): Format errors by using
16835         epg-errors-to-string (bug#9255).
16836         (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
16838 2011-08-07  Juri Linkov  <juri@jurta.org>
16840         * faces.el (list-faces-display): Remove extra angle bracket
16841         from `help-mode-map'.
16843         * info.el (Info-history-toc-nodes): Doc fix.
16845         * longlines.el (longlines-mode): Doc fix.
16847 2011-08-05  Stefan Monnier  <monnier@iro.umontreal.ca>
16849         * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
16850         of statements and in a few more cases (bug#9183).
16852         * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
16853         New functions.
16854         (cl-transform-lambda): Use them (bug#9239).
16856 2011-08-05  Martin Rudalics  <rudalics@gmx.at>
16858         * window.el (display-buffer-same-window)
16859         (display-buffer-same-frame, display-buffer-other-window)
16860         (pop-to-buffer-same-window, pop-to-buffer-same-frame)
16861         (pop-to-buffer-other-window)
16862         (pop-to-buffer-same-frame-other-window)
16863         (pop-to-buffer-other-frame): Make them defuns.
16864         (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
16866 2011-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
16868         * subr.el (make-composed-keymap): Move from C.  Change calling
16869         convention, and improve docstring to bring attention to a subtle point.
16870         * minibuffer.el (completing-read-default): Adjust accordingly.
16872 2011-08-03  Michael Albinus  <michael.albinus@gmx.de>
16874         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
16875         (tramp-open-shell): Use `tramp-shell-quote-argument'.
16877         * net/trampver.el: Update release number.
16879 2011-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
16881         * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
16882         "in" (bug#9190).
16884 2011-08-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16886         * mail/sendmail.el (sendmail-query-once): Restore the current
16887         buffer after querying (bug#9074).
16889         * dired.el (dired-flagged): Use different faces for marked and
16890         flagged files (bug#6117).
16892         * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
16893         (bug#4433).
16895         * ido.el (ido-mode): Switch off the message if called
16896         non-interactively.
16898         * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
16899         before 587, since it appears that that's more likely to work for
16900         more people.
16902         * cus-edit.el (custom-file): When running under emacs -q, always
16903         refuse to save the customizations, even if the .emacs file doesn't
16904         exist.
16906         * info.el: Remove the `Info-beginning-of-buffer' function
16907         (bug#8325).
16909         * net/network-stream.el (network-stream-open-starttls):
16910         Use `starttls-available-p' to see whether starttls.el can be used.
16912 2011-08-01  Martin Rudalics  <rudalics@gmx.at>
16914         * window.el (display-buffer-in-window): Don't set dedicated status
16915         of window here (Bug#9215).
16916         (display-buffer-pop-up-window, display-buffer-pop-up-frame)
16917         (display-buffer-pop-up-side-window)
16918         (display-buffer-in-side-window): Set dedicated status of window here.
16920 2011-08-01  Stefan Monnier  <monnier@iro.umontreal.ca>
16922         * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
16923         before binding generated-autoload-file.
16925 2011-08-01  Deniz Dogan  <deniz@dogan.se>
16927         * net/rcirc.el (rcirc-handler-333): Clarify docstring.
16929 2011-07-30  Michael Albinus  <michael.albinus@gmx.de>
16931         Sync with Tramp 2.2.2.
16933         * net/trampver.el: Update release number.
16935 2011-07-30  Juri Linkov  <juri@jurta.org>
16937         * dired-aux.el (dired-touch-initial): Remove function.
16938         (dired-do-chxxx): For op-symbol `touch', set `initial' to the
16939         current time, and `default' to the last modification time of the
16940         current marked file (bug#6887).
16942 2011-07-28  Jose E. Marchesi  <jemarch@gnu.org>
16944         * simple.el (goto-line): Use string-to-number to provide a
16945         numeric argument to read-number (bug#9163).
16947 2011-07-27  Michael Albinus  <michael.albinus@gmx.de>
16949         * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
16950         connection process, it could be nil.
16952 2011-07-27  Leo Liu  <sdl.web@gmail.com>
16954         Simplify url handling in rcirc-mode.
16956         * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
16957         (rcirc-browse-url-at-mouse): Remove.
16958         * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
16960 2011-07-26  Alan Mackenzie  <acm@muc.de>
16962         Fontify bitfield declarations properly.
16964         * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
16965         (c-symbol-chars): Now exported as a lang variable.
16966         (c-not-primitive-type-keywords): New lang variable.
16968         * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
16969         QT keyword "more" to prevent "more slots: ...." being spuriously
16970         parsed as a bitfield declaration.
16972         * progmodes/cc-engine.el (c-beginning-of-statement-1):
16973         Refactor and enhance to handle bitfield declarations.
16974         (c-punctuation-in): New function.
16975         (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
16976         declarations properly.
16978 2011-07-26  Ulf Jasper  <ulf.jasper@web.de>
16980         * calendar/icalendar.el (icalendar--all-events): Take care of
16981         multiple vcalendars in a single file.
16982         (icalendar--convert-float-to-ical): Checkdoc fixes.
16984 2011-07-25  Deniz Dogan  <deniz@dogan.se>
16986         * image.el (insert-image): Clarifying docstring.
16988 2011-07-24  Michael Albinus  <michael.albinus@gmx.de>
16990         * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
16991         `tramp-send-command-and-check' if there is no error.
16992         (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
16994 2011-07-22  Alan Mackenzie  <acm@muc.de>
16996         Prevent cc-langs.elc being loaded at run time.
16998         * progmodes/cc-mode.el: Remove two autoload forms which loaded
16999         cc-langs.
17001         * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
17002         "(require 'cc-langs)".  Quote a form so it will evaluate at
17003         (cc-mode's) compilation time.
17005 2011-07-22  Michael Albinus  <michael.albinus@gmx.de>
17007         * net/tramp.el (tramp-file-name-handler): Avoid recursive
17008         loading.  (Bug#9114)
17010 2011-07-21  Martin Rudalics  <rudalics@gmx.at>
17012         * window.el (display-buffer-pop-up-window)
17013         (display-buffer-pop-up-side-window)
17014         (display-buffer-in-side-window): Call display-buffer-set-height
17015         and display-buffer-set-width after setting the new window's
17016         buffer so `fit-window-to-buffer' and friends work on the right buffer.
17018 2011-07-20  Sam Steingold  <sds@gnu.org>
17020         * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
17021         (etags-tags-included-tables): Call `convert-standard-filename' on
17022         the file names contained in TAGS so that windows Emacs can handle
17023         TAGS files created by cygwin ctags.
17025 2011-07-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17027         * proced.el (proced-update): Revert yesterday's bug#1779 patch,
17028         which apparently didn't work.
17030 2011-07-19  Roland Winkler  <winkler@gnu.org>
17032         * proced.el (proced-send-signal): For *Marked Processes* buffer
17033         put point at beginning of buffer.
17035 2011-07-19  Stephen Berman  <stephen.berman@gmx.net>
17037         * proced.el (proced-format): Make header lines align with the text
17038         (bug#1779).
17040 2011-07-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17042         * view.el (view-buffer): Allow running in `special' modes if we're
17043         visiting a file (bug#8615).
17045 2011-07-19  Martin Rudalics  <rudalics@gmx.at>
17047         * window.el (display-buffer-alist-of-strings-p)
17048         (display-buffer-alist-set-1, display-buffer-alist-set-2):
17049         New functions.
17050         (display-buffer-alist-set): Rewrite to handle Emacs 23 options
17051         more accurately.
17053 2011-07-18  Alan Mackenzie  <acm@muc.de>
17055         Fontify declarators properly when, e.g., a jit-lock chunk begins
17056         inside a declaration.
17058         * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
17060         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
17061         New function.
17062         (c-complex-decl-matchers): Insert reference to
17063         c-font-lock-enclosing-decls.
17065         * progmodes/cc-engine.el (c-backward-single-comment):
17066         (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
17067         to nil around calls to (forward-comment -1).
17069 2011-07-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17071         * image.el (put-image): Doc typo fix.
17073         * progmodes/etags.el (tags-search): Doc typo fix.
17075         * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
17076         password if we get errors 550 to 554.
17078 2011-07-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17080         * net/gnutls.el (gnutls-log-level): Remove.
17082         * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
17083         indentation character (bug#6380).
17085         * files.el (buffer-offer-save): Made permanently local (bug#6241).
17087         * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
17088         to clarify what the problem is (bug#4291).
17090         * simple.el (current-kill): Clarify what
17091         `interprogram-paste-function' does (bug#7500).
17092         (auto-fill-mode): Document `auto-fill-function' in relation to
17093         `auto-fill-mode' (bug#2470).
17095 2011-07-16  Lawrence Mitchell  <wence@gmx.li>
17097         * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
17098         method if slot is read-only (bug#9035).
17100 2011-07-16  Martin Rudalics  <rudalics@gmx.at>
17102         * frame.el (select-frame-set-input-focus): New argument NORECORD.
17103         * window.el (pop-to-buffer): Select window used even if it was
17104         selected before, see discussion of (Bug#8615), (Bug#6954).
17105         Pass argument NORECORD on to select-frame-set-input-focus.
17107 2011-07-15  Glenn Morris  <rgm@gnu.org>
17109         * subr.el (read-char-choice): Allow quitting.  (Bug#9001)
17110         Respect help-form.
17112 2011-07-09  Lawrence Mitchell  <wence@gmx.li>
17114         * net/gnutls.el (gnutls-min-prime-bits): New variable.
17115         (gnutls-negotiate): Use it.
17117 2011-07-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17119         * net/gnutls.el (gnutls-negotiate):
17120         Upcase `gnutls-algorithm-priority'.
17122 2011-07-15  Glenn Morris  <rgm@gnu.org>
17124         * jka-compr.el (jka-compr-verbose): Move from here...
17125         * jka-cmpr-hook.el (jka-compr-verbose): ... to here.  (Bug#9090)
17126         Add missing :version tag.
17127         * info.el: No need to require jka-compr when compiling.
17129 2011-07-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17131         * net/gnutls.el (gnutls-algorithm-priority): New variable.
17132         (gnutls-negotiate): Use it.
17134         * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
17136         * info.el (Info-beginning-of-buffer): New command.
17137         (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
17138         announcing `b' as the key (bug#8325).
17139         (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
17141         * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
17143         * international/mule-cmds.el
17144         (describe-specified-language-support): Make the error message
17145         clearer (bug#8905).
17147         * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
17149         * isearch.el (isearch-barrier): Add a doc string, since it's
17150         mentioned in a function doc string (bug#8678).
17152 2011-07-15  Martin Rudalics  <rudalics@gmx.at>
17154         * window.el (switch-to-buffer): Call pop-to-buffer with normalized
17155         buffer argument (Bug#9083) and self-identifying label argument.
17157 2011-07-15  Glenn Morris  <rgm@gnu.org>
17159         * emacs-lisp/debug.el (debug): Doc fix.  (Bug#8273)
17161 2011-07-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17163         * man.el (Man-fontify-manpage): Fix message when formatting the
17164         man page (bug#7929).
17166 2011-07-14  Eli Zaretskii  <eliz@gnu.org>
17168         * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
17169         argument LRM; if non-nil, append an invisible LRM character to the
17170         buffer name.
17171         (list-buffers-noselect): Call Buffer-menu-buffer+size with the
17172         last argument non-nil, when formatting buffer names.
17173         (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
17174         paragraph direction.
17176 2011-07-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17178         * man.el (Man-bgproc-sentinel): Skip any arguments and only output
17179         the man page name (bug#7929).
17181         * image.el (put-image): Mention the `put-image' overlay property
17182         (bug#7834).
17184         * scroll-bar.el (set-scroll-bar-mode): Mention that
17185         `scroll-bar-mode' lists the values (bug#7772).
17187         * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
17188         command (bug#7729).
17190         * rect.el (apply-on-rectangle): Return the point after the last
17191         operation.
17192         (string-rectangle): Go to the point after the last operation
17193         (bug#7522).
17195         * printing.el (pr-toggle-region): Clarify the documentation
17196         slightly (bug#7493).
17198         * time.el (display-time-update):
17199         Allow `display-time-mail-function' to return nil (bug#7158).
17200         Fix suggested by Detlev Zundel.
17202         * vc/diff.el (diff): Clarify the order the file names are read
17203         (bug#7111).
17205         * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
17206         the doc string (bug#7015).
17208         * font-lock.el (font-lock-maximum-decoration): Mention what
17209         numeric levels mean (bug#6935).
17211         * startup.el (initial-buffer-choice): Don't mention the `none'
17212         selection, which is against policy.
17214 2011-07-14  Martin Rudalics  <rudalics@gmx.at>
17216         * window.el (display-buffer-normalize-special):
17217         Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
17219 2011-07-14  Eli Zaretskii  <eliz@gnu.org>
17221         * subr.el (version<, version<=, version=): Mention "-CVS" and
17222         "-12345" alpha version numbers.
17224 2011-07-14  Chong Yidong  <cyd@stupidchicken.com>
17226         * bindings.el: Add advertised binding for set-mark-command
17227         (Bug#5772).
17229 2011-07-14  Chong Yidong  <cyd@stupidchicken.com>
17231         * bindings.el (mode-line-other-buffer):
17232         * bookmark.el (bookmark-bmenu-2-window):
17233         * bs.el (bs-cycle-next, bs-cycle-previous):
17234         * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
17235         switch-to-buffer.
17237         * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
17238         Delete.
17240 2011-07-14  Juanma Barranquero  <lekktu@gmail.com>
17242         * follow.el (follow-debug-message, follow-redisplay):
17243         * jka-cmpr-hook.el (with-auto-compression-mode):
17244         Fix typos in docstrings.
17246 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17248         * subr.el (with-silent-modifications): Clarify somewhat what the
17249         macro inhibits (bug#6525).
17251         * simple.el (eval-expression): Note what it does if called
17252         interactively (bug#6495).
17254 2011-07-13  Chong Yidong  <cyd@stupidchicken.com>
17256         * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
17257         Use pop-to-buffer buffer-or-name if it is nil.
17259         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
17260         Remove switch-to-buffer.
17262 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17264         * files.el (make-directory): Clarify that an error will be raised
17265         if there's an error (bug#6397).
17267         * startup.el (initial-buffer-choice): Add `none' as a choice
17268         (bug#6234).
17270         * subr.el (add-hook): Clarify section about buffer-local hooks
17271         (bug#6218).
17273         * dired.el (dired-flagged): Clarify doc string (bug#6117).
17275 2011-07-13  Juanma Barranquero  <lekktu@gmail.com>
17277         * tabify.el (untabify): Preserve the current column so that point
17278         doesn't move (bug#6032).
17280 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17282         * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
17283         Rewrite to avoid awkward possessive "s" (bug#5986).
17285 2011-07-13  Glenn Morris  <rgm@gnu.org>
17287         * dired.el (dired-use-ls-dired): Doc fix.  (Bug#9039).
17288         (dired-insert-directory): Give a message the first time
17289         if ls is found not to support --dired.
17291 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17293         * simple.el (toggle-truncate-lines): Clarify what is toggled
17294         (bug#5580).  Text by Drew Adams.
17296 2011-07-13  Chong Yidong  <cyd@stupidchicken.com>
17298         * simple.el (blink-matching-open): Make the error message from the
17299         last change less verbose.
17301 2011-07-13  Dan Nicolaescu  <dann@ics.uci.edu>
17303         * font-lock.el (font-lock-comment-face): Use the high contrast
17304         "yellow" color for font-lock-comment-face on low color terminals
17305         using a dark background color (bug#4221).
17307 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17309         * dired.el (dired-insert-set-properties): Make the doc string
17310         reflect what it does now (bug#5325).
17312         * simple.el (blink-matching-open): Say that we were unable to find
17313         the match within the limit, if we're limited (bug#5122).
17315         * international/mule-cmds.el (prefer-coding-system): Add an
17316         example (bug#4869).
17318         * progmodes/etags.el (tags-search): Document `file-list-form'
17319         (bug#4731).
17321 2011-07-13  Lawrence Mitchell  <wence@gmx.li>
17323         * net/browse-url.el (browse-url-default-browser)
17324         (browse-url-browser-function): Make the default browser choice a
17325         bit more logical (bug#4300).  Also clean up the doc string.
17327 2011-07-13  Juanma Barranquero  <lekktu@gmail.com>
17329         * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
17330         binary endings (bug#4440).
17332 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17334         * info.el (info-insert-file-contents): Inhibit jka-compr messages,
17335         which can be pretty annoying (bug#8971).
17337         * jka-compr.el (jka-compr-verbose): New variable, and use
17338         throughout (bug#8971).
17340         * info.el (Info-find-file): Fall back on the installation
17341         directory if we can't find the info node anywhere else.
17343 2011-07-13  Sergei Organov  <osv@javad.com>  (tiny change)
17345         * vc/vc.el (vc-revert-file):
17346         Don't set file time-stamp in the past.  (Bug#5181)
17348 2011-07-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17350         * files.el (after-find-file): Give a better error message when
17351         trying to find a symlink that points to a file that doesn't exist
17352         (bug#4398).
17354         * progmodes/cc-vars.el: Remove (probably) misleading comment
17355         (bug#4396).
17357 2011-07-12  Johan Bockgård  <bojohan@gnu.org>
17359         * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
17361 2011-07-12  Chong Yidong  <cyd@stupidchicken.com>
17363         * mouse-sel.el: Hack restoring functionality, while keeping
17364         compatibility with 2010-07-03 changes to mouse selection.
17365         (mouse-sel-primary-overlay): New var.
17366         (mouse-sel-selection-alist): Use it.
17367         (mouse-sel-mode): Doc fix; remove points that are default features
17368         of mouse.el.
17370 2011-07-12  Johan Bockgård  <bojohan@gnu.org>
17372         * progmodes/compile.el (compilation-error-regexp-alist-alist):
17373         Fix previous fix (bug#2490).
17375 2011-07-12  Roland Winkler  <winkler@gnu.org>
17377         * textmodes/bibtex.el (bibtex-initialize):
17378         Use pop-to-buffer-same-window.
17379         (bibtex-search-entries): Fix interactive call.
17381 2011-07-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17383         * progmodes/compile.el (compilation-error-regexp-alist-alist):
17384         Fontise bytecomp Error lines more correctly (bug#2490).
17385         Fix suggested by Johan Bockgård.
17387         * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
17389         * dired-x.el (dired-guess-default): Use `delete-dups'.
17391 2011-07-12  Chong Yidong  <cyd@stupidchicken.com>
17393         * dired.el (dired-mark-prompt):
17394         * dired-aux.el (dired-read-shell-command): Doc fix.
17396 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17398         * mail/sendmail.el (sendmail-query-once):
17399         Use `customize-save-variable' unconditionally, now that it works under
17400         emacs -Q.
17402         * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
17404         * cus-edit.el (custom-file): Take an optional no-error variable.
17405         (customize-save-variable): Set the variable, and give a warning if
17406         running under "emacs -q".
17408 2011-07-11  Juanma Barranquero  <lekktu@gmail.com>
17410         * loadhist.el (unload-feature-special-hooks):
17411         Add `auto-coding-functions', `fill-nobreak-predicate' and
17412         `find-directory-functions' (bug#5327).
17414 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17416         * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
17418         * cus-edit.el (custom-guess-name-alist): -alist variables should
17419         use the `alist' type (bug#3120).  Suggested by Drew Adams.
17421         * printing.el: Add documentation to all the `pr-toggle-' commands.
17423 2011-07-11  Leo Liu  <sdl.web@gmail.com>
17425         * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
17426         backends where it makes sense (bug#2623).
17428 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17430         * dired-x.el (dired-guess-default): Remove duplicate shell command
17431         entries (bug#2028).
17432         (dired-guess-default): Fix grammar in doc string (bug#2028).
17433         (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
17435         * subr.el (remove-duplicates): New conveniency function.
17437 2011-07-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17439         * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
17440         (bug#1526).
17442 2011-07-10  Martin Rudalics  <rudalics@gmx.at>
17444         * window.el (display-buffer-normalize-default): Don't invert
17445         meaning of even-window-heights.  Reported by Eli Zaretskii
17446         <eliz@gnu.org>.
17448 2011-07-10  Bob Rogers  <rogers@rgrjr.dyndns.org>
17450         * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
17452 2011-07-10  Chong Yidong  <cyd@stupidchicken.com>
17454         * window.el (display-buffer): Fix arguments to
17455         display-buffer-reuse-window in last change.
17457         * faces.el (link): Use a less saturated blue on light backgrounds.
17459         * startup.el (fancy-startup-text, fancy-about-text)
17460         (fancy-startup-tail): Use font-lock faces, for background safety.
17462 2011-07-09  Bob Nnamtrop  <bobnnamtrop@gmail.com>  (tiny change)
17464         * emulation/viper-cmd.el (viper-change-state-to-vi):
17465         Limit triggering of abbrev expansion (Bug#9038).
17467 2011-07-09  Martin Rudalics  <rudalics@gmx.at>
17469         * window.el (display-buffer-default-specifiers): Remove.
17470         (display-buffer-macro-specifiers): Remove default specifiers.
17471         (display-buffer-alist): Default to nil.
17472         (display-buffer-reuse-window): New optional argument other-window.
17473         (display-buffer-pop-up-window): Allow splitting internal
17474         windows.  Check whether a live window was created.
17475         (display-buffer-other-window-means-other-frame)
17476         (display-buffer-normalize-arguments): Rename to
17477         display-buffer-normalize-argument and rewrite.  Set the
17478         other-window specifier.
17479         (display-buffer-normalize-special): New function.
17480         (display-buffer-normalize-options): Rename to
17481         display-buffer-normalize-default and rewrite.
17482         (display-buffer-normalize-options-inhibit): Remove.
17483         (display-buffer-normalize-specifiers): Rewrite.
17484         (display-buffer): Process other-window specifier and call
17485         display-buffer-reuse-window with it.  Emulate Emacs 23 behavior
17486         more faithfully.
17487         (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
17488         (display-buffer-alist-set): Don't handle 'unset default values.
17489         (display-buffer-in-window, display-buffer-alist-set):
17490         Replace symbol "dedicated" by "dedicate".  Reported by Tassilo Horn
17491         <tassilo@member.fsf.org>.
17493 2011-07-09  Leo Liu  <sdl.web@gmail.com>
17495         * register.el (insert-register): Restore accidental change on
17496         2011-06-26.  (Bug#9028)
17498 2011-07-09  Glenn Morris  <rgm@gnu.org>
17500         * subr.el (remq): Handle the empty list.  (Bug#9024)
17502 2011-07-08  Andreas Schwab  <schwab@linux-m68k.org>
17504         * mail/sendmail.el (send-mail-function): No longer delay custom
17505         initialization.
17506         * custom.el (custom-initialize-delay): Doc fix.
17508 2011-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
17510         * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
17512 2011-07-08  Michael Albinus  <michael.albinus@gmx.de>
17514         * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
17515         human-friendly prompt.
17517 2011-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
17519         * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
17520         provided by a particular plugin.
17522 2011-07-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17524         * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
17525         save customizations (with "emacs -Q"), just set the variable
17526         instead of erroring out.
17528         * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
17530 2011-07-08  Juri Linkov  <juri@jurta.org>
17532         * arc-mode.el (archive-zip-expunge, archive-zip-update)
17533         (archive-zip-update-case): Use 7z if found by `executable-find'.
17534         The order of searching the available programs is the same as in
17535         `archive-zip-extract' (bug#8968).
17537 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
17539         * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
17540         (menu-bar-options-menu): Tweak descriptions.
17542 2011-07-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17544         * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
17545         menu items into verb phrases (bug#1421).  Also refill to fit under
17546         80 columns.
17548 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
17550         * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
17551         (Info-read-node-name): Doc fix (Bug#1084).
17553         * thingatpt.el (forward-thing, bounds-of-thing-at-point)
17554         (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
17555         (end-of-sexp, beginning-of-sexp)
17556         (thing-at-point-bounds-of-list-at-point, forward-whitespace)
17557         (forward-symbol, forward-same-syntax, word-at-point)
17558         (sentence-at-point): Doc fix (Bug#1144).
17560 2011-07-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17562         * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
17563         should cover it (bug#1281).
17565         * cus-edit.el (custom-show): Mark as obsolete.
17567         * net/network-stream.el (network-stream-open-starttls): If GnuTLS
17568         negotiation fails, then possibly try again with a non-encrypted
17569         connection (bug#9017).
17571         * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
17572         be used.
17574 2011-07-07  Richard Stallman  <rms@gnu.org>
17576         * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
17577         property, and handle its changed format.
17578         Look for the correct line number.
17579         Use file's line contents (but not past first =) to find
17580         correct line in message.
17582 2011-07-07  Kenichi Handa  <handa@m17n.org>
17584         * international/characters.el (build-unicode-category-table):
17585         Delete it.
17586         (unicode-category-table): Set it by unicode-property-table-internal.
17588         * international/mule-cmds.el (char-code-property-alist): Move to
17589         to src/chartab.c.
17590         (get-char-code-property): Call unicode-property-table-internal to
17591         load a file.  Call get-unicode-property-internal where necessary.
17592         (put-char-code-property): Call unicode-property-table-internal to
17593         load a file.  Call put-unicode-property-internal where necessary.
17594         put-unicode-property-internal where necessary.
17595         (char-code-property-description):
17596         Call unicode-property-table-internal to load a file.
17598         * international/charprop.el:
17599         * international/uni-bidi.el:
17600         * international/uni-category.el:
17601         * international/uni-combining.el:
17602         * international/uni-comment.el:
17603         * international/uni-decimal.el:
17604         * international/uni-decomposition.el:
17605         * international/uni-digit.el:
17606         * international/uni-lowercase.el:
17607         * international/uni-mirrored.el:
17608         * international/uni-name.el:
17609         * international/uni-numeric.el:
17610         * international/uni-old-name.el:
17611         * international/uni-titlecase.el:
17612         * international/uni-uppercase.el: Regenerate.
17614         * loadup.el: Load international/charprop.el before
17615         international/characters.
17617 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
17619         * window.el (next-buffer, previous-buffer): Signal an error if
17620         called from a minibuffer window.
17622         * bindings.el: Revert 2011-07-04 change.
17624 2011-07-06  Richard Stallman  <rms@gnu.org>
17626         * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
17627         (rmail-mime-insert-bulk, rmail-mime-insert-text):
17628         Treat markers like ints.
17629         (rmail-mime-entity): Doc fix.
17631 2011-07-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17633         * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
17634         defcustom again for backwards compatibility.
17636         * simple.el (shell-command-on-region): Fill.
17638         * dired-aux.el (dired-kill-line): Add a doc string.
17640         * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
17641         to "\\sw\\|\\s_" (bug#358).
17643         * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
17644         (dired-unmark-backward): Ditto.
17645         (dired-flag-backup-files): Ditto.
17647         * dired-x.el (dired-mark-sexp): Ditto.
17649 2011-07-06  Richard Stallman  <rms@gnu.org>
17651         * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
17652         (rmail-mime-entity): New arg TRUNCATED.
17653         (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
17654         New functions.
17655         (rmail-mime-save): Warn if entity is truncated.
17656         (rmail-mime-toggle-hidden): Likewise, for showing.
17657         (rmail-mime-process-multipart): Record when an entity is truncated.
17659         * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
17660         if ENTITY is a string.
17662 2011-07-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17664         * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
17665         of faces when `M-C-x'-ing their definitions (bug#8378).
17666         Also clean up the code slightly.
17668         * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
17669         because that makes the colors go away.
17671         * mail/sendmail.el (send-mail-function): Change the default to
17672         `sendmail-query-once'.
17673         (sendmail-query-once): Add an autoload cookie.
17675         * net/network-stream.el (network-stream-open-starttls): Try using
17676         a plain connection even if the server offered STARTTLS, and we
17677         kinda wanted to use it, if Emacs doesn't have any STARTTLS
17678         capability.  This should make smtpmail.el work in slightly more
17679         configurations.
17681 2011-07-06  Michael Albinus  <michael.albinus@gmx.de>
17683         * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
17684         New defun.
17685         * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
17687 2011-07-06  Michael R. Mauger  <mmaug@yahoo.com>
17689         * progmodes/sql.el: Version 3.0
17690         (sql-product-alist): Add product :completion-object,
17691         :completion-column, and :statement attributes.
17692         (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
17693         (sql-mode-syntax-table): Mark all punctuation.
17694         (sql-font-lock-keywords-builder): Temporarily remove fallback on
17695         ansi keywords.
17696         (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
17697         (sql-mode-oracle-font-lock-keywords): Improve.
17698         (sql-oracle-show-reserved-words): New function for development.
17699         (sql-product-font-lock): Simplify for source code buffers.
17700         (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
17701         New functions.
17702         (sql-highlight-product): Set product specific syntax table.
17703         (sql-mode-map): Add statement movement functions.
17704         (sql-ansi-statement-starters, sql-oracle-statement-starters):
17705         New variable.
17706         (sql-statement-regexp, sql-beginning-of-statement)
17707         (sql-end-of-statement, sql-signum): New functions.
17708         (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
17709         (sql-show-sqli-buffer): Bug fix.
17710         (sql-interactive-mode): Store connection data as buffer local.
17711         (sql-connect): Add NEW-NAME parameter.  Redesign interaction
17712         with sql-interactive-mode.
17713         (sql-save-connection): Save buffer local settings.
17714         (sql-connection-menu-filter): Change menu entry name.
17715         (sql-product-interactive): Bug fix.
17716         (sql-preoutput-hold): New variable.
17717         (sql-interactive-remove-continuation-prompt): Bug fixes.
17718         (sql-debug-redirect): New variable.
17719         (sql-str-literal): New function.
17720         (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
17721         Redesign.
17722         (sql-oracle-save-settings, sql-oracle-restore-settings)
17723         (sql-oracle-list-all, sql-oracle-list-table): New functions.
17724         (sql-completion-object, sql-completion-column)
17725         (sql-completion-sqlbuf): New variables.
17726         (sql-build-completions-1, sql-build-completions)
17727         (sql-try-completion): New functions.
17728         (sql-read-table-name): Use them.
17729         (sql-contains-names): New buffer local variable.
17730         (sql-list-all, sql-list-table): Use it.
17731         (sql-oracle-completion-types): New variable.
17732         (sql-oracle-completion-object, sql-sqlite-completion-object)
17733         (sql-postgres-completion-object): New functions.
17735 2011-07-06  Glenn Morris  <rgm@gnu.org>
17737         * window.el (pop-to-buffer): Doc fix.
17739 2011-07-06  Markus Heiser  <markus.heiser@darmarit.de>  (tiny change)
17741         * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
17743 2011-07-06  Chong Yidong  <cyd@stupidchicken.com>
17745         * window.el (special-display-popup-frame): Doc fix (Bug#8853).
17747         * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
17749 2011-07-05  Chong Yidong  <cyd@stupidchicken.com>
17751         * button.el (button): Inherit from link face.  Suggested by Dan
17752         Nicolaescu.
17754 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
17756         * progmodes/gdb-mi.el: Fit in 80 columns.
17757         (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
17758         switch-to-buffer.
17760         * progmodes/which-func.el (which-func-ff-hook): Don't output a message
17761         if imenu is simply not configured (bug#8941).
17763 2011-07-05  Ken Manheimer  <ken.manheimer@gmail.com>
17765         * allout.el (allout-post-undo-hook): New allout outline-change
17766         event hook to signal undo activity.
17767         (allout-post-command-business): Run allout-post-undo-hook if an
17768         undo just occurred.
17769         (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
17770         * allout-widgets.el (allout-widgets-after-undo-function):
17771         Ensure the integrity of the current item's decoration after it has been
17772         in the vicinity of an undo.
17773         (allout-widgets-mode): Include allout-widgets-after-undo-function
17774         on the new allout-post-undo-hook.
17776 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
17778         * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
17779         Let define-derived-mode define it.
17780         * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
17781         cycles of abbrev-table inheritance (bug#8998).
17783 2011-07-05  Roland Winkler  <winkler@gnu.org>
17785         * textmodes/bibtex.el: Add support for biblatex.
17786         (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
17787         (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
17788         (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
17789         (bibtex-entry-alist, bibtex-field-alist): New variables.
17790         (bibtex-entry-field-alist): Obsolete alias for
17791         bibtex-BibTeX-entry-alist.
17792         (bibtex-entry-alist, bibtex-field-alist): New widgets.
17793         (bibtex-set-dialect): New command.
17794         (bibtex-entry-type, bibtex-entry-head)
17795         (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
17796         Bind via bibtex-set-dialect.
17797         (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
17798         (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
17799         (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
17800         (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
17801         Define via bibtex-set-dialect.
17802         (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
17803         Obey bibtex-no-opt-remove-re.
17804         (bibtex-vec-push, bibtex-vec-incr): New functions.
17805         (bibtex-format-entry, bibtex-field-list)
17806         (bibtex-print-help-message, bibtex-validate)
17807         (bibtex-search-entries): Use new format of bibtex-entry-alist.
17809 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
17811         * progmodes/compile.el (compilation-goto-locus):
17812         * net/tramp-cmds.el (tramp-append-tramp-buffers):
17813         * bs.el (bs-cycle-next, bs-cycle-previous):
17814         * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
17815         * bindings.el (mode-line-other-buffer):
17816         * autoinsert.el (auto-insert):
17817         * arc-mode.el (archive-extract):
17818         * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
17820 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
17822         * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
17823         Fix check of `emacs-lock-unlockable-modes'.
17824         Coerce true values of `emacs-lock--try-unlocking' to t.
17826 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
17828         * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
17829         * emacs-lock.el: New file.
17831 2011-07-05  Julien Danjou  <julien@danjou.info>
17833         * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
17834         than `boundp' to check if face is set.
17836 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
17838         * register.el (registerv-make):
17839         * window.el (window-min-height): Fix typos in docstrings.
17841 2011-07-05  Jan Djärv  <jan.h.d@swipnet.se>
17843         * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
17844         Update doc string.
17846 2011-07-04  Juanma Barranquero  <lekktu@gmail.com>
17848         * server.el (server-execute): Catch quit and call
17849         `server-return-error' to pass the error back to emacsclient and
17850         close the connection (bug#8942).
17852 2011-07-04  Ken Manheimer  <ken.manheimer@gmail.com>
17854         * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
17855         insecure exception for current topic.  Also note that auto-saves
17856         are handled differently.
17858         (allout-auto-save-temporarily-disabled, allout-just-did-undo):
17859         State variables for tracking auto-save inhibition situation.
17861         (allout-write-contents-hook-handler): Rename from
17862         'allout-write-file-hook-handler', and describe how it depends on
17863         write-contents-functions sensitivity to non-nil value to prevent
17864         file write.
17866         (allout-auto-save-hook-handler): Remove.  auto-save does not check
17867         this in individual buffers, only in the starting buffer, so this
17868         is not the right way for us to inhibit auto-save in a buffer
17869         according to its condition.
17871         (allout-mode): Use new allout-write-contents-hook-handler, and
17872         only with write-contents-functions.  Remove auto-save provisions -
17873         they're implemented elsewhere.
17875         (allout-before-change-handler): If undo is in progress, note that
17876         for attention of allout-post-command-business.
17878         (allout-post-command-business): If the command we're following was
17879         an undo, check for change in the status of encrypted items and
17880         adjust auto-save inhibitions accordingly.
17882         (allout-toggle-subtree-encryption): Adjust auto-save inhibition
17883         according to whether there are or aren't any plain-text topics
17884         pending encryption.
17886         (allout-inhibit-auto-save-info-for-decryption):
17887         Adjust buffer-saved-size and some allout state to inhibit auto-saves
17888         if there are plain-text topics pending encryption.
17890         (allout-maybe-resume-auto-save-info-after-encryption): Adjust
17891         buffer-saved-size and some allout state to not inhibit auto-saves
17892         if there are no longer any plain-text topics pending encryption.
17894         (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
17895         No longer provide for exemption of the current topic.
17897 2011-07-04  Juri Linkov  <juri@jurta.org>
17899         Add 7z operations to delete and save changed members (bug#8968).
17900         * arc-mode.el (archive-7z-expunge, archive-7z-update):
17901         New defcustoms.
17902         (archive-7z-write-file-member): New function.
17903         (archive-7z-summarize): Fix the number of dashes in the
17904         listing output.
17906 2011-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
17908         * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
17909         (bug#8958).
17911 2011-07-04  Chong Yidong  <cyd@stupidchicken.com>
17913         * bindings.el: Ignore next-buffer and previous-buffer in
17914         minibuffer-local-map.
17916         * font-lock.el (font-lock-builtin-face): Change light background
17917         color to dark slate blue (Bug#6693).
17919 2011-07-04  Wang Diancheng  <dcwang@kingbase.com.cn>  (tiny change)
17921         * progmodes/gdb-mi.el (gdb): Use completion-at-point.
17923 2011-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
17925         * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
17926         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
17927         Add switch-to-buffer.
17929 2011-07-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17931         * isearch.el (isearch-search-fun-function): Clarify further the
17932         meaning of the function returned.
17934 2011-07-04  Michael Albinus  <michael.albinus@gmx.de>
17936         * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
17938         * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
17939         (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
17940         Use it.
17941         (tramp-remote-path): Add "/bin" and "/usr/bin".  On busyboxes,
17942         `tramp-default-remote-path' does not exist.
17943         (tramp-send-command-and-read): New optional argument NOERROR.
17944         (tramp-open-connection-setup-interactive-shell)
17945         (tramp-get-remote-path, tramp-get-remote-stat): Use it.
17946         (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
17947         (tramp-process-sentinel): Flush also process' connection property.
17948         (tramp-sh-handle-start-file-process): Do not set process
17949         sentinel.  It is done now ...
17950         (tramp-maybe-open-connection): ... here.  (Bug#8929)
17952 2011-07-04  MON KEY  <monkey@sandpframing.com>
17954         * play/animate.el (animate-string): Doc fixes and allow changing
17955         the buffer name (bug#5417).
17957 2011-07-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17959         * play/animate.el (animation-buffer-name): Rename from *animate*.
17961 2011-07-04  Paul Eggert  <eggert@cs.ucla.edu>
17963         * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
17964         This is simpler and helps future-proof the code.
17965         (timer-until): Use time-subtract and float-time.
17966         (timer--time-less-p): Use time-less-p.
17968 2011-07-04  Juanma Barranquero  <lekktu@gmail.com>
17970         * type-break.el (timep): Use the value of `float-time' to avoid a
17971         byte-compiler warning.
17973         * server.el (server-eval-and-print): Return any result, even nil.
17975 2011-07-03  Paul Eggert  <eggert@cs.ucla.edu>
17977         * type-break.el: Accept time formats that the builtins accept.
17978         (timep, type-break-time-difference): Accept any format that
17979         float-time accepts, rather than insisting on (HIGH LOW USECS) format.
17980         This is simpler and helps future-proof the code.
17981         (type-break-time-difference): Round rather than ignoring
17982         subseconds components.
17984 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17986         * info.el (Info-apropos-matches): Make non-interactive, since it
17987         doesn't seem to do anything useful as a command (bug#8829).
17989 2011-07-03  Chong Yidong  <cyd@stupidchicken.com>
17991         * frame.el (frame-background-mode, frame-set-background-mode):
17992         Move from faces.el.
17993         (frame-default-terminal-background): New function.
17995         * custom.el (custom-push-theme): Don't record faces in `changed'
17996         theme; this doesn't work correctly for per-frame face settings.
17997         (disable-theme): Use face-set-after-frame-default to reset faces.
17998         (custom--frame-color-default): New function.
18000 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18002         * dired.el (dired-flagging-regexp): Remove unused variable
18003         (bug#8769).
18005 2011-03-29  Kevin Ryde  <user42@zip.com.au>
18007         * progmodes/compile.el (compilation-error-regexp-alist-alist):
18008         `perl-Test2' extend to match possible "fail #N" rep count
18009         (bug#8377).
18011 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18013         * mail/feedmail.el (feedmail-buffer-to-smtpmail):
18014         `smtpmail-via-smtp' now returns the error instead of nil.
18016         * isearch.el (isearch-search-fun-function): Clarify the doc string
18017         (bug#8101).
18019 2011-07-03  Richard Kim  <emacs18@gmail.com>  (tiny change)
18021         * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
18022         unnecessary spaces (bug#8987).
18024 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18026         * net/network-stream.el (open-network-stream): Use the
18027         :end-of-capability command thoughout.
18029 2011-07-03  Wolfgang Jenkner  <wjenkner@inode.at>  (tiny change)
18031         * net/network-stream.el (open-network-stream): Add the
18032         :end-of-capability command parameter, used by pop3.el.
18034 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18036         * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
18038         * fringe.el (fringe-query-style): Remove redundant text " (type ?
18039         for list)" (bug#6475).
18041         * files.el (file-expand-wildcards): Ignore non-readable
18042         sub-directories while trying to find matches instead of signaling
18043         an error (bug#6297).
18045         * man.el (Man-reference-regexp): Allow matching possible
18046         word-wrapped references (bug#6289).
18048         * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
18049         for consistency with the other vc buffers (bug#6197).
18050         (vc-checkin): Ditto.
18052         * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
18054         * longlines.el (longlines-mode): Document what ARG does (bug#6150).
18056 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18058         * custom.el (defcustom): Clarify that :set is only used in the
18059         Customize user interface (bug#6089).
18061         * progmodes/flymake.el (flymake-mode): If the buffer isn't
18062         associated with a file, refuse to run instead of erroring out
18063         (bug#6084).
18065         * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
18066         the doc string, since it appears that using `fill-column' always
18067         controls the width (bug#7845).
18069         * simple.el (shell-command-on-region): Say where the error output
18070         went if `shell-command-default-error-buffer' is set (bug#6857).
18072 2011-07-02  Ken Manheimer  <ken.manheimer@gmail.com>
18074         * allout.el (allout-yank-processing): Adjust cursor position for
18075         backwards-deleted space.
18077         (allout-rebullet-heading): Register changes with
18078         allout-exposure-changed-hook, so the modified topic is properly
18079         decorated.
18081 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18083         * minibuffer.el (completion-in-region): Document PREDICATE
18084         (bug#7136).
18086         * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
18087         of keyword/argument pairs (bug#6904).
18089         * replace.el (multi-occur):
18090         Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
18092 2011-07-02  Drew Adams  <drew.adams@oracle.com>
18094         * dired.el (dired-mark-if): Make the message about whether it's
18095         marking or unmarking clearer (bug#8523).
18097 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18099         * disp-table.el (display-table-print-array): New function.
18100         (describe-display-table): Use it to print the vectors more pretty
18101         (Bug#8859).
18103 2011-07-02  Martin Rudalics  <rudalics@gmx.at>
18105         * window.el (window-state-get-1): Don't assign clone numbers.
18106         Add clone-of item to list of window parameters.
18107         (window-state-put-2): Don't process clone numbers.
18108         (display-buffer-alist): Fix doc-string.
18110 2011-07-02  Stefan Monnier  <monnier@iro.umontreal.ca>
18112         * subr.el (remq): Don't allocate if it's not needed.
18113         (keymap--menu-item-binding, keymap--menu-item-with-binding)
18114         (keymap--merge-bindings): New functions.
18115         (keymap-canonicalize): Use them to refine the canonicalization.
18116         * minibuffer.el (minibuffer-local-completion-map)
18117         (minibuffer-local-must-match-map): Move initialization from C.
18118         (minibuffer-local-filename-completion-map): Move initialization from C;
18119         don't inherit from anything here.
18120         (minibuffer-local-filename-must-match-map): Make obsolete.
18121         (completing-read-default): Use make-composed-keymap to combine
18122         minibuffer-local-filename-completion-map with either
18123         minibuffer-local-must-match-map or
18124         minibuffer-local-filename-completion-map.
18126 2011-07-01  Glenn Morris  <rgm@gnu.org>
18128         * type-break.el (type-break-time-sum): Use dolist.
18130         * textmodes/flyspell.el (flyspell-word-search-backward):
18131         Replace CL function.
18133 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
18135         * mouse.el (mouse--strip-first-event): New function.
18136         (function-key-map): Use it to map fringe clicks to normal clicks
18137         by default.
18139         * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
18140         (vc-bzr-revision-completion-table): Add support for annotate and date.
18142         * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
18143         inherit from parent.
18145 2011-07-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18147         * dired-aux.el (dired-diff): Doc fixup (bug#8816).
18148         (dired-show-file-type): Doc fixup (bug#8818).
18150         * dired.el (dired-mode): Fix up the doc string as suggested by
18151         Drew Adams (bug#8817).
18153         * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
18154         cookie, since the manual says that it should be possible to add
18155         this function to `find-file-hook' (bug#8709).
18157 2011-07-01  Teodor Zlatanov  <tzz@lifelogs.com>
18159         * progmodes/cfengine.el: Moved all cfengine3.el functionality
18160         here.  Noted Ted Zlatanov as the maintainer.
18161         (cfengine-common-settings, cfengine-common-syntax): New functions
18162         to set up common things between `cfengine-mode' and
18163         `cfengine3-mode'.
18164         (cfengine3-mode): New mode.
18165         (cfengine3-defuns cfengine3-defuns-regex
18166         (cfengine3-class-selector-regex cfengine3-category-regex)
18167         (cfengine3-vartypes cfengine3-font-lock-keywords)
18168         (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
18169         (cfengine3-indent-line): Add from cfengine3.el.
18171 2011-07-01  Michael Albinus  <michael.albinus@gmx.de>
18173         * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
18175         * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
18177 2011-07-01  Martin Rudalics  <rudalics@gmx.at>
18179         * window.el (same-window-buffer-names, same-window-regexps)
18180         (same-window-p, special-display-frame-alist)
18181         (special-display-popup-frame, special-display-function)
18182         (special-display-buffer-names, special-display-regexps)
18183         (special-display-p, pop-up-frame-alist, pop-up-frame-function)
18184         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
18185         (split-window-preferred-function, split-height-threshold)
18186         (split-width-threshold, even-window-heights)
18187         (display-buffer-mark-dedicated, window-splittable-p)
18188         (split-window-sensibly, window-safely-shrinkable-p):
18189         Un-obsolete.
18190         (display-buffer): Don't spread args with function specifier
18191         because special-display-popup-frame won't like it.
18193 2011-07-01  Paul Eggert  <eggert@cs.ucla.edu>
18195         Time-stamp simplifications and fixes.
18196         These improve accuracy slightly, and future-proof the code
18197         against some potential changes to current-time format.
18199         * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
18200         by using time-since and float-time.
18202         * vc/ediff-util.el (ediff-calc-command-time): Use time-since
18203         and float-time.  Say "NNN.NNN seconds" rather than "NNN seconds
18204         + NNN microseconds".
18206         * type-break.el (type-break-time-sum): Rewrite using time-add.
18208         * play/hanoi.el (hanoi-current-time-float): Remove.
18209         All uses replaced by float-time.
18211         * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
18212         This yields a more-accurate answer.
18213         (rng-time-to-float): Remove; no longer needed.
18215         * emacs-lisp/timer.el (timer-relative-time): Use time-add.
18217         * calendar/timeclock.el (timeclock-seconds-to-time):
18218         Defalias to seconds-to-time, since they're the same thing.
18220         * emacs-lisp/elp.el (elp-elapsed-time):
18221         * emacs-lisp/benchmark.el (benchmark-elapse):
18222         * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
18224 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
18226         * window.el (bury-buffer): Don't iconify the only frame.
18227         (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
18228         to pop-to-buffer.  Use pop-to-buffer-same-frame if you don't like that.
18230 2011-07-01  Chong Yidong  <cyd@stupidchicken.com>
18232         * eshell/em-smart.el (eshell-smart-display-navigate-list):
18233         Add mouse-yank-primary.
18235 2011-07-01  Teodor Zlatanov  <tzz@lifelogs.com>
18237         * progmodes/cfengine3.el: New file to support CFEngine 3.x.
18239 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
18241         * emacs-lisp/find-func.el (find-library--load-name): New fun.
18242         (find-library-name): Use it to find relative load names when provided
18243         absolute file name (bug#8803).
18245 2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18247         * textmodes/flyspell.el (flyspell-word): Consider words that
18248         differ only in case as potential doublons (bug#5687).
18250         * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
18251         Remove two rather uninteresting debugging-like messages to make
18252         debbugs.el more silent.
18254         * comint.el (comint-password-prompt-regexp): Accept "Response" as
18255         a password-like phrase.
18257 2011-06-30  Masatake YAMATO  <yamato@redhat.com>
18259         * progmodes/cc-guess.el: New file.
18261         * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
18263         * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
18264         derived from `c-basic-common-init'.
18266         * progmodes/cc-mode.el (top-level): Require cc-guess.
18267         (c-basic-common-init): Use `cc-choose-style-for-mode'.
18269 2011-06-30  Lawrence Mitchell  <wence@gmx.li>
18271         * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
18273 2011-06-30  Alan Mackenzie  <acm@muc.de>
18275         * progmodes/cc-engine.el (c-guess-continued-construct):
18276         Correct the handling of template-args-cont, particularly for when font
18277         lock is disabled.  Name this case as "CASE G".
18279 2011-06-30  Ken Manheimer  <ken.manheimer@gmail.com>
18281         * allout.el (allout-yank-processing): Fix injection of extra space
18282         between bullet and non-whitespace character in first topic when
18283         pasting, ensuring that the actual spacing in the pasted topic
18284         following the bullet char is preserved.  This extra space was
18285         causing pasted encrypted topics to get a decrypted status even
18286         when the content was actually still encrypted.  Now the decryption
18287         status from before the paste is preserved.
18289         (allout-flag-region): Set all allout overlays so they evaporate
18290         when reduced to zero length (evanescent), to prevent overlay
18291         leakage.
18293 2011-06-30  Glenn Morris  <rgm@gnu.org>
18295         * w32-fns.el (w32-charset-info-alist): Declare.
18297         * find-dired.el (find-grep-options): Simplify.
18299         * term/ns-win.el (ns-set-resource): Declare.
18301         * ses.el (row, col): Declare dynamic variables honestly.
18303         * textmodes/reftex-parse.el (index-tags): Declare.
18305 2011-06-30  Chong Yidong  <cyd@stupidchicken.com>
18307         * cus-edit.el (customize-push-and-save): New function.
18309         * files.el (hack-local-variables-confirm): Use it.
18311         * custom.el (load-theme): New arg NO-CONFIRM.
18312         Use customize-push-and-save (Bug#8720).
18313         (custom-enabled-themes): Doc fix.
18315         * cus-theme.el (customize-create-theme)
18316         (custom-theme-merge-theme): Callers to load-theme changed.
18318 2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18320         * thingatpt.el (thing-at-point-short-url-regexp): Require that
18321         short URLs have at least one dot in them (bug #7614).
18323         * progmodes/grep.el (rgrep): Bind `process-connection-type' to
18324         nil, because using a pty is apparently too slow (bug #895).
18326 2011-06-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18328         * mail/sendmail.el (sendmail-query-once): New function.
18329         (sendmail-query-once-function): New variable.
18331 2011-06-29  Glenn Morris  <rgm@gnu.org>
18333         * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
18335         * ses.el (top-level): Require cl when compiling.
18336         (ses-set-localvars): Fix error statement.
18337         Call it at compile time to silence a storm of warnings.
18339 2011-06-29  Martin Rudalics  <rudalics@gmx.at>
18341         * window.el (normalize-live-buffer): Rename to
18342         window-normalize-buffer.
18343         (normalize-live-frame): Rename to window-normalize-frame.
18344         (normalize-any-window): Rename to window-normalize-any-window.
18345         (normalize-live-window): Rename to window-normalize-live-window.
18346         (make-window-atom): Rename to window-make-atom.
18347         (window-resize-reset): Rename to window--resize-reset.
18348         (window-resize-reset-1): Rename to window--resize-reset-1.
18349         (resize-mini-window): Rename to window--resize-mini-window.
18350         (resize-subwindows-skip-p): Rename to
18351         window--resize-subwindows-skip-p.
18352         (resize-subwindows-normal): Rename to
18353         window--resize-subwindows-normal.
18354         (resize-subwindows): Rename to window--resize-subwindows.
18355         (resize-other-windows): Rename to window--resize-siblings.
18356         (resize-this-window): Rename to window--resize-this-window.
18357         (resize-root-window): Rename to window--resize-root-window.
18358         (resize-root-window-vertically): Rename to
18359         window--resize-root-window-vertically.
18360         (normalize-buffer-to-display): Rename to
18361         window-normalize-buffer-to-display.
18362         (normalize-buffer-to-switch-to): Rename to
18363         window-normalize-buffer-to-switch-to.
18364         Correspondingly update all callers of the functions listed
18365         above.
18366         (display-buffer-alist, display-buffer-normalize-arguments)
18367         (display-buffer-normalize-options, display-buffer)
18368         (display-buffer-alist-set): Use "function" instead of
18369         "fun-with-args".
18371 2011-06-28  Chong Yidong  <cyd@stupidchicken.com>
18373         * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
18374         addresses more clearly.  Add hyperlinks for bug-gnu-emacs and
18375         debbugs.gnu.org.  Mention acknowledgment email.
18377 2011-06-28  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18379         * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
18380         buffer multibyteness, since it shouldn't matter.
18382 2011-06-28  Martin Rudalics  <rudalics@gmx.at>
18384         * window.el (display-buffer-in-side-window): Handle dedicated
18385         windows as in display-buffer-reuse-window.
18386         (display-buffer-normalize-alist): Use value of override
18387         specifier.
18388         (display-buffer-normalize-specifiers): Use value of
18389         other-window-means-other-frame specifier.
18390         (display-buffer-alist): Rewrite some texts in widgets.
18391         (display-buffer): Spread arguments when calling function
18392         specified by fun-with-args.
18394 2011-06-28  Deniz Dogan  <deniz@dogan.se>
18396         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
18397         Unnest `let'.
18399         * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
18400         selectors (Bug#5732).
18401         (css-proprietary-nmstart-re): Use `regexp-opt'.
18403 2011-06-27  Jari Aalto  <jari.aalto@cante.net>
18405         * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
18406         (eshell-ls-date-format): New defcustom.
18407         (eshell-ls-file): Use it.
18409 2011-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
18411         * help-fns.el (describe-variable): Fix message for terminal-local vars.
18413 2011-06-27  Katsumi Yamaoka  <yamaoka@jpl.org>
18415         * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
18416         (ange-ftp-make-tmp-name): New arg.
18417         (ange-ftp-file-local-copy): Use it.
18419 2011-06-27  Jambunathan K  <kjambunathan@gmail.com>
18421         * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
18422         no-conversion (Bug#8870).
18424 2011-06-27  Martin Rudalics  <rudalics@gmx.at>
18426         * window.el (window-right, window-left, window-child)
18427         (window-child-count, window-last-child)
18428         (window-iso-combination-p, walk-window-tree-1)
18429         (window-atom-check-1, window-tree-1, delete-window)
18430         (window-state-get-1, display-buffer-even-window-sizes): Adapt to
18431         new naming conventions - window-vchild, window-hchild,
18432         window-next and window-prev are now called window-top-child,
18433         window-left-child, window-next-sibling and window-prev-sibling
18434         respectively.
18435         (resize-window-reset): Rename to window-resize-reset.
18436         (resize-window-reset-1): Rename to window-resize-reset-1.
18437         (resize-window): Rename to window-resize.
18438         (window-min-height, window-min-width)
18439         (resize-mini-window, resize-this-window, resize-root-window)
18440         (resize-root-window-vertically, adjust-window-trailing-edge)
18441         (enlarge-window, shrink-window, maximize-window)
18442         (minimize-window, delete-window, quit-restore-window)
18443         (split-window, balance-windows, balance-windows-area-adjust)
18444         (balance-windows-area, window-state-put-2)
18445         (display-buffer-even-window-sizes, display-buffer-set-height)
18446         (display-buffer-set-width, set-window-text-height)
18447         (fit-window-to-buffer): Rename all "resize-window" prefixed
18448         calls to use the "window-resize" prefix convention.
18449         (display-buffer-alist): Fix symbol for label specifier.
18450         (display-buffer-reuse-window): Set reuse-dedicated to cdr of
18451         corresponding specifier.
18452         Reported by Juanma Barranquero <lekktu@gmail.com>.
18454 2011-06-27  Vincent Belaïche  <vincentb1@users.sourceforge.net>
18456         * ses.el (ses-destroy-cell-variable-range): Fix heading comment
18457         convention.
18458         (ses-call-printer): Does not pass an empty string to formatter when the
18459         cell is empty to keep from barking printer Calc math-format-value.
18461 2011-06-27  Richard Stallman  <rms@gnu.org>
18463         * battery.el (battery-mode-line-limit): New variable.
18464         (battery-update): Handle it.
18466         * mail/rmailmm.el (rmail-mime-process-multipart):
18467         Handle truncated messages.
18469 2011-06-27  Glenn Morris  <rgm@gnu.org>
18471         * progmodes/flymake.el (flymake-err-line-patterns):
18472         Allow for column numbers in the ant/javac pattern.  (Bug#8866)
18474 2011-06-27  Vincent Belaïche  <vincentb1@users.sourceforge.net>
18476         * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
18477         (ses--clean-!, ses--clean-_): New functions.
18478         (ses-range): Add configurability of readout order, and conversion
18479         to Calc vector.
18481         * ses.el (ses-repair-cell-reference-all): New function.
18482         (ses-cell-symbol): Set macro as safe, so that it can be used in
18483         formulas.
18485         * ses.el: Update cycle detection algorithm.
18486         (ses-localvars): Add ses--Dijkstra-attempt-nb and
18487         ses--Dijkstra-weight-bound, and initial values thereof when applicable.
18488         (ses-set-localvars): New function.
18489         (ses-make-cell): Add property-list as a cell element.
18490         (ses-cell-property-get-fun, ses-cell-property-get)
18491         (ses-cell-property-delq-fun, ses-cell-property-set-fun)
18492         (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
18493         New functions.
18494         (ses-cell-property-set, ses-cell-property-pop)
18495         (ses-cell-property-get-handle): New macro.
18496         (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
18497         New aliases, used for code readability.
18498         (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
18499         cycle detection.
18500         (ses-self-reference-early-detection): New defcustom.
18501         (ses-formula-references): Robustify against self-referring cells.
18502         (ses-mode): Use ses-set-localvars.
18503         (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
18504         before lauching the update processing.
18505         (ses-initialize-Dijkstra-attempt): New function.
18506         (ses-recalculate-cell): Update for cycle detection based on
18507         Dijkstra algorithm.
18509         * ses.el: Fix commenting and indenting convention.
18511 2011-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
18513         * bs.el (bs-cycle-next): Complete last change.
18515 2011-06-27  Drew Adams  <drew.adams@oracle.com>
18517         * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
18519 2011-06-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18521         * net/network-stream.el (network-stream-open-starttls):
18522         Don't re-get capabilities unless we've reestablished connection.
18523         (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
18525         * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
18526         to binary to possibly avoid line encoding issues on Windows (among
18527         other things).
18529 2011-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18531         * net/network-stream.el (open-network-stream): Return an :error
18532         saying what the problem was, if possible.
18534         * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
18535         server.
18537         * net/network-stream.el (network-stream-open-starttls): If we
18538         wanted to use STARTTLS, and the server offered it, but we weren't
18539         able to because we had no STARTTLS support, then close the connection.
18540         (open-network-stream): Return an :error element, if present.
18542 2011-06-26  Chong Yidong  <cyd@stupidchicken.com>
18544         * hl-line.el (hl-line-sticky-flag): Doc fix.
18545         (global-hl-line-sticky-flag): New option (Bug#8323).
18546         (global-hl-line-highlight): Obey it.
18548         * vc/vc.el (vc-revert-show-diff): Default to t.
18550 2011-06-26  Ken Manheimer  <ken.manheimer@gmail.com>
18552         * allout-widgets.el (allout-widgets-post-command-business):
18553         Stop decorating intermediate isearch matches.  They're not being
18554         undecorated when an isearch is continued past, and isearch
18555         automatically collapses them.  This leads to "widget leaks", where
18556         decorated items accumulate in collapsed areas.  Lines with lots of
18557         hidden widgets can slow down cursor travel, substantially.
18558         Too much complicated machinery would be needed to ensure undecoration,
18559         so we're doing without this nicety.
18561         (allout-widgets-tally-string): Don't try to do a hash-table-count
18562         of allout-widgets-tally when it's nil.  This eliminates spurious "Error
18563         during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
18564         *Messages* when allout-widgets-maintain-tally is t.
18566 2011-06-26  Martin Rudalics  <rudalics@gmx.at>
18568         * window.el (display-buffer-normalize-argument): Rename to
18569         display-buffer-normalize-arguments.  Handle special meaning of
18570         LABEL argument.  Respect special-display-function when popping up
18571         a new frame.  Fix code searching for a window showing the buffer
18572         on another frame.
18573         (display-buffer-normalize-specifiers):
18574         Call display-buffer-normalize-arguments.
18575         (display-buffer-in-window): Don't undedicate the window if its
18576         buffer remains the same.
18577         Reported by Drew Adams <drew.adams@oracle.com>.
18578         (display-buffer-alist): Add choice for same-window macro
18579         specfier.
18580         (display-buffer): Mention special meaning of LABEL argument in
18581         doc-string.  Fix quoting.  Don't pop up a new frame even as
18582         fallback.
18584 2011-06-26  Juanma Barranquero  <lekktu@gmail.com>
18586         * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
18587         avoid deleting the current window in some cases (bug#8911).
18589 2011-06-26  Andreas Schwab  <schwab@linux-m68k.org>
18591         * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
18592         (Bug#8934)
18594 2011-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18596         * net/network-stream.el (network-stream-open-starttls):
18597         Use built-in TLS support if `gnutls-available-p' is true.
18598         (network-stream-open-tls): Ditto.
18600 2011-06-26  Leo Liu  <sdl.web@gmail.com>
18602         * register.el (registerv): New struct.
18603         (registerv-make): New function.
18604         (jump-to-register, describe-register-1, insert-register):
18605         Support the jump-func, print-func and insert-func slot of a registerv
18606         struct.  (Bug#8415)
18608 2011-06-26  Chong Yidong  <cyd@stupidchicken.com>
18610         * vc/vc.el (vc-revert-show-diff): New defcustom.
18611         (vc-diff-internal): New arg specifying diff buffer.
18612         (vc-revert): Obey vc-revert-show-diff.  If we show a diff, don't
18613         reuse an existing *vc-diff* buffer (Bug#8927).
18615         * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
18617 2011-06-26  Glenn Morris  <rgm@gnu.org>
18619         * progmodes/f90.el (f90-critical-indent): New option.
18620         (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
18621         (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
18622         (f90-mode): Doc fix.
18623         (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
18624         (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
18625         (f90-beginning-of-block, f90-next-block, f90-indent-region)
18626         (f90-match-end): Handle block, critical.
18628 2011-06-25  Glenn Morris  <rgm@gnu.org>
18630         * calendar/diary-lib.el (diary-included-files): Doc fix.
18631         (diary-include-files): New function, extracted from
18632         diary-include-other-diary-files and diary-mark-included-diary-files.
18633         (diary-include-other-diary-files, diary-mark-included-diary-files):
18634         Just call diary-include-files.
18635         (diary-mark-entries): Reset diary-included-files on first call.
18637         * calendar/diary-lib.el (diary-mark-entries)
18638         (diary-mark-included-diary-files):
18639         Visit included diary-files in temp buffers.
18641         * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
18642         (f90-blocks-re, f90-program-block-re, f90-end-block-re)
18643         (f90-start-block-re, f90-imenu-generic-expression)
18644         (f90-looking-at-program-block-start, f90-no-block-limit):
18645         Add support for submodules.
18647         * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
18648         (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
18650 2011-06-25  Eli Zaretskii  <eliz@gnu.org>
18652         * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
18653         buffer-file-type before setting its value, to avoid disastrous
18654         global effects on decoding files for DOS/Windows systems.  (Bug#8780)
18656 2011-06-25  Juanma Barranquero  <lekktu@gmail.com>
18658         * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
18660         * ses.el (ses-unload-function):
18661         * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
18663         * proced.el (proced-unload-function):
18664         * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
18666 2011-06-25  Andreas Rottmann  <a.rottmann@gmx.at>
18668         * server.el (server-create-window-system-frame): Add parameters arg.
18669         (server-process-filter): Doc fix.  Handle frame-parameters.
18671 2011-06-25  Juanma Barranquero  <lekktu@gmail.com>
18673         Fix bug#8730, bug#8781.
18675         * loadhist.el (unload--set-major-mode): New function.
18676         (unload-feature): Use it.
18678         * progmodes/python.el (python-after-info-look): Add autoload cookie.
18679         (python-unload-function): New function.
18681 2011-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
18683         * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
18685 2011-06-25  Giuseppe Scrivano  <gscrivano@gnu.org>
18687         * net/browse-url.el (browse-url-firefox-program): Add icecat to
18688         the candidates list.
18690 2011-06-24  Juanma Barranquero  <lekktu@gmail.com>
18692         * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
18694 2011-06-23  Richard Stallman  <rms@gnu.org>
18696         * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
18697         (rmail-variables): Set next-error-move-function.
18698         (rmail-what-message): Take argument POS.
18699         (rmail-next-error-move): New function.
18701 2011-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
18703         * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
18704         messages for adjacent non-terminals.
18706 2011-06-23  Richard Stallman  <rms@gnu.org>
18708         * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
18709         (rmail-show-message-1): Preserve buffer modified flag.
18710         (rmail-start-mail): Don't specify use of rmail-mail-return;
18711         that's done by mail-bury now.
18712         (rmail-mail-return): Handle arg NEWBUF.
18714 2011-06-23  Michael Albinus  <michael.albinus@gmx.de>
18716         * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
18717         SIZE is a number.
18719 2011-06-23  Martin Rudalics  <rudalics@gmx.at>
18721         * window.el (get-lru-window, get-mru-window)
18722         (get-largest-window): Never return a minibuffer window.
18723         (display-buffer-pop-up-window): Fix a bug that could lead to
18724         reusing the minibuffer window.
18725         (display-buffer): Pass original specifier argument to
18726         display-buffer-function instead of the normalized one.
18727         Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
18729 2011-06-22  Leo Liu  <sdl.web@gmail.com>
18731         * minibuffer.el (completing-read-function)
18732         (completing-read-default): Move from minibuf.c.
18734 2011-06-22  Richard Stallman  <rms@gnu.org>
18736         * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
18737         to Rmail even if not started by a special Rmail command.
18739         * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
18740         Copy the buffer currently showing just one message.
18742 2011-06-22  Roland Winkler  <winkler@gnu.org>
18744         * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
18745         (bibtex-clean-entry): First delete the old key so that a
18746         customized algorithm for generating the new key does not get
18747         confused by the old key.
18748         (bibtex-url): Obey regexp of first step.
18749         (bibtex-search-entries): Do not use add-to-list with local
18750         list-var.
18752 2011-06-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18754         * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
18755         stored a user name, then query for the password first, instead of
18756         waiting for SMTP to give an error message and the trying again.
18758 2011-06-22  Lawrence Mitchell  <wence@gmx.li>
18760         * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
18761         BUFFER in call-process.
18763 2011-06-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18765         * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
18766         QUIT twice.
18767         (smtpmail-try-auth-methods): Require user name and password from
18768         auth-source.
18770 2011-06-22  Martin Rudalics  <rudalics@gmx.at>
18772         * window.el (display-buffer-default-specifiers)
18773         (display-buffer-alist): Remove entries for pop-up-frame-alist.
18774         Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
18775         (split-window): Normalize SIDE argument (Bug#8916).
18777         * frame.el (pop-up-frame-alist, pop-up-frame-function)
18778         (special-display-frame-alist, special-display-popup-frame):
18779         Remove duplicate declarations.  These are now in window.el.
18781 2011-06-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18783         * mail/smtpmail.el (smtpmail-via-smtp):
18784         Set :use-starttls-if-possible so that we always use STARTTLS if the
18785         server supports it.  SMTP servers that support STARTTLS commonly
18786         require it.
18788         * net/network-stream.el (network-stream-open-starttls): Support
18789         upgrading to STARTTLS always, even if we don't have built-in support.
18790         (open-network-stream): Add the :always-query-capabilities keyword.
18792         * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
18793         upgrades with `open-network-stream', and rely solely on
18794         auth-source for all credentials.  Big changes throughout the file,
18795         but in particular:
18796         (smtpmail-auth-credentials): Remove.
18797         (smtpmail-starttls-credentials): Remove.
18798         (smtpmail-via-smtp): Check for servers saying they want AUTH after
18799         MAIL FROM, too.
18801         * net/network-stream.el (network-stream-open-starttls):
18802         Provide support for client certificates both for external and built-in
18803         STARTTLS.
18804         (auth-source): Require.
18805         (open-network-stream): Document the :client-certificate keyword.
18806         (network-stream-certificate): Change cert-cert to cert and
18807         cert-key to key.
18809 2011-06-21  Michael Albinus  <michael.albinus@gmx.de>
18811         * net/tramp-cache.el (top): Don't load the persistency file when
18812         "emacs -Q" has been called.
18814 2011-06-21  Tim Harper  <timcharper@gmail.com>
18816         * term/ns-win.el (ns-initialize-window-system):
18817         Set application-specific `ApplePressAndHoldEnabled' system
18818         resource to NO as it is not yet supported by the NS port.
18820 2011-06-21  Juanma Barranquero  <lekktu@gmail.com>
18822         * misc.el (list-dynamic-libraries--refresh): Compute header here...
18823         (list-dynamic-libraries): ...not here.
18825 2011-06-21  Leo Liu  <sdl.web@gmail.com>
18827         * subr.el (sha1): Implement sha1 using secure-hash.
18829 2011-06-21  Martin Rudalics  <rudalics@gmx.at>
18831         * window.el (display-buffer-alist): In default value do not
18832         enforce searching a window on any but the selected frame.
18833         Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
18834         (display-buffer-select-window): Remove function.
18835         (display-buffer-in-window): When a window on another frame gets
18836         reused, do not select it any more but just raise its frame if
18837         necessary (Bug#8851) and (Bug#8856).
18838         (display-buffer-normalize-options): Handle pop-up-frames related
18839         options more faithfully.
18840         (pop-to-buffer): Don't rely on `display-buffer' selecting the
18841         window if it is on another frame.
18842         (display-buffer-alist, display-buffer-default-specifiers):
18843         Don't make new frame unsplittable by default.
18844         (display-buffer-normalize-argument): Fix doc-string typo and use
18845         'same-frame-other-window instead of 'other-window when associating
18846         with display-buffer-macro-specifiers.
18848 2011-06-21  Vincent Belaïche  <vincent.b.1@hotmail.fr>
18850         * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
18851         New functions.
18852         (5x5-mode-map, 5x5-mode-menu): Bind them.
18853         (5x5-draw-grid): Tweak the solver's rendering.
18855 2011-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
18857         * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
18858         `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
18860 2011-06-21  Drew Adams  <drew.adams@oracle.com>
18862         * menu-bar.el: Use function variable instead of switch-to-buffer.
18863         (menu-bar-select-buffer-function): New variable.
18864         (menu-bar-update-buffers): Use it (bug#8876).
18866 2011-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
18868         * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
18869         variable's status.
18871 2011-06-20  Jan Djärv  <jan.h.d@swipnet.se>
18873         * x-dnd.el (x-dnd-version-from-flags)
18874         (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
18875         and long as number (Bug#8899).
18876         (x-dnd-handle-xdnd): Call functions above (Bug#8899).
18878 2011-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
18880         * minibuffer.el (completion-metadata): Add `metadata' to the alist.
18881         (completion-try-completion, completion-all-completions): Compute the
18882         metadata argument if it's missing; make it optional (bug#8795).
18884         * wid-edit.el: Use lex-bind and move towards completion-at-point.
18885         (widget-complete): Use new :completion-function property.
18886         (widget-completions-at-point): New function.
18887         (default): Use :completion-function instead of :complete.
18888         (widget-default-completions): Rename from widget-default-complete;
18889         Rewrite.
18890         (widget-string-complete, widget-file-complete, widget-color-complete):
18891         Remove functions.
18892         (file, symbol, function, variable, coding-system, color):
18893         * international/mule-cmds.el (default-input-method, charset)
18894         (language-info-custom-alist):
18895         * cus-edit.el (face): Use new property :completions.
18897         * progmodes/pascal.el (pascal-completions-at-point): New function.
18898         (pascal-mode): Use it.
18899         (pascal-mode-map): Use completion-at-point.
18900         (pascal-toggle-completions): Make obsolete.
18901         (pascal-complete-word, pascal-show-completions):
18902         * progmodes/octave-mod.el (octave-complete-symbol):
18903         Redefine as obsolete alias.
18904         * progmodes/octave-inf.el (inferior-octave-completion-at-point):
18905         Signal absence of completion info for old Octave,
18906         (inferior-octave-complete): Redefine as obsolete alias.
18907         * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
18908         (meta-completions-at-point): Rename from meta-complete-symbol and
18909         adapt it for use on completion-at-point-functions.
18910         (meta-common-mode): Use it.
18911         (meta-looking-at-backward, meta-match-buffer): Remove.
18912         (meta-complete-symbol): Redefine as obsolete alias.
18913         (meta-common-mode-map): Use completion-at-point.
18914         * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
18915         (makefile-mode-map): Use completion-at-point.
18916         (makefile-completions-at-point): Rename from makefile-complete and
18917         adapt it for use on completion-at-point-functions.
18918         (makefile-mode): Use it.
18919         (makefile-complete): Redefine as obsolete alias.
18921 2011-06-20  Deniz Dogan  <deniz@dogan.se>
18923         * net/rcirc.el: Delete trailing whitespaces once and for all.
18925 2011-06-20  Daniel Colascione  <dan.colascione@gmail.com>
18927         * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
18929 2011-06-19  Chong Yidong  <cyd@stupidchicken.com>
18931         * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
18933         * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
18935 2011-06-19  Martin Rudalics  <rudalics@gmx.at>
18937         * window.el (display-buffer-other-window-means-other-frame):
18938         Call display-buffer-normalize-alist.
18939         (display-buffer-normalize-specifiers-1): Rename to
18940         display-buffer-normalize-argument.  New argument other-frame.
18941         Rewrite.
18942         (display-buffer-normalize-specifiers-2): Rename to
18943         display-buffer-normalize-options.
18944         (display-buffer-normalize-alist-1): New function.
18945         (display-buffer-normalize-specifiers-3): Rename to
18946         display-buffer-normalize-alist.
18947         Call display-buffer-normalize-alist-1.
18948         (display-buffer-normalize-options-inhibit): New variable.
18949         (display-buffer-normalize-specifiers): Rewrite calling
18950         display-buffer-normalize-alist,
18951         display-buffer-normalize-argument, and
18952         display-buffer-normalize-options.  Don't call the latter if
18953         display-buffer-normalize-options-inhibit is non-nil.
18954         (frame-auto-delete): New option.
18955         (window-deletable-p): Use frame-auto-delete.
18956         (window-list-no-nils, window-state-ignored-parameters)
18957         (window-state-get-1, window-state-get, window-state-put-list)
18958         (window-state-put-1, window-state-put-2, window-state-put):
18959         New functions.
18960         (display-buffer-normalize-options): Move special-display-p group
18961         after pop-up-frame group (Bug#8851) and (Bug#8856).
18963 2011-06-18  Chong Yidong  <cyd@stupidchicken.com>
18965         * emacs-lisp/rx.el (rx-constituents): Add support for numbered
18966         groups (Bug#8776).
18967         (rx-submatch-n): New function.
18968         (rx): Document it.
18970         * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
18971         (Bug#8768).
18973         * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
18975         * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
18977         * cus-face.el (custom-declare-face): Call custom-theme-recalc face
18978         anytime existing face settings are present (Bug#8889).
18980         * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
18981         (delphi-mode): Use define-derived-mode to inherit from prog-mode.
18982         Remove unused argument.
18984 2011-06-18  Martin Rudalics  <rudalics@gmx.at>
18986         * window.el (display-buffer-default-specifiers):
18987         Remove pop-up-frame.  Add pop-up-window-min-height,
18988         pop-up-window-min-width, and another reuse-window specifier
18989         (Bug#8882).  Reported by Dan Nicolaescu <dann@gnu.org>.
18990         (display-buffer-normalize-specifiers-2):
18991         Handle split-height-threshold and split-width-threshold also when
18992         pop-up-windows is unset.  Add a reuse-window specifier for the
18993         case popping up a new window fails.
18994         (special-display-popup-frame): Remove double quoting.
18995         (display-buffer-normalize-specifiers-1): Fix thinko.
18997 2011-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
18999         * shell.el (shell-completion-vars): Set pcomplete-termination-string
19000         according to comint-completion-addsuffix.
19002         * pcomplete.el: Convert to lexical binding and fix bug#8819.
19003         (pcomplete-suffix-list): Mark as obsolete.
19004         (pcomplete-completions-at-point): Capture pcomplete-norm-func and
19005         pcomplete-seen in the closure.
19006         (pcomplete-comint-setup): Setup completion-at-point as well.
19007         (pcomplete--entries): New function.
19008         (pcomplete--env-regexp): New var.
19009         (pcomplete-entries): Rewrite to work with partial-completion and
19010         without relying on pcomplete-suffix-list.
19011         (pcomplete-pare-list): Remove, unused.
19013 2011-06-17  Martin Rudalics  <rudalics@gmx.at>
19015         * window.el (display-buffer-alist): Set pop-up-window-min-height
19016         and pop-up-window-min-width in default value.  Reported by
19017         Thierry Volpiatto <thierry.volpiatto@gmail.com>.  New specifier
19018         other-window-means-other-frame.
19019         (display-buffer-macro-specifiers): Comment out entry for
19020         other-window specifier.
19021         (display-buffer-other-window-means-other-frame): New function.
19022         (display-buffer-normalize-specifiers-1): New arguments
19023         buffer-name and label.  Treat other-window case specially.
19024         (display-buffer-normalize-specifiers-2): Treat other-window case
19025         specially.
19026         (display-buffer-normalize-specifiers-3): New function.
19027         (display-buffer-normalize-specifiers):
19028         Call display-buffer-normalize-specifiers-3.
19030 2011-06-17  Martin Rudalics  <rudalics@gmx.at>
19032         * window.el (same-window-p): Fix two typos introduced when
19033         adding with-no-warnings.
19034         (display-buffer-normalize-specifiers-1): Don't check
19035         pop-up-frames for 'unset initialization.
19036         (display-buffer-normalize-specifiers-2): Major rewrite using
19037         special-display-p and same-window-p (Bug#8851) and (Bug#8856).
19038         (pop-up-frames, display-buffer-reuse-frames)
19039         (display-buffer-mark-dedicated): Don't initialize to 'unset.
19040         Suggested by David Engster <deng@randomsample.de>.
19041         (even-window-heights): Initialize to 'unset.
19042         (display-buffer-alist-set): Handle new 'unset initializations.
19043         (display-buffer-macro-specifiers): Don't pop up a new frame in the
19044         other window case.
19046 2011-06-16  Martin Rudalics  <rudalics@gmx.at>
19048         * window.el (display-buffer-normalize-specifiers-1):
19049         Respect current value of pop-up-frames for most reasonable values of
19050         second argument of display-buffer (Bug#8865).
19051         (switch-to-buffer-same-frame, switch-to-buffer-other-window)
19052         (switch-to-buffer-other-window-same-frame)
19053         (switch-to-buffer-other-frame): Fix doc-strings.  Reported by Drew
19054         Adams (Bug#8875).
19055         (display-buffer): Don't check noninteractive when calling
19056         display-buffer-pop-up-frame.
19057         (display-buffer-pop-up-frame): Never pop up a frame in
19058         noninteractive mode (Bug#8857).
19059         (enlarge-window, shrink-window): Don't report an error when the
19060         window can't be resized as requested (Bug#8862).
19062 2011-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
19064         * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
19066         * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
19068         * abbrev.el (define-abbrev-table): Don't add a table multiple times.
19070 2011-06-15  Alan Mackenzie  <acm@muc.de>
19072         * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
19073         for declarators, disable knr checking to speed up for normal files.
19074         2: Refactor, replacing a sequence of nested if forms by a cond form.
19076 2011-06-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19078         * net/network-stream.el (open-network-stream): Add the keyword
19079         :always-query-capabilities for the case where you want to force a
19080         `plain' network connection, but the protocol still requires the
19081         capabilitiy command (i.e., SMTP and EHLO).
19083         * subr.el (process-live-p): Rename from `process-alive-p' for
19084         consistency with other `-live-p' functions.
19086 2011-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
19088         * window.el (same-window-buffer-names, same-window-regexps)
19089         (special-display-frame-alist, special-display-popup-frame)
19090         (special-display-function, special-display-buffer-names)
19091         (special-display-regexps, pop-up-frame-alist)
19092         (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
19093         (pop-up-windows, split-window-preferred-function)
19094         (split-height-threshold, split-width-threshold, even-window-heights)
19095         (display-buffer-mark-dedicated): Don't encourage the use of
19096         display-buffer-alist from Elisp code.
19098 2011-06-15  Dan Nicolaescu  <dann@ics.uci.edu>
19100         * progmodes/python.el (python-mode): Derive from prog-mode.
19101         * progmodes/ps-mode.el (ps-mode):
19102         * progmodes/mixal-mode.el (mixal-mode):
19103         * progmodes/cfengine.el (cfengine-mode):
19104         * progmodes/ld-script.el (ld-script-mode): Likewise.
19106 2011-06-15  Martin Rudalics  <rudalics@gmx.at>
19108         * window.el (display-buffer-alist): Trim default value to avoid
19109         popping up a new frame (Bug#8857) or reusing an arbitrary window
19110         on another frame.
19111         (display-buffer): Do not fall back on popping up a new frame in
19112         batch mode (Bug#8857).
19114 2011-06-14  Chong Yidong  <cyd@stupidchicken.com>
19116         * cus-theme.el (describe-theme-1): Use custom-theme-p.
19117         (custom-theme-summary): New function.
19118         (customize-themes): Use it.
19120 2011-06-13  Glenn Morris  <rgm@gnu.org>
19122         * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
19124 2011-06-13  Martin Rudalics  <rudalics@gmx.at>
19126         * help.el (help-window): Remove variable.
19127         (help-window-point-marker, temp-buffer-max-height)
19128         (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
19129         (help-print-return-message): Don't set help-window.
19130         (resize-temp-buffer-window): Rewrite cod eand doc-string.
19131         (help-window-setup-finish): Remove.
19132         (help-window-display-message, help-window-setup)
19133         (with-help-window): Major rewrite based on new
19134         display-buffer-window variable.
19136         * help-mode.el (help-mode-finish): Remove help-window related
19137         code.
19139         * view.el (view-exits-all-viewing-windows): Remove reference to
19140         view-return-to-alist in doc-string.
19141         (view-return-to-alist): Make obsolete.
19142         (view-buffer): Call pop-to-buffer-same-window and remove
19143         undo-window code.
19144         (view-buffer-other-window): Call pop-to-buffer-other-window and
19145         simplify code.  Ignore second argument.
19146         (view-buffer-other-frame): Call pop-to-buffer-other-frame and
19147         simplify code.  Ignore second argument.
19148         (view-return-to-alist-update): Make obsolete.
19149         (view-mode-enter): Rename second argument to QUIT-RESTORE.
19150         Rewrite using quit-restore window parameters.
19151         (view-mode-exit): Rename second argument to EXIT-ONLY.
19152         Rewrite using quit-restore-window.
19153         (View-exit, View-exit-and-edit, View-leave, View-quit)
19154         (View-quit-all, View-kill-and-leave): Call view-mode-exit with
19155         appropriate arguments.
19156         (view-end-message): Use quit-restore window parameter.
19158         * window.el (display-buffer-function): Rewrite doc-string.
19159         (display-buffer-window, display-buffer-alist): New variables.
19160         (display-buffer-split-specifiers)
19161         (display-buffer-side-specifiers)
19162         (display-buffer-macro-specifiers): New constants.
19163         (display-buffer-even-window-sizes, display-buffer-set-height)
19164         (display-buffer-set-width, display-buffer-select-window)
19165         (display-buffer-in-window, display-buffer-reuse-window)
19166         (display-buffer-split-window-1, display-buffer-split-window)
19167         (display-buffer-split-atom-window, display-buffer-pop-up-window)
19168         (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
19169         (display-buffer-in-side-window, normalize-buffer-to-display)
19170         (display-buffer-normalize-specifiers-1)
19171         (display-buffer-normalize-specifiers-2)
19172         (display-buffer-normalize-specifiers, display-buffer-frame):
19173         New functions.
19174         (display-buffer): Major rewrite.
19175         (display-buffer-other-window, display-buffer-other-frame)
19176         (pop-to-buffer, switch-to-buffer-other-window)
19177         (switch-to-buffer-other-frame): Rewrite.
19178         (display-buffer-same-window, display-buffer-same-frame)
19179         (display-buffer-same-frame-other-window)
19180         (pop-to-buffer-same-window, pop-to-buffer-same-frame)
19181         (pop-to-buffer-other-window)
19182         (pop-to-buffer-same-frame-other-window)
19183         (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
19184         (switch-to-buffer-other-window-same-frame): New functions.
19185         (same-window-p, special-display-p): Rewrite disabling warnings.
19186         Make obsolete.
19187         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
19188         (display-buffer-mark-dedicated): Initialize to symbol 'unset.
19189         Make obsolete
19190         (same-window-buffer-names, same-window-regexps)
19191         (special-display-frame-alist, special-display-popup-frame)
19192         (special-display-function, special-display-buffer-names)
19193         (special-display-regexps, pop-up-frame-alist)
19194         (pop-up-frame-function, split-window-preferred-function)
19195         (split-height-threshold, split-width-threshold)
19196         (even-window-heights): Make obsolete.
19198 2011-06-12  Glenn Morris  <rgm@gnu.org>
19200         * term/xterm.el (terminal-init-xterm): `version' may be nil.  (Bug#8838)
19201         Misc simplifications.
19203 2011-06-12  Martin Rudalics  <rudalics@gmx.at>
19205         * window.el (window-safely-shrinkable-p): Restore function which
19206         was inadvertently removed in change from 2011-06-11.  Declare as
19207         obsolete.
19209         * calendar/calendar.el (calendar-generate-window):
19210         Use window-iso-combined-p instead of combination of one-window-p and
19211         window-safely-shrinkable-p.
19213 2011-06-12  Glenn Morris  <rgm@gnu.org>
19215         * progmodes/fortran.el (fortran-mode-syntax-table):
19216         * progmodes/f90.el (f90-mode-syntax-table):
19217         Set % to punctuation.  (Bug#8820)
19218         (f90-find-tag-default): Remove, no longer needed.
19220 2011-06-12  Daniel Colascione  <dan.colascione@gmail.com>
19222         * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
19224 2011-06-11  Chong Yidong  <cyd@stupidchicken.com>
19226         * image.el (image-animated-p): Return animation delay in seconds.
19227         Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
19228         (image-animate-timeout): Remove DELAY argument.  Don't assume
19229         every subimage has the same delay; get it from image-animated-p.
19230         (image-animate): Caller changed.
19232 2011-06-11  Michael Albinus  <michael.albinus@gmx.de>
19234         * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
19235         to ignored backtrace functions.
19237 2011-06-11  Glenn Morris  <rgm@gnu.org>
19239         * calendar/appt.el (appt-disp-window-function): Doc fix.
19240         (appt-check): Handle overlapping appointments.  (Bug#8337)
19242 2011-06-11  Martin Rudalics  <rudalics@gmx.at>
19244         * window.el (window-tree-1, window-tree): New functions, moving
19245         the latter to window.el.
19246         (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
19247         (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
19248         (bw-refresh-edges): Remove.
19249         (balance-windows-1, balance-windows-2): New functions.
19250         (balance-windows): Rewrite in terms of window tree functions,
19251         balance-windows-1 and balance-windows-2.
19252         (bw-adjust-window): Remove.
19253         (balance-windows-area-adjust): New function with functionality of
19254         bw-adjust-window but using resize-window.
19255         (set-window-text-height): Rewrite doc-string.
19256         Use normalize-live-window and resize-window.
19257         (enlarge-window-horizontally, shrink-window-horizontally):
19258         Rename argument to DELTA.
19259         (window-buffer-height): New function.
19260         (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
19261         Rewrite using new window resize routines.
19262         (kill-buffer-and-window, mouse-autoselect-window-select):
19263         Use ignore-errors instead of condition-case.
19264         (quit-window): Call delete-frame instead of delete-windows-on
19265         for the only buffer on frame.
19267 2011-06-10  Martin Rudalics  <rudalics@gmx.at>
19269         * loadup.el (top-level): Load window before files for the sake
19270         of replace-buffer-in-windows.
19272         * files.el (read-buffer-to-switch)
19273         (switch-to-buffer-other-window)
19274         (switch-to-buffer-other-frame, display-buffer-other-frame):
19275         Move to window.el.
19277         * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
19278         (previous-buffer): Move to window.el.
19280         * bindings.el (unbury-buffer): Move to window.el.
19282         * window.el (delete-other-windows-vertically): Move after
19283         definition of delete-other-windows.
19284         (other-window, delete-windows-on, replace-buffer-in-windows):
19285         Move here from window.c.
19286         (record-window-buffer, unrecord-window-buffer)
19287         (set-window-buffer-start-and-point, switch-to-prev-buffer)
19288         (switch-to-next-buffer): New functions.
19289         (get-next-valid-buffer, last-buffer, next-buffer): Move here
19290         from simple.el.  Call switch-to-next-buffer.
19291         (previous-buffer): Move here from simple.el.
19292         Call switch-to-prev-buffer.
19293         (bury-buffer): Move here from buffer.c.  Switch to previous
19294         buffer when window cannot be deleted.
19295         (unbury-buffer): Move here from bindings.el.
19296         (ctl-x-map): Move binding for other-window from window.c to
19297         here.
19298         (read-buffer-to-switch, switch-to-buffer-other-window)
19299         (switch-to-buffer-other-frame): Move here from files.el.
19300         (normalize-buffer-to-switch-to): New functions.
19301         (switch-to-buffer): Move here from buffer.c.
19302         Use read-buffer-to-switch and normalize-buffer-to-switch-to.
19304 2011-06-10  Martin Rudalics  <rudalics@gmx.at>
19306         * window.el (window-min-height, window-min-width): Move here
19307         from window.c.  Add defcustoms and rewrite doc-strings.
19308         (resize-mini-window, resize-window): New functions.
19309         (adjust-window-trailing-edge, enlarge-window, shrink-window):
19310         Move here from window.c.
19311         (maximize-window, minimize-window): New functions.
19312         (delete-window, delete-other-windows, split-window): Move here
19313         from window.c.
19314         (window-split-min-size): New function.
19315         (split-window-keep-point): Mention split-window-above-each-other
19316         instead of split-window-vertically.
19317         (split-window-above-each-other, split-window-vertically):
19318         Rename split-window-vertically to split-window-above-each-other
19319         and provide defalias for old definition.
19320         (split-window-side-by-side, split-window-horizontally):
19321         Rename split-window-horizontally to split-window-side-by-side
19322         and provide defalias for the old definition.
19323         (ctl-x-map): Move bindings for delete-window,
19324         delete-other-windows and enlarge-window here from window.c.
19325         Replace bindings for split-window-vertically and
19326         split-window-horizontally by bindings for
19327         split-window-above-each-other and split-window-side-by-side.
19329         * cus-start.el (all): Remove entries for window-min-height and
19330         window-min-width.  Add entries for window-splits and
19331         window-nest.
19333 2011-06-09  Glenn Morris  <rgm@gnu.org>
19335         * calendar/appt.el (appt-mode-line): New function.
19336         (appt-check, appt-disp-window): Use it.
19338         * files.el (hack-one-local-variable-eval-safep):
19339         Allow minor-modes with explicit +/-1 arguments.
19341 2011-06-09  Teodor Zlatanov  <tzz@lifelogs.com>
19343         * term/xterm.el (xterm): Add defgroup.
19344         (xterm-extra-capabilities): Add defcustom to supply known xterm
19345         capabilities, skip querying them, or query them (default).
19346         (terminal-init-xterm): Use it.
19347         (terminal-init-xterm-modify-other-keys): New function to set up
19348         modifyOtherKeys support to simplify `terminal-init-xterm'.
19350 2011-06-09  Martin Rudalics  <rudalics@gmx.at>
19352         * window.el (resize-window-reset, resize-window-reset-1)
19353         (resize-subwindows-skip-p, resize-subwindows-normal)
19354         (resize-subwindows, resize-other-windows, resize-this-window)
19355         (resize-root-window, resize-root-window-vertically)
19356         (window-deletable-p, window-or-subwindow-p)
19357         (frame-root-window-p): New functions.
19359 2011-06-09  Glenn Morris  <rgm@gnu.org>
19361         * net/ange-ftp.el (ange-ftp-switches-ok): New function.
19362         (ange-ftp-get-files): Use it.
19364 2011-06-09  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
19366         * mail/sendmail.el (mail-recover-1, mail-recover):
19367         * files.el (recover-file, recover-session):
19368         Handle dired-listing-switches not being just a single short option.
19370 2011-06-09  Glenn Morris  <rgm@gnu.org>
19372         * calendar/appt.el (appt-display-message, appt-disp-window):
19373         Handle lists of appointments.
19375 2011-06-08  Martin Rudalics  <rudalics@gmx.at>
19377         * window.el (one-window-p): Move down in code.
19378         Rewrite doc-string.
19379         (window-current-scroll-bars): Rewrite doc-string.
19380         Normalize live window argument.
19381         (walk-windows, get-window-with-predicate, count-windows):
19382         Rewrite doc-string.  Use window-list-1.
19383         (window-in-direction-2, window-in-direction, get-mru-window):
19384         New functions.
19386 2011-06-08  Reuben Thomas  <rrt@sc3d.org>
19388         * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
19389         Doc fix (Bug#8713).
19391 2011-06-08  Chong Yidong  <cyd@stupidchicken.com>
19393         * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
19395 2011-06-08  Juanma Barranquero  <lekktu@gmail.com>
19397         * loadhist.el (unload-feature-special-hooks):
19398         Add `comint-output-filter-functions'.
19400 2011-06-08  Ivan Kanis  <gnu@kanis.fr>
19402         * calendar/appt.el (appt-check): Move some initializations into the let.
19404 2011-06-08  Martin Rudalics  <rudalics@gmx.at>
19406         * window.el (window-height): Defalias to window-total-height.
19407         (window-width): Defalias to window-body-width.
19409 2011-06-07  Chong Yidong  <cyd@stupidchicken.com>
19411         * image-mode.el (image-toggle-animation): New command.
19412         (image-mode-map): Bind it to RET.
19413         (image-mode): Update message.
19414         (image-toggle-display-image): Avoid a spurious cache flush.
19415         (image-transform-rotation): Doc fix.
19416         (image-transform-properties): Return quickly in the normal case.
19417         (image-animate-loop): Rename from image-animate-max-time.
19419         * image.el (image-animate-max-time): Move to image-mode.el.
19420         (create-animated-image): Remove unnecessary function.
19421         (image-animate): Rename from image-animate-start.  New arg.
19422         (image-animate-stop): Remove; just use image-animate-timer.
19423         (image-animate-timer): Use car-safe.
19424         (image-animate-timeout): Rename argument.
19426 2011-06-07  Martin Rudalics  <rudalics@gmx.at>
19428         * window.el (get-lru-window, get-largest-window): Move here from
19429         window.c.  Rename first argument to ALL-FRAMES.
19430         Rephrase doc-strings.
19431         (get-buffer-window-list): Rewrite using window-list-1.
19432         Rephrase doc-string.
19433         (window-safe-min-height, window-safe-min-width): New constants.
19434         (window-size-ignore, window-min-size, window-min-size-1)
19435         (window-sizable, window-sizable-p, window-size-fixed-1)
19436         (window-size-fixed-p, window-min-delta-1, window-min-delta)
19437         (window-max-delta-1, window-max-delta, window-resizable)
19438         (window-resizable-p, window-total-height, window-total-width)
19439         (window-body-width): New functions.
19440         (window-full-height-p, window-full-width-p): Rewrite using
19441         window-total-size.
19442         (window-body-height): Rewrite using window-body-size.
19444 2011-06-06  Martin Rudalics  <rudalics@gmx.at>
19446         * window.el (window-right, window-left, window-child)
19447         (window-child-count, window-last-child, window-any-p)
19448         (normalize-live-buffer, normalize-live-frame)
19449         (normalize-any-window, normalize-live-window)
19450         (window-iso-combination-p, window-iso-combined-p)
19451         (window-iso-combinations)
19452         (walk-window-tree-1, walk-window-tree, walk-window-subtree)
19453         (windows-with-parameter, window-with-parameter)
19454         (window-atom-root, make-window-atom, window-atom-check-1)
19455         (window-atom-check, window-side-check, window-check):
19456         New functions.
19457         (ignore-window-parameters, window-sides, window-sides-vertical)
19458         (window-sides-slots): New variables.
19459         (window-size-fixed): Move down in code.  Minor doc-string fix.
19461 2011-06-05  Andreas Schwab  <schwab@linux-m68k.org>
19463         * comint.el (comint-dynamic-complete-as-filename)
19464         (comint-dynamic-complete-filename): Correctly call
19465         completion-in-region.
19467 2011-06-05  Deniz Dogan  <deniz@dogan.se>
19469         * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
19470         in last change.
19472 2011-06-05  Deniz Dogan  <deniz@dogan.se>
19474         * net/rcirc.el (rcirc-prompt-for-encryption): New function.
19475         (rcirc): Use it to prompt for encryption.
19477 2011-06-05  Roland Winkler  <winkler@gnu.org>
19479         * textmodes/bibtex.el (bibtex-search-buffer): New variable.
19480         (bibtex-search-entries): New command bound to C-c C-a.
19481         (bibtex-display-entries): New function.
19483 2011-06-05  Roland Winkler  <winkler@gnu.org>
19485         * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
19486         (bibtex-insert-kill): After yanking insert newline if necessary.
19487         (bibtex-initialize): Call bibtex-string-files-init only once.
19488         (bibtex-mode): Do not call easy-menu-add.
19489         (bibtex-validate-globally): Use save-excursion in bibtex buffers.
19490         (bibtex-yank): Set arg properly if nil.
19492 2011-06-05  Roland Winkler  <winkler@gnu.org>
19494         * textmodes/bibtex.el (bibtex-search-entry-globally):
19495         New variable.
19496         (bibtex-search-entry): Use it.
19498 2011-06-05  Roland Winkler  <winkler@gnu.org>
19500         * textmodes/bibtex.el (bibtex-entry-format): New option
19501         sort-fields.
19502         (bibtex-format-entry, bibtex-reformat): Honor this option.
19503         (bibtex-parse-entry): Return fields in proper order.
19505 2011-06-05  Juanma Barranquero  <lekktu@gmail.com>
19507         * doc-view.el (doc-view-remove-if): Move computation of result out
19508         of `dolist' to silence misleading lexical-binding warning.
19510 2011-06-04  Chong Yidong  <cyd@stupidchicken.com>
19512         * emacs-lisp/timer.el (timer-activate): Remove unused arg.
19513         (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
19515 2011-06-04  Michael Albinus  <michael.albinus@gmx.de>
19517         * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
19518         "SunOS 5.10".
19520 2011-06-04  Michael Albinus  <michael.albinus@gmx.de>
19522         * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
19523         (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
19524         (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
19525         (tramp-parse-putty):
19526         * net/tramp-sh.el (tramp-completion-function-alist-rsh)
19527         (tramp-completion-function-alist-ssh)
19528         (tramp-completion-function-alist-telnet)
19529         (tramp-completion-function-alist-su)
19530         (tramp-completion-function-alist-putty): Set `tramp-autoload'
19531         cookie.
19533         * net/tramp-ftp.el:
19534         * net/tramp-sh.el:
19535         * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
19536         load "tramp.el" `tramp-set-completion-function'.
19538 2011-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
19540         * shell.el: Require and use pcomplete.
19541         (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
19542         (shell-completion-vars): Set pcomplete-default-completion-function.
19544 2011-06-04  Deniz Dogan  <deniz@dogan.se>
19546         * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
19547         `memq' (Bug#8799).
19549 2011-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
19551         * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
19553 2011-06-02  Juanma Barranquero  <lekktu@gmail.com>
19555         * bs.el (bs--mark-unmark, bs--nth-wrapper):
19556         * mpc.el (mpc-select-extend, mpc-songpointer-context):
19557         * vc/log-view.el (log-view-beginning-of-defun):
19558         * vc/smerge-mode.el (smerge-apply-resolution-patch)
19559         (smerge-refine-forward, smerge-refine-chopup-region):
19560         Silence warning for unused `dotimes' counter variables.
19562 2011-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
19564         * net/tramp.el (tramp-with-progress-reporter): Rename from
19565         with-progress-reporter.  Use `declare'.
19566         * net/tramp-smb.el:
19567         * net/tramp-sh.el:
19568         * net/tramp-gvfs.el: Update all uses.
19570 2011-06-02  Jay Belanger  <jay.p.belanger@gmail.com>
19572         * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
19573         buffer isn't killed before making it current.
19575 2011-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
19577         Silence various byte-compiler warnings.
19578         * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
19579         `access-type' and new obsolescence format.
19580         * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
19581         new format.
19582         (byte-compile-check-variable): New `access-type' argument.
19583         Only warn if the access-type is obsolete.
19584         (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
19585         (byte-compile-variable-set): Adjust callers.
19586         * help-fns.el (describe-variable): Adjust to new obsolescence format.
19587         * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
19588         setting it as obsolete.
19589         * simple.el (minibuffer-completing-symbol):
19590         * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
19591         access as obsolete.
19592         * minibuffer.el (minibuffer-completing-file-name): Don't make it
19593         obsolete yet.
19594         * international/quail.el (quail-mouse-choose-completion): Remove unused
19595         code referring to obsolete var.
19596         (quail-choose-completion-string): Remove.
19597         * server.el (server-clients-with, server-kill-buffer-query-function)
19598         (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
19599         * proced.el (proced-send-signal):
19600         * emacs-lisp/lisp.el (lisp-complete-symbol):
19601         Replace completion-annotate-function with completion-extra-properties.
19603 2011-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
19605         * simple.el (goto-line): Use read-number.
19606         (overriding-map-is-bound): Remove.
19607         (saved-overriding-map): Change default.
19608         (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
19609         Take the map as argument.
19610         (universal-argument, negative-argument, digit-argument): Use it.
19611         (restore-overriding-map): Adjust.
19612         (do-auto-fill): Use fill-forward-paragraph.
19613         (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
19615         * minibuffer.el (minibuffer-inactive-mode-map): New var.
19616         (minibuffer-inactive-mode): New major mode.
19617         * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
19618         the *Messages* buffer" hack.
19619         (mouse-popup-menubar): Don't burp if the event is a normal key.
19621         Miscellaneous tweaks.
19622         * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
19623         lexical scoping as in subr.el's dolist and dotimes.
19624         * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
19625         Silence compiler warning.
19626         * thingatpt.el (forward-whitespace): Trivial coding style fix.
19627         * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
19628         * international/ccl.el (ccl-compile): Trivial simplification.
19629         * help-fns.el (help-do-arg-highlight): Silence compiler warning.
19630         * emacs-lisp/testcover.el (testcover-end): Remove spurious
19631         `printflag' argument.
19632         * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
19633         Purecopy the whole obsolescence data.
19635 2011-06-01  Leo Liu  <sdl.web@gmail.com>
19637         * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
19638         improve doc-string as suggested by Marco Pessotto
19639         <melmothx@gmail.com>.
19640         (rcirc-print): Fix last change.
19642 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
19644         * minibuffer.el (complete-with-action): Return nil for the metadata and
19645         boundaries of non-functional tables.
19646         (completion-table-dynamic): Return nil for the metadata.
19647         (completion-table-with-terminator): Add default case, using
19648         complete-with-action.
19649         (completion--metadata): New function.
19650         (completion-all-sorted-completions, minibuffer-completion-help): Use it
19651         to try and avoid pathological performance problems.
19652         (completion--embedded-envvar-table): Return `category' metadata.
19654 2011-05-31  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19656         * subr.el (process-alive-p): New tiny convenience function.
19658 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
19660         * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
19661         content but also its previous major mode.
19663 2011-05-31  Helmut Eller  <eller.helmut@gmail.com>
19665         * emacs-lisp/debug.el (debug): Restore the previous content of the
19666         *Backtrace* buffer when we exit with C-M-c.
19668 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
19670         * minibuffer.el: Add metadata method to completion tables.
19671         (completion-category-overrides): New defcustom.
19672         (completion-metadata, completion--field-metadata)
19673         (completion-metadata-get, completion--styles)
19674         (completion--cycle-threshold): New functions.
19675         (completion-try-completion, completion-all-completions):
19676         Add `metadata' argument to choose completion-styles.
19677         (completion--do-completion): Use metadata to choose cycling.
19678         (completion-all-sorted-completions): Use metadata for sorting.
19679         Remove :completion-cycle-penalty which is not needed any more.
19680         (completion--try-word-completion): Add `metadata' argument.
19681         (minibuffer-completion-help): Check metadata for annotation function
19682         and sorting.
19683         (completion-file-name-table): Return `category' metadata.
19684         (minibuffer-completing-file-name): Make obsolete.
19685         * simple.el (minibuffer-completing-symbol): Make obsolete.
19686         * icomplete.el (icomplete-completions): Pass new `metadata' param to
19687         completion-try-completion.
19689 2011-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
19691         * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
19693 2011-05-30  Leo Liu  <sdl.web@gmail.com>
19695         * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
19696         (rcirc-print): Decode all incoming messages (bug#8744).
19697         (rcirc-decode-coding-system): Allow value nil for automatic coding
19698         system detection.
19700 2011-06-01  Glenn Morris  <rgm@gnu.org>
19702         * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
19704 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
19706         * image.el (image-animate-max-time): Allow nil and t values.
19707         Default to nil.
19708         (create-animated-image): Doc fix.
19709         (image-animate-start): Remove second arg; just use
19710         image-animate-max-time.
19711         (image-animate-timeout): Doc fix.  Args changed.
19713         * image-mode.el (image-toggle-display-image): Ensure that the
19714         image spec passed to the animate timer is the same object as in
19715         the buffer's display property (Bug#6981).
19716         (image-transform-properties): Doc fix.
19718         * image.el (image-animate-max-time): Default to nil.
19720 2011-05-29  Martin Rudalics  <rudalics@gmx.at>
19722         * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
19723         entire buffer list (Bug#8184).
19725 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
19727         * image.el (imagemagick-types-inhibit)
19728         (imagemagick-register-types): Doc fix.
19730 2011-05-29  Deniz Dogan  <deniz@dogan.se>
19732         * net/rcirc.el (rcirc): Use the user's stored encryption method by
19733         default.
19735 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
19737         * select.el: Don't perform clipboard-manager saving in hooks;
19738         leave the hooks empty.
19740 2011-05-28  Leo Liu  <sdl.web@gmail.com>
19742         * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
19743         (occur-mode-map): Bind occur-edit-mode.  Use occur-menu-map.
19744         (occur-edit-mode): New major mode (Bug#8463).
19745         (occur-after-change-function): New function.
19746         (occur-engine): Give Occur tags a read-only property.
19748 2011-05-28  Kevin Ryde  <user42@zip.com.au>
19750         * subr.el (def-edebug-spec): Doc fix (Bug#8430).
19752 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
19754         * bindings.el (help-echo): Make the initial non-indicator dash
19755         empty on graphical terminals (Bug#7295).
19757         * files.el (auto-mode-alist): Move config rule after the
19758         in-stripping one (Bug#8547).
19760         * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
19762         * startup.el (normal-splash-screen): Remove gratuitous mode-line
19763         setting (Bug#8740).
19765 2011-05-28  Alp Aker  <aker@pitt.edu>  (tiny change)
19767         * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
19768         (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
19769         (Bug#8539).
19771 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
19773         * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
19775 2011-05-28  Dima Kogan  <dkogan@cds.caltech.edu>  (tiny change)
19777         * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
19778         (hs-hide-block-at-point, hs-find-block-beginning)
19779         (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
19780         (Bug#8279).
19782 2011-05-28  Glenn Morris  <rgm@gnu.org>
19784         * startup.el (fancy-about-screen): Use standard mode line.  (Bug#8740)
19786 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
19788         * help-fns.el (describe-function-1): If the function is a derived
19789         major mode, print the parent mode.
19791         * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
19792         (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
19794 2011-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
19796         * minibuffer.el (completion--capf-wrapper): Check applicability before
19797         returning non-nil for non-exclusive completion data.
19798         * progmodes/etags.el (tags-completion-at-point-function):
19799         * info-look.el (info-lookup-completions-at-point): Mark as
19800         non-exclusive.
19801         (info-complete): Adjust accordingly.
19803         * info-look.el: Convert to lexical-binding and completion-at-point.
19804         (info-lookup-completions-at-point): New function.
19805         (info-complete): Use it and completion-in-region.
19807 2011-05-28  Drew Adams  <drew.adams@oracle.com>
19809         * isearch.el: Let M-e start with point at the first mismatched char.
19810         (isearch-fail-pos): New function.
19811         (isearch-edit-string): Use it.
19813 2011-05-28  Dmitry Kurochkin  <dmitry.kurochkin@gmail.com>  (tiny change)
19815         * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
19817 2011-05-27  Toby Cubitt  <toby-predictive@dr-qubit.org>
19819         * emacs-lisp/avl-tree.el: New avl-tree-stack datatype.  Add new
19820         traversal functions for avl-trees.
19821         (avl-tree--stack): New struct.
19822         (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
19823         (avl-tree-enter): Add optional `updatefun' arg.
19824         (avl-tree--do-enter): Add optional `updatefun' arg.
19825         Change return value.
19826         (avl-tree-delete): Add optional `test' and `nilflag' args.
19827         (avl-tree--do-delete): Add `test' and `nilflag' args.
19828         Change return value.
19829         (avl-tree-member): Add optional `nilflag'
19830         (avl-tree-member-p): New function.
19831         (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
19832         (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
19833         (avl-tree-stack-empty-p): New functions.
19835         * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
19836         avl-tree--del-balance1 and make it work both ways.
19837         (avl-tree--del-balance2): Remove.
19838         (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
19839         make it work both ways.
19840         (avl-tree--enter-balance2): Remove.
19841         (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
19842         New macros.
19843         (avl-tree--mapc, avl-tree-map): Add direction argument.
19845 2011-05-27  David Michael  <fedora.dm0@gmail.com>  (tiny change)
19847         * files.el (interpreter-mode-alist): Add rbash (bug#8745).
19849 2011-05-27  Chong Yidong  <cyd@stupidchicken.com>
19851         * select.el: Support clipboard managers with built-in function
19852         x-clipboard-manager-save, via delete-frame-functions and
19853         kill-emacs-hook.
19854         (xselect-convert-to-targets): Add MULTIPLE target to list.
19855         (xselect-convert-to-save-targets): New function.
19857 2011-05-27  Kenichi Handa  <handa@m17n.org>
19859         * mail/sendmail.el (mail-encode-header): Avoid double encoding by
19860         let-binding rfc2047-encode-encoded-words to nil.
19862 2011-05-27  Glenn Morris  <rgm@gnu.org>
19864         * mail/emacsbug.el: Don't require url-util.
19866         * shell.el (shell-directory-tracker): Case matters.  (Bug#8735)
19868         * files.el (set-auto-mode):
19869         Also respect mode: entries at the end of the file.  (Bug#8586)
19871 2011-05-26  Glenn Morris  <rgm@gnu.org>
19873         * files.el (hack-local-variables-prop-line, hack-local-variables):
19874         Downcase mode names, as seems to be traditional.
19875         (hack-local-variables, hack-local-variables-apply): Doc fixes.
19877         * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
19878         (report-emacs-bug-hook): Try to validate the From address.  (Bug#8038)
19880 2011-05-25  Julien Danjou  <julien@danjou.info>
19882         * textmodes/rst.el (rst-define-level-faces): Do not define face
19883         symbol if it is already defined.
19885 2011-05-24  Vincent Belaïche  <vincentb1@users.sourceforge.net>
19887         * play/5x5.el (5x5-new-game, 5x5-randomize):
19888         Reset 5x5-solver-output to nil when a new grid is cast.
19889         (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
19890         these debugging traces, as defmacro breaks the compiled code.
19892 2011-05-24  Dmitry Kurochkin  <dmitry.kurochkin@gmail.com>  (tiny change)
19894         * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
19896 2011-05-24  Leo Liu  <sdl.web@gmail.com>
19898         * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
19899         (vc-bzr-sha1): Adapt.
19901         * sha1.el: Remove.  Function `sha1' is now builtin.
19903         * bindings.el: Provide sha1 feature.
19905 2011-05-24  Kenichi Handa  <handa@m17n.org>
19907         * mail/sendmail.el: Require `rfc2047'.
19908         (mail-insert-from-field): Do not perform RFC2047 encoding.
19909         (mail-encode-header): New function.
19910         (sendmail-send-it): Set buffer-file-coding-system of the work
19911         buffer to the return value of select-message-coding-system.
19912         Call mail-encode-header.
19914         * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
19916 2011-05-24  Sean Neakums  <sneakums@zork.net>  (tiny change)
19918         * mail/supercite.el (sc-default-cite-frame):
19919         Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
19921 2011-05-24  Glenn Morris  <rgm@gnu.org>
19923         * progmodes/python.el (brm-menu): Declare.
19925         * emulation/viper.el (viper-set-hooks): Declare.
19927         * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
19928         (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
19929         (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
19930         (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
19931         (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
19932         (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
19934 2011-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
19936         Add an :exit-function for completion-at-point.
19938         * minibuffer.el (completion--done): New fun.
19939         (completion--do-completion): Use it.  New arg `expect-exact'.
19940         (minibuffer-complete, minibuffer-complete-word): Don't output message,
19941         since completion--do-completion does it for us now.
19942         (minibuffer-force-complete): Use completion--done and
19943         completion--replace.  Handle sole-completion case with more care.
19944         (minibuffer-complete-and-exit): Use new `expect-exact' arg.
19945         (completion-extra-properties): New var.
19946         (completion-annotate-function): Make obsolete.
19947         (minibuffer-completion-help): Adjust accordingly.
19948         Use completion-list-insert-choice-function.
19949         (completion-at-point, completion-help-at-point):
19950         Bind completion-extra-properties.
19951         (completion-pcm-word-delimiters): Add | (for uniquify, for example).
19952         * simple.el (completion-list-insert-choice-function): New var.
19953         (completion-setup-function): Preserve it.
19954         (choose-completion): Pay attention to it, shuffle the code a bit.
19955         (choose-completion-string): New arg `insert-function'.
19957         * textmodes/bibtex.el: Convert to lexical binding.
19958         (bibtex-mode-map): Use completion-at-point.
19959         (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
19960         (bibtex-completion-at-point-function): New fun, from bibtex-complete.
19961         (bibtex-complete): Define as obsolete alias.
19962         (bibtex-complete-internal): Remove.
19963         (bibtex-format-entry): Remove unused sub-group in regexp.
19964         * shell.el (shell--command-completion-data)
19965         (shell-environment-variable-completion):
19966         * pcomplete.el (pcomplete-completions-at-point):
19967         * comint.el (comint--complete-file-name-data): Use :exit-function
19968         instead of completion-table-with-terminator so it also works for
19969         choose-completion.
19971 2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
19973         * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
19975         * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
19976         (bug#8710).
19978         * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
19980 2011-05-23  Ken Manheimer  <ken.manheimer@gmail.com>
19982         * allout.el (allout-inhibit-auto-fill-on-headline): Create new
19983         customization variable and implement: If non-nil, auto-fill will
19984         be inhibited while on topic's header line.
19986 2011-05-23  Vincent Belaïche  <vincentb1@users.sourceforge.net>
19988         * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
19989         click on.  II/ Make 5x5 multisession.  III/ Ensure that random grids
19990         always have a solution in grid size = 5 cases.
19991         (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
19992         (5x5-solver-output, 5x5-log-buffer): New vars.
19993         (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
19994         Make these variables buffer local to achieve 5x5 multi-session-ness.
19995         (5x5): Set 5x5-grid-size only if SIZE is non-negative.
19996         (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
19997         (5x5-solve-suggest): New funs.
19998         (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
19999         randomize a grid so that we ensure that there is always a solution.
20000         (5x5-make-random-grid): Allow other movement than flipping.
20002 2011-05-23  Kevin Ryde  <user42@zip.com.au>
20004         * emacs-lisp/advice.el (ad-read-advised-function):
20005         Use `function-called-at-point' as the default, if it has
20006         advice and passes PREDICATE.
20008 2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
20010         * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
20011         byte-compile-lambda if it's actually a lambda.
20013         * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
20014         Fix function quoting.  Use backquote better.
20016 2011-05-22  Yuanle Song  <sylecn@gmail.com>
20018         * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
20019         matching (Bug#8516).
20021 2011-01-22  Jari Aalto  <jari.aalto@cante.net>
20023         * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
20024         different face (Bug#8178).
20026 2011-05-22  Chong Yidong  <cyd@stupidchicken.com>
20028         * vc/diff-mode.el (diff-changed): Don't use terminal specs for
20029         defface (Bug#8144).
20031 2011-05-22  Stefan Monnier  <monnier@iro.umontreal.ca>
20033         * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
20034         funcall as well (bug#8712).  Warn when performing those conversions.
20035         * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
20037         * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
20039 2011-05-22  Glenn Morris  <rgm@gnu.org>
20041         * files.el (hack-local-variables-prop-line): Small simplifications.
20042         (hack-local-variables, hack-local-variables-prop-line):
20043         If MODE-ONLY, return the mode, rather than just `t'.
20045 2011-05-21  Stefan Monnier  <monnier@iro.umontreal.ca>
20047         * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
20049 2011-05-21  Glenn Morris  <rgm@gnu.org>
20051         * files.el (hack-local-variables-prop-line, hack-local-variables):
20052         If only interested in the mode, don't bother doing the other stuff.
20054         * image-mode.el (image-after-revert-hook):
20055         Redraw all frames on which the image is visible.  (Bug#8567)
20057         * dired-aux.el (dired-touch-initial): Just use current-time.  (Bug#6887)
20059         * wid-edit.el (widget-checklist-match-inline):
20060         Fix 2011-04-19 change.  (Bug#8649)
20062 2011-05-20  Stefan Monnier  <monnier@iro.umontreal.ca>
20064         * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
20065         Also allow singlespace after single-letter capitals followed by a dot.
20067         * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
20068         enabled.  Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
20070 2011-05-20  Nix  <nix@esperi.org.uk>
20072         * files.el (basic-save-buffer-2):
20073         Fix handling of break-hardlink-on-save with non-existent files.
20075 2011-05-19  Deniz Dogan  <deniz@dogan.se>
20077         * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
20078         (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
20080 2011-05-19  Glenn Morris  <rgm@gnu.org>
20082         * progmodes/f90.el (f90-type-def-re):
20083         Handle "type, bind(c)".  (Bug#8691)
20085         * emacs-lisp/autoload.el (batch-update-autoloads):
20086         Set autoload-excludes by parsing loadup.el rather than Makefiles.
20088 2011-05-18  Michael Albinus  <michael.albinus@gmx.de>
20090         * net/tramp.el (tramp-process-actions): Set "first-password-request"
20091         property for the correct connection in case of multihops.
20093 2011-05-18  Glenn Morris  <rgm@gnu.org>
20095         * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
20096         * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
20098         Rationalize calendar handling of day and month abbrev-arrays.
20099         * calendar/calendar.el (calendar-customized-p): New function.
20100         (calendar-abbrev-construct, calendar-make-alist): Change what it does.
20101         (calendar-day-name-array, calendar-month-name-array): Doc fix.
20102         Add :set function.
20103         (calendar-abbrev-length, calendar-day-abbrev-array)
20104         (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
20105         (calendar-day-abbrev-array, calendar-month-abbrev-array):
20106         Elements may no longer be nil.
20107         (calendar-day-name, calendar-month-name):
20108         Update for changed nature of abbrev arrays.
20109         * calendar/diary-lib.el (diary-name-pattern):
20110         Update for changed nature of abbrev arrays.
20111         (diary-mark-entries-1): Update calendar-make-alist calls.
20112         (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
20113         * calendar/cal-html.el (cal-html-day-abbrev-array):
20114         Simply inherit from calendar-day-abbrev-array.
20116 2011-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
20118         * progmodes/grep.el (grep-mode): Disable default
20119         compilation-directory-matcher setting (bug#8684).
20121 2011-05-17  Michael Albinus  <michael.albinus@gmx.de>
20123         * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
20124         instead of "head" and "tail".  There were problems with SunOS 5.9,
20125         and it performs better.
20127 2011-05-17  Glenn Morris  <rgm@gnu.org>
20129         * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
20131         * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
20132         Replace obsolete function.
20134         * shell.el (pcomplete-parse-arguments-function): Declare.
20136         * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
20137         (appt-display-diary, appt-display-interval, appt-prev-comp-time)
20138         (appt-check): Doc fixes.
20139         (appt-disp-window-function, appt-delete-window-function):
20140         Remove needless special case in custom :type.
20141         (appt-display-count): Default to 0, not nil.
20142         (appt-check): Reset appt-display-count to 0, not nil.
20144 2011-05-17  Juanma Barranquero  <lekktu@gmail.com>
20146         * progmodes/python.el (python-font-lock-keywords):
20147         Add the Python 3.X keyword "nonlocal" (bug#8639).
20149 2011-05-16  Stefan Monnier  <monnier@iro.umontreal.ca>
20151         * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
20153 2011-05-16  Kevin Ryde  <user42@zip.com.au>
20155         * info-look.el (makefile-automake-mode): New setups, looking in
20156         automake manual, then makefile-mode.
20157         (makefile-mode): Remove automake manual, have it just in
20158         makefile-automake-mode since there's various things different or
20159         not relevant to plain make.
20160         (makefile-mode): Remove "other-modes" non-existent automake-mode,
20161         believe a hypothetical automake-mode would go to makefile-mode,
20162         not the other way around.
20164 2011-05-15  Chong Yidong  <cyd@stupidchicken.com>
20166         * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
20167         hunk-end tags (Bug#8672).
20169         * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
20170         vc-annotate-show-diff-revision-at-line (Bug#8671).
20172 2011-05-14  Glenn Morris  <rgm@gnu.org>
20174         * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
20175         in the middle of an existing one with multiple authors.  (Bug#8645)
20176         (change-log-font-lock-keywords): Also handle multiple author lines
20177         with leading tabs.  (Bug#8644)
20179         * calendar/appt.el (appt-check): Rename some local variables.
20180         Some simplification/reordering.
20182         * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
20183         (feedmail-sendmail-f-doesnt-sell-me-out)
20184         (feedmail-queue-slug-suspect-regexp, feedmail-debug)
20185         (feedmail-debug-sit-for, feedmail-queue-express-hook)
20186         (feedmail-queue-runner-message-sender): Set :version.
20187         (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
20188         (bbdb-dwim-net-address, vm-mail): Declare.
20189         (feedmail-binmail-gnulinuxish-template):
20190         Rename from feedmail-binmail-linuxish-template.
20191         (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
20192         Use insert-buffer-substring.
20194 2011-05-14  Bill Carpenter  <bill@carpenter.org>
20196         * mail/feedmail.el (feedmail-patch-level): Increase.
20197         (feedmail-debug): New custom group.
20198         (feedmail-confirm-outgoing-timeout)
20199         (feedmail-sendmail-f-doesnt-sell-me-out)
20200         (feedmail-queue-slug-suspect-regexp, feedmail-debug)
20201         (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
20202         (feedmail-sender-line, feedmail-from-line)
20203         (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
20204         (feedmail-spray-this-address)
20205         (feedmail-spray-address-fiddle-plex-list)
20206         (feedmail-queue-use-send-time-for-date)
20207         (feedmail-queue-use-send-time-for-message-id)
20208         (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
20209         (feedmail-buffer-eating-function):
20210         Doc fixes.
20211         (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
20212         (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
20213         (feedmail-message-action-scroll-down): New functions.
20214         (feedmail-queue-directory, feedmail-queue-draft-directory):
20215         Use expand-file-name.
20216         (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
20217         Remove C-v help entry.
20218         (feedmail-queue-buffer-file-name): New variable.
20219         (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
20220         (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
20221         (feedmail-message-action-send-strong, feedmail-message-action-edit)
20222         (feedmail-message-action-draft, feedmail-message-action-draft-strong)
20223         (feedmail-message-action-queue, feedmail-message-action-queue-strong)
20224         (feedmail-message-action-toggle-spray)
20225         (feedmail-run-the-queue-no-prompts)
20226         (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
20227         (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
20228         (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
20229         (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
20230         (feedmail-envelope-deducer, feedmail-fiddle-from)
20231         (feedmail-fiddle-sender, feedmail-default-date-generator)
20232         (feedmail-fiddle-date, feedmail-fiddle-message-id)
20233         (feedmail-fiddle-spray-address)
20234         (feedmail-fiddle-list-of-spray-fiddle-plexes)
20235         (feedmail-fiddle-list-of-fiddle-plexes)
20236         (feedmail-fill-to-cc-function, feedmail-fill-this-one)
20237         (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
20238         (feedmail-queue-runner-message-sender, feedmail-binmail-template):
20239         Change default.  Doc fix.
20240         (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
20241         (feedmail-binmail-linuxish-template): New constant.
20242         (feedmail-buffer-to-sendmail): Doc fix.  Add debug call.
20243         Respect feedmail-sendmail-f-doesnt-sell-me-out.
20244         (feedmail-send-it): Add debug call.
20245         Use feedmail-queue-buffer-file-name, and
20246         feedmail-send-it-immediately-wrapper.
20247         (feedmail-message-action-send): Add debug call.
20248         Use feedmail-send-it-immediately-wrapper.
20249         (feedmail-queue-express-to-queue): Add debug call.
20250         Run feedmail-queue-express-hook.
20251         (feedmail-message-action-help): Add debug call.  Use feedmail-p-h-b-n.
20252         (feedmail-message-action-help-blat):
20253         Rename from feedmail-queue-send-edit-prompt-help-first.
20254         (feedmail-run-the-queue): Add debug call.  Set buffer-file-type.
20255         Check line-endings.  Handle errors better.
20256         (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
20257         Doc fix.  Add debug call.
20258         (feedmail-queue-send-edit-prompt): Doc fix.  Add debug call.
20259         Use feedmail-queue-send-edit-prompt-inner.
20260         (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
20261         (feedmail-queue-send-edit-prompt-inner): New function, extracted
20262         from feedmail-queue-send-edit-prompt.
20263         (feedmail-queue-send-edit-prompt-help)
20264         (feedmail-queue-send-edit-prompt-help-later): Remove functions.
20265         (feedmail-tidy-up-slug): Add debug call.
20266         Respect feedmail-queue-slug-suspect-regexp.
20267         (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
20268         (feedmail-dump-message-to-queue): Add debug call.
20269         Expand queue-directory.
20270         (feedmail-dump-message-to-queue): Change message slightly.
20271         Use feedmail-say-chatter.
20272         (feedmail-rfc822-date): Add debug call.  Bind system-time-locale.
20273         (feedmail-send-it-immediately-wrapper): New function.
20274         (feedmail-send-it-immediately): Add debug calls.  Use let not let*.
20275         Insert empty string rather than newline.  Handle full-frame case.
20276         Use catch/throw.  Use feedmail-say-chatter.
20277         (feedmail-fiddle-from): Try mail-host-address.
20278         (feedmail-default-message-id-generator): Doc fix.
20279         Bind system-time-locale.  Handle missing end.
20280         (feedmail-fiddle-x-mailer): Add debug call.
20281         Handle feedmail-x-mailer-line being nil.
20282         (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
20283         Add debug call.  Use buffer-substring-no-properties.
20284         (feedmail-say-debug, feedmail-say-chatter): New functions.
20285         (feedmail-find-eoh): Give an explicit error.
20287 2011-05-13  Ulf Jasper  <ulf.jasper@web.de>
20289         * net/newst-treeview.el (newsticker-treeview-face): Change default
20290         family from helvetica to sans.
20291         (newsticker-treeview-tool-bar-map): Move tool-bar icons to
20292         etc/images/newsticker.
20294         * net/newst-reader.el (newsticker-feed-face): Change default
20295         family from helvetica to sans.
20297         * net/newst-plainview.el (newsticker-new-item-face)
20298         (newsticker-old-item-face, newsticker-immortal-item-face)
20299         (newsticker-obsolete-item-face, newsticker-date-face)
20300         (newsticker-statistics-face): Change default family from
20301         helvetica to sans.
20302         (newsticker--plainview-tool-bar-map): Move tool-bar icons to
20303         etc/images/newsticker.
20305         * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
20306         (newsticker--process-auto-mark-filter-match): Tell user about
20307         auto-marking.
20309 2011-05-13  Didier Verna  <didier@xemacs.org>
20311         Common Lisp indentation improvements on defmethod and lambda-lists.
20312         * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
20313         TODO entries.
20314         (lisp-lambda-list-keyword-parameter-indentation)
20315         (lisp-lambda-list-keyword-parameter-alignment)
20316         (lisp-lambda-list-keyword-alignment): New customizable user options.
20317         (lisp-indent-defun-method): Improve docstring.
20318         (extended-loop-p): Fix comment.
20319         (lisp-indent-lambda-list-keywords-regexp): New variable.
20320         (lisp-indent-lambda-list): New function.
20321         (lisp-indent-259): Use it.
20322         (lisp-indent-defmethod): Support for more than one
20323         method qualifier and properly indent methods lambda-lists.
20324         (defgeneric): Provide a missing common-lisp-indent-function property.
20326 2011-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
20328         * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
20329         bounds for the empty string (bug#8667).
20331 2011-05-13  Glenn Morris  <rgm@gnu.org>
20333         * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
20335         * mail/sendmail.el (sendmail-program): Try executable-find first.
20336         (sendmail-send-it): `sendmail-program' cannot be unbound.
20338         * calendar/appt.el (appt-make-list): Simplify.
20339         (appt-time-msg-list): Doc fix.
20340         (appt-check): Change mode-line message at the time of the appointment.
20342 2011-05-12  Andreas Schwab  <schwab@linux-m68k.org>
20344         * progmodes/ld-script.el (ld-script-keywords)
20345         (ld-script-builtins): Update keywords list.
20347 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
20349         * progmodes/grep.el (grep-filter): Don't trip on partial lines.
20351         * shell.el (shell-completion-vars): New function.
20352         (shell-mode):
20353         * simple.el (read-shell-command): Use it.
20354         (blink-matching-open): No need for " [...]" in minibuffer-message.
20356 2011-05-12  Glenn Morris  <rgm@gnu.org>
20358         * calendar/appt.el (appt-now-displayed): Remove pointless variable.
20359         (appt-check): Simplify.
20361 2011-05-12  Eli Zaretskii  <eliz@gnu.org>
20363         * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
20364         literal "/dev/null".
20366 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
20368         * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
20369         Fix typo.
20371 2011-05-12  Ralph Schleicher  <rs@ralph-schleicher.de>
20373         * progmodes/which-func.el (which-function):
20374         Use add-log-current-defun instead of add-log-current-defun-function,
20375         which might not be defined (Bug#8260).
20377 2011-05-12  Glenn Morris  <rgm@gnu.org>
20379         * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
20380         Let byte-compile-initial-macro-environment always take precedence.
20382 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
20384         * net/rcirc.el: Add support for SSL/TLS connections.
20385         (rcirc-server-alist): New field `encryption'.
20386         (rcirc): Check `encryption' settings.
20387         (rcirc-connect): New arg `encryption'.  Use open-network-stream.
20388         Merge make-local-variable into `set'.
20389         (rcirc--connection-open-p): New function.
20390         (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
20391         the process is not a network process (e.g. running gnutls-cli).
20392         (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
20393         Make rcirc-(en|de)code-coding-system local here.
20394         (rcirc-mode): Merge make-local-variable into `set'.
20395         (rcirc-parent-buffer): Make permanent buffer-local.
20396         (rcirc-multiline-minor-mode): Don't do it here.
20397         (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
20398         there's no server buffer.
20400 2011-05-11  Glenn Morris  <rgm@gnu.org>
20402         * newcomment.el (comment-kill): Prefix "unused" local.
20404         * term/w32console.el (get-screen-color): Declare.
20406         * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
20407         Handle symbol elements of byte-compile-initial-macro-environment.
20409 2011-05-10  Leo Liu  <sdl.web@gmail.com>
20411         * bookmark.el (bookmark-bmenu-mode-map):
20412         Bind bookmark-bmenu-search to `/'.
20414         * mail/footnote.el: Convert to utf-8 encoding.
20415         (footnote-unicode-string, footnote-unicode-regexp): New variable.
20416         (Footnote-unicode): New function.
20417         (footnote-style-alist): Add unicode style to the list.
20418         (footnote-style): Doc fix.
20420 2011-05-10  Jim Meyering  <meyering@redhat.com>
20422         Fix doubled-word typos.
20423         * international/quail.el (quail-insert-kbd-layout): and and -> and
20424         * kermit.el: and and -> and
20425         * net/ldap.el (ldap-search-internal): to to -> to
20426         * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
20427         * progmodes/js.el (js-mode): and and -> and
20428         * textmodes/artist.el (artist-move-to-xy): at at -> at
20429         (artist-draw-region-trim-line-endings): if if -> if
20430         And Safetyc -> Safety.
20431         * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
20433 2011-05-10  Glenn Morris  <rgm@gnu.org>
20434             Stefan Monnier  <monnier@iro.umontreal.ca>
20436         * files.el (hack-one-local-variable-eval-safep):
20437         Consider "eval: (foo-mode)" to be safe.  (Bug#8613)
20439 2011-05-10  Glenn Morris  <rgm@gnu.org>
20441         * calendar/diary-lib.el (diary-list-entries-hook)
20442         (diary-mark-entries-hook, diary-nongregorian-listing-hook)
20443         (diary-nongregorian-marking-hook, diary-list-entries)
20444         (diary-include-other-diary-files, diary-mark-entries)
20445         (diary-mark-included-diary-files): Doc fixes.
20447 2011-05-09  Juanma Barranquero  <lekktu@gmail.com>
20449         * misc.el: Require tabulated-list.el during compilation.
20451 2011-05-09  Chong Yidong  <cyd@stupidchicken.com>
20453         * progmodes/compile.el (compilation-start):
20454         Run compilation-filter-hook for the async case too.
20455         (compilation-filter-hook): Doc fix.
20457 2011-05-09  Deniz Dogan  <deniz@dogan.se>
20459         * wdired.el: Remove outdated installation comment.  Fix usage
20460         comment.
20462 2011-05-09  Juanma Barranquero  <lekktu@gmail.com>
20464         * misc.el: Implement new command `list-dynamic-libraries'.
20465         (list-dynamic-libraries--loaded-only-p): New variable.
20466         (list-dynamic-libraries--refresh): New function.
20467         (list-dynamic-libraries): New command.
20469 2011-05-09  Chong Yidong  <cyd@stupidchicken.com>
20471         * progmodes/compile.el (compilation-error-regexp-alist-alist):
20472         Fix the ant regexp to handle end-line and end-column info from jikes.
20473         Re-introduce maven regexp.  Give the ruby-Test::Unit regexp a
20474         higher priority to avoid clobbering by gnu.
20476 2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
20478         * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
20479         if the face has existing theme settings (Bug#8454).
20481 2011-05-08  Ralph Schleicher  <rs@ralph-schleicher.de>
20483         * progmodes/perl-mode.el (perl-imenu-generic-expression):
20484         Only match variables declared via `my' or `our' (Bug#8261).
20486         * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
20487         special file names `.' and `..' (Bug#8259).
20489 2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
20491         * progmodes/grep.el (grep-mode-font-lock-keywords):
20492         Remove buffer-changing entries.
20493         (grep-filter): New function.
20494         (grep-mode): Add it to compilation-filter-hook.
20496         * progmodes/compile.el (compilation-filter-hook)
20497         (compilation-filter-start): New defvars.
20498         (compilation-filter): Call compilation-filter-hook prior to
20499         updating the process mark.
20501 2011-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
20503         * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
20505 2011-05-07  Eli Zaretskii  <eliz@gnu.org>
20507         * mail/sendmail.el (send-mail-function): On MS-Windows, default to
20508         mailclient-send-it even if window-system is nil.  (Bug#8595)
20510         * term/w32console.el (terminal-init-w32console):
20511         Call get-screen-color and use its output to set the frame
20512         background-mode.  (Bug#8597)
20514 2011-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
20516         Make bytecomp.el understand that defmethod defines funs (bug#8631).
20517         * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
20518         New functions.
20519         (defgeneric, eieio--defmethod): Use them.
20520         (eieio-defgeneric): Remove.
20521         (defmethod): Call defgeneric in a way visible to the byte-compiler.
20523 2011-05-07  Glenn Morris  <rgm@gnu.org>
20525         * calendar/timeclock.el (timeclock-log-data): Remove unused local.
20526         Use let rather than let*.
20527         (timeclock-find-discrep): Remove unused local.
20529         * calendar/diary-lib.el (diary-comment-start): Doc fix.
20531         * calendar/appt.el (appt-time-msg-list): Doc fix.
20533 2011-05-06  Noah Friedman  <friedman@splode.com>
20535         * apropos.el (apropos-print-doc): Only use
20536         emacs-lisp-docstring-fill-column when it is bound to an integer,
20537         per that variable's documentation.
20539 2011-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
20541         * lpr.el (print-region-1): Echo lpr-program's output, so error messages
20542         and warnings are not silently discarded (e.g. use -d instead of -P).
20544 2011-05-06  Glenn Morris  <rgm@gnu.org>
20546         * calendar/appt.el (appt-message-warning-time): Doc fix.
20547         (appt-warning-time-regexp): New option.
20548         (appt-make-list): Respect appt-message-warning-time.
20550         * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
20551         New options.
20552         (diary-add-to-list): Strip comments from the displayed string.
20553         (diary-mode): Set comment-start and comment-end.
20555         * vc/diff-mode.el (smerge-refine-subst): Declare.
20556         (diff-refine-hunk): Don't require smerge-mode when compiling.
20558 2011-05-06  Juanma Barranquero  <lekktu@gmail.com>
20560         * simple.el (list-processes): Return nil as the docstring says.
20562 2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
20564         * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
20565         to "".
20566         (ange-ftp-write-region, ange-ftp-insert-file-contents)
20567         (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
20568         determining of binary transfer.  (Bug#7383)
20570 2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
20572         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
20573         Fix port computation bug.  (Bug#8618)
20575 2011-05-05  Glenn Morris  <rgm@gnu.org>
20577         * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
20579         * simple.el (shell-dynamic-complete-functions)
20580         (comint-dynamic-complete-functions): Declare.
20582         * net/network-stream.el (gnutls-negotiate):
20583         * simple.el (tabulated-list-print): Fix declarations.
20585         * progmodes/gud.el (syntax-symbol, syntax-point):
20586         Remove unnecessary and incorrect declarations.
20588         * emacs-lisp/check-declare.el (check-declare-scan):
20589         Handle byte-compile-initial-macro-environment in bytecomp.el.
20591 2011-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
20593         Fix earlier half-done eieio-defmethod change (bug#8338).
20594         * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
20595         Streamline and change calling convention.
20596         (defmethod): Adjust accordingly and simplify.
20597         (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
20598         new eieio--defmethod.
20599         (slot-boundp): Minor CSE simplification.
20601 2011-05-05  Milan Zamazal  <pdm@zamazal.org>
20603         * progmodes/glasses.el (glasses-separate-capital-groups): New option.
20604         (glasses-make-readable): Use glasses-separate-capital-groups.
20606 2011-05-05  Juanma Barranquero  <lekktu@gmail.com>
20608         * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
20609         (warning-series): Doc fix.
20610         (display-warning): Don't try to create the buffer if we just found it.
20612 2011-05-04  Chong Yidong  <cyd@stupidchicken.com>
20614         * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
20615         (autoload-find-generated-file): New function.
20616         (generate-file-autoloads): Bind generated-autoload-file to
20617         buffer-file-name.
20618         (update-file-autoloads, update-directory-autoloads):
20619         Use autoload-find-generated-file.  If called interactively, prompt for
20620         output file (Bug#7989).
20621         (batch-update-autoloads): Doc fix.
20623 2011-05-04  Juanma Barranquero  <lekktu@gmail.com>
20625         * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
20627 2011-05-04  Glenn Morris  <rgm@gnu.org>
20629         * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
20630         function, so it follows changes in calendar-date-style.
20631         (diary-fancy-date-matcher): New function.
20632         (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
20633         (diary-fancy-font-lock-fontify-region-function):
20634         Use diary-fancy-date-pattern as a function.
20636         * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
20637         non-numbers for `year' etc pseudo-variables.  (Bug#8583)
20639 2011-05-04  Teodor Zlatanov  <tzz@lifelogs.com>
20641         * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
20642         instead of positional arguments.  Allow :keylist and :crlfiles
20643         arguments.
20644         (open-gnutls-stream): Call it.
20646         * net/network-stream.el (network-stream-open-starttls): Adjust to
20647         call `gnutls-negotiate' with :process and :hostname arguments.
20649 2011-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
20651         * minibuffer.el (completion--message): New function.
20652         (completion--do-completion, minibuffer-complete)
20653         (minibuffer-force-complete, minibuffer-complete-word): Use it.
20654         (completion--do-completion): Don't ignore completion-auto-help when in
20655         icomplete-mode.
20657         * whitespace.el (whitespace-trailing-regexp): Don't rely on the
20658         internal encoding (e.g. tibetan zero is not whitespace).
20659         (global-whitespace-mode): Prefer save-current-buffer.
20660         (whitespace-trailing-regexp): Remove useless save-match-data.
20661         (whitespace-empty-at-bob-regexp): Minor simplification.
20663 2011-05-03  Chong Yidong  <cyd@stupidchicken.com>
20665         * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
20667 2011-05-03  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
20669         * textmodes/ispell.el (ispell-add-per-file-word-list):
20670         Use `concat' to create string for insertion.
20672 2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
20674         * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
20675         Avoid open-line which runs post-self-insert-hook.
20676         (bibtex-fill-entry): Remove unused `end' var.
20678 2011-05-03  Dirk Ullrich  <dirk.ullrich@googlemail.com>  (tiny change)
20680         * textmodes/ispell.el (ispell-add-per-file-word-list):
20681         Protect against `nil' value of `comment-start' (Bug#8579).
20683 2011-05-03  Leo Liu  <sdl.web@gmail.com>
20685         * isearch.el (isearch-yank-pop): New command.
20686         (isearch-mode-map): Bind it to `M-y'.
20687         (isearch-forward): Mention it.
20689 2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
20691         * simple.el (minibuffer-complete-shell-command): Remove.
20692         (minibuffer-local-shell-command-map): Use completion-at-point.
20693         (read-shell-command): Setup completion vars here instead.
20694         (read-expression-map): Bind TAB to symbol completion.
20696         * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
20697         error directly rather via storing it into `results'.
20699 2011-05-02  Leo Liu  <sdl.web@gmail.com>
20701         * vc/diff.el: Fix description.
20703 2011-05-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
20705         * server.el (server-eval-at): New function.
20707 2011-05-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
20709         * net/network-stream.el (open-network-stream): Take a :nowait
20710         parameter and pass it on to `make-network-process'.
20711         (network-stream-open-plain): Ditto.
20713 2011-04-30  Andreas Schwab  <schwab@linux-m68k.org>
20715         * faces.el (face-spec-set-match-display): Don't match toolkit
20716         options on terminal frames.
20718 2011-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
20720         * progmodes/pascal.el: Use lexical binding.
20721         (pascal-mode-map): Remove author preferences.
20723         * pcomplete.el (pcomplete-std-complete): Don't abuse
20724         completion-at-point.
20726 2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
20728         * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
20729         removing code that has been dead since 1991 or so.
20731         * startup.el (command-line): When warning about "_emacs", use a
20732         delayed warning to allow the user to filter it out.
20734 2011-04-28  Deniz Dogan  <deniz@dogan.se>
20736         * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
20737         user has not joined.
20739 2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
20741         * pcomplete.el (pcomplete-completions-at-point): Return nil if there
20742         aren't any completions at point.
20744 2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
20746         * subr.el (display-delayed-warnings): New function.
20747         (delayed-warnings-hook): New variable.
20749 2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
20751         * minibuffer.el (completion-at-point, completion-help-at-point):
20752         Don't presume that a given completion-at-point-function will always
20753         use the same calling convention.
20755         * pcomplete.el (pcomplete-completions-at-point):
20756         Obey pcomplete-ignore-case.  Don't call pcomplete-norm-func unless
20757         pcomplete-seen is non-nil.
20758         (pcomplete-comint-setup): Also recognize the new comint/shell
20759         completion functions.
20760         (pcomplete-do-complete): Don't call pcomplete-norm-func unless
20761         pcomplete-seen is non-nil.
20763 2011-04-27  Niels Giesen  <niels.giesen@gmail.com>
20765         * calendar/icalendar.el (diary-lib): Add require statement.
20766         (icalendar--create-uid): Read out a uid from a text-property on
20767         the first character in the entry.  This allows for code to add its
20768         own uid to the entry.
20769         (icalendar--convert-float-to-ical): Add export of
20770         `diary-float'-entries save for those with the optional DAY
20771         argument.
20773 2011-04-27  Daniel Colascione  <dan.colascione@gmail.com>
20775         * subr.el (shell-quote-argument): Use alternate escaping strategy
20776         when we spot a variable reference in a string.
20778 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
20780         * cus-start.el (all): Define customization for debug-on-event.
20782 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
20784         * subr.el (shell-quote-argument): Escape correctly under Windows.
20786 2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
20788         * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
20790 2011-04-25  Michael Albinus  <michael.albinus@gmx.de>
20792         * net/tramp.el (tramp-process-actions): Add POS argument.
20793         Delete region between POS and (pos).
20795         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
20796         Use `nil' position in `tramp-process-actions' call.
20797         (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
20799         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
20800         position in `tramp-process-actions' call.
20802         * net/trampver.el: Update release number.
20804 2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
20806         * custom.el (defcustom): Obey lexical-binding.
20808         Fix octave-inf completion problems reported by Alexander Klimov.
20809         * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
20810         Inherit from octave-mode-syntax-table.
20811         (inferior-octave-mode): Set info-lookup-mode.
20812         (inferior-octave-completion-at-point): New function.
20813         (inferior-octave-complete): Use it and completion-in-region.
20814         (inferior-octave-dynamic-complete-functions): Use it as well, and use
20815         comint-filename-completion.
20816         * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
20817         symbol elements which shouldn't be word elements.
20818         (octave-font-lock-keywords, octave-beginning-of-defun)
20819         (octave-function-header-regexp): Adjust regexps accordingly.
20820         (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
20822 2011-04-25  Juanma Barranquero  <lekktu@gmail.com>
20824         * net/gnutls.el (gnutls-errorp): Declare before first use.
20826 2011-04-24  Teodor Zlatanov  <tzz@lifelogs.com>
20828         * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
20829         verify-error, and verify-hostname-error parameters.  Check whether
20830         default trustfile exists before going to use it.  Add missing
20831         argument to gnutls-message-maybe call.  Return value.
20832         Reported by Claudio Bley <claudio.bley@gmail.com>.
20833         (open-gnutls-stream): Add usage example.
20835         * net/network-stream.el (network-stream-open-starttls): Give host
20836         parameter to `gnutls-negotiate'.
20837         (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
20838         * subr.el (shell-quote-argument): Escape correctly under Windows.
20840 2011-04-24  Daniel Colascione  <dan.colascione@gmail.com>
20842         * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
20843         Use correct match group (bug#8438).
20845 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
20847         * emacs-lisp/package.el (package-built-in-p): Fix typo.
20848         (package-menu--generate): New arg specifying packages to show.
20849         (package-menu-refresh, package-menu-execute, list-packages):
20850         Callers changed.
20851         (package-show-package-list): New function, replacing deleted
20852         package--list-packages (renamed because it is non-internal).
20854         * finder.el (finder-list-matches): Use package-show-package-list
20855         instead of deleted package--list-packages.
20857         * vc/vc-annotate.el (vc-annotate-goto-line): New command.
20858         Based on a previous implementation by Juanma Barranquero (Bug#8366).
20859         (vc-annotate-mode-map): Bind it to RET.
20861 2011-04-24  Uday S Reddy  <u.s.reddy@cs.bham.ac.uk>  (tiny change)
20863         * progmodes/etags.el (next-file): Don't use set-buffer to change
20864         buffers (Bug#8478).
20866 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
20868         * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
20870         * apropos.el (apropos-label-face): Avoid variable-pitch face.
20871         (apropos-accumulator): Doc fix.
20872         (apropos-function, apropos-macro, apropos-command)
20873         (apropos-variable, apropos-face, apropos-group, apropos-widget)
20874         (apropos-plist): Add face property.
20875         (apropos-symbols-internal): Fix indentation.
20876         (apropos-print): Simplify help, and recognize apropos-multi-type.
20877         (apropos-print-doc): Use button-type-get to extract the button's
20878         face property.  Fill docstring (Bug#8352).
20880 2011-04-23  Juanma Barranquero  <lekktu@gmail.com>
20882         * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
20884         * play/mpuz.el (mpuz-silent): Doc fix.
20885         (mpuz-mode-map): Use mapc.
20886         (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
20887         (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
20888         Fix typos in docstrings.
20890         * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
20891         (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
20893         * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
20895 2011-04-23  Chong Yidong  <cyd@stupidchicken.com>
20897         * minibuffer.el (completion--do-completion): Avoid the "Next char
20898         not unique" prompt if icomplete-mode is enabled (Bug#5849).
20900         * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
20901         mouse-2 into unread-command-events, it is interpreted correctly.
20903         * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
20904         (image-toggle-display): Doc fix.
20906 2011-04-23  Stephen Berman  <stephen.berman@gmx.net>
20908         * textmodes/page.el (what-page): Use line-number-at-pos to
20909         calculate line number (Bug#6825).
20911 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
20913         * eshell/esh-mode.el (find-tag-interactive): Declare function.
20914         (eshell-find-tag): Remove `with-no-warnings', unneeded now.
20915         Pass argument NO-DEFAULT to `find-tag-interactive'.
20917 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
20919         Lexical-binding cleanup.
20921         * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
20922         (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
20923         * progmodes/ada-prj.el (ada-prj-initialize-values)
20924         (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
20925         (ada-prj-show-value):
20926         * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
20927         * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
20928         (antlr-invalidate-context-cache, antlr-options-menu-filter)
20929         (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
20930         * progmodes/bug-reference.el (bug-reference-push-button):
20931         * progmodes/fortran.el (fortran-line-length):
20932         * progmodes/glasses.el (glasses-change):
20933         * progmodes/octave-mod.el (octave-fill-paragraph):
20934         * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
20935         (python-pdbtrack-grub-for-buffer, python-sentinel):
20936         * progmodes/sql.el (sql-save-connection):
20937         * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
20938         * progmodes/xscheme.el (xscheme-enter-debugger-mode):
20939         Mark unused parameters.
20941         * progmodes/compile.el (compilation--flush-directory-cache)
20942         (compilation--flush-parse, compile-internal): Mark unused parameters.
20943         (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
20944         (compilation-next-error-function): Remove unused variable `timestamp'.
20946         * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
20947         (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
20949         * progmodes/dcl-mode.el (dcl-end-of-command):
20950         Remove unused variable `start'.
20951         (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
20952         (dcl-option-value-basic, dcl-option-value-offset)
20953         (dcl-option-value-margin-offset, dcl-option-value-comment-line):
20954         Mark unused parameters.
20955         (dcl-save-local-variable): Remove unused variable `val'.
20956         (mode): Declare.
20958         * progmodes/delphi.el (delphi-save-state, delphi-after-change):
20959         Mark unused parameters.
20960         (delphi-ignore-changes): Move before first use.
20961         (delphi-charset-token-at): Remove unused variable `start'.
20962         (delphi-else-start): Remove unused variable `if-count'.
20963         (delphi-comment-block-start, delphi-comment-block-end):
20964         Remove unused variable `kind'.
20965         (delphi-indent-line): Remove unused variable `new-point'.
20967         * progmodes/ebrowse.el (ebrowse-files-list)
20968         (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
20969         Mark unused parameters.  Don't quote `lambda'.
20970         (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
20971         Don't quote `lambda'.
20972         (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
20973         (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
20974         (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
20975         (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
20976         Use `ignore-errors'.
20977         (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
20978         (ebrowse-view/find-file-and-search-pattern)
20979         (ebrowse-view/find-member-declaration/definition):
20980         Rename parameter TAGS-FILE-NAME to TAGS-FILE.
20981         (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
20982         Rename parameter PREFIX-ARG to PREFIX.
20983         (ebrowse-tags-read-name): Remove unused variables `start' and
20984         `member-info'.
20985         (ebrowse-display-member-buffer): Rename variable `tags-file-name'
20986         to `tags-file'.
20988         * progmodes/etags.el (local-find-tag-hook): Declare.
20989         (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
20990         Mark unused parameters.
20992         * progmodes/executable.el (compilation-error-regexp-alist): Declare.
20993         (executable-interpret): Mark unused parameter.
20995         * progmodes/flymake.el (flymake-process-sentinel)
20996         (flymake-after-change-function)
20997         (flymake-create-temp-with-folder-structure)
20998         (flymake-get-include-dirs-dot): Mark unused parameters.
20999         (flymake-safe-delete-directory): Remove unused variable `err'.
21001         * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
21002         (speedbar-timer-fn, speedbar-line-text)
21003         (speedbar-change-expand-button-char, speedbar-delete-subblock)
21004         (speedbar-center-buffer-smartly): Declare functions.
21005         (gdb-find-watch-expression): Remove unused variable `array'.
21006         (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
21007         (gdb-starting): Mark unused parameters.
21008         (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
21009         (gdb-table-string): Remove unused variable `res'.
21010         (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
21011         (gdb-disassembly-handler-custom): Remove unused variable `pos'.
21012         (gdb-display-buffer): Remove unused variable `cur-size'.
21014         * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
21015         allow lexical-binding compilation.
21016         (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
21017         (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
21018         (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
21019         Mark unused parameters.
21020         (gud-gdb-marker-filter): Remove unused variable `match'.
21021         (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
21022         lambda expressions and funcall them, instead of using `fset'.
21024         * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
21025         HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
21027         * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
21028         variable `header-beg'; use `let'.
21030         * progmodes/icon.el (indent-icon-exp): Remove unused variables
21031         `restart', `last-sexp' and `at-do'.
21033         * progmodes/js.el (js--debug): Mark unused parameter.
21034         (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
21035         (js--splice-into-items): Remove unused variable `item'.
21036         (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
21038         * progmodes/make-mode.el (makefile-make-font-lock-keywords):
21039         Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
21040         (makefile-complete): Remove unused variable `try'.
21041         (makefile-fill-paragraph, makefile-match-function-end):
21042         Mark unused parameters.
21044         * progmodes/octave-inf.el (inferior-octave-complete):
21045         Remove unused variable `proc'.
21046         (inferior-octave-output-digest): Mark unused parameter.
21048         * progmodes/perl-mode.el (perl-calculate-indent):
21049         Remove unused variable `err'.
21051         * progmodes/prolog.el (prolog-mode-keybindings-inferior)
21052         (prolog-indent-line): Mark unused parameters.
21053         (prolog-indent-line): Remove unused variable `beg'.
21055         * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
21056         (reporter-dont-compact-list): Declare.
21058         * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
21059         Remove unused variable `char'.
21060         (sh-debug): Mark unused parameter.
21061         (sh-get-indent-info): Remove unused variable `start'.
21062         (sh-calculate-indent): Remove unused variable `var'.
21064         * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
21065         (simula-electric-keyword): Remove unused variable `null'.
21066         (simula-search-backward, simula-search-forward): Remove unused
21067         variables `begin' and `end'.
21069         * progmodes/vera-mode.el (vera-guess-basic-syntax):
21070         Remove unused variable `pos'.
21071         (vera-electric-tab, vera-comment-uncomment-region):
21072         Mark unused parameters.
21073         (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
21075 2011-04-22  Chong Yidong  <cyd@stupidchicken.com>
21077         * emacs-lisp/package.el (package--builtins, package-alist)
21078         (package-load-descriptor, package-built-in-p, package-activate)
21079         (define-package, package-installed-p)
21080         (package-compute-transaction, package-buffer-info)
21081         (package--push): Doc fix.  Distinguish more clearly between
21082         version strings and version lists.
21084 2011-04-21  Juanma Barranquero  <lekktu@gmail.com>
21086         Lexical-binding cleanup.
21088         * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
21089         (5x5-make-mutate-best):
21090         * play/fortune.el (fortune-in-buffer):
21091         * play/gomoku.el (gomoku-init-display):
21092         * play/solitaire.el (solitaire, solitaire-do-check):
21093         * play/tetris.el (tetris-default-update-speed-function):
21094         Mark unused parameters.
21096         * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
21097         (bubbles--shift): Remove unused variable `char-org'.
21098         (bubbles--set-faces): Remove unused variable `fg-col'.  Simplify.
21099         (bubbles--show-images): Remove unused variable `char'.
21101         * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
21102         (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
21103         (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
21104         (decipher-analyze-buffer): Use ?\s.
21105         (decipher-make-checkpoint): Remove unused variable `mapping'.
21107         * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
21109         * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
21110         Remove unused variable `result'; use `let'.
21112         * play/gametree.el (gametree-current-layout, gametree-apply-layout):
21113         Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
21114         (gametree-children-shown-p, gametree-compute-reduced-score):
21115         Use `ignore-errors'.
21117         * play/handwrite.el (ps-lpr-switches): Declare.
21118         (handwrite): Remove unused variables `pmin' and `lastp'.
21120         * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
21122         * play/landmark.el (landmark-init-display)
21123         (landmark-update-naught-weights): Mark unused parameters.
21124         (landmark-y): Remove unused variable `noise'.  Simplify.
21125         (landmark-human-plays): Remove unused variable `score'.
21127         * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
21128         (mpuz-try-proposal): Remove unused variable `game'.
21130         * play/zone.el (life-patterns): Declare.
21132 2011-04-20  Juanma Barranquero  <lekktu@gmail.com>
21134         * vc/vc.el (ediff-vc-internal): Declare function.
21136 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
21138         * shell.el: Use lexical-binding and std completion UI.
21139         (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
21140         (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
21141         comint-preoutput-filter-functions rather than on
21142         comint-output-filter-functions.
21143         (shell-command-completion, shell--command-completion-data)
21144         (shell-filename-completion, shell-environment-variable-completion)
21145         (shell-c-a-p-replace-by-expanded-directory): New functions.
21146         (shell-dynamic-complete-functions, shell-dynamic-complete-command)
21147         (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
21148         (shell-dynamic-complete-environment-variable): Use them.
21149         (shell-dynamic-complete-as-environment-variable)
21150         (shell-dynamic-complete-as-command): Remove.
21151         (shell-match-partial-variable): Match past point.
21152         * comint.el: Clean up use of completion-at-point-functions.
21153         (comint-completion-at-point): New function.
21154         (comint-mode): Use it completion-at-point-functions.
21155         (comint-dynamic-complete): Make it obsolete.
21156         (comint-replace-by-expanded-history-before-point): Add dry-run arg.
21157         (comint-c-a-p-replace-by-expanded-history): New function.
21158         (comint-dynamic-complete-functions)
21159         (comint-replace-by-expanded-history): Use it.
21160         * minibuffer.el (completion-table-with-terminator): Allow dynamic
21161         termination strings.  Try harder to avoid second try-completion.
21162         (completion-in-region-mode-map): Disable bindings that don't work yet.
21164         * comint.el: Use lexical-binding.  Require CL.
21165         (comint-dynamic-complete-functions): Use comint-filename-completion.
21166         (comint-completion-addsuffix): Tweak custom type.
21167         (comint-filename-completion, comint--common-suffix)
21168         (comint--common-quoted-suffix, comint--table-subvert)
21169         (comint--complete-file-name-data): New functions.
21170         (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
21171         (comint-dynamic-list-filename-completions): Use them.
21172         (comint-dynamic-simple-complete): Make obsolete.
21174         * minibuffer.el (completion-in-region-mode):
21175         Keep completion-in-region-mode--predicate global.
21176         (completion-in-region--postch):
21177         Assume completion-in-region-mode--predicate is not null.
21179         * progmodes/flymake.el (flymake-start-syntax-check-process):
21180         Obey `dir'.  Simplify.
21182         * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
21183         we're in VC after all.
21185 2011-04-20  Christoph Scholtes  <cschol2112@googlemail.com>
21187         * vc/vc.el (vc-diff-build-argument-list-internal)
21188         (vc-version-ediff, vc-ediff): New commands.
21189         (vc-version-diff): Use vc-diff-build-argument-list-internal.
21191 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
21193         * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
21194         add sanity check.
21196         * obsolete/erc-hecomplete.el: Make obsolete.
21197         * obsolete/: Standardize obsolescence info in the header.
21199 2011-04-20  Glenn Morris  <rgm@gnu.org>
21201         * calendar/solar.el (solar-horizontal-coordinates):
21202         Use the longitude argument rather than `calendar-longitude'.
21203         (solar-date-next-longitude): Remove unused locals.
21205 2011-04-20  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
21207         * whitespace.el: New version 13.2.1.
21209 2011-04-20  felix  <EmacsWiki>  (tiny change)
21211         * whitespace.el (global-whitespace-mode): Keep highlight when
21212         switching between major modes on a file.
21214 2011-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
21216         * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
21217         (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
21218         multi-line comments as well.
21220 2011-04-19  Juanma Barranquero  <lekktu@gmail.com>
21222         Lexical-binding cleanup.
21224         * arc-mode.el (archive-mode-revert):
21225         * cmuscheme.el (scheme-interactively-start-process):
21226         * custom.el (custom-initialize-delay):
21227         * dnd.el (dnd-open-local-file, dnd-open-remote-url):
21228         * dos-w32.el (direct-print-region-helper, direct-print-region-function):
21229         * emacs-lock.el (emacs-lock-clear-sentinel):
21230         * ezimage.el (defezimage):
21231         * follow.el (follow-avoid-tail-recenter):
21232         * fringe.el (set-fringe-mode-1):
21233         * generic-x.el (bat-generic-mode-compile):
21234         * help-mode.el (help-info-variable, help-do-xref)
21235         (help-mode-revert-buffer):
21236         * help.el (view-emacs-todo):
21237         * iswitchb.el (iswitchb-completion-help):
21238         * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
21239         * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
21240         (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
21241         * locate.el (locate-update):
21242         * longlines.el (longlines-encode-region)
21243         (longlines-after-change-function):
21244         * outline.el (outline-isearch-open-invisible):
21245         * ps-def.el (declare-function, charset-dimension, char-width)
21246         (encode-char):
21247         * ps-mule.el (ps-mule-plot-string):
21248         * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
21249         (recentf-edit-list-select, recentf-edit-list-validate)
21250         (recentf-open-files-action):
21251         * rect.el (delete-whitespace-rectangle-line)
21252         (rectangle-number-line-callback):
21253         * register.el (window-configuration-to-register)
21254         (frame-configuration-to-register):
21255         * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
21256         * select.el (xselect-convert-to-string, xselect-convert-to-length)
21257         (xselect-convert-to-targets, xselect-convert-to-delete)
21258         (xselect-convert-to-filename, xselect-convert-to-charpos)
21259         (xselect-convert-to-lineno, xselect-convert-to-colno)
21260         (xselect-convert-to-os, xselect-convert-to-host)
21261         (xselect-convert-to-user, xselect-convert-to-class)
21262         (xselect-convert-to-name, xselect-convert-to-integer)
21263         (xselect-convert-to-atom, xselect-convert-to-identity):
21264         * subr.el (declare, ignore, process-kill-without-query)
21265         (text-clone-maintain):
21266         * terminal.el (te-get-char, te-tic-sentinel):
21267         * tool-bar.el (tool-bar-make-keymap):
21268         * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
21269         * type-break.el (type-break-mode, type-break-noninteractive-query):
21270         * view.el (View-back-to-mark):
21271         * wid-browse.el (widget-browse-action, widget-browse-widget)
21272         (widget-browse-widgets, widget-browse-sexp):
21273         * widget.el (define-widget-keywords):
21274         * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
21275         Mark unused parameters.
21277         * align.el (align-adjust-col-for-rule): Mark unused parameter.
21278         (align-areas): Remove unused variable `look'.
21279         (align-region): Remove unused variables `real-end' and `pos-list'.
21281         * apropos.el (apropos-score-doc): Remove unused variable `i'.
21283         * bindings.el (mode-line-modified, mode-line-remote):
21284         Mark unused parameters.
21285         (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
21287         * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
21288         (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
21290         * comint.el (comint-history-isearch-pop-state)
21291         (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
21292         (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
21293         (comint-substitute-in-file-name): Doc fix.
21295         * completion.el (cmpl-statistics-block): Mark unused parameter.
21296         (add-completions-from-tags-table, add-completions-from-lisp-buffer)
21297         (save-completions-to-file, load-completions-from-file):
21298         Remove unused local variable `e'.
21300         * composite.el (compose-chars): Remove unused variable `len'.
21301         (lgstring-insert-glyph): Remove unused variable `g'.
21302         (compose-glyph-string): Remove unused variables `ascent',
21303         `descent', `lbearing' and `rbearing'.
21304         (compose-glyph-string-relative): Remove unused variables
21305         `lbearing', `rbearing' and `wadjust'.
21306         (compose-gstring-for-graphic): Remove unused variables `header',
21307         `wadjust', `xoff' and `yoff'.  Use `let', not `let*'.
21308         (compose-gstring-for-terminal): Remove unused variables `header'
21309         and `nchars'.  Use `let', not `let*'.
21311         * cus-edit.el (Custom-set, Custom-save, custom-reset)
21312         (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
21313         (Custom-buffer-done, custom-buffer-create-internal)
21314         (custom-browse-visibility-action, custom-browse-group-tag-action)
21315         (custom-browse-variable-tag-action, custom-browse-face-tag-action)
21316         (widget-magic-mouse-down-action, custom-toggle-parent)
21317         (custom-add-parent-links, custom-toggle-hide-variable)
21318         (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
21319         (custom-toggle-hide-face, face, hook, custom-group-link-action)
21320         (custom-face-menu-create, custom-variable-menu-create, get)
21321         (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
21322         (custom-reset-standard-save-and-update): Remove unused variable `value'.
21323         (customize-apropos): Remove unused variable `tests'.
21324         (custom-group-value-create): Remove unused variable `hidden-p'.
21325         (sort-fold-case): Declare.
21327         * cus-theme.el (custom-reset-standard-faces-list)
21328         (custom-reset-standard-variables-list): Declare.
21329         (customize-create-theme, custom-theme-revert, custom-theme-write)
21330         (custom-theme-choose-mode, customize-themes, custom-theme-save):
21331         Mark unused parameters.
21333         * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
21335         * delim-col.el (delimit-columns-max): Move defvar before first use.
21337         * descr-text.el (describe-char-categories): Don't quote `lambda'.
21338         (describe-char): Don't quote `lambda'.  Mark unused parameter.
21340         * desktop.el (desktop-save-buffer-p): Mark unused parameter.
21341         (auto-insert): Declare.
21342         (desktop-restore-file-buffer): Rename desktop-* parameters;
21343         mark unused ones.
21344         (desktop-create-buffer): Rename desktop-* parameters and bind them.
21345         (desktop-buffer): Rename desktop-* parameters.
21347         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
21348         (dframe-reposition-frame-xemacs, dframe-help-echo)
21349         (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
21350         Mark unused parameters.
21352         * dired-aux.el (backup-extract-version-start, overwrite-query)
21353         (overwrite-backup-query, rename-regexp-query)
21354         (rename-non-directory-query): Declare.
21355         (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
21356         (dired-add-entry): Remove unused variable `orig-file-name'.
21357         (dired-copy-file-recursive): Remove unused variable `dirfailed'.
21358         Use parameter PRESERVE-TIME instead of accessing dynamic variable
21359         `dired-copy-preserve-time' directly.
21360         (dired-do-create-files-regexp): Remove unused variable `fn-count'.
21361         (dired-insert-subdir-newpos): Rename unused variable `pos'.
21363         * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
21364         (dired-virtual-revert, dired-make-relative-symlink):
21365         Mark unused parameters.
21366         (manual-program): Declare.
21367         (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
21368         (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
21369         wrapped in `with-no-warnings' to avoid replacing one warning by another.
21371         * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
21373         * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
21375         * echistory.el (electric-history-in-progress, Helper-return-blurb):
21376         Declare.
21378         * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
21380         * electric.el (Electric-command-loop): Rename parameter
21381         INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
21383         * expand.el (expand-in-literal): Remove unused variable `here'.
21385         * facemenu.el (facemenu-add-new-color):
21386         Remove unused variable `docstring'.
21388         * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
21389         (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
21390         (face-attr-construct): Mark unused parameter.  Doc fix.
21391         (read-color): Remove unused variable `hex-string'.
21393         * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
21394         (locate-dominating-file): Remove unused vars `prev-file' and `user'.
21395         (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
21396         (display-buffer-other-frame): Remove unused variable `old-window'.
21397         (kill-buffer-hook): Declare.
21398         (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
21399         Mark unused parameters.
21400         (after-find-file): Pass 1 to `auto-save-mode', not t.
21402         * files-x.el (auto-insert): Declare.
21403         (modify-file-local-variable-prop-line): Remove unused variable `val'.
21405         * find-lisp.el (find-lisp-find-dired-internal): Remove unused
21406         variable `buf'.  Mark unused parameter.
21407         (find-lisp-insert-directory): Mark unused parameter.
21409         * format.el (format-decode-run-method): Mark unused parameter; doc fix.
21410         (format-encode-region): Remove unused variables `cur-buf' and `result'.
21411         (format-common-tail): Remove, unused.
21412         (format-deannotate-region): Remove unused variable `loc'.
21413         (format-annotate-region): Remove unused variable `p'.
21414         (format-annotate-single-property-change): Remove unused variables
21415         `default' and `tail'.
21417         * forms.el (read-file-filter): Declare.
21418         (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
21420         * frame.el (frame-creation-function-alist): Mark unused parameter.
21421         (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
21423         * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
21424         Remove unused parameters.
21425         (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
21426         (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
21428         * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
21429         (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
21430         (hfy-prepare-tag-map): Mark unused parameters.
21431         (htmlfontify-buffer): Use `called-interactively-p'.
21433         * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
21434         (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
21435         (ibuffer-do-occur): Mark unused parameters.
21436         (ibuffer-forward-next-marked): Remove unused variable `curmark'.
21437         (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
21439         * ibuffer.el: Don't quote `lambda'.
21440         (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
21441         (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
21442         Mark unused parameters.
21444         * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
21445         (ido-completing-read): Mark unused parameters.
21446         (ido-copy-current-word): Mark unused parameters;
21447         remove unused variable `name'.
21448         (ido-sort-merged-list): Remove unused parameter `dirs'.
21450         * ielm.el (ielm-input-sender): Mark unused parameter.
21451         (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
21452         (ielm-output, ielm-wbuf, ielm-pmark): Declare.
21453         (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
21454         `ielm-string' as a dynamic variable accessible from the IELM prompt.
21455         Bind `ielm-string' to INPUT-STRING.  Remove unused variable `err'.
21457         * image-dired.el (image-dired-display-thumbs): Remove unused
21458         variables `curr-file' and `count'.
21459         (image-dired-remove-tag): Remove unused variable `start'.
21460         (image-dired-tag-files, image-dired-create-thumbs): Remove unused
21461         variable `curr-file'
21462         (image-dired-rotate-original): Remove unused variable `temp-file'.
21463         (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
21464         Remove unused variable `file'.
21465         (image-dired-gallery-generate): Remove unused variable `curr'.
21466         (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
21468         * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
21470         * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
21472         * informat.el (texinfo-command-start, texinfo-command-end): Declare.
21474         * isearch.el (minibuffer-history-symbol): Declare.
21475         (isearch-edit-string): Remove unused variable `err'.
21476         (isearch-message-prefix, isearch-message-suffix):
21477         Mark unused parameters.
21479         * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
21481         * macros.el (insert-kbd-macro): Remove unused variable `mods'.
21483         * makesum.el (double-column): Remove unused variable `cnt'.
21485         * misearch.el (multi-isearch-pop-state): Mark unused parameter.
21486         (ido-ignore-item-temp-list): Declare.
21488         * mouse-drag.el (mouse-drag-throw): Remove unused variables
21489         `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
21490         `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
21491         (mouse-drag-drag): Remove unused variables `mouse-delta' and
21492         `mouse-col-delta'.
21494         * mouse-sel.el (mouse-extend-internal):
21495         Remove unused variable `orig-window-frame'.
21497         * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
21498         (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
21499         Move declarations before first use.
21500         (pcomplete-opt): Mark unused parameters; doc fix.
21502         * proced.el (proced-revert): Mark unused parameter.
21503         (proced-send-signal): Remove unused variable `err'.
21505         * ps-print.el (ps-print-preprint-region, ps-print-preprint):
21506         Rename parameter PREFIX-ARG to ARG.
21507         (ps-basic-plot-string, ps-basic-plot-whitespace):
21508         Mark unused parameters.
21510         * replace.el (replace-count): Define.
21511         (occur-revert-function): Mark unused parameters.
21512         (ido-ignore-item-temp-list, isearch-error, isearch-forward)
21513         (isearch-case-fold-search, isearch-string): Declare.
21514         (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
21515         bind `case-fold-search'.  Remove unused variables `beg' and `end',
21516         and simplify.
21517         (replace-eval-replacement): Rename parameter REPLACE-COUNT to
21518         COUNT and bind `replace-count'.
21519         (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
21520         to COUNT.
21522         * savehist.el (print-readably, print-string-length): Declare.
21524         * shadowfile.el (shadow-expand-cluster-in-file-name):
21525         Remove unused variable `cluster'.
21526         (shadow-copy-file): Remove unused variable `i'.
21527         (shadow-noquery, shadow-clusters, shadow-site-cluster)
21528         (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
21529         (shadow-define-literal-group, shadow-define-regexp-group)
21530         (shadow-make-group, shadow-shadows-of): Clean up docstrings.
21532         * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
21533         (shell): Use `called-interactively-p'.
21534         (shell-directory-tracker): Remove unused variable `chdir-failure'.
21536         * simple.el (compilation-context-lines, comint-file-name-quote-list)
21537         (comint-file-name-chars, comint-delimiter-argument-list): Declare.
21538         (delete-backward-char): Remove unused variable `ocol'.
21539         (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
21540         (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
21541         (event-apply-hyper-modifier, event-apply-shift-modifier)
21542         (event-apply-control-modifier, event-apply-meta-modifier):
21543         Mark unused parameters.
21544         (undo-make-selective-list): Remove duplicate variable `undo-elt'.
21545         (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
21547         * speedbar.el (speedbar-ignored-directory-expressions)
21548         (speedbar-supported-extension-expressions, speedbar-directory-buttons)
21549         (speedbar-find-file, speedbar-dir-follow)
21550         (speedbar-directory-buttons-follow, speedbar-tag-find)
21551         (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
21552         (speedbar-buffers-line-directory, speedbar-buffer-click):
21553         Mark unused parameters.
21554         (speedbar-tag-file): Remove unused variable `mode'.
21555         (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
21557         * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
21559         * talk.el (talk): Remove unused variable `display'.
21561         * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
21562         (tar-write-region-annotate): Mark unused parameter.
21564         * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
21565         (minutes, seconds, time-zone, day, year, monthname, month, dayname):
21566         Declare them, wrapped in `with-no-warnings' to avoid replacing one
21567         warning by another.
21569         * time-stamp.el (time-stamp-string-preprocess):
21570         Remove unused variable `require-padding'.
21572         * tree-widget.el (widget-glyph-enable): Declare.
21573         (tree-widget-action): Mark unused parameter.
21575         * w32-fns.el (x-get-selection): Mark unused parameter.
21576         (autoload-make-program, generated-autoload-file): Declare.
21578         * wdired.el (wdired-revert): Mark unused parameters.
21579         (wdired-xcase-word): Remove unused variable `err'.
21581         * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
21582         (whitespace-help-scroll): Remove unused variable `data-help'.
21584         * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
21585         (widget-image-insert, widget-after-change, default)
21586         (widget-default-format-handler, widget-default-notify)
21587         (widget-default-prompt-value, widget-info-link-action)
21588         (widget-url-link-action, widget-function-link-action)
21589         (widget-variable-link-action, widget-file-link-action)
21590         (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
21591         (widget-field-prompt-internal, widget-field-action, widget-field-match)
21592         (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
21593         (widget-insert-button-action, widget-delete-button-action, visibility)
21594         (widget-documentation-link-action, widget-documentation-string-action)
21595         (widget-const-prompt-value, widget-regexp-match, symbol)
21596         (widget-coding-system-prompt-value)
21597         (widget-key-sequence-value-to-external, sexp)
21598         (widget-sexp-value-to-internal, character, vector, cons)
21599         (widget-choice-prompt-value, widget-boolean-prompt-value)
21600         (widget-color--choose-action): Mark unused parameters.
21601         (widget-item-match-inline, widget-choice-match-inline)
21602         (widget-checklist-match, widget-checklist-match-inline)
21603         (widget-group-match): Rename parameter VALUES to VALS.
21604         (widget-field-value-set): Remove unused variable `size'.
21605         (widget-color-action): Remove unused variables `value' and `start'.
21607         * windmove.el (windmove-wrap-loc-for-movement): Remove unused
21608         variable `dir'.  Doc fix.
21609         (windmove-find-other-window): Don't pass it.
21611         * window.el (count-windows): Mark unused parameter.
21612         (bw-adjust-window): Remove unused variable `err'.
21614         * woman.el (woman-file-name): Remove unused variable `default'.
21615         (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
21616         WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
21617         (global-font-lock-mode): Declare.
21618         (woman-decode-region): Mark unused parameter.
21619         (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
21621         * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
21622         (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
21623         (x-dnd-handle-moz-url): Remove unused variable `title'.
21624         (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
21626         * xml.el (xml-parse-tag, xml-parse-attlist):
21627         Remove unused variable `pos'.
21629 2011-04-19  Glenn Morris  <rgm@gnu.org>
21631         * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
21632         (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
21633         (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
21634         (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
21635         * calendar/cal-html.el (cal-html-insert-minical):
21636         * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
21637         (calendar-mark-date-pattern):
21638         Prefix "unused" locals.
21640         * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
21641         optional argument `style'.
21643         * calendar/appt.el (appt-make-list):
21644         * calendar/cal-china.el (calendar-chinese-date-string):
21645         * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
21646         (diary-hebrew-yahrzeit):
21647         * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
21648         * calendar/calendar.el (calendar-generate-window):
21649         * calendar/time-date.el (time-to-days):
21650         Remove unused local variables.
21652 2011-04-18  Chong Yidong  <cyd@stupidchicken.com>
21654         * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
21655         glyphless-char-display table.
21656         (tabulated-list-glyphless-char-display): New var.
21658 2011-04-18  Sam Steingold  <sds@gnu.org>
21660         * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
21661         to acknowledgments.
21663 2011-04-17  Glenn Morris  <rgm@gnu.org>
21665         * calendar/diary-lib.el (diary-sexp-entry):
21666         * calendar/holidays.el (holiday-sexp):
21667         Set debug-on-error rather than the removed stack-trace-on-error.
21669 2011-04-16  Glenn Morris  <rgm@gnu.org>
21671         * progmodes/f90.el: Use lexical-binding.
21672         (f90-get-correct-indent): Remove unnecessary local variable `cont'.
21674 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
21676         * mail/sendmail.el (mail-mode-map): Use completion-at-point.
21677         (mail-mode): Setup mailalias completion here instead.
21678         * mail/mailalias.el: Use lexical-binding.
21679         (pattern, mailalias-done): Declare dynamic.
21680         (mail-completion-at-point-function): New function, from mail-complete.
21681         (mail-complete): Use it.
21682         (mail-completion-expand): New function.
21683         (mail-get-names): Use it.
21684         (mail-directory, mail-directory-process, mail-directory-stream):
21685         Don't use `pattern' for lexically bound arg.
21687         * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
21689         * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
21690         (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
21691         (hfy-etags-cmd-alist): Don't eval-and-compile any more.
21693         * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
21694         (byte-save-window-excursion, byte-temp-output-buffer-setup)
21695         (byte-interactive-p): Define them again, for use when inlining
21696         old code.
21698 2011-04-15  Juanma Barranquero  <lekktu@gmail.com>
21700         * loadup.el: Use `string-to-number', not `string-to-int'.
21702 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
21704         * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
21705         gud-gdb-complete-command.
21706         (gud-gdb-completions): New function, from gud-gdb-complete-command.
21707         (gud-gdb-completion-at-point): New function.
21708         (gud-gdb-completions): Remove.
21710 2011-04-14  Michael Albinus  <michael.albinus@gmx.de>
21712         * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
21713         when the scripts fail.  Use `tramp-do-file-attributes-with-ls' then.
21714         (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
21715         whether `executable-find' is bound.
21717         * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
21719 2011-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
21721         * minibuffer.el (completion-in-region-mode-predicate)
21722         (completion-in-region-mode--predicate): New vars.
21723         (completion-in-region, completion-in-region--postch)
21724         (completion-in-region-mode): Use them.
21725         (completion--capf-wrapper): Also return the hook function.
21726         (completion-at-point, completion-help-at-point):
21727         Adjust and provide a predicate.
21729         Preserve arg names for advice of subr and lexical functions (bug#8457).
21730         * help-fns.el (help-function-arglist): Consolidate the subr and
21731         new-byte-code cases.  Add argument `preserve-names' to extract names
21732         from the docstring when needed.
21733         * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
21734         (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
21735         (ad-arglist): Use help-function-arglist's new arg.
21736         (ad-definition-type): Use cond.
21738 2011-04-13  Juanma Barranquero  <lekktu@gmail.com>
21740         * autorevert.el (auto-revert-handler):
21741         Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
21742         which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
21743         Don't quote lambda.
21745         * image-mode.el (image-transform-set-scale):
21746         Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
21748 2011-04-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
21750         * net/network-stream.el (network-stream-open-starttls): Only do
21751         opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
21752         Upgrades via gnutls-cli are too slow to be done opportunistically.
21754 2011-04-12  Juanma Barranquero  <lekktu@gmail.com>
21756         * dframe.el (dframe-current-frame): Remove spurious quote.
21758 2011-04-12  Glenn Morris  <rgm@gnu.org>
21760         * calendar/cal-tex.el (cal-tex-end-document):
21761         Try to automatically use latin1 input if needed.
21763         * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
21764         Don't try to cons a mark onto an empty element.
21766 2011-04-11  Leo Liu  <sdl.web@gmail.com>
21768         * ido.el (ido-buffer-internal): Allow method 'kill for virtual
21769         buffers.
21770         (ido-kill-buffer-at-head): Support killing virtual buffers.
21772 2011-04-10  Chong Yidong  <cyd@stupidchicken.com>
21774         * minibuffer.el (completion-show-inline-help): New var.
21775         (completion--do-completion, minibuffer-complete)
21776         (minibuffer-force-complete, minibuffer-complete-word):
21777         Inhibit minibuffer messages if completion-show-inline-help is nil.
21779         * icomplete.el (icomplete-mode): Bind completion-show-inline-help
21780         to avoid interference from inline help (Bug#5849).
21782 2011-04-10  Leo Liu  <sdl.web@gmail.com>
21784         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
21785         Fix typo.
21787 2011-04-09  Chong Yidong  <cyd@stupidchicken.com>
21789         * image-mode.el (image-toggle-display-image): Signal an error if
21790         not in Image mode.
21791         (image-transform-mode, image-transform-resize)
21792         (image-transform-set-rotation): Doc fix.
21793         (image-transform-set-resize): Delete.
21794         (image-transform-set-scale, image-transform-fit-to-height)
21795         (image-transform-fit-to-width): Handle image-toggle-display-image
21796         and image-transform-resize directly.
21798 2011-04-08  Sho Nakatani  <lay.sakura@gmail.com>
21800         * doc-view.el (doc-view-fit-width-to-window)
21801         (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
21802         New functions for fitting the shown image to the Emacs window size.
21803         (doc-view-mode-map): Add bindings for the new functions.
21805 2011-04-08  Juanma Barranquero  <lekktu@gmail.com>
21807         * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
21808         Fix typo in docstring.
21810 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
21812         * files.el (file-size-human-readable): Produce one digit after
21813         decimal, like "ls -lh" does.
21815         * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
21816         the file size representation.
21818         * simple.el (list-processes): If async subprocesses are not
21819         available, error out with a clear error message.
21821 2011-04-08  Chong Yidong  <cyd@stupidchicken.com>
21823         * help.el (help-form-show): New function, to be called from C.
21824         Put help-form output in a buffer named differently than *Help*.
21826 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
21828         * files.el (file-size-human-readable): New function.
21830         * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
21831         computing the representation inline.  Don't require `cl'.
21833 2011-04-08  Glenn Morris  <rgm@gnu.org>
21835         * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
21837         * net/browse-url.el (browse-url-firefox):
21838         Test system-type, not system-configuration.
21840         * vc/log-edit.el (log-edit-empty-buffer-p): New function.
21841         (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
21842         Use log-edit-empty-buffer-p.  (Bug#7598)
21844         * net/rlogin.el (rlogin-process-connection-type): Simplify.
21845         (rlogin-mode-map): Initialize in the defvar.
21846         (rlogin): Use ignore-errors.
21848         * replace.el (occur-mode-map): Some fixes for menu items.
21850 2011-04-07  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
21852         * play/morse.el (denato-region): Handle varying case.  (Bug#8386)
21854 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
21856         * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
21857         issuing unused warnings.
21859         * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
21860         macro directly.
21862         * simple.el: Lisp reimplement of list-processes.  Based on an
21863         earlier reimplementation by Leo Liu, but using tabulated-list.el.
21864         (process-menu-mode): New major mode.
21865         (list-processes--refresh, list-processes):
21866         (process-menu-visit-buffer): New functions.
21868         * files.el (save-buffers-kill-emacs): Don't assume any return
21869         value of list-processes, which is undocumented anyway.
21871 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
21873         * emacs-lisp/tabulated-list.el: New file.
21875         * emacs-lisp/package.el: Use Tabulated List mode.
21876         (package-menu-mode-map): Inherit from tabulated-list-mode-map.
21877         (package-menu-mode): Derive from tabulated-list-mode.  Set up the
21878         table format using Tabulated List mode variables.
21879         (package--push): New macro, replacing package-list-maybe-add.
21880         (package-menu--generate): Use package--push.  Renamed from
21881         package--generate-package-list.
21882         (package-menu-refresh, list-packages): Use it.
21883         (package-menu--print-info): Rename from package-print-package.
21884         Return insertion data instead of inserting it directly.
21885         (package-menu-describe-package, package-menu-execute):
21886         Use tabulated-list-get-id.
21887         (package-menu-mark-delete, package-menu-mark-install)
21888         (package-menu-mark-unmark, package-menu-backup-unmark)
21889         (package-menu-mark-obsolete-for-deletion):
21890         Use tabulated-list-put-tag.
21891         (package--list-packages, package-menu-revert)
21892         (package-menu-get-package, package-menu-get-version)
21893         (package-menu-sort-by-column): Functions deleted.
21894         (package-menu-package-list, package-menu-sort-key): Vars deleted.
21895         (package-menu--status-predicate, package-menu--version-predicate)
21896         (package-menu--name-predicate)
21897         (package-menu--description-predicate): Handle arguments in the
21898         Tabulated List format.
21899         (package-list-packages-no-fetch): Call list-packages.
21901 2011-04-06  Juanma Barranquero  <lekktu@gmail.com>
21903         * files.el (after-find-file-from-revert-buffer): Remove variable.
21904         (after-find-file): Don't bind it.
21905         (revert-buffer-in-progress-p): New variable.
21906         (revert-buffer): Bind it.
21907         Pass nil for `after-find-file-from-revert-buffer'.
21909         * saveplace.el (save-place-find-file-hook): Use new variable
21910         `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
21912 2011-04-06  Glenn Morris  <rgm@gnu.org>
21914         * Makefile.in (AUTOGEN_VCS): New variable.
21915         (autoloads): Use $AUTOGEN_VCS.
21917         * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
21918         * calendar/calendar.el (calendar-mode-map):
21919         Check for toolkit scroll bars.  (Bug#8305)
21921 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
21923         * minibuffer.el (completion-in-region--postch)
21924         (completion-in-region-mode): Remove unnecessary messages.
21926 2011-04-05  Juanma Barranquero  <lekktu@gmail.com>
21928         * font-lock.el (font-lock-refresh-defaults):
21929         Don't bind `hi-lock--inhibit-font-lock-hook', removed in
21930         2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
21932         * info.el (Info-directory-list, Info-read-node-name-2)
21933         (Info-split-parameter-string): Doc fixes.
21934         (Info-virtual-nodes): Reflow docstring.
21935         (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
21936         (Info-apropos-toc-nodes, info-finder, Info-get-token)
21937         (Info-find-emacs-command-nodes, Info-speedbar-key-map):
21938         Fix typos in docstrings.
21939         (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
21940         (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
21941         (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
21942         (Info-restore-desktop-buffer): Mark unused parameters.
21943         (Info-directory-find-file, Info-directory-find-node)
21944         (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
21945         (Info-virtual-index-find-node, Info-apropos-find-file)
21946         (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
21947         Mark unused parameters; fix typos in docstrings.
21948         (Info-virtual-index): Remove unused local variable `nodename'.
21950 2011-04-05  Deniz Dogan  <deniz@dogan.se>
21952         * net/rcirc.el: Update my e-mail address.
21953         (rcirc-mode-map): Remove M-o binding.
21955 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
21957         * startup.el (command-line): Save the cursor's theme-face
21958         directly, instead of using face-override-spec.
21960         * custom.el (load-theme): Minor optimization in assigning faces.
21962 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
21964         * help-fns.el (describe-variable): Complete all variables having
21965         documentation, including keywords.
21966         http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
21968 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
21970         Convert to lexical-binding.
21972         * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
21973         (bs--get-marked-string, bs--get-modified-string)
21974         (bs--get-readonly-string, bs--get-size-string, bs--get-name)
21975         (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
21976         (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
21978         * ehelp.el (electric-help-execute-extended)
21979         (electric-help-ctrl-x-prefix):
21980         * hexl.el (hexl-revert-buffer-function):
21981         * linum.el (linum-after-change, linum-after-scroll):
21982         * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
21984         * help-fns.el (help-describe-category-set): Remove unused ERR variable.
21986 2011-04-04  Daiki Ueno  <ueno@unixuser.org>
21988         * epa-dired.el:
21989         * epa-mail.el:
21990         * epa-hook.el:
21991         * epa-file.el:
21992         * epa.el:
21993         * epg.el: Use lexical binding.
21995 2011-04-03  Chong Yidong  <cyd@stupidchicken.com>
21997         * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
21999         * textmodes/flyspell.el (flyspell-word): Recognize default
22000         dictionary case for flyspell-mark-duplications-exceptions.
22001         Use regexp matching for languages.
22002         (flyspell-mark-duplications-exceptions): Add "that" and "had" for
22003         default dictionary (Bug#7926).
22005 2011-04-02  Chong Yidong  <cyd@stupidchicken.com>
22007         * emacs-lisp/package.el (package--with-work-buffer):
22008         Recognize https URLs.
22010         * net/network-stream.el: Move from gnus/proto-stream.el.
22011         Change prefix to network-stream throughout.
22012         (open-protocol-stream): Merge into open-network-stream, leaving
22013         open-protocol-stream as an alias.  Handle nil BUFFER args.
22015         * subr.el (open-network-stream): Move to net/network-stream.el.
22017 2011-04-02  Glenn Morris  <rgm@gnu.org>
22019         * find-dired.el (find-exec-terminator): New option.
22020         (find-ls-option): Test for -ls support.
22021         (find-ls-subdir-switches): Test for -b in find-ls-option.
22022         (find-dired, find-grep-dired): Doc fixes.
22023         (find-dired): Use find-exec-terminator.
22025         * find-dired.el (find-ls-option, find-ls-subdir-switches)
22026         (find-grep-options): Do not autoload these defcustoms, remove purecopy.
22027         (find-name-arg): Remove purecopy.
22029         * progmodes/grep.el (grep-find-use-xargs): Doc fix.
22030         (grep-compute-defaults): Check for `-exec COMMAND +' support.
22031         Set grep-find-use-xargs, grep-find-command, and grep-find-template
22032         accordingly.  Don't add the null-device if not needed.
22034         * files.el (save-some-buffers): Doc fix.
22036 2011-04-02  Eli Zaretskii  <eliz@gnu.org>
22038         * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
22040 2011-04-01  Juanma Barranquero  <lekktu@gmail.com>
22042         * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
22043         Use `dolist' rather than `mapcar'.
22045 2011-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>
22047         Add lexical binding.
22049         * subr.el (apply-partially): Use new closures rather than CL.
22050         (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
22051         (dolist, dotimes): Use slightly different expansion for lexical code.
22052         (functionp): Move to C.
22053         (letrec): New macro.
22054         (with-wrapper-hook): Use it and apply-partially instead of CL.
22055         (eval-after-load): Preserve lexical-binding.
22056         (save-window-excursion, with-output-to-temp-buffer): Turn them
22057         into macros.
22059         * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
22061         * help-fns.el (help-split-fundoc): Return nil if there's nothing else
22062         than the arglist.
22063         (help-add-fundoc-usage): Don't add `Not documented'.
22064         (help-function-arglist): Handle closures, subroutines, and new
22065         byte-code-functions.
22066         (help-make-usage): Remove leading underscores.
22067         (describe-function-1): Handle closures.
22068         (describe-variable): Use special-variable-p for completion.
22070         * files.el (lexical-binding): Declare safe.
22072         * emacs-lisp/pcase.el: Don't use destructuring-bind.
22073         (pcase--memoize): Rename from pcase-memoize.  Change weakness.
22074         (pcase): Add `let' pattern.
22075         Change memoization so it actually works.
22076         (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
22077         (pcase--u1) <guard, pred>: Fix possible shadowing problem.
22078         <let>: New case.
22080         * emacs-lisp/macroexp.el: Use lexical binding.
22081         (macroexpand-all-1): Check obsolete macros.  Expand compiler-macros.
22082         Don't convert ' to #' without checking that it's indeed quoting
22083         a lambda.
22085         * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
22086         Use eval-sexp-add-defvars.
22087         (eval-sexp-add-defvars): New fun.
22089         * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
22091         * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
22092         Don't autoload.
22093         (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
22094         than the internal `byte-compile-lambda'.
22095         (defmethod): Don't hide code under quotes.
22096         (eieio-defmethod): New `code' argument.
22098         * emacs-lisp/eieio-comp.el: Remove.
22100         * emacs-lisp/edebug.el (edebug-eval-defun)
22101         (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
22102         (edebug-toggle): Avoid `eval'.
22104         * emacs-lisp/disass.el (disassemble-internal): Handle new
22105         `closure' objects.
22106         (disassemble-1): Handle new byte codes.
22108         * emacs-lisp/cl.el (pushnew): Silence warning.
22110         * emacs-lisp/cl-macs.el (cl-byte-compile-block)
22111         (cl-byte-compile-throw): Remove.
22112         (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
22114         * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
22115         closures.
22117         * emacs-lisp/cconv.el: New file.
22119         * emacs-lisp/bytecomp.el: Use lexical binding instead of
22120         a "bytecomp-" prefix.  Macroexpand everything as a separate phase.
22121         (byte-compile-initial-macro-environment):
22122         Handle declare-function here.
22123         (byte-compile--lexical-environment): New var.
22124         (byte-stack-ref, byte-stack-set, byte-discardN)
22125         (byte-discardN-preserve-tos): New lap codes.
22126         (byte-interactive-p): Don't use any more.
22127         (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
22128         New macros.
22129         (byte-compile-lapcode): Use them and handle new lap codes.
22130         (byte-compile-obsolete): Remove.
22131         (byte-compile-arglist-signature): Handle new byte-code arg"lists".
22132         (byte-compile-arglist-warn): Check late def of inlinable funs.
22133         (byte-compile-cl-warn): Don't silence warnings for compiler-macros
22134         since they should have been expanded by now.
22135         (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
22136         (byte-compile-from-buffer): Remove unused second arg.
22137         (byte-compile-preprocess): New function.
22138         (byte-compile-toplevel-file-form): New function to distinguish
22139         file-form calls from outside from file-form calls from hunk-handlers.
22140         (byte-compile-file-form): Simplify.
22141         (byte-compile-file-form-defsubst): Remove.
22142         (byte-compile-file-form-defmumble): Simplify now that
22143         byte-compile-lambda always returns a byte-code-function.
22144         (byte-compile): Preprocess.
22145         (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
22146         Remove, not used any more.
22147         (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
22148         (byte-compile-make-args-desc): New funs.
22149         (byte-compile-lambda): Handle lexical functions.  Always return
22150         a byte-code-function.
22151         (byte-compile-reserved-constants): New var, to make up room for
22152         closed-over variables.
22153         (byte-compile-constants-vector): Obey it.
22154         (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
22155         (byte-compile-macroexpand-declare-function): New function.
22156         (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
22157         byte-code-functions.
22158         (byte-compile-form): Check obsolescence here.
22159         (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
22160         (byte-compile-variable-ref): Remove.
22161         (byte-compile-dynamic-variable-op): New fun.
22162         (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
22163         (byte-compile-variable-set): New funs.
22164         (byte-compile-discard): Add 2 args.
22165         (byte-compile-stack-ref, byte-compile-stack-set)
22166         (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
22167         (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
22168         macroexpand-all instead.
22169         (byte-compile-quote-form): Remove.
22170         (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
22171         (byte-compile-bind, byte-compile-unbind): New funs.
22172         (byte-compile-let): Handle let* and lexical binding.
22173         (byte-compile-let*): Remove.
22174         (byte-compile-catch, byte-compile-unwind-protect)
22175         (byte-compile-track-mouse, byte-compile-condition-case):
22176         Handle a new :fun-body form, used for lexical scoping.
22177         (byte-compile-save-window-excursion)
22178         (byte-compile-with-output-to-temp-buffer): Remove.
22179         (byte-compile-defun): Simplify.
22180         (byte-compile-stack-adjustment): New fun.
22181         (byte-compile-out): Use it.
22182         (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
22184         * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
22185         handler any more.
22187         * emacs-lisp/byte-opt.el: Use lexical binding.
22188         (byte-inline-lapcode): Remove (to bytecomp).
22189         (byte-compile-inline-expand): Pay attention to inlining to/from
22190         lexically bound code.
22191         (byte-compile-unfold-lambda): Don't handle byte-code-functions
22192         any more.
22193         (byte-optimize-form-code-walker): Don't handle save-window-excursion
22194         any more and don't call compiler-macros.
22195         (byte-compile-splice-in-already-compiled-code): Remove.
22196         (byte-code): Don't inline any more.
22197         (disassemble-offset): Receive `bytes' as argument rather than via
22198         dynamic scoping.
22199         (byte-compile-tag-number): Declare before first use.
22200         (byte-decompile-bytecode-1): Handle new byte-codes, don't change
22201         `return' even if make-spliceable.
22202         (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
22203         obsolete interactive-p.
22204         (byte-optimize-lapcode): Optimize new lap-codes.
22205         Don't trip up on new form of `byte-constant' lap code.
22207         * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
22209         * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
22211         * custom.el (custom-initialize-default, custom-declare-variable):
22212         Use `defvar'.
22214         * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
22215         New variables.
22216         (compile-onefile, .el.elc, compile-calc, recompile): Use them.
22217         (COMPILE_FIRST): Add macroexp and cconv.
22218         * makefile.w32-in: Mirror changes in Makefile.in.
22220         * vc/cvs-status.el:
22221         * vc/diff-mode.el:
22222         * vc/log-edit.el:
22223         * vc/log-view.el:
22224         * vc/smerge-mode.el:
22225         * textmodes/bibtex-style.el:
22226         * textmodes/css-mode.el:
22227         * startup.el:
22228         * uniquify.el:
22229         * minibuffer.el:
22230         * newcomment.el:
22231         * reveal.el:
22232         * server.el:
22233         * mpc.el:
22234         * emacs-lisp/smie.el:
22235         * doc-view.el:
22236         * dired.el:
22237         * abbrev.el: Use lexical binding.
22239 2011-04-01  Eli Zaretskii  <eliz@gnu.org>
22241         * info.el (info-display-manual): New function.
22243 2011-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
22245         * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
22247 2011-03-31  Tassilo Horn  <tassilo@member.fsf.org>
22249         * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
22250         an entry for that server in rcirc-authinfo.  (Bug#8385)
22252 2011-03-31  Glenn Morris  <rgm@gnu.org>
22254         * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
22256         * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
22258 2011-03-30  Christoph Scholtes  <cschol2112@googlemail.com>
22260         * progmodes/python.el (python-default-interpreter)
22261         (python-python-command-args, python-jython-command-args)
22262         (python-which-shell, python-which-args, python-which-bufname)
22263         (python-file-queue, python-comint-output-filter-function)
22264         (python-toggle-shells, python-shell): Remove obsolete defcustoms,
22265         variables and functions.
22267 2011-03-30  Stefan Monnier  <monnier@iro.umontreal.ca>
22269         * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
22270         (completion-in-region-mode): New minor mode.
22271         (completion-in-region): Use it.
22272         (completion-in-region--data, completion-in-region-mode-map): New vars.
22273         (completion-in-region--postch): New function.
22274         (completion--capf-misbehave-funs, completion--capf-safe-funs):
22275         New vars.
22276         (completion--capf-wrapper): New function.
22277         (completion-at-point): Use it to track well-behavedness of
22278         hook functions.
22279         (completion-help-at-point): New command.
22281 2011-03-30  Jason Merrill  <jason@redhat.com>  (tiny change)
22283         * vc/add-log.el (add-change-log-entry): Don't use whitespace
22284         syntax class to search for whitespace on a single line
22285         (Message-ID: <4D938140.4030905@redhat.com>).
22287 2011-03-30  Leo Liu  <sdl.web@gmail.com>
22289         * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
22290         New commands.
22291         (edit-abbrevs-map): Bind them here.
22292         (write-abbrev-file): New optinal arg VERBOSE.  (Bug#5937)
22294 2011-03-29  Ken Manheimer  <ken.manheimer@gmail.com>
22296         * allout.el (allout-hide-by-annotation, allout-flag-region):
22297         Reduce possibility of overlay leakage by making them volatile.
22299         * allout-widgets.el (allout-widgets-tally): Define as nil so the
22300         hash is not shared between buffers.  Mode initialization is
22301         responsible for giving it a useful starting value.
22302         (allout-item-span): Reduce possibility of overlay leakage by
22303         making them volatile.
22304         (allout-widgets-count-buttons-in-region): Add diagnostic function
22305         for tracking down button overlay leaks.
22307 2011-03-29  Leo Liu  <sdl.web@gmail.com>
22309         * ido.el (ido-read-internal): Use the default history var
22310         minibuffer-history if no HISTORY is specified.
22312 2011-03-28  Brian T. Sniffen  <bsniffen@akamai.com>  (tiny change)
22314         * net/imap.el (imap-shell-open, imap-process-connection-type):
22315         Use imap-process-connection-type for 'shell' streams as well as
22316         Kerberos, SSL, other subprocesses.
22318 2011-03-28  Leo Liu  <sdl.web@gmail.com>
22320         * abbrev.el (abbrev-table-empty-p): New function.
22321         (prepare-abbrev-list-buffer): Place empty abbrev tables after
22322         nonempty ones.  (Bug#5937)
22324 2011-03-27  Jan Djärv  <jan.h.d@swipnet.se>
22326         * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
22328 2011-03-27  Leo Liu  <sdl.web@gmail.com>
22330         * ansi-color.el (ansi-color-names-vector): Allow cons cell value
22331         for foreground and background colors.
22332         (ansi-color-make-color-map): Adapt.
22334 2011-03-25  Leo Liu  <sdl.web@gmail.com>
22336         * midnight.el (midnight-time-float): Remove.  Note it calculates
22337         the microsecond component incorrectly and seconds-to-time does the
22338         same job.
22339         Remove redundant (require 'timer).
22341         * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
22342         (ido-completions): Remove unused arguments.  (Bug#8329)
22344 2011-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
22346         * minibuffer.el (completion--flush-all-sorted-completions):
22347         Remove itself from hook.
22348         (completion-at-point): Let the functions perform the completion
22349         immediately and return nil or t.
22350         * comint.el (comint-dynamic-complete-functions): Now identical to
22351         completion-at-point-functions.
22352         (comint-dynamic-list-input-ring): Remove unused var `index'.
22353         (comint--match-partial-filename, comint--unquote&expand-filename):
22354         New funs, split from comint-match-partial-filename.
22355         (comint-dynamic-complete): Use completion-at-point.
22356         (comint-dynamic-complete-filename): Use comint--match-partial-filename.
22358 2011-03-24  Drew Adams  <drew.adams@oracle.com>
22360         * thingatpt.el: Support `defun'.
22362 2011-03-23  Leo Liu  <sdl.web@gmail.com>
22364         * abbrevlist.el: Move to obsolete/abbrevlist.el.
22366         * help-mode.el (help-mode-finish): Tweak regexp.
22368 2011-03-23  Glenn Morris  <rgm@gnu.org>
22370         * eshell/esh-opt.el (eshell-eval-using-options):
22371         Do not bind unused local variable `eshell-option-stub'.
22373         * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
22375 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
22377         * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
22378         keymap variable in `with-no-warnings' to avoid a warning when the
22379         keymap has been already `defconst'ed.
22381 2011-03-22  Leo Liu  <sdl.web@gmail.com>
22383         * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
22384         encode all chars in abbrevs; otherwise use emacs-mule or
22385         utf-8-emacs.  (Bug#8308)
22387 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
22389         * simple.el (backward-delete-char-untabify):
22390         Avoid warning about using `delete-backward-char'.
22392         * image.el (image-type-file-name-regexps): Make it variable.
22393         `imagemagick-register-types' modifies it, and the user may want
22394         to add new extensions for known image types.
22395         (imagemagick-register-types): Throw error if not using ImageMagick.
22397 2011-03-22  Leo Liu  <sdl.web@gmail.com>
22399         * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
22400         located before rcirc-prompt-end-marker.
22401         (rcirc-complete): Error if point is not after rcirc prompt.
22402         Handle the case when table is nil.
22403         (rcirc-user-authenticated): Define to fix compiler warning.
22405 2011-03-22  Chong Yidong  <cyd@stupidchicken.com>
22407         * custom.el (custom--inhibit-theme-enable): Make it affect only
22408         custom-theme-set-variables and custom-theme-set-faces.
22409         (provide-theme): Ignore custom--inhibit-theme-enable.
22410         (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
22411         (custom-enabling-themes): Delete variable.
22412         (enable-theme): Accept only loaded themes as arguments.
22413         Ignore the special custom-enabled-themes variable.
22414         (custom-enabled-themes): Forbid themes from setting this.
22415         Eliminate use of custom-enabling-themes.
22416         (custom-push-theme): Quote "changed" custom var entry.
22418 2011-03-21  Leo Liu  <sdl.web@gmail.com>
22420         * ido.el (ido-read-internal): Add ido-selected to history instead
22421         of user input.
22423 2011-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
22425         * subr.el (deferred-action-list, deferred-action-function):
22426         Mark obsolete.
22428 2011-03-21  Leo Liu  <sdl.web@gmail.com>
22430         * vc/log-view.el: Remove (require 'wid-edit), not needed after the
22431         change on 2011-02-13 (bug#8309).
22433         * minibuffer.el (read-file-name-function): Change default value.
22434         (read-file-name--defaults): Rename from read-file-name-defaults.
22435         (read-file-name-default): Rename from read-file-name.
22436         (read-file-name): Call read-file-name-function.
22438 2011-03-21  Glenn Morris  <rgm@gnu.org>
22440         * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
22441         Doc fixes.
22443 2011-03-21  Chong Yidong  <cyd@stupidchicken.com>
22445         * cus-theme.el: Add missing provide statement.
22446         (customize-create-theme): Extract theme value correctly.
22447         (custom-theme-visit-theme): Autoload.
22448         (customize-create-theme): Prompt before inserting default faces.
22450 2011-03-20  Jay Belanger  <jay.p.belanger@gmail.com>
22452         * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
22453         units and musical notes.
22455 2011-03-20  Leo Liu  <sdl.web@gmail.com>
22457         * ido.el (ido-read-internal): Use completing-read-default.
22458         (ido-completing-read): Fix compatibility with completing-read.
22460 2011-03-20  Christian Ohler  <ohler@gnu.org>
22462         * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
22463         (ert-delete-all-tests): Use `called-interactively-p' rather than
22464         `interactive-p'.
22465         (ert--make-xrefs-region): Respect END.
22467 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
22469         * dired-aux.el (dired-create-directory): Signal an error if the
22470         directory already exists (Bug#8246).
22472         * facemenu.el (list-colors-display): Call list-faces-display
22473         inside with-help-window.
22474         (list-colors-print): Use display property to align the final
22475         column, instead of checking window-width.
22477 2011-03-19  Eli Zaretskii  <eliz@gnu.org>
22479         * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
22480         windows-nt systems.
22481         (emerge-protect-metachars): Quote correctly for ms-dos and
22482         windows-nt systems.
22484 2011-03-19  Ralph Schleicher  <rs@ralph-schleicher.de>
22486         * info.el (info-initialize): Replace all uses of `:' with
22487         path-separator for compatibility with non-Unix systems.
22488         Cache quoting of path-separator.  (Bug#8258)
22490 2011-03-19  Juanma Barranquero  <lekktu@gmail.com>
22492         * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
22493         (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
22494         (mouse-avoidance-mode): Fix typos in docstrings.
22496 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
22498         * startup.el (package-subdirectory-regexp): Move from package.el.
22499         Omit \\` and \\', and let callers add them.
22501         * emacs-lisp/package.el (package-strip-version)
22502         (package-load-all-descriptors): Add \\` and \\' to
22503         package-subdirectory-regexp before using it.
22504         (package-untar-buffer): New arg DIR; ensure that file untars only
22505         into this expected directory.  Remove superfluous delete-region.
22506         (package-unpack): Caller changed.
22507         (package-tar-file-info): Use package-subdirectory-regexp.
22509 2011-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
22511         * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
22512         diff-mode-shared-map (bug#8284).
22513         (diff-mode-shared-map): Re-introduce some bindings that were problematic.
22515 2011-03-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
22517         * calendar/time-date.el (format-seconds): Use assoc instead of
22518         assoc-string, since assoc-string doesn't exist in XEmacs.
22520 2011-03-17  Juanma Barranquero  <lekktu@gmail.com>
22522         * custom.el (custom-known-themes): Reflow docstring.
22523         (custom-theme-load-path): Fix typo in docstring.
22524         (load-theme): Fix typo in error message.
22525         (custom-available-themes, custom-variable-theme-value):
22526         Use `let', not `let*'.
22528 2011-03-17  Jay Belanger  <jay.p.belanger@gmail.com>
22530         * calc/README: Mention inclusion of musical notes.
22532         * calc/calc-units.el (calc-lu-quant): Rename from
22533         `calc-logunits-quantity'.
22534         (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
22535         (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
22536         (calc-db): Rename from `calc-dblevel'.
22537         (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
22538         (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
22539         (calc-np): Rename from `calc-nplevel'.
22540         (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
22541         (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
22542         (calc-lu-plus): Rename from `calc-logunits-add'.
22543         (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
22544         (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
22545         (calc-lu-minus): Rename from `calc-logunits-sub'.
22546         (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
22547         (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
22548         (calc-lu-times): Rename from `calc-logunits-mul'.
22549         (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
22550         (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
22551         (calc-lu-divide): Rename from `calc-logunits-div'.
22552         (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
22553         (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
22555         * calc/calc-ext.el (calc-init-extensions): Update the names of the
22556         functions being autoloaded.
22558         * calc/calc.el (calc-lu-power-reference): Rename from
22559         `calc-logunits-power-reference'.
22560         (calc-lu-field-reference): Rename from
22561         `calc-logunits-field-reference'.
22563         * calc/calc-help.el (calc-l-prefix-help):
22564         Mention musical note functions.
22566 2011-03-17  Stefan Monnier  <monnier@iro.umontreal.ca>
22568         * minibuffer.el (completion-all-sorted-completions):
22569         Use :completion-cycle-penalty text property if present.
22571 2011-03-16  Ken Manheimer  <ken.manheimer@gmail.com>
22573         * allout.el (allout-yank-processing): Adjust for new rebulleting
22574         regime so bullet being yanked is used without prompting the user
22575         for a choice.
22577 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
22579         * startup.el (command-line): Warn the user that _emacs is deprecated.
22581 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
22583         * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
22584         (delphi-verbose, delphi-comment-face, delphi-string-face)
22585         (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
22586         (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
22587         (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
22588         (delphi-new-comment-line, delphi-font-lock-defaults)
22589         (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
22590         Fix typos in docstrings.
22592 2011-03-15  Ken Manheimer  <ken.manheimer@gmail.com>
22594         * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
22595         Invert the roles of character and string values for INSTEAD, so a
22596         string is used for the more common case of a defaulting prompt.
22598 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
22600         * progmodes/ruby-mode.el (ruby-backward-sexp):
22601         * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
22602         * play/gamegrid.el (gamegrid-make-face):
22603         * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
22604         (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
22605         * notifications.el (notifications-notify):
22606         * net/xesam.el (xesam-search-engines):
22607         * net/quickurl.el (quickurl-list-insert):
22608         * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
22610 2011-03-15  Chong Yidong  <cyd@stupidchicken.com>
22612         * startup.el (command-line): Update package subdirectory regexp.
22614 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
22616         * allout.el (allout-abbreviate-flattened-numbering)
22617         (allout-mode-deactivate-hook): Fix up obsolescence "date".
22619         * subr.el (read-char-choice): Only show the cursor after the prompt,
22620         not after the answer.
22622 2011-03-15  Kevin Ryde  <user42@zip.com.au>
22624         * help-fns.el (variable-at-point): Skip leading quotes, if any
22625         (bug#8253).
22627 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
22629         * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
22630         warning message.
22632 2011-03-14  Michael Albinus  <michael.albinus@gmx.de>
22634         * shell.el (shell): When called interactively, offer to change the
22635         shell file name on remote hosts.
22637 2011-03-13  Teodor Zlatanov  <tzz@lifelogs.com>
22639         * net/ldap.el (ldap-search-internal): Add `auth-source-search'
22640         integration for LDAP parameters.  The host, base, user or binddn,
22641         and secret tokens can be specified in a netrc file, for instance.
22642         This is optional because an `auth-source' parameter must be
22643         specified in the search attributes.
22645 2011-03-13  Juanma Barranquero  <lekktu@gmail.com>
22647         * help.el (describe-mode): Link to the mode's definition (bug#8185).
22649 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
22651         * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
22652         into declaration.  Remove redundant and harmful binding.
22654 2011-03-12  Eli Zaretskii  <eliz@gnu.org>
22656         * files.el (file-ownership-preserved-p): Pass `integer' as an
22657         explicit 2nd argument to `file-attributes'.  If the file's owner
22658         is the Administrators group on Windows, and the current user is
22659         Administrator, consider that a match.
22661         * server.el (server-ensure-safe-dir): Consider server directory
22662         safe on MS-Windows if its owner is the Administrators group while
22663         the current Emacs user is Administrator.  Use `=' to compare
22664         numerical UIDs, since they could be integers or floats.
22666 2011-03-12  Juanma Barranquero  <lekktu@gmail.com>
22668         * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
22670 2011-03-12  Michael Albinus  <michael.albinus@gmx.de>
22672         Sync with Tramp 2.2.1.
22674         * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
22676         * net/trampver.el: Update release number.
22678 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
22680         * progmodes/compile.el (compilation--previous-directory): Fix up
22681         various nil/dead-marker mismatches (bug#8014).
22682         (compilation-directory-properties, compilation-error-properties):
22683         Don't call it at a position past the one we're about to change.
22685         * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
22686         Disable obsolescence warnings in the file that declares it.
22688 2011-03-11  Ken Manheimer  <ken.manheimer@gmail.com>
22690         * allout-widgets.el (allout-widgets-tally):
22691         Initialize allout-widgets-tally as a hash table rather than nil to
22692         prevent mode-line redisplay warnings.  Also, clarify the module
22693         description and fix a comment typo.
22695 2011-03-11  Juanma Barranquero  <lekktu@gmail.com>
22697         * help-fns.el (describe-variable): Don't complete keywords.
22698         Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
22700 2011-03-10  Chong Yidong  <cyd@stupidchicken.com>
22702         * emacs-lisp/package.el (package-version-join): Impose a standard
22703         string representation for pre/alpha/beta version lists.
22704         (package-unpack-single): Standardize the directory name by passing
22705         it through package-version-join.
22706         (package-strip-rcs-id): Accept any version string that does not
22707         signal an error in version-to-list.
22709 2011-03-10  Michael Albinus  <michael.albinus@gmx.de>
22711         * simple.el (delete-trailing-whitespace): Return nil for the
22712         benefit of `write-file-functions'.
22714 2011-03-10  Glenn Morris  <rgm@gnu.org>
22716         * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
22718         * vc/vc-git.el (vc-git-program): New option.
22719         (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
22720         (vc-git--call): Use it.
22722         * eshell/esh-util.el (eshell-condition-case): Doc fix.
22724         * cus-edit.el (Custom-newline): If no button at point, look
22725         for a subgroup button at start-of-line.  (Bug#2298)
22727         * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
22729 2011-03-10  Julien Danjou  <julien@danjou.info>
22731         * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
22732         `cursor-type' is nil.
22734 2011-03-09  Jay Belanger  <jay.p.belanger@gmail.com>
22736         * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
22738 2011-03-09  Ken Manheimer  <ken.manheimer@gmail.com>
22740         * allout.el: Change so yank of distinctive-bullet items
22741         preserves the existing header prefix, rebulleting it if necessary,
22742         rather than replacing it.  This is necessary for proper operation
22743         of cooperative addons like allout-widgets.
22744         (allout-make-topic-prefix, allout-rebullet-heading):
22745         Change SOLICIT arg to INSTEAD, and interpret additionally a string
22746         value as alternate bullet to be used, instead of prompting the user
22747         for a bullet character.
22749 2011-03-09  Michael Albinus  <michael.albinus@gmx.de>
22751         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
22752         Do not use `tramp-file-name-port', because this returns also
22753         `tramp-default-port'.
22755 2011-03-09  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
22757         * net/rcirc.el (rcirc-handler-001): Remove useless
22758         with-rcirc-process-buffer.
22759         (rcirc-check-auth-status): Swap arguments to string-match.
22761 2011-03-09  Glenn Morris  <rgm@gnu.org>
22763         * shell.el (shell-mode):
22764         Set comint-input-ring-size from HISTSIZE.  (Bug#7889)
22766         * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
22767         Check for GDBHISTFILE, HISTSIZE, etc.  (Bug#7889)
22769 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
22771         * emacs-lisp/package.el (package-refresh-contents)
22772         (package-menu-execute): Use condition-case-no-debug.
22774 2011-03-08  Michael Albinus  <michael.albinus@gmx.de>
22776         * simple.el (shell-command-to-string): Use `process-file'.
22778         * emacs-lisp/package.el (package-tar-file-info): Handle also
22779         remote files.
22781         * emacs-lisp/package-x.el (package-upload-buffer-internal):
22782         Use `equal' for upload base check.
22784 2011-03-08  Arni Magnusson  <arnima@hafro.is>  (tiny change)
22786         * textmodes/texinfo.el (texinfo-environments):
22787         Add deftypecv, deftypeivar, deftypemethod, deftypeop, html.  (Bug#2783)
22789 2011-03-08  Glenn Morris  <rgm@gnu.org>
22791         * cus-start.el (cursor-in-non-selected-windows):
22792         Fix :set quoting oddness.  (Bug#8192)
22794         * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
22795         in some setf expressions.  (Bug#2159)
22797 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
22799         * custom.el (custom-available-themes): Return themes in
22800         alphabetical order.
22802 See ChangeLog.15 for earlier changes.
22804 ;; Local Variables:
22805 ;; coding: utf-8
22806 ;; End:
22808   Copyright (C) 2011-2012  Free Software Foundation, Inc.
22810   This file is part of GNU Emacs.
22812   GNU Emacs is free software: you can redistribute it and/or modify
22813   it under the terms of the GNU General Public License as published by
22814   the Free Software Foundation, either version 3 of the License, or
22815   (at your option) any later version.
22817   GNU Emacs is distributed in the hope that it will be useful,
22818   but WITHOUT ANY WARRANTY; without even the implied warranty of
22819   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
22820   GNU General Public License for more details.
22822   You should have received a copy of the GNU General Public License
22823   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.