* lisp/files.el (basic-save-buffer): Use `buffer-name' as the default
[emacs.git] / lisp / ChangeLog
blob00cbe9f36eeaf4eec633d8dcfeff373f31971dc0
1 2012-08-08  Juri Linkov  <juri@jurta.org>
3         * files.el (basic-save-buffer): Use `buffer-name' as the default
4         of `read-file-name' when buffer is not visiting a file (bug#12128).
6 2012-08-08  Juri Linkov  <juri@jurta.org>
8         * info.el (Info-isearch-search): Doc fix.
9         (Info-search): Change search-failed message from "initial node" to
10         "end of node" (bug#12078).
11         (Info-isearch-search): Change `isearch-string-state' to
12         `isearch--state-string'.
14 2012-08-08  Glenn Morris  <rgm@gnu.org>
16         * language/persian.el: Remove file.
17         * language/misc-lang.el: Move non-unique part of persian.el here.
18         * loadup.el: Remove language/persian.
20 2012-08-08  Óscar Fuentes  <ofv@wanadoo.es>
22         * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
24 2012-08-08  Fabián Ezequiel Gallina  <fgallina@cuca>
26         * progmodes/python.el Fixed defsubst warning.
27         (python-syntax-context) Rename from python-info-ppss-context.
28         (python-syntax-context-type): Rename from
29         python-info-ppss-context-type.
30         (python-syntax-comment-or-string-p): Rename from
31         python-info-ppss-comment-or-string-p.
33 2012-08-08  Jay Belanger  <jay.p.belanger@gmail.com>
35         * calc/calc-misc.el (calc-record-why): Don't record a message twice.
37 2012-08-07  Andreas Schwab  <schwab@linux-m68k.org>
39         * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
40         a defcustom that is quoted with backquote.
42         * calc/calc-prog.el (math-do-defmath): Use backquote forms.  Fix
43         handling of interactive spec when the body uses return.
44         (math-do-arg-check, math-define-function-body): Use backquote forms.
45         * calc/calc-ext.el (math-defcache): Likewise.
46         * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
47         * allout.el (allout-new-exposure): Likewise.
48         * calc/calcalg2.el (math-tracing-integral): Likewise.
49         * info.el (Info-last-menu-item): Likewise.
50         * emulation/vip.el (vip-loop): Likewise.
51         * textmodes/artist.el (artist-funcall): Likewise.
52         * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
53         Construct menu-item directly.
55         * progmodes/autoconf.el (font-lock-syntactic-keywords): Don't
56         declare.
58 2012-08-07  Chong Yidong  <cyd@gnu.org>
60         * simple.el (deactivate-mark): Preserve text properties when
61         saving the primary selection (Bug#8384).
63 2012-08-07  Kevin Ryde  <user42@zip.com.au>
65         * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
66         (woman-parse-numeric-value): On a bad .IP line, issue a warning
67         and continue processing (Bug#12110).
69 2012-08-06  Stefan Monnier  <monnier@iro.umontreal.ca>
71         * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
72         syntax-propertize-function (bug#10095).
74 2012-08-06  Stefan Monnier  <monnier@iro.umontreal.ca>
76         * help-fns.el (help-fns--key-bindings, help-fns--signature)
77         (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
78         describe-function-1.
79         (describe-function-1): Use them.  Move compiler macro after sig.
80         (help-fns--compiler-macro): Use function-get.  Assume we're already in
81         standard-output.  Adjust layout to new call order.
83         * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
84         re-binding a symbol that has a symbol-macro (bug#12119).
86 2012-08-06  Mohsen BANAN  <libre@mohsen.1.banan.byname.net>
88         * language/persian.el: New file.  (Bug#11812)
89         * loadup.el: Add language/persian.el.
91 2012-08-06  Chong Yidong  <cyd@gnu.org>
93         * window.el (window--maybe-raise-frame): New function.
94         (window--display-buffer): Split off from here.
95         (display-buffer-reuse-window, display-buffer-pop-up-frame)
96         (display-buffer-pop-up-window, display-buffer-use-some-window):
97         Obey an inhibit-switch-frame action alist entry.
98         (display-buffer): Update doc.
100         * replace.el (occur-after-change-function): Avoid losing focus by
101         using the inhibit-switch-frame display parameter (Bug#12139).
103 2012-08-06  Fabián Ezequiel Gallina  <fgallina@cuca>
105         Make internal shell process buffer names start with space.
106         * progmodes/python.el (python-shell-make-comint): Add optional
107         argument INTERNAL.
108         (run-python-internal): Use it.
109         (python-shell-internal-get-or-create-process): Check for new
110         internal buffer names.
112 2012-08-06  Glenn Morris  <rgm@gnu.org>
114         * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
115         Do less getting and setting of environment variables.
117 2012-08-05  Chong Yidong  <cyd@gnu.org>
119         * proced.el (proced): Add substitution string to docstring to
120         trigger autoloading of the proced library on C-h f (Bug#1768).
122         * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression): Don't
123         show defvars which have no second argument (Bug#8638).
125         * imenu.el (imenu-generic-expression): Move documentation here
126         from imenu--generic-function.
127         (imenu--generic-function): Refer to imenu-generic-expression.
129 2012-08-05  Vegard Øye  <vegard_oye@hotmail.com>  (tiny change)
131         * emulation/viper-init.el (viper-deflocalvar): Add docstring and
132         indentation declaration.
133         (viper-loop): Add indentation declaration (Bug#7025).
135 2012-08-05  Chong Yidong  <cyd@gnu.org>
137         * help-fns.el (describe-variable): Add hyperlink for
138         directory-local variables files.  Improve buffer-local and
139         permanent-local reporting; suggested by MON KEY (Bug#6644).
141         * help-mode.el (help-dir-local-var-def): New button type.
143         * files.el (kill-buffer-hook): Provide a defvar.
145 2012-08-05  Glenn Morris  <rgm@gnu.org>
147         * eshell/esh-ext.el (eshell/addpath):
148         Also update eshell-path-env.  (Bug#12013)
150 2012-08-05  Chong Yidong  <cyd@gnu.org>
152         * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
154         * fringe.el (fringe-styles): Add docstring.
155         (fringe--check-mode): New function.
156         (set-fringe-mode, set-fringe-style): Use it.
157         (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
159         * files.el (set-auto-mode): Fix invalid setq call.
161 2012-08-04  Stefan Monnier  <monnier@iro.umontreal.ca>
163         * isearch.el: Misc simplification; use defstruct.
164         (isearch-mode-map): Dense maps now work like sparse ones.
165         (isearch--state): New defstruct.
166         (isearch-string-state, isearch-message-state, isearch-point-state)
167         (isearch-success-state, isearch-forward-state)
168         (isearch-other-end-state, isearch-word-state, isearch-error-state)
169         (isearch-wrapped-state, isearch-barrier-state)
170         (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
171         replaced by defstruct's accessors.
172         (isearch--set-state): Rename from isearch-top-state and change
173         calling convention.
174         (isearch-push-state): Use new isearch--get-state.
175         (isearch-toggle-word): Disable regexp when enabling word.
176         (isearch-message-prefix): Remove unused arg _c-q-hack.
177         (isearch-message-suffix): Remove unused arg _ellipsis.
179 2012-08-04  Andreas Schwab  <schwab@linux-m68k.org>
181         * simple.el (list-processes--refresh): For a server use :host or
182         :local as the address.
183         (list-processes): Doc fix.
185 2012-08-04  Michal Nazarewicz  <mina86@mina86.com>  (tiny change)
187         * lisp/mpc.el: Support password in host argument.
188         (mpc--proc-connect): Parse and use new password element.
189         Set mpc-proc variable instead of returning process.
190         (mpc-proc): Adjust accordingly.
192 2012-08-03  Eli Zaretskii  <eliz@gnu.org>
194         * whitespace.el (whitespace-display-mappings): Use Unicode
195         codepoints, instead of emacs-mule codepoints.  See
196         http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
197         for the details.
199         * files.el (file-truename): Don't skip symlink-chasing part on
200         windows-nt.  Incorporate the resolution of 8+3 short aliases on
201         Windows into the loop that recursively chases symlinks.  Compare
202         directory and its parent case-insensitively on MS-Windows and
203         MS-DOS.
205 2012-08-03  Chong Yidong  <cyd@gnu.org>
207         * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
209         * sort.el (sort-regexp-fields): Doc fix.
211 2012-08-03  Tassilo Horn  <tsdh@gnu.org>
213         * textmodes/reftex.el (reftex-compile-variables): Make keyvals
214         labels regex position point at the expected place.
216 2012-08-03  MON KEY  <monkey@sandpframing.com>
218         * net/imap.el (imap-interactive-login, imap-authenticate)
219         (imap-mailbox-lsub, imap-mailbox-list)
220         (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
221         (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
222         (imap-parse-response): Doc fix.
224 2012-08-03  João Távora  <joaotavora@gmail.com>
226         * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
227         if sexp scanning does not move point (Bug#5734).
229 2012-08-02  Tassilo Horn  <tsdh@gnu.org>
231         * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
232         Add listings, minted, and ctable packages.
233         (reftex-label-alist-builtin): Move listings, minted, and ctable
234         entries before LaTeX.
235         (reftex-label-alist): Docfix.
237 2012-08-02  Bastien Guerry  <bzg@gnu.org>
239         * replace.el (occur): Fix docstring (bug#12122).
241 2012-08-02  Glenn Morris  <rgm@gnu.org>
243         * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
245 2012-08-02  Paul Eggert  <eggert@cs.ucla.edu>
247         Obsolete alias inactivate-current-input-method-function (Bug#10150).
248         * international/mule-cmds.el: Create
249         inactivate-current-input-method-function as an obsolete alias for
250         deactivate-current-input-method-function.  See Katsumi Yamaoka in
251         <http://bugs.gnu.org/10150#46>.
253 2012-08-01  Jay Belanger  <jay.p.belanger@gmail.com>
255         * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
256         of nested `if's.
258 2012-08-01  Glenn Morris  <rgm@gnu.org>
260         * progmodes/autoconf.el (autoconf-definition-regexp):
261         Add AH_TEMPLATE, adjust submatch numbering.
262         (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
263         (autoconf-current-defun-function): Update for above change.
264         (autoconf-current-defun-function): First skip to end of current word.
266 2012-08-01  Rupert Swarbrick  <rswarbrick@gmail.com>  (tiny change)
268         * calendar/cal-html.el (cal-html-insert-agenda-days):
269         Fix typo.  (Bug#12018)
271 2012-07-31  Fabián Ezequiel Gallina  <fgallina@cuca>
273         Shell processes: enhancements to startup and CEDET compatibility.
274         * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
275         (python-shell-make-comint): accept-process-output at startup.
276         (run-python-internal): Set inferior-python-mode-hook to nil.
277         (python-shell-internal-get-or-create-process): call sit-for.
278         (python-preoutput-result): Add obsolete alias.
279         (python-shell-internal-send-string): Use it.
280         (python-shell-send-setup-code): Remove call to
281         accept-process-output.
283 2012-07-31  Andreas Schwab  <schwab@linux-m68k.org>
285         * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
286         (Bug#12108)
288 2012-07-31  Jay Belanger  <jay.p.belanger@gmail.com>
290         * calc-mode.el (calc-basic-simplification-mode): Rename from
291         `calc-limited-simplification-mode'.
292         (calc-alg-simplification-mode): New function.
293         (calc-set-simplify-mode):  Adjust message.
295         * calc.el (calc-set-mode-line): Adjust mode line display for
296         basic simplification mode.
298         * calc-help.el (calc-m-prefix-help): Update help message.
300         * calc-ext.el (calc-init-extensions): Add bindings and autoloads
301         for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
303 2012-07-31  Bastien Guerry  <bzg@gnu.org>
305         * man.el (man): Fix comment.  (bug#12101)
307 2012-07-31  Martin Rudalics  <rudalics@gmx.at>
309         * window.el (switch-to-prev-buffer, switch-to-next-buffer):
310         Don't return a non-nil value when no suitable buffer was found.
312 2012-07-31  Fabián Ezequiel Gallina  <fgallina@cuca>
314         * progmodes/python.el (run-python-internal): Disable font lock for
315         internal shells.
317 2012-07-30  Stefan Merten  <smerten@oekonux.de>
319         * rst.el: Silence `checkdoc-ispell'.
320         (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
321         (rst-official-version, rst-official-cvs-rev)
322         (rst-package-emacs-version-alist): Update to upstream V1.3.1.
323         (rst-mode-map): New key binding.
325 2012-07-30  Paul Eggert  <eggert@cs.ucla.edu>
327         Update .PHONY listings in makefiles.
328         * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
329         autoloads, update-subdirs, updates, bzr-update, update-authors,
330         compile-onefile, compile-calc, backup-compiled-files,
331         compile-after-backup, compile-one-process, mh-autoloads,
332         bootstrap-clean, distclean, maintainer-clean.
334 2012-07-29  Jay Belanger  <jay.p.belanger@gmail.com>
336         * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
337         (calc-set-mode-line): Don't display "AlgSimp ".
339         * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
340         (calc-lim-simplify-mode): New function.
341         (calc-set-simplify-mode): Default to 'alg.
342         (calc-default-simplify-mode): Make algebraic simplifications
343         the default.
345         * calc/calc-ext.el (calc-init-extensions): Remove binding for
346         `calc-alg-simplify-mode'.  Add binding for `calc-lim-simplify-mode'.
348         * calc/calc-help.el (calc-m-prefix-help): Change messages to
349         indicate new simplification modes.
351         * calc/README: Mention new default simplification mode.
353         * calc/calc.el (math-normalize-error): New variable.
354         (math-normalize): Set `math-normalize-error' to t
355         when there's an error.
357         * calc/calc-alg.el (math-simplify): Don't simplify when
358         `math-normalize' returns an error.
360 2012-07-29  Eli Zaretskii  <eliz@gnu.org>
362         * international/mule-cmds.el (set-locale-environment): Revert last
363         change, since display-graphic-p returns nil when this function is
364         called during startup.  Instead...
366         * term/w32console.el (terminal-init-w32console): ...setup the
367         keyboard and terminal encoding for TTY sessions here.  (Bug#12082)
369 2012-07-29  Juri Linkov  <juri@jurta.org>
371         * simple.el (goto-line): Don't display default line number in the
372         prompt because it should be displayed by `read-number' (bug#9952).
373         Add the current line number to the defaults of `goto-line' to
374         allow its easier modification by users with `M-n' (bug#9201).
376         * subr.el (read-number): Support multiple default values like in
377         other minibuffer reading functions.  Replace `read' with
378         `string-to-number' for consistency with `number-to-string'.
380 2012-07-29  Paul Eggert  <eggert@cs.ucla.edu>
382         deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
383         * emulation/viper-init.el (viper-deactivate-input-method-action):
384         Rename from viper-inactivate-input-method-action.
385         (viper-deactivate-input-method):
386         Rename from viper-inactivate-input-method.
387         * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
388         * international/mule-cmds.el (deactivate-input-method):
389         Rename from inactivate-input-method.
390         Also run input-method-deactivate-hook.
391         (deactivate-current-input-method-function):
392         Rename from inactivate-current-input-method-function.
393         (input-method-deactivate-hook): New hook.
394         (input-method-inactivate-hook): Mark obsolete.
395         (inactivate-input-method): Mark obsolete.
397         * international/quail.el (quail-activate):
398         Also run quail-deactivate-hook.
399         (quail-deactivate): Rename from quail-inactivate.
400         * international/robin.el (robin-activate):
401         Also run robin-deactivate-hook.
402         (robin-deactivate): Rename from robin-inactivate.
404 2012-07-29  Chong Yidong  <cyd@gnu.org>
406         * simple.el (indicate-copied-region): New function.
407         (kill-ring-save): Split off from here.
409         * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
410         (kill-rectangle): Set deactivate-mark to t on read-only error.
412         * register.el (copy-to-register, copy-rectangle-to-register):
413         Deactivate the mark, and use indicate-copied-region (Bug#10056).
414         (append-to-register, prepend-to-register): Call
416 2012-07-29  Juri Linkov  <juri@jurta.org>
418         * simple.el (async-shell-command-buffer): New defcustom.
419         (shell-command): Use it.  (Bug#4719)
421 2012-07-28  Eli Zaretskii  <eliz@gnu.org>
423         * international/mule-cmds.el (set-locale-environment): In a
424         console session on MS-Windows, set up keyboard and terminal
425         encoding from the OEM codepage, not the ANSI codepage.
426         (Bug#12055)
428 2012-07-28  Chong Yidong  <cyd@gnu.org>
430         * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
431         gdb-get-location.
433 2012-07-25  Leo Liu  <sdl.web@gmail.com>
435         * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
436         the alist (bug#12029).
438 2012-07-28  Eli Zaretskii  <eliz@gnu.org>
440         * makefile.w32-in (custom-deps, finder-data, updates, compile)
441         (compile-always, compile-first)
442         ($(lisp)/calendar/cal-loaddefs.el)
443         ($(lisp)/calendar/diary-loaddefs.el)
444         ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
445         ($(lisp)/net/tramp-loaddefs.el, bootstrap)
446         ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
447         instead of on update-subdirs.
448         (bootstrap-clean): Delete $(lisp)/subdirs.el.
450 2012-07-28  Chong Yidong  <cyd@gnu.org>
452         * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
453         directory if vc-deduce-backend returns nil (Bug#7350).
455         * simple.el (delete-trailing-lines): New option.
456         (delete-trailing-whitespace): Obey it (Bug#11879).
458 2012-07-28  David Engster  <deng@randomsample.de>
460         * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
461         Explanation of new 'symbol-qnames feature in doc-strings.
462         (xml-maybe-do-ns): Return expanded names as plain symbols if
463         'symbol-qnames was provided in XML-NS argument (Bug#11916).
464         (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
466 2012-07-27  Fabián Ezequiel Gallina  <fgallina@cuca>
468         Consistent completion in inferior python with emacs -nw.
469         * progmodes/python.el (inferior-python-mode): replace "<tab>"
470         binding in inferior-python-mode-map with "\t".
471         (python-shell-completion-complete-at-point)
472         (python-completion-complete-at-point): Remove interactive spec.
474 2012-07-27  Jay Belanger  <jay.p.belanger@gmail.com>
476         * calc/calccomp.el (math-compose-expr): Undo previous change.
478 2012-07-27  Fabián Ezequiel Gallina  <fgallina@cuca>
480         * progmodes/python.el (python-mode-map): Added keybinding for
481         run-python.
482         (python-shell-make-comint): Fix pop-to-buffer call.
483         (run-python): Autoload.  New arg SHOW.
484         (python-shell-get-or-create-process): Do not pop python process
485         buffer.
487 2012-07-27  Michael Albinus  <michael.albinus@gmx.de>
489         * notifications.el (notifications-on-action-signal)
490         (notifications-on-closed-signal): Use also the bus address for the map.
491         (notifications-notify, notifications-close-notification)
492         (notifications-get-capabilities):  Add optional argument BUS.
494 2012-07-27  Tassilo Horn  <tsdh@gnu.org>
496         * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add
497         support for the lstlisting and minted environments, and for the
498         ctable macro.
499         * textmodes/reftex.el (reftex-compile-variables): Also recognize
500         labels written in keyvals syntax.
502 2012-07-27  Jay Belanger  <jay.p.belanger@gmail.com>
504         * calc/calccomp.el (math-compose-expr): Use parentheses when
505         there is a product in the denominator of a fraction.
507 2012-07-26  Eli Zaretskii  <eliz@gnu.org>
509         * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
510         ($(lisp)/calendar/diary-loaddefs.el)
511         ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
512         ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.  Fixes
513         failures in parallel bootstrap because subdirs.el is being
514         rewritten while the autoload files are built at the same time,
515         which needs to load subdirs.el.
517 2012-07-26  Martin Rudalics  <rudalics@gmx.at>
519         * mouse.el (popup-menu): Fix doc-string and re-indent code.
520         (mouse-drag-line): Don't exit tracking when a switch-frame or
521         switch-window event occurs (Bug#12006).
523 2012-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
525         * mouse.el (popup-menu): Fix last change.
527 2012-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
529         Autoload from Lisp with more care.  Follow aliases when looking for
530         function properties.
531         * subr.el (autoloadp): New function.
532         (symbol-file): Use it.
533         (function-get): New function.
534         * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
535         autoload-do-load.
536         * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
537         (lisp-indent-function):
538         * emacs-lisp/gv.el (gv-get):
539         * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
540         * emacs-lisp/byte-opt.el (byte-optimize-form):
541         * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
542         * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
543         Use function-get.
544         * emacs-lisp/cl.el: Don't propagate function properties any more.
546         * speedbar.el (speedbar-add-localized-speedbar-support):
547         * emacs-lisp/disass.el (disassemble-internal):
548         * desktop.el (desktop-load-file):
549         * help-fns.el (help-function-arglist, find-lisp-object-file-name)
550         (describe-function-1):
551         * emacs-lisp/find-func.el (find-function-noselect):
552         * emacs-lisp/elp.el (elp-instrument-function):
553         * emacs-lisp/advice.el (ad-has-proper-definition):
554         * apropos.el (apropos-safe-documentation, apropos-macrop):
555         * emacs-lisp/debug.el (debug-on-entry):
556         * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
557         * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
558         * calc/calc.el (name): Use autoloadp & autoload-do-load.
560 2012-07-25  Alp Aker  <alp.tekin.aker@gmail.com>
562         * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
563         function, not an obsolete variable (Bug#12046).
565 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
567         * faces.el (face-spec-reset-face): Fix last change.  (Bug#12042)
569 2012-07-25  Christopher Schmidt  <christopher@ch.ristopher.com>
571         * emacs-lisp/pp.el (pp-display-expression): Select old selected
572         window only if it is still live (Bug#12034).
574 2012-07-25  Martin Rudalics  <rudalics@gmx.at>
576         * subr.el (redirect-frame-focus): Add advertised calling
577         convention (Bug#12030).
579 2012-07-25  Paul Eggert  <eggert@cs.ucla.edu>
581         Prefer typical American spelling for "acknowledgment".
582         * vc/add-log.el (change-log-acknowledgment): Rename from
583         change-log-acknowledgement, with an alias for the old name.
585 2012-07-25  Jay Belanger  <jay.p.belanger@gmail.com>
587         * calc-alg.el (math-simplify-divide): Don't cross multiply
588         in an equation when the lhs is a variable.
590 2012-07-24  Julien Danjou  <julien@danjou.info>
592         * net/netrc.el (netrc-find-service-number, netrc-store-data):
593         Remove, unused.
595 2012-07-23  Eli Zaretskii  <eliz@gnu.org>
597         * startup.el (command-line): Don't display an empty user name in
598         the error message about non-existent home directory, when
599         init-file-user was set to an empty string.  See
600         http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
601         for the details and context.
603 2012-07-22  Vincent Belaïche  <vincentb1@users.sourceforge.net>
605         * ses.el (ses-cell-formula-aset): New macro.
606         (ses-cell-references-aset): New macro.
607         (ses-cell-p): New function.
608         (ses-rename-cell): Do no longer rely on complex operations like
609         ses-cell-set-formula or ses-set-cell to change the cell and handle
610         the undo at the same time, but rather use lower level new macros
611         `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
612         the undo directly. Refresh the mode line.
614 2012-07-21  Leo Liu  <sdl.web@gmail.com>
616         * progmodes/cc-cmds.el (c-defun-name):
617         Use match-string-no-properties instead for consistency.
619 2012-07-20  Leo Liu  <sdl.web@gmail.com>
621         * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
622         (Bug#7879)
624         * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
626 2012-07-20  Stefan Monnier  <monnier@iro.umontreal.ca>
628         * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
629         * progmodes/bug-reference.el, misearch.el: Provide themselves
630         (bug#11915).
632         * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
633         of narrowed buffer (bug#11966).
635 2012-07-20  Vincent Belaïche  <vincentb1@users.sourceforge.net>
637         * ses.el (ses-rename-cell): Set new name also in reference list of
638         cells of which the renamed cell depends.
640 2012-07-20  Masatake YAMATO  <yamato@redhat.com>
642         * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
643         to check whether menu-bar is shown or not.  If not shown,
644         show the menu-bar as a popup menu instead of using tmm.
645         * mouse.el (popup-menu): Accept `point' as `position' argument.
647 2012-07-20  Dmitry Gutov  <dgutov@yandex.ru>
649         * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
650         up inside string symbol literal (bug#11923).
652 2012-07-20  Eli Zaretskii  <eliz@gnu.org>
654         * startup.el (fancy-startup-text): Read the whole tutorial, not
655         just its first 256 bytes.  Prevents gibberish in display of the
656         tutorial title.
658 2012-07-20  Dmitry Antipov  <dmantipov@yandex.ru>
660         Drop idle buffer compaction due to an absence of the
661         proved efficiency.
662         * compact.el: Remove.
664 2012-07-19  Sam Steingold  <sds@gnu.org>
666         * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
667         vc-bzr-pull & vc-bzr-merge-branch.
668         * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
669         (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
670         for consistency with compilation-error-regexp-alist.
671         * vc/vc-git.el (vc-git-error-regexp-alist): Add.
672         (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
673         * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
674         (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
676 2012-07-19  Stefan Monnier  <monnier@iro.umontreal.ca>
678         * emacs-lisp/chart.el: Use lexical-binding.
679         (chart-emacs-storage): Don't hardcode the list of entries.
681 2012-07-19  Dmitry Antipov  <dmantipov@yandex.ru>
683         Next round of tweaks caused by Fgarbage_collect changes.
684         * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
686 2012-07-19  Dmitry Antipov  <dmantipov@yandex.ru>
688         Compact buffers when idle.
689         * compact.el: New file.
691 2012-07-19  Stefan Monnier  <monnier@iro.umontreal.ca>
693         * subr.el (eventp): Presume that if it looks vaguely like an event,
694         it's an event (bug#10190).
696 2012-07-19  Fabián Ezequiel Gallina  <fgallina@cuca>
698         Enhancements to ppss related code (thanks Stefan).
699         * progmodes/python.el (python-indent-context)
700         (python-indent-calculate-indentation, python-indent-dedent-line)
701         (python-indent-electric-colon, python-nav-forward-block)
702         (python-mode-abbrev-table)
703         (python-info-assignment-continuation-line-p): Simplify checks
704         for ppss context.
705         (python-info-continuation-line-p): Cleanup.
706         (python-info-ppss-context): Do not catch 'quote.
707         (python-info-ppss-context-type)
708         (python-info-ppss-comment-or-string-p): Simplify.
710 2012-07-18  Fabián Ezequiel Gallina  <fgallina@cuca>
712         * progmodes/python.el: Enhancements to eldoc support.
713         (python-info-current-symbol): New function.
714         (python-eldoc-at-point): Use python-info-current-symbol.
715         (python-info-current-defun): Fix cornercase on first defun scan.
716         (python-eldoc--get-doc-at-point): Use python-info-current-symbol
717         and signal error when no inferior python process is available.
719 2012-07-18  Dmitry Gutov  <dgutov@yandex.ru>
721         * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
722         assume it's always t.
723         (vc-git-registered): Remove caching, the function is only called
724         once.
725         (vc-git-branches): Use `vc-git--call' instead of `call-process'.
727 2012-07-18  Chong Yidong  <cyd@gnu.org>
729         * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
731         * simple.el (count-words): Report on narrowing (Bug#9959).
733         * bindings.el: Bind M-= to count-words.
735         * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
737 2012-07-18  Masatake YAMATO  <yamato@redhat.com>
739         * progmodes/sh-script.el (sh-imenu-generic-expression):
740         Capture a function with `function' keyword and without parentheses
741         like "function FOO" (bug#11856).
743 2012-07-18  Tassilo Horn  <tassilo@member.fsf.org>
745         * window.el (split-window-sensibly): Make WINDOW argument
746         optional.
748 2012-07-18  Chong Yidong  <cyd@gnu.org>
750         * subr.el (keyboard-translate): Doc fix (Bug#7261).
752         * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
753         and make C-x 8 RET exit isearch (Bug#11439).
755         * international/iso-transl.el: Move isearch-mode-map key
756         definitions to isearch.el.
758 2012-07-18  Stefan Monnier  <monnier@iro.umontreal.ca>
760         * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
761         (eieio-defclass): Use gv-define-setter when possible.
763 2012-07-18  Dmitry Antipov  <dmantipov@yandex.ru>
765         Reflect recent changes in Fgarbage_collect.
766         * emacs-lisp/chart.el (chart-emacs-storage): Change to
767         reflect new format of data returned by Fgarbage_collect.
769 2012-07-17  Fabián Ezequiel Gallina  <fgallina@cuca>
771         New utility functions + python-info-ppss-context fix (Bug#11910).
772         * progmodes/python.el (python-info-beginning-of-block-statement-p)
773         (python-info-ppss-comment-or-string-p): New functions.
774         (python-info-ppss-context): Small fix for string check.
776 2012-07-17  Juri Linkov  <juri@jurta.org>
778         * dired-aux.el (dired-do-async-shell-command): Doc fix.
779         (dired-do-async-shell-command): Don't add `*' at the end of the
780         command (Bug#11815).
781         (dired-do-shell-command): Doc fix.
782         (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
783         Join the individual commands using either "&" or ";" as the
784         separator depending on the values of these trailing characters.
785         At the end re-add the trailing "&".  (Bug#10598)
787         * simple.el (async-shell-command): Sync the interactive spec with
788         `shell-command'.  Doc fix.
789         (shell-command): Doc fix.
791 2012-07-17  Juri Linkov  <juri@jurta.org>
793         * descr-text.el (describe-char): Fix format args.  (Bug#10129)
795 2012-07-17  Fabián Ezequiel Gallina  <fgallina@cuca>
797         Final renames and doc fixes for movement commands (bug#11899).
798         * progmodes/python.el (python-nav-beginning-of-statement):
799         Rename from python-nav-statement-start.
800         (python-nav-end-of-statement): Rename from
801         python-nav-statement-end.
802         (python-nav-beginning-of-block): Rename from
803         python-nav-block-start.
804         (python-nav-end-of-block): Rename from python-nav-block-end.
806 2012-07-17  Fabián Ezequiel Gallina  <fgallina@cuca>
808         * progmodes/python.el (python-shell-send-string-no-output):
809         Allow accept-process-output to quit, keeping shell process ready for
810         future interactions (Bug#11868).
812 2012-07-17  Stefan Monnier  <monnier@iro.umontreal.ca>
814         * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
816         * emacs-lisp/elint.el (elint-find-args-in-code):
817         Use help-function-arglist, so as to handle lexical byte-code.
819         * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
820         change (bug#11826).
822 2012-07-17  Stefan Monnier  <monnier@iro.umontreal.ca>
824         * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
825         Avoid spuriously marking the buffer as modified because of c-is-sws.
827         * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
828         as not-a-comment (bug#11946).
830         * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
831         for uninterned vars.
833         * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
834         Use read-event since we don't really want to read chars but bytes.
836         * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
837         $$..$$ but also $..$ using regexps (bug#11953).
838         Use tex-verbatim for \url and \path.
839         (tex-font-lock-keywords): Define as defconst like the others.
840         (tex-common-initialization): Don't use font-lock-syntax-table any more.
842 2012-07-16  René Kyllingstad  <Rene@Kyllingstad.com>  (tiny change)
844         * international/mule-cmds.el (ucs-insert): Make it an obsolete
845         alias for insert-char.
847 2012-07-16  Fabián Ezequiel Gallina  <fgallina@cuca>
849         * progmodes/python.el: Simplified imenu implementation.
850         (python-nav-jump-to-defun): Remove command.
851         (python-mode-map): Use `imenu' instead.
852         (python-nav-list-defun-positions-cache)
853         (python-imenu-include-defun-type, python-imenu-make-tree)
854         (python-imenu-subtree-root-label, python-imenu-index-alist):
855         Remove vars.
856         (python-nav-list-defun-positions, python-nav-read-defun)
857         (python-imenu-tree-assoc, python-imenu-make-element-tree)
858         (python-imenu-make-tree, python-imenu-create-index):
859         Remove functions.
860         (python-mode): Update to interact with imenu by setting
861         `imenu-extract-index-name-function' only.
863 2012-07-16  Fabián Ezequiel Gallina  <fgallina@cuca>
865         * progmodes/python.el: Enhancements to navigation commands.
866         (python-nav-backward-sentence)
867         (python-nav-forward-sentence): Remove.
868         (python-nav-backward-statement, python-nav-forward-statement)
869         (python-nav-statement-start, python-nav-statement-end)
870         (python-nav-backward-block, python-nav-forward-block)
871         (python-nav-block-start, python-nav-block-end)
872         (python-nav-forward-sexp-function)
873         (python-info-current-line-comment-p)
874         (python-info-current-line-empty-p): New functions.
875         (python-indent-context): Use `python-nav-statement-start'.
877 2012-07-16  Michael Albinus  <michael.albinus@gmx.de>
879         * eshell/em-ls.el (eshell/ls): Use `apply'.
881         * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
882         multi-hops, instead of Tramp internals.
884         * vc/ediff.el (ediff-directories): Add trailing space to prompts.
886         * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
887         when F1 and F2 are located on different hosts.
889 2012-07-14  Chong Yidong  <cyd@gnu.org>
891         * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
892         (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
893         (xterm-mouse-translate-extended, xterm-mouse-translate-1)
894         (xterm-mouse--read-event-sequence-1000)
895         (xterm-mouse--read-event-sequence-1006): New functions.  For old
896         mouse protocol, handle M-mouse-X events correctly.
897         (xterm-mouse-event): New arg specifying mouse protocol.
898         (turn-on-xterm-mouse-tracking-on-terminal)
899         (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
900         sequence to toggle extended coordinates on newer XTerms.
901         This appears to be harmless on terminals which do not support this.
903 2012-07-14  Leo Liu  <sdl.web@gmail.com>
905         Add fringe bitmap indicators for flymake.  (Bug#11253)
906         * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
907         (flymake-make-overlay): New arg BITMAP.
908         (flymake-error-bitmap, flymake-warning-bitmap)
909         (flymake-fringe-indicator-position): New user variables.
911         * fringe.el: New bitmap exclamation-mark.
913 2012-07-14  Jan Djärv  <jan.h.d@swipnet.se>
915         * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
916         also (Bug#7879).
918 2012-07-14  Chong Yidong  <cyd@gnu.org>
920         * electric.el (electric-pair-post-self-insert-function): Fix pair
921         insertion in empty-region case (Bug#11520).
923 2012-07-14  Chong Yidong  <cyd@gnu.org>
925         * bindings.el: Consolidate ctl-x-r-map bindings.
926         Bind copy-rectangle-as-kill to C-x r w.
928         * rect.el, register.el: Move bindings to bindings.el.
930 2012-07-14  Reuben Thomas  <rrt@sc3d.org>
932         * rect.el (copy-rectangle-as-kill): New command (Bug#739).
934 2012-07-13  Andreas Schwab  <schwab@linux-m68k.org>
936         * emacs-lisp/cl.el (labels): Remove spurious quote.  (Bug#11938)
938 2012-07-13  Juanma Barranquero  <lekktu@gmail.com>
940         * bindings.el (top): Use `mapc' instead of `mapcar'.
942         * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
944 2012-07-13  Michael Albinus  <michael.albinus@gmx.de>
946         * progmodes/sql.el (sql-comint): Suppress the check for program on
947         remote hosts.  Reported by Francis Devereux <francis@devrx.org>.
948         (Bug#11908)
950 2012-07-13  Chong Yidong  <cyd@gnu.org>
952         * bindings.el: Assign a non-nil permanent-local property to
953         per-buffer variables which lack a default value (Bug#11930).
955         * help-fns.el (describe-variable): In the "automatically becomes
956         local" notice, take note of permanent-local variables.
958 2012-07-13  Chong Yidong  <cyd@gnu.org>
960         * files.el (toggle-read-only): Doc fix and code cleanup.  New arg
961         to allow printing the message when called from Lisp.
963         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
964         Remove toggle-read-only.
966         * bs.el (bs-toggle-readonly):
967         * buff-menu.el (Buffer-menu-toggle-read-only):
968         Remove with-no-warnings around toggle-read-only.
970         * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
971         Remove with-no-warnings around toggle-read-only.
972         (ffap-read-only, ffap-read-only-other-window)
973         (ffap-read-only-other-frame): Callers changed.
975         * help-mode.el: Don't require view package.
976         (help-mode-finish): Set buffer-read-only instead of calling
977         toggle-read-only.
979         * bindings.el (mode-line-toggle-read-only):
980         * dired.el (dired-toggle-read-only):
981         * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
982         with non-nil second arg.
984         * emacs-lisp/eieio-custom.el (eieio-customize-object):
985         * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
986         directly.
988 2012-07-12  Eli Zaretskii  <eliz@gnu.org>
990         * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
991         not incf.
993 2012-07-11  Stefan Monnier  <monnier@iro.umontreal.ca>
995         More CL cleanups and reduction of use of cl.el.
996         * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
997         * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
998         * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
999         * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
1000         * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
1001         * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
1002         * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
1003         * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
1004         * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
1005         * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
1006         * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
1007         * eshell/em-cmpl.el, eshell/em-banner.el:
1008         * calendar/parse-time.el: Use cl-lib.
1009         * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
1010         * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
1011         * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
1012         * term/ns-win.el, term.el, shell.el, ps-samp.el:
1013         * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
1014         * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
1015         * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
1016         * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
1017         * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
1018         * mail/mailheader.el, mail/feedmail.el: Don't use CL.
1019         * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
1020         * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
1021         `lambda' rather than with `quote'.
1022         (eshell-do-opt): Adjust accordingly.
1023         (eshell-process-option): Simplify.
1024         * eshell/esh-var.el:
1025         * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
1026         * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
1027         (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
1028         to `pcase--dontcare'.
1029         * emacs-lisp/cl.el (labels): Mark obsolete.
1030         (cl--letf, letf): Move to cl-lib.
1031         (cl--letf*, letf*): Remove.
1032         * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
1033         * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
1034         (cl-progv): Rewrite.
1035         (cl--letf, cl-letf): Move from cl.el.
1036         (cl-letf*): New macro.
1037         * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
1039 2012-07-11  Michael Albinus  <michael.albinus@gmx.de>
1041         * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
1043 2012-07-11  Chong Yidong  <cyd@gnu.org>
1045         * vc/log-edit.el (log-edit-vc-backend): New variable.
1046         (log-edit): Doc fix.
1048         * vc/vc-dispatcher.el (vc-log-edit): New args.  Use PARAMS
1049         argument of log-edit to set up all local variables.
1050         (vc-start-logentry): New optional arg specifying VC backend.
1052         * vc/vc.el (vc-checkin): Use it.
1053         (vc-deduce-fileset): Handle Log Edit buffers.
1054         (vc-diff): Make first argument optional too.
1056         * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
1058 2012-07-10  Michael Albinus  <michael.albinus@gmx.de>
1060         * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
1061         command, just in case.  The function is not needed anymore.
1062         (eshell-external-command): Do not call `eshell-remote-command'.
1064 2012-07-10  Stefan Monnier  <monnier@iro.umontreal.ca>
1066         Reduce use of (require 'cl).
1067         * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
1068         * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
1069         * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
1070         * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
1071         * international/quail.el, info-xref.el, imenu.el, image-mode.el:
1072         * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
1073         * battery.el, avoid.el, abbrev.el: Use cl-lib.
1074         * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
1075         * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
1076         * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
1077         * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
1078         * calculator.el, autorevert.el, apropos.el: Don't require CL.
1079         * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
1080         (byte-compile-unfold-bcf, byte-compile-check-variable):
1081         * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
1082         (byte-compile-nilconstp):
1083         * emacs-lisp/autoload.el (make-autoload): Use pcase.
1084         * face-remap.el (text-scale-adjust): Simplify pcase patterns.
1086         * emacs-lisp/gv.el (cond): Make it a valid place.
1087         (if): Simplify slightly.
1089         * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
1090         (pcase--self-quoting-p): New function.
1091         (pcase--u1): Use it.
1093 2012-07-10  Glenn Morris  <rgm@gnu.org>
1095         * emacs-lisp/authors.el (authors-fixed-entries):
1096         (authors-renamed-files-alist): Update for configure.in -> configure.ac.
1098 2012-07-09  Paul Eggert  <eggert@cs.ucla.edu>
1100         Rename configure.in to configure.ac (Bug#11603).
1101         * emacs-lisp/authors.el (authors-canonical-file-name):
1102         * progmodes/autoconf.el (autoconf-mode):
1103         Prefer configure.ac to configure.in.
1105 2012-07-08  Chong Yidong  <cyd@gnu.org>
1107         * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
1108         Implement the mouse-1-click-follows-link handling properly.
1110         * info.el (Info-link-keymap): Use follow-link mechanism for
1111         header-line links (Bug#374).
1113         * simple.el (deactivate-mark): Do not set the primary selection
1114         if another program has acquired it (Bug#11772).
1116 2012-07-07  Kevin Ryde  <user42@zip.com.au>
1118         * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
1119         (woman-decode-region): Replace escaped-escapes without destroying
1120         bold or underline (Bug#11552).
1121         (woman2-process-escapes): Handle nofill regions (Bug#11591).
1123 2012-07-07  Chong Yidong  <cyd@gnu.org>
1125         * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
1126         (interprogram-cut-function, interprogram-paste-function):
1127         Mention that we typically mean the clipboard.
1129 2012-07-06  Glenn Morris  <rgm@gnu.org>
1131         * kmacro.el (kmacro-call-macro): Restore repeat message.  (Bug#11817)
1133         * files.el (toggle-read-only): Restrict message to interactive use.
1135 2012-07-06  Michael Albinus  <michael.albinus@gmx.de>
1137         * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
1139         * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
1141 2012-07-06  Glenn Morris  <rgm@gnu.org>
1143         * Makefile.in (compile-one-process): Rename from "recompile".
1145         * Makefile.in (bzr-update): "compile" is the same as "recompile
1146         autoloads", but parallelizable, so use that instead.
1148 2012-07-06  Dmitry Gutov  <dgutov@yandex.ru>
1150         * window.el (quit-window): Always restore window height when
1151         it's saved in quit-restore parameter (Bug#11810).
1153 2012-07-06  Glenn Morris  <rgm@gnu.org>
1155         * simple.el (kill-whole-line): Doc tweak.
1157 2012-07-06  Eli Zaretskii  <eliz@gnu.org>
1159         * files.el (file-relative-name): Compare file names
1160         case-insensitively if on MS-Windows or MS-DOS, or if
1161         read-file-name-completion-ignore-case is non-nil.  Don't use
1162         case-fold-search for this purpose.  (Bug#11827)
1164 2012-07-17  Andreas Schwab  <schwab@linux-m68k.org>
1166         * calendar/cal-dst.el (calendar-current-time-zone):
1167         Return calendar-current-time-zone-cache if non-nil.
1169 2012-07-17  Masatake YAMATO  <yamato@redhat.com>
1170 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
1172         * calendar/cal-dst.el (calendar-current-time-zone):
1173         Return calendar-current-time-zone-cache if non-nil.
1175 2012-07-06  Glenn Morris  <rgm@gnu.org>
1177         * Makefile.in (cvs-update): Remove old alias.
1179 2012-07-05  Michael Albinus  <michael.albinus@gmx.de>
1181         Sync with Tramp 2.2.6-pre.
1183         * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
1184         compatible declaration.
1186         * net/tramp-cmds.el (tramp-append-tramp-buffers):
1187         Protect `list-load-path-shadows' call.
1189         * net/tramp-compat.el (top): Require packages, which aren't
1190         autoloaded anymore for XEmacs.  Protect call of
1191         `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
1192         compiler.  Do not require tramp-util.el and tramp-vc.el anymore,
1193         it hurts at least for SXEmacs.
1194         (tramp-compat-temporary-file-directory): In XEmacs, there is no
1195         standard-value for `temporary-file-directory'.
1197         * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
1198         Redirect stderr to /dev/null.
1199         (tramp-sh-handle-write-region): uid and gid can be floats.
1200         Reported by Russell Sim <russell.sim@gmail.com>.
1201         (tramp-sh-handle-vc-registered): Hide errors.
1202         (tramp-vc-file-name-handler): Use dummy results for `process-file'
1203         and `start-file-process'.
1204         (tramp-maybe-open-connection): Check also whether `non-essential'
1205         is bound.
1207 2012-07-04  Chong Yidong  <cyd@gnu.org>
1209         * xml.el (xml--parse-buffer): Use xml-syntax-table.
1210         (xml-parse-tag): Likewise, and avoid changing entity tables.
1211         (xml-syntax-table): Define from scratch, making sure not to give
1212         x2000 and other Unicode spaces whitespace syntax, since those are
1213         not spaces in XML.
1214         (xml-parse-fragment): Delete unused function.
1215         (xml-name-start-char-re, xml-name-char-re, xml-name-re)
1216         (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
1217         (xml-entity-ref, xml-pe-reference-re)
1218         (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
1219         (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
1220         (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
1221         (xml-entity-value-re): Use syntax references in regexps where
1222         possible; no need to define inside a let-binding.
1223         (xml-parse-dtd): Use xml-pe-reference-re.
1224         (xml-entity-or-char-ref-re): New defconst.
1225         (xml-parse-string, xml-substitute-special): Use it.
1227 2012-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
1229         * files.el (locate-dominating-file): Allow `name' to be a predicate.
1230         (find-file--read-only): New function.
1231         (find-file-read-only, find-file-read-only-other-window)
1232         (find-file-read-only-other-frame): Use it.
1233         (insert-file-contents-literally): Don't `fset'.
1234         (get-free-disk-space): Use locate-dominating-file.
1236         * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
1237         function is already compiled.
1239         * xml.el (xml-name-regexp): Remove, redundant.  Use xml-name-re.
1241 2012-07-03  Michael Albinus  <michael.albinus@gmx.de>
1243         * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
1244         files on the same host.
1246 2012-07-03  Andreas Schwab  <schwab@linux-m68k.org>
1248         * help-fns.el (describe-function-1): Only call
1249         help-fns--autoloaded-p when we have a file name.  (Bug#11848)
1251 2012-07-03  Chong Yidong  <cyd@gnu.org>
1253         * xml.el: Protect parser against XML bombs.
1254         (xml-entity-expansion-limit): New variable.
1255         (xml-parse-string, xml-substitute-special): Use it.
1256         (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
1258 2012-07-03  Glenn Morris  <rgm@gnu.org>
1260         * progmodes/bug-reference.el (bug-reference-bug-regexp):
1261         Allow linking to specific messages in debbugs reports (eg 123#5).
1263 2012-07-02  Chong Yidong  <cyd@gnu.org>
1265         * xml.el: Fix entity and character reference expansion, allowing
1266         them to expand into markup as per XML spec.
1267         (xml-default-ns): New variable.
1268         (xml-entity-alist): Use XML spec definitions for lt and amp.
1269         (xml-parse-region): Make first two arguments optional.
1270         Discard text properties.
1271         (xml-parse-tag-1): New function, spun off from xml-parse-tag.
1272         All callers changed.
1273         (xml-parse-tag): Call xml-parse-tag-1.  For backward
1274         compatibility, this function should not modify buffer contents.
1275         (xml-parse-tag-1): Fix opening-tag regexp.
1276         (xml-parse-string): Rewrite, handling entity and character
1277         references properly.
1278         (xml--entity-replacement-text): Signal an error if a parameter
1279         entity is undefined.
1281 2012-07-02  Stefan Monnier  <monnier@iro.umontreal.ca>
1283         * comint.el (comint-output-filter): Filter out repeated prompts.
1285         * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
1286         and file-name-absolute-p.
1287         (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
1288         internal calls.
1290 2012-07-02  Paul Eggert  <eggert@cs.ucla.edu>
1292         Spelling fixes.
1293         * emacs-lisp/bytecomp.el (byte-compile--reify-function):
1294         Rename from byte-compile--refiy-function.  All uses changed.
1296 2012-07-01  Chong Yidong  <cyd@gnu.org>
1298         * xml.el (xml--parse-buffer): New function.  Move most of
1299         xml-parse-region here.
1300         (xml-parse-region): Copy region into a temporary buffer, since
1301         parameter entity substitution requires changing buffer contents.
1302         Use xml--parse-buffer.
1303         (xml-parse-file): Use xml--parse-buffer.
1304         (xml-parse-dtd): Make parameter entity substitution work right.
1305         Use proper regexps for ELEMENT declarations (Bug#7172).
1307 2012-06-30  Glenn Morris  <rgm@gnu.org>
1309         * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
1311         * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
1312         Remove outdated and unnecessary dbus declarations.
1314 2012-06-30  Eli Zaretskii  <eliz@gnu.org>
1316         * emacs-lisp/timer.el (timer-until): Subtract results of
1317         float-time, instead of taking float-time of the result of
1318         time-subtract, since float-time signals an error for negative time
1319         arguments.
1321 2012-06-30  Chong Yidong  <cyd@gnu.org>
1323         * xml.el (xml-*-re): Convert defvars into defconsts, and
1324         eval-and-compile them so eval-and-compile works on derivatives.
1325         (xml--entity-replacement-text): Use eval-and-comple.
1327 2012-06-30  Michael Albinus  <michael.albinus@gmx.de>
1329         * vc/vc-git.el (vc-git-registered): Use cache property
1330         `git-registered'.
1331         (vc-git-mode-line-string): Call `vc-working-revision' instead of
1332         `vc-git-working-revision' in order to benefit from the cache.
1333         (vc-git-root): Use cache property `git-root'.  (Bug#11757)
1335 2012-06-30  Dmitry Gutov  <dgutov@yandex.ru>
1337         * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
1338         removed (likely outside Emacs).  (Bug#11757)
1340 2012-06-30  Stefan Monnier  <monnier@iro.umontreal.ca>
1342         * emacs-lisp/cl-lib.el: Require macroexp.
1344 2012-06-30  Chong Yidong  <cyd@gnu.org>
1346         * xml.el: Implement XML parameter entities.
1347         (xml-parameter-entity-alist): New variable.
1348         (xml-parse-region, xml-parse-fragment): Preserve previous values
1349         of xml-entity-alist and xml-parameter-entity-alist, so that
1350         repeated calls on different documents do not change them.
1351         (xml-parse-tag): Fix doctype regexp.
1352         (xml--entity-replacement-text): New function.
1353         (xml-parse-dtd): Use it.  Don't handle system entities; doing that
1354         properly requires url retrieval which is unimplemented.
1355         (xml-escape-string): Doc fix.
1357 2012-06-30  Stefan Monnier  <monnier@iro.umontreal.ca>
1359         * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
1361 2012-06-29  Dmitry Antipov  <dmantipov@yandex.ru>
1363         * fringe.el (fringe-mode): Doc fix.
1365 2012-06-29  Michael Albinus  <michael.albinus@gmx.de>
1367         * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
1368         is non-nil.
1369         (ange-ftp-ignore-errors-if-non-essential): New defmacro.
1370         (ange-ftp-file-name-all-completions): Use it.  (Bug#11808)
1372 2012-06-29  Andreas Schwab  <schwab@linux-m68k.org>
1374         * calendar/cal-dst.el (calendar-current-time-zone):
1375         Return calendar-current-time-zone-cache if non-nil.
1377 2012-06-29  Masatake YAMATO  <yamato@redhat.com>
1379         * progmodes/which-func.el (which-func-format):
1380         Add mouse-face.  (Bug#11698)
1382 2012-06-29  Leo Liu  <sdl.web@gmail.com>
1384         * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
1386 2012-06-29  Stefan Monnier  <monnier@iro.umontreal.ca>
1388         * minibuffer.el (minibuffer-confirm-exit-commands):
1389         Add completion-at-point (bug#11725).
1391 2012-06-29  Glenn Morris  <rgm@gnu.org>
1393         * progmodes/f90.el (f90-font-lock-keywords-2):
1394         Add some preprocessor elements.  (Bug#10499)
1396 2012-06-29  Stefan Monnier  <monnier@iro.umontreal.ca>
1398         * progmodes/cperl-mode.el (cperl-update-syntaxification):
1399         Use syntax-propertize (bug#11739).
1401 2012-06-28  Juanma Barranquero  <lekktu@gmail.com>
1403         * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
1405 2012-06-28  Julien Danjou  <julien@danjou.info>
1407         * term.el (term-handle-colors-array): Use a set of new faces to
1408         color the terminal.  Also uses :inverse-video property.
1409         (term-default-fg-color): Set to nil by default, deprecate in favor
1410         of `term-face'.
1411         (term-default-bg-color): Set to nil by default, deprecate in favor
1412         of `term-face'.
1413         (term-current-face): Use `term-face' by default.
1414         (term-bold-attribute): Variable deleted.
1416 2012-06-28  Glenn Morris  <rgm@gnu.org>
1418         * simple.el (completion-list-mode-finish):
1419         Don't use toggle-read-only.  (Since completion-list-mode has
1420         a special mode-class, it wasn't doing anything extra anyway.)
1422 2012-06-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1424         Make inlining of other-mode interpreted functions work (bug#11799).
1425         * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
1426         (byte-compile): Use it to fix compilation of lexical-binding closures.
1427         * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
1428         function, if needed.
1430 2012-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
1432         * help-mode.el (help-make-xrefs): Don't just withstand
1433         cyclic-variable-indirection but any error in documentation-property.
1435         * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
1436         memory use.
1437         * bindings.el (bindings--define-key): New function.
1438         * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
1439         * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
1440         * bindings.el: Use it to purecopy define-key bindings.
1442         * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
1444         * emacs-lisp/cl.el (flet): Mark obsolete.
1445         * emacs-lisp/cl-macs.el (cl-flet*): New macro.
1446         * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
1447         * progmodes/js.el (js-c-fill-paragraph):
1448         * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
1449         (ebrowse-switch-member-buffer-to-derived-class):
1450         * play/5x5.el (5x5-solver): Use cl-flet.
1452         * emacs-lisp/cl.el: Use lexical-binding.  Fix flet (bug#11780).
1453         (cl--symbol-function): New macro.
1454         (cl--letf, cl--letf*): Use it.
1456         * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
1457         Strip "toggle-" if any.
1459 2012-06-27  Glenn Morris  <rgm@gnu.org>
1461         * info.el (Info-default-directory-list): Move here from paths.el.
1462         * paths.el: Remove file, which is now empty.
1463         * loadup.el: No longer load "paths".
1465         * custom.el (custom-initialize-delay): Doc fix.
1467         * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
1468         * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
1469         * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
1470         * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
1471         * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
1472         * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
1473         * eshell/eshell.el (eshell-defgroup): Remove alias.
1475 2012-06-27  Chong Yidong  <cyd@gnu.org>
1477         * help.el (help-enable-auto-load): New variable.
1479         * help-fns.el (help-fns--autoloaded-p): New function.
1480         (describe-function-1): Refer to a function as "autoloaded" if it
1481         was autoloaded at any time in the past.  Perform autoloading if
1482         help-enable-auto-load is non-nil.
1484 2012-06-26  Eli Zaretskii  <eliz@gnu.org>
1486         * makefile.w32-in (compile, compile-always): Depend on
1487         update-subdirs, not on subdirs.el.  Otherwise, several different
1488         sub-targets of 'bootstrap' running in parallel could
1489         simultaneously write to subdirs.el, producing a garbled file.
1491 2012-06-26  Sam Steingold  <sds@gnu.org>
1493         * files.el (file-name-base): New convenience function.
1494         * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
1495         * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
1496         * progmodes/cc-defs.el, progmodes/cperl-mode.el:
1497         * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
1498         * textmodes/ispell.el, textmodes/reftex-ref.el:
1499         * textmodes/tex-mode.el: Use it.
1500         Did not touch cedet and org because they are maintained elsewhere.
1502 2012-06-26  Martin Rudalics  <rudalics@gmx.at>
1504         * calendar/calendar.el (calendar-exit): Don't try to delete or
1505         iconify last frame.  See:
1506         http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
1508 2012-06-25  Jim Diamond  <Jim.Diamond@AcadiaU.ca>  (tiny change)
1510         * server.el (server-process-filter): Remember dir in the
1511         process's `server-client-directory' properties.
1513 2012-06-24  Chong Yidong  <cyd@gnu.org>
1515         * xml.el (xml-parse-tag): Correctly handle comment embedded in
1516         non-tag text.
1518 2012-06-23  Juanma Barranquero  <lekktu@gmail.com>
1520         * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
1522 2012-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
1524         * help-fns.el (describe-variable): Don't croak when doc is not found.
1525         * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
1526         * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
1527         * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
1528         * emacs-lisp/smie.el (smie-next-sexp): CSE.
1529         * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
1530         ((lambda ..) ..).
1531         * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
1533 2012-06-23  Chong Yidong  <cyd@gnu.org>
1535         * info.el (Info-mouse-follow-link): Accept symbol values of
1536         link-args.  Select window; suggested by Gerhard Kahl (Bug#11672).
1537         (Info-fontify-node): Use Info-link-keymap for all navigation
1538         buttons, with link-args property to perform the desired action.
1539         (Info-link-keymap): Doc fix.
1540         (Info-next-link-keymap, Info-prev-link-keymap)
1541         (Info-up-link-keymap): Delete now-unused keymaps.
1543 2012-06-23  Chong Yidong  <cyd@gnu.org>
1545         * mouse.el (mouse-drag-track): Deactivate the mark before popping.
1547         * progmodes/python.el (python-skeleton-define): Mark abbrevs as
1548         system abbrevs.
1550         * ansi-color.el (ansi-color-apply-on-region): Doc fix.
1552 2012-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
1554         * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
1555         (bug#11719).
1557         * minibuffer.el (completion--twq-try): Try to fail more gracefully when
1558         the requote function doesn't work properly (bug#11714).
1560 2012-06-23  Glenn Morris  <rgm@gnu.org>
1562         * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
1564 2012-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
1566         Further GV/CL cleanups.
1567         * emacs-lisp/gv.el (gv-get): Autoload functions to find their
1568         gv-expander.
1569         (gv--defun-declaration): New function.
1570         (defun-declarations-alist): Use it.
1571         (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
1572         (gv-place): Autoload.
1573         * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
1574         original definition of dotimes and dolist.
1575         * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
1576         (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
1577         * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
1578         (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
1579         (cl-ninth, cl-tenth): Move gv handler to the function's definition.
1580         * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
1581         to the function's definition.
1582         * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
1583         * window.el:
1584         * files.el:
1585         * faces.el:
1586         * env.el: Don't use CL.
1588 2012-06-22  Paul Eggert  <eggert@cs.ucla.edu>
1590         Support higher-resolution time stamps (Bug#9000).
1592         * calendar/time-date.el (with-decoded-time-value): New arg
1593         PICO-SYMBOL in VARLIST.  It's optional, for backward compatibility.
1594         (encode-time-value): New optional arg PICO.  New type 3.
1595         (time-to-seconds) [!float-time]: Support the new picoseconds
1596         component if it's used.
1597         (seconds-to-time, time-subtract, time-add):
1598         Support ps-resolution time stamps as well.
1600         * emacs-lisp/timer.el (timer): New component psecs.  All uses changed.
1601         (timerp): Timer vectors now have length 9, not 8.
1602         (timer--time): Support new-style (4-part) time stamps.
1603         (timer-next-integral-multiple-of-time): Time stamps now have
1604         picosecond resolution, so take a bit more care about rounding.
1605         (timer-relative-time, timer-inc-time): New optional arg psecs.
1606         (timer-set-time-with-usecs): Set psecs to 0.
1607         (timer--activate): Check psecs component, too.
1609         * proced.el (proced-time-lessp): Support ps-resolution stamps.
1611 2012-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
1613         * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
1614         Move the non-essential binding to the post/pre-command-hook where it is
1615         more obviously correct.
1617         * subr.el (read-passwd): Don't use a history at all.
1618         * savehist.el (savehist-save): Remove password saved accidentally
1619         because of the above bug.
1621 2012-06-22  Bastien Guerry  <bzg@gnu.org>
1623         * files.el (toggle-read-only): Display a message telling whether
1624         the buffer is read-only or not (bug#11726).
1626 2012-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
1628         * emacs-lisp/gv.el: New file.
1629         * subr.el (push, pop): Extend to generalized variables.
1630         * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
1631         * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
1632         * emacs-lisp/cl-macs.el: Require gv.  Use gv-define-setter,
1633         gv-define-simple-setter, and gv-define-expander.
1634         Remove setf-methods defined in gv.  Rename cl-setf -> setf.
1635         (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
1636         (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
1637         (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
1638         (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
1639         gv-letplace.
1640         (cl-defstruct): Don't define setf-method any more.
1641         * emacs-lisp/cl.el (flet): Don't autoload.
1642         (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
1643         (define-setf-expander, defsetf, define-modify-macro)
1644         (cl-struct-setf-expander): Move from cl-lib.el.
1645         * emacs-lisp/syntax.el:
1646         * emacs-lisp/ewoc.el:
1647         * emacs-lisp/smie.el:
1648         * emacs-lisp/cconv.el:
1649         * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
1650         (timer--time): Use gv-define-simple-setter.
1651         * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
1652         to avoid coding-system problems in subr.el.  Adjust all users.
1653         (macroexp--maxsize, macroexp-small-p): New functions.
1654         * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
1655         * scroll-bar.el (scroll-bar-mode):
1656         * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
1657         (normal-erase-is-backspace-mode): Don't use the `eq' place.
1658         * winner.el (winner-configuration, winner-make-point-alist)
1659         (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
1660         * files.el (locate-file-completion-table): Avoid list*.
1662 2012-06-22  Chong Yidong  <cyd@gnu.org>
1664         * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
1665         (dired-create-files): Doc fix (Bug#11329).
1666         (dired-do-copy): Doc fix (Bug#11334).
1667         (dired-mark-read-string): Doc fix (Bug#11553).
1669         * dired.el (dired-recursive-copies, dired-recursive-deletes):
1670         Doc fix (Bug#11326).
1671         (dired-make-relative): Doc fix (Bug#11332).  Remove unused arg.
1672         (dired-dwim-target): Doc fix.
1674         * wdired.el (wdired-mode): Doc fix.
1676 2012-06-22  Glenn Morris  <rgm@gnu.org>
1678         * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
1679         (pcmpl-rpm-cache-stamp-file): New constant.
1680         (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
1681         (pcmpl-rpm-packages): Optionally cache list of packages.
1683         * pcmpl-rpm.el (pcmpl-rpm): New group.
1684         (pcmpl-rpm-query-options): New option.
1685         (pcmpl-rpm-packages): No need to inline it.
1686         Use pcmpl-rpm-query-options.
1688         * calendar/calendar.el (calendar-in-read-only-buffer):
1689         Avoid some needless mode changes.
1691 2012-06-21  Chong Yidong  <cyd@gnu.org>
1693         * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
1694         (desktop-path): Remove . from the default value (Bug#10977).
1695         (desktop-read): Use user-emacs-directory if desktop-path is nil.
1697 2012-06-20  Chong Yidong  <cyd@gnu.org>
1699         * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
1701 2012-06-20  David Röthlisberger  <david@rothlis.net>  (tiny change)
1703         * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
1704         (bug#11201).
1706 2012-06-20  Chong Yidong  <cyd@gnu.org>
1708         * term.el (term-window-width): Handle the case of a missing right
1709         fringe (Bug#8837).
1710         (term-check-size): Use window-text-height (Bug#5445).
1711         (term-mode): Use define-derived-mode.  Minor cleanups.
1712         Set font-lock-defaults (Bug#7692).
1713         (term-move-columns, term-insert-char, term-emulate-terminal)
1714         (term-erase-in-line, term-insert-spaces): Use font-lock-face.
1716 2012-06-20  Michael Albinus  <michael.albinus@gmx.de>
1718         * net/ange-ftp.el (ange-ftp-get-passwd):
1719         Bind `enable-recursive-minibuffers'.
1720         (ange-ftp-get-process): Throw if `non-essential' is non-nil.
1722 2012-06-19  David Röthlisberger  <david@rothlis.net>  (tiny change)
1724         * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
1726 2012-06-19  Glenn Morris  <rgm@gnu.org>
1728         * progmodes/python.el (python-mode): Derive from prog-mode.
1730 2012-06-19  Kevin Gallagher  <Kevin.Gallagher@boeing.com>
1732         * emulation/edt.el (edt-default-menu-bar-update-buffers)
1733         (edt-user-menu-bar-update-buffers): New functions.
1734         (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
1736 2012-06-19  Chong Yidong  <cyd@gnu.org>
1738         * subr.el (with-selected-window): Preserve the selected window's
1739         terminal's top-frame (Bug#4702).
1741         * window.el (save-selected-window): Likewise.
1743 2012-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
1745         * progmodes/python.el (python-rx-constituents): Move backquote.
1746         (python-skeleton-define, python-define-auxiliary-skeleton):
1747         Use `declare'.
1749 2012-06-18  Michael Albinus  <michael.albinus@gmx.de>
1751         * minibuffer.el (read-file-name-default): Revert the patch from
1752         2012-06-17.
1754 2012-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
1756         * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
1757         (pcase--u1, pcase--q1): Don't use apply-partially.
1759 2012-06-18  Glenn Morris  <rgm@gnu.org>
1761         * progmodes/python.el (python-proc, python-buffer)
1762         (python-send-receive, python-send-string): Fix obsolete versions.
1764 2012-06-18  Martin Rudalics  <rudalics@gmx.at>
1766         * window.el (special-display-p): Completely remove stringp
1767         check.  Suggested by Andreas Schwab <schwab@linux-m68k.org>.
1769 2012-06-17  Michael Albinus  <michael.albinus@gmx.de>
1771         * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
1773         * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
1775         * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
1776         * net/tramp-sh.el (tramp-maybe-open-connection):
1777         Throw if `non-essential' is non-nil.
1779 2012-06-17  Martin Rudalics  <rudalics@gmx.at>
1781         * window.el (special-display-p): Signal an error if BUFFER-NAME
1782         is not a string (Bug#11713).
1784 2012-06-17  Paul Eggert  <eggert@cs.ucla.edu>
1786         * progmodes/python.el (python-info-beginning-of-backslash):
1787         Rename from python-info-beginning-of-backlash, as a spelling fix.
1789 2012-06-17  Chong Yidong  <cyd@gnu.org>
1791         * term.el (term-emulate-terminal): If term-check-size is called,
1792         move point to the process mark without resetting point (Bug#4635).
1794 2012-06-17  Glenn Morris  <rgm@gnu.org>
1796         * international/mule-cmds.el (mule-menu-keymap)
1797         (set-language-environment, set-locale-environment): Doc tweaks.
1799 2012-06-16  Aurelien Aptel  <aurelien.aptel@gmail.com>
1801         * cus-face.el (custom-face-attributes): Add wave-style underline
1802         attribute.
1803         * faces.el (set-face-attribute): Update docstring to describe
1804         wave-style underline attribute.
1806 2012-06-16  Chong Yidong  <cyd@gnu.org>
1808         * term/xterm.el (terminal-init-xterm): Discard input before
1809         querying background mode (Bug#10959).
1811 2012-06-16  Stefan Merten  <smerten@oekonux.de>
1813         * textmodes/rst.el: Added and corrected some comments.
1814         (rst-re-alist-def): Improve symbol syntax.
1815         (rst-mode-syntax-table): Correct syntax entries.
1816         (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
1817         (rst-official-version, rst-official-cvs-rev): Update version
1818         information.
1820 2012-06-15  Juanma Barranquero  <lekktu@gmail.com>
1822         * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
1823         in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
1825 2012-06-15  Fabián Ezequiel Gallina  <fgallina@cuca>
1827         * progmodes/python.el: New python.el merge.
1828         (python-guess-indent): Obsolete var.
1829         (python-indent-guess-indent-offset): New defcustom.
1830         (python-indent): Obsolete var.
1831         (python-indent-offset): New defcustom.
1832         (python-python-command, python-jython-command): Delete var.
1833         (python-shell-interpreter): New defcustom.
1834         (python-pdbtrack-do-tracking-p): Delete var.
1835         (python-pdbtrack-activate): New defcustom.
1836         (python-use-skeletons): Obsolete var.
1837         (python-skeleton-autoinsert): New defcustom.
1838         (inferior-python-filter-regexp, python-continuation-offset)
1839         (python-honour-comment-indentation, python-indent-string-contents)
1840         (python-jython-packages, python-mode-hook)
1841         (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
1842         (python-shell-prompt-alist)
1843         (python-source-modes): Delete defcustoms.
1844         (python-check-buffer-name, python-eldoc-setup-code)
1845         (python-eldoc-string-code, python-ffap-setup-code)
1846         (python-ffap-string-code, python-fill-comment-function)
1847         (python-fill-decorator-function, python-fill-paren-function)
1848         (python-fill-string-function, python-imenu-include-defun-type)
1849         (python-imenu-make-tree, python-imenu-subtree-root-label)
1850         (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
1851         (python-shell-compilation-regexp-alist)
1852         (python-shell-completion-module-string-code)
1853         (python-shell-completion-pdb-string-code)
1854         (python-shell-completion-setup-code)
1855         (python-shell-completion-string-code)
1856         (python-shell-enable-font-lock, python-shell-exec-path)
1857         (python-shell-extra-pythonpaths)
1858         (python-shell-internal-buffer-name, python-shell-interpreter-args)
1859         (python-shell-process-environment)
1860         (python-shell-prompt-block-regexp)
1861         (python-shell-prompt-output-regexp)
1862         (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
1863         (python-shell-send-setup-max-wait, python-shell-setup-codes)
1864         (python-shell-virtualenv-path): New defcustoms.
1865         (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
1866         (inferior-python-mode-syntax-table, python--prompt-regexp)
1867         (python-buffer, python-command python-python-command)
1868         (python-default-template, python-imports, python-indent-index)
1869         (python-indent-list, python-indent-list-length)
1870         (python-mode-running, python-pdbtrack-is-tracking-p)
1871         (python-preoutput-continuation, python-preoutput-leftover)
1872         (python-preoutput-result, python-preoutput-skip-next-prompt)
1873         (python-prev-dir/file, python-recursing)
1874         (python-saved-check-command, python-version-checked)
1875         (python-which-func-length-limit)
1876         (view-return-to-alist): Delete vars.
1877         (python-check-custom-command, python-dotty-syntax-table)
1878         (python-imenu-index-alist, python-indent-current-level)
1879         (python-indent-dedenters, python-indent-levels)
1880         (python-nav-beginning-of-defun-regexp)
1881         (python-nav-list-defun-positions-cache)
1882         (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
1883         (python-shell-internal-buffer)
1884         (python-skeleton-available): New vars.
1885         (def-python-skeleton): Delete macro.
1886         (python-skeleton-define): New macro.
1887         (python-define-auxiliary-skeleton, python-rx): New macros.
1888         (python-insert-class): Delete command.
1889         (python-skeleton-class): New command.
1890         (python-insert-def): Delete command.
1891         (python-skeleton-def): New command.
1892         (python-insert-for): Delete command.
1893         (python-skeleton-for): New command.
1894         (python-insert-if): Delete command.
1895         (python-skeleton-if): New command.
1896         (python-insert-try/except, python-insert-try/finally): Delete commands.
1897         (python-skeleton-try): New command.
1898         (python-insert-while): Delete command.
1899         (python-skeleton-while): New command.
1900         (python-backspace): Delete command.
1901         (python-indent-dedent-line-backspace): New command.
1902         (python-electric-colon): Delete command.
1903         (python-indent-electric-colon): New command.
1904         (python-guess-indent): Delete command.
1905         (python-indent-guess-indent-offset): New command.
1906         (python-shift-left): Delete command.
1907         (python-indent-shift-left): New command.
1908         (python-shift-right): Delete command.
1909         (python-indent-shift-right): New command.
1910         (python-find-function): Delete command.
1911         (python-nav-jump-to-defun): New command.
1912         (python-next-statement): Delete command.
1913         (python-nav-forward-sentence): New command.
1914         (python-previous-statement): Delete command.
1915         (python-nav-backward-sentence): New command.
1916         (python-fill-paragraph): Delete command.
1917         (python-fill-paragraph-function): New command.
1918         (python-send-buffer): Delete command.
1919         (python-shell-send-buffer): New command.
1920         (python-send-defun): Delete command.
1921         (python-shell-send-defun): New command.
1922         (python-send-region, python-send-region-and-go): Delete commands.
1923         (python-shell-send-region)
1924         (python-shell-switch-to-shell): New commands.
1925         (python-send-string): Delete command.
1926         (python-shell-send-string): New command.
1927         (python-switch-to-python): Delete command.
1928         (python-shell-switch-to-shell): New command.
1929         (python-describe-symbol): Delete command.
1930         (python-eldoc-at-point): New command.
1931         (python--set-prompt-regexp, python-args-to-list)
1932         (python-after-info-look, python-check-version)
1933         (python-check-comint-prompt, python-find-imports)
1934         (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
1935         (python-unload-function, python-expand-template)
1936         (python-maybe-jython, python-preoutput-filter)
1937         (python-pdbtrack-get-source-buffer)
1938         (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
1939         (python-pdbtrack-toggle-stack-tracking)
1940         (python-pdbtrack-track-stack-file, python-initial-text)
1941         (python-first-word, python-comment-line-p, python-send-command)
1942         (python-setup-brm, python-sentinel, python-set-proc)
1943         (python-skip-out, python-input-filter, python-outdent-p)
1944         (python-outline-level, python-backslash-continuation-line-p)
1945         (python-end-of-block, python-end-of-statement, python-mark-block)
1946         (python-beginning-of-block, python-beginning-of-statement)
1947         (python-blank-line-p, python-beginning-of-string)
1948         (python-open-block-statement-p): Delete functions.
1949         (python-indent-line, python-indent-line-1): Delete functions.
1950         (python-indent-line): New function.
1951         (python-indentation-levels): Delete function.
1952         (python-indent-calculate-levels): New function.
1953         (python-proc): Delete function.
1954         (python-shell-get-process): New function.
1955         (python-send-receive): Delete function.
1956         (python-shell-send-string-no-output): New function.
1957         (python-module-path): Delete function.
1958         (python-ffap-module-path): New function.
1959         (python-completion-at-point)
1960         (python-symbol-completions): Delete functions.
1961         (python-completion-complete-at-point): New function.
1962         (python-load-file): Delete function.
1963         (python-shell-send-file): New function.
1964         (python-calculate-indentation): Delete function.
1965         (python-indent-calculate-indentation): New function.
1966         (python-skip-comments/blanks): Delete function.
1967         (python-util-forward-comment): New function.
1968         (python-continuation-line-p): Delete function.
1969         (python-info-continuation-line-p): New function.
1970         (python-which-func, python-current-defun): Delete function.
1971         (python-info-current-defun): New function.
1972         (python-beginning-of-defun): Delete function.
1973         (python-nav-beginning-of-defun): New function.
1974         (python-close-block-statement-p)
1975         (python-block-end-p): Delete function.
1976         (python-info-closing-block): New function.
1977         (python-comint-output-filter-function)
1978         (python-eldoc--get-doc-at-point, python-end-of-defun-function)
1979         (python-fill-comment, python-fill-decorator, python-fill-paren)
1980         (python-fill-string, python-imenu-make-element-tree)
1981         (python-imenu-make-tree, python-imenu-tree-assoc)
1982         (python-indent-context, python-indent-dedent-line)
1983         (python-indent-line-function)
1984         (python-indent-post-self-insert-function)
1985         (python-indent-toggle-levels)
1986         (python-info-assignment-continuation-line-p)
1987         (python-info-beginning-of-backlash)
1988         (python-info-block-continuation-line-p)
1989         (python-info-closing-block-message)
1990         (python-info-line-ends-backslash-p)
1991         (python-info-looking-at-beginning-of-defun)
1992         (python-info-ppss-context, python-info-ppss-context-type)
1993         (python-nav-list-defun-positions, python-nav-read-defun)
1994         (python-nav-sentence-end, python-nav-sentence-start)
1995         (python-pdbtrack-comint-output-filter-function)
1996         (python-pdbtrack-set-tracked-buffer)
1997         (python-shell-calculate-exec-path)
1998         (python-shell-calculate-process-environment)
1999         (python-shell-completion--do-completion-at-point)
2000         (python-shell-completion--get-completions)
2001         (python-shell-completion-complete-at-point)
2002         (python-shell-completion-complete-or-indent)
2003         (python-shell-get-or-create-process)
2004         (python-shell-get-process-name)
2005         (python-shell-internal-get-or-create-process)
2006         (python-shell-internal-get-process-name)
2007         (python-shell-internal-send-string, python-shell-make-comint)
2008         (python-shell-parse-command, python-shell-send-setup-code)
2009         (python-skeleton-add-menu-items)
2010         (python-util-clone-local-variables, python-util-position)
2011         (run-python-internal, python-indentation-levels)
2012         (python-nav-beginning-of-defun)
2013         (python-completion-complete-at-point): New functions.
2014         (run-python): Change arguments.  New API requirements.
2016 2012-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
2018         * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
2019         (bug#11649).
2021         * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
2022         (macroexp--expand-all): Use it.
2024         * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
2025         (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
2026         Use `cl-function' instead.
2028 2012-06-14  Juanma Barranquero  <lekktu@gmail.com>
2030         * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
2031         Suggested by Stefan Monnier while discussing bug#11657.
2033 2012-06-14  Sam Steingold  <sds@gnu.org>
2035         * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
2037 2012-06-14  Andreas Schwab  <schwab@linux-m68k.org>
2039         * play/doctor.el (doctor-doc): Remove parameter and use
2040         doctor-sent instead of sent.
2041         (doctor-read-print): Use doctor-sent instead of sent.  (Bug#11708)
2043 2012-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
2045         * files.el: Require cl-lib.
2046         (file-name-non-special): Replace case -> cl-case.
2048         * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
2050         * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
2051         mapping from #' to function*.
2053 2012-06-13  Chong Yidong  <cyd@gnu.org>
2055         * mouse.el (mouse-drag-track): Do not set the mark if the user
2056         releases the mouse without selecting anything (Bug#11588).
2058 2012-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
2060         * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
2061         as well (bug#11646).
2063         * loadup.el: Count byte-code functions as well.
2065         * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
2066         * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
2068         * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
2069         (bug#11649).  Add cl-defun and cl-defmacro.
2071 2012-06-13  Drew Adams  <drew.adams@oracle.com>
2073         * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
2074         Fix last change.
2076 2012-06-13  Michael Albinus  <michael.albinus@gmx.de>
2078         * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
2079         Otherwise, it blocks in batch mode.
2081 2012-06-13  Juanma Barranquero  <lekktu@gmail.com>
2083         * help-mode.el (bookmark-make-record-default): Declare.
2085 2012-06-13  Chong Yidong  <cyd@gnu.org>
2087         * emacs-lisp/package.el (list-packages): Compute a list of
2088         packages that are newly-available since the last list-packages
2089         invocation.
2090         (package-menu--new-package-list): New var.
2091         (package-menu--generate, package-menu--print-info)
2092         (package-menu--status-predicate, package-menu-mark-install):
2093         Handle new status label "new".
2095 2012-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
2097         * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
2098         conversion to backquotes.
2100 2012-06-12  Chong Yidong  <cyd@gnu.org>
2102         * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
2103         Rename from gud-inhibit-global-bindings.
2105         * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
2107         * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
2108         hook from nxml-glyph-set-hook.
2110         * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
2111         declaration.
2113         * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
2115         * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
2116         Convert to defcustom.
2118 2012-06-12  Drew Adams  <drew.adams@oracle.com>
2120         * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
2121         New functions.
2122         (help-mode): Use them.
2124 2012-06-11  Glenn Morris  <rgm@gnu.org>
2126         * progmodes/fortran.el (fortran-font-lock-keywords-3):
2127         Use preprocessor face for directives.
2128         (fortran-directive-re): Doc fix.
2130 2012-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
2132         * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
2133         conversion to backquotes (bug#11652).
2135         Fix compiler-expansion of CL's cXXr functions (bug#11673).
2136         * emacs-lisp/cl-lib.el (cl--defalias): New function.
2137         (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
2138         (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
2139         (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
2140         (cl-ninth, cl-tenth): Mark them as inlinable.
2141         (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
2142         (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
2143         (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
2144         (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
2145         Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
2146         (cl-list*, cl-adjoin): Don't put an autoload manually.
2147         * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
2148         (cl--compiler-macro-list*): Add autoload cookie.
2149         (cl--compiler-macro-cXXr): New function.
2151         * help-fns.el (help-fns--compiler-macro): New function extracted from
2152         describe-function-1; follow aliases and use `compiler-macro' property.
2153         (describe-function-1): Use it.
2155 2012-06-11  Chong Yidong  <cyd@gnu.org>
2157         * startup.el (fancy-splash-head): Use splash.svg even if librsvg
2158         is uninstalled, if imagemagick is installed.
2160 2012-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
2162         * emacs-lisp/cl-lib.el: Use lexical-binding.
2163         (cl-map-extents, cl-maclisp-member): Remove.
2164         (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
2165         (cl--set-substring, cl--block-wrapper, cl--block-throw)
2166         (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
2167         * emacs-lisp/cl-extra.el: Use lexical-binding.
2168         (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
2169         (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
2170         (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
2171         (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
2172         * emacs-lisp/cl-seq.el: Use lexical-binding.
2173         (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
2174         (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
2175         (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
2176         * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
2177         * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
2178         CL's internals.
2180 2012-06-11  Michael Albinus  <michael.albinus@gmx.de>
2182         Sync with Tramp 2.2.6-pre.
2184         * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
2185         `print-length' and `print-level' to nil, in order to avoid
2186         truncation.  Reported by Christopher Schmidt
2187         <christopher@ristopher.com>.
2189         * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
2191         * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
2192         New defmacro.
2193         (tramp-compat-copy-directory): Add optional argument
2194         COPY-CONTENTS.  It is not handled yet.
2196         * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
2197         (tramp-ftp-file-name-p): Simplify.
2199         * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
2200         * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
2201         connection vector.
2203         * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
2204         (tramp-methods): Do not use `tramp-password-end-of-line'.
2205         (tramp-completion-function-alist-putty): Handle UNIX case.
2206         (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
2207         (tramp-do-file-attributes-with-stat)
2208         (tramp-do-directory-files-and-attributes-with-stat) Return uid and
2209         gid as real numbers.  They could run out of integer range on cygwin.
2210         (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
2211         (tramp-sh-handle-expand-file-name): Handle hops.
2212         (tramp-open-connection-setup-interactive-shell):
2213         Use `tramp-cleanup'.  Move check for busyboxes ...
2214         (tramp-find-shell): ... here.  Simplify implementation.
2215         Set "remote-shell" property also for alternative shells.
2216         (tramp-remote-coding-commands): Check "test -c /dev/stdout".
2217         If failing, a regular file would be written otherwise.
2218         Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2219         (tramp-find-inline-encoding): Cache the coding commands in the
2220         process cache.  Apply test command on the remote side, if defined.
2221         (tramp-find-inline-compress): Cache the compress commands in the
2222         process cache.
2223         (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
2224         when requested.  Handle hops.
2225         (tramp-current-connection): New defvar.
2226         (tramp-maybe-open-connection): Use `tramp-cleanup'.
2227         Throw `suppress', if there was a failed connection shortly before.
2228         Handle user interrupt.  (Bug#10187)
2229         (tramp-get-inline-compress, tramp-get-inline-coding):
2230         Read connection properties from the process cache.
2232         * net/tramp-smb.el (tramp-smb-server-version)
2233         (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
2234         New defconsts.
2235         (tramp-smb-prompt): Extend for powershell prompt.
2236         (tramp-smb-file-name-handler-alist): Add handlers for
2237         `process-file', `shell-command' and `start-file-process'.
2238         (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
2239         (tramp-smb-winexe-shell-command-switch): New defcustoms.
2240         (tramp-smb-file-name-p): Simplify.
2241         (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
2242         (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
2243         (tramp-smb-shell-quote-argument): New defuns.
2244         (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
2245         Implement using "tar".  By this, time-stamps are preserved.
2246         (tramp-smb-handle-copy-file): Handle also the case of directories.
2247         (tramp-smb-do-file-attributes-with-stat)
2248         (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
2249         Use `tramp-get-connection-buffer').
2250         (tramp-smb-handle-rename-file): Use "rename", when source and
2251         target are on the same share.
2252         (tramp-smb-maybe-open-connection): Handle wrong passwords.
2253         Use `tramp-smb-server-version'.
2254         (tramp-smb-wait-for-output): Remove prompt.
2256         * net/tramp.el (top): Require 'cl.
2257         (tramp-methods, tramp-rsh-end-of-line):
2258         Remove `tramp-password-end-of-line' from docstring.
2259         (tramp-save-ad-hoc-proxies): New defcustom.
2260         (tramp-completion-function-alist): Adapt docstring.
2261         (tramp-default-password-end-of-line): Remove defcustom.
2262         (tramp-shell-prompt-pattern): Allow "[]" style prompts.  (Bug#11065)
2263         (tramp-user-regexp, tramp-file-name-regexp-unified)
2264         (tramp-file-name-regexp-url): Extend regexp by hop separator.
2265         (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
2266         (tramp-remote-file-name-spec-regexp): New defconst.
2267         (tramp-file-name-structure): Extend structure for hops.
2268         (tramp-get-method-parameter): Move up.
2269         (tramp-file-name-p, tramp-dissect-file-name)
2270         (with-parsed-tramp-file-name): Handle hops.
2271         (tramp-file-name-hop): New defun.
2272         (tramp-make-tramp-file-name): New optional arg HOP.
2273         (tramp-message-show-progress-reporter-message): New defvar.
2274         (tramp-with-progress-reporter): Use it.  We cannot use
2275         `tramp-message-show-message' here, because this suppresses also
2276         error buffers.
2277         (tramp-error-with-buffer): Suppress buffer view, if
2278         `tramp-message-show-message' is nil.
2279         Use `tramp-get-connection-buffer'.
2280         (tramp-cleanup): New defun.
2281         (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
2282         (tramp-file-name-handler): If `debug-on-error' is set, propagate
2283         an error unchanged.
2284         (tramp-completion-handle-file-name-all-completions): Handle hops.
2285         Fix an error when called from ido.
2286         (tramp-completion-dissect-file-name): Use better local variable
2287         name.  Add hop to the vector.
2288         (tramp-handle-insert-file-contents): Use progress-reporter for the
2289         whole scenario.
2290         (tramp-action-password): Let-bind `enable-recursive-minibuffers'
2291         to `t'.
2292         (tramp-check-for-regexp): Simplify search.
2293         (tramp-enter-password): Remove it.  Move implementation ...
2294         (tramp-action-password): ... here.
2295         (tramp-mode-string-to-int, tramp-local-host-p)
2296         (tramp-make-tramp-temp-file, tramp-read-passwd)
2297         (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
2298         Set tramp-autoload cookie.
2300         * net/trampver.el: Update release number.
2302 2012-06-11  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
2303             Michael Albinus  <michael.albinus@gmx.de>
2305         * net/tramp.el (tramp-set-completion-function): Fix docstring.
2306         (tramp-parse-group, tramp-parse-file)
2307         (tramp-parse-shostkeys-sknownhosts): New defuns.
2308         (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
2309         (tramp-parse-shosts-group, tramp-parse-sconfig)
2310         (tramp-parse-sconfig-group, tramp-parse-shostkeys)
2311         (tramp-parse-sknownhosts, tramp-parse-hosts)
2312         (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
2313         Use them.
2314         (tramp-parse-passwd-group, tramp-parse-netrc-group)
2315         (tramp-parse-putty-group): Don't narrow.
2316         (tramp-parse-putty): Make a loop.
2317         (tramp-file-name-handler): Catch the `suppress' signal.
2319 2012-06-11  Chong Yidong  <cyd@gnu.org>
2321         * image.el (imagemagick-register-types): Put the ImageMagick entry
2322         at the end of image-type-file-name-regexps.
2324 2012-06-11  Johan Bockgård  <bojohan@gnu.org>
2326         * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
2327         (pcase, pcase-let*, pcase-dolist): Use them.
2329 2012-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
2331         * emacs-lisp/pcase.el (pcase--let*): New function.
2332         (pcase-let*): Use it.  Use pcase--memoize to avoid repeated expansions.
2333         (pcase--expand): Use macroexp-let².
2335 2012-06-10  Stefan Monnier  <monnier@iro.umontreal.ca>
2337         * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
2338         * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
2339         * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
2340         * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
2341         * emacs-lisp/derived.el: Use pcase instead of `cl'.
2342         * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
2344 2012-06-10  Glenn Morris  <rgm@gnu.org>
2346         * mail/rmail.el (rmail-yank-current-message): Leave point at
2347         correct position.  (Bug#11660)
2349 2012-06-10  Chong Yidong  <cyd@gnu.org>
2351         * allout-widgets.el: Fix code header.
2353 2012-06-10  Chong Yidong  <cyd@gnu.org>
2355         * cus-edit.el (customize-changed-options-previous-release):
2356         Bump to 24.1.
2358 2012-06-09  Andreas Schwab  <schwab@linux-m68k.org>
2360         * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
2362 2012-06-09  Chong Yidong  <cyd@gnu.org>
2364         * ebuff-menu.el (electric-buffer-list): Preserve header line.
2366 2012-06-09  Martin Rudalics  <rudalics@gmx.at>
2368         * window.el (special-display-popup-frame): Don't use
2369         window--display-buffer (Bug#11651).
2371 2012-06-09  Eli Zaretskii  <eliz@gnu.org>
2373         Fix parallel builds: make sure loaddefs.el is not being written
2374         while Lisp files are compiled.
2375         (compile): Don't depend on 'mh-autoloads'.
2376         (compile-CMD, compile-SH): Depend on 'autoloads'.
2377         (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
2379         * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200.  (Bug#11649)
2381 2012-06-09  Chong Yidong  <cyd@gnu.org>
2383         * face-remap.el (face-remap-add-relative, face-remap-set-base)
2384         (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
2385         Doc fixes (Bug#11225).
2387 2012-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>
2389         * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
2390         a function if there's a clear indication that it has a compiler-macro.
2391         * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
2392         (macro-declarations-alist): Add arglist to declaration functions.
2393         (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
2394         * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
2395         * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
2396         * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
2397         Also add autoload to find the compiler macro.
2398         * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
2399         (cl--compiler-macro-member, cl--compiler-macro-assoc)
2400         (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
2401         (cl--compiler-macro-get): New functions, replacing calls to
2402         cl-define-compiler-macro.
2403         (cl-typep) [compiler-macro]: Use macroexp-let².
2405 2012-06-08  Nick Dokos  <nicholas.dokos@hp.com>  (tiny change)
2407         * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
2408         string properly, fixes Bug#11473.
2410 2012-06-08  Chong Yidong  <cyd@gnu.org>
2412         * faces.el (set-face-attribute): Doc fix.
2413         (modify-face): Don't use :bold and :italic.
2414         (error, warning, success): Tweak definitions.
2416         * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
2417         (custom-modified, custom-set, custom-changed, custom-themed)
2418         (custom-saved, custom-button, custom-button-mouse)
2419         (custom-button-pressed, custom-state, custom-comment-tag)
2420         (custom-variable-tag, custom-group-tag-1, custom-group-tag)
2421         (custom-group-subtitle): Use new-style face specs.
2422         (custom-invalid-face, custom-rogue-face, custom-modified-face)
2423         (custom-set-face, custom-changed-face, custom-saved-face)
2424         (custom-button-face, custom-button-pressed-face)
2425         (custom-documentation-face, custom-state-face)
2426         (custom-comment-face, custom-comment-tag-face)
2427         (custom-variable-tag-face, custom-variable-button-face)
2428         (custom-face-tag-face, custom-group-tag-face-1)
2429         (custom-group-tag-face): Remove obsolete face alias.
2431         * epa.el (epa-validity-high, epa-validity-medium)
2432         (epa-validity-low, epa-mark, epa-field-name, epa-string)
2433         (epa-field-name, epa-field-body):
2434         * font-lock.el (font-lock-comment-face, font-lock-string-face)
2435         (font-lock-keyword-face, font-lock-builtin-face)
2436         (font-lock-function-name-face, font-lock-variable-name-face)
2437         (font-lock-type-face, font-lock-constant-face):
2438         * ido.el (ido-first-match, ido-only-match, ido-subdir)
2439         (ido-virtual, ido-indicator, ido-incomplete-regexp):
2440         * speedbar.el (speedbar-button-face, speedbar-file-face)
2441         (speedbar-directory-face, speedbar-tag-face)
2442         (speedbar-selected-face, speedbar-highlight-face)
2443         (speedbar-separator-face):
2444         * whitespace.el (whitespace-newline, whitespace-space)
2445         (whitespace-hspace, whitespace-tab, whitespace-trailing)
2446         (whitespace-line, whitespace-space-before-tab)
2447         (whitespace-space-after-tab, whitespace-indentation)
2448         (whitespace-empty):
2449         * emulation/cua-base.el (cua-global-mark):
2450         * eshell/em-prompt.el (eshell-prompt):
2451         * net/newst-plainview.el (newsticker-new-item-face)
2452         (newsticker-old-item-face, newsticker-immortal-item-face)
2453         (newsticker-obsolete-item-face, newsticker-date-face)
2454         (newsticker-statistics-face, newsticker-default-face):
2455         * net/newst-reader.el (newsticker-feed-face)
2456         (newsticker-extra-face, newsticker-enclosure-face):
2457         * net/newst-treeview.el (newsticker-treeview-face)
2458         (newsticker-treeview-new-face, newsticker-treeview-old-face)
2459         (newsticker-treeview-immortal-face)
2460         (newsticker-treeview-obsolete-face)
2461         (newsticker-treeview-selection-face):
2462         * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
2463         (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
2464         (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
2465         (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
2466         * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
2467         (nxml-outline-active-indicator, nxml-outline-ellipsis):
2468         * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
2469         (mpuz-text):
2470         * progmodes/vera-mode.el (vera-font-lock-number)
2471         (vera-font-lock-function, vera-font-lock-interface):
2472         * textmodes/table.el (table-cell): Use new-style face specs, and
2473         don't use the old :bold and :italic attributes.
2475         * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
2476         (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
2477         (ebrowse-member-class, ebrowse-progress): Likewise.
2478         (ebrowse-tree-mark-face, ebrowse-root-class-face)
2479         (ebrowse-file-name-face, ebrowse-default-face)
2480         (ebrowse-member-attribute-face, ebrowse-member-class-face)
2481         (ebrowse-progress-face): Remove obsolete faces.
2483         * progmodes/flymake.el (flymake-errline, flymake-warnline):
2484         Inherit from error and warning faces respectively.
2486         * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
2487         Likewise.
2488         (flyspell-incorrect-face, flyspell-duplicate-face):
2489         Remove obsolete aliases.
2491 2012-06-08  Michael Albinus  <michael.albinus@gmx.de>
2493         * net/tramp-compat.el (tramp-compat-temporary-file-directory):
2494         Avoid infloop.
2496 2012-06-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2498         * startup.el (argv, argi): Make lexically scoped.
2499         * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
2500         * emacs-lisp/cl-macs.el: Use lexical-binding.
2501         Rename cl-bind-* to cl--bind-*.
2502         * files.el: Don't require `cl' since it doesn't use it.
2503         * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
2505 2012-06-08  Juanma Barranquero  <lekktu@gmail.com>
2507         * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
2508         (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
2509         instead of calling external sort utility.
2510         (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
2512 2012-06-08  Eli Zaretskii  <eliz@gnu.org>
2514         * descr-text.el (describe-char): Mention how to insert the
2515         character, if the current input method doesn't support it.
2516         See the discussion in this thread for the details:
2517         http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
2519 2012-06-08  Sam Steingold  <sds@gnu.org>
2521         * bindings.el (global-map): Bind XF86Forward to next-buffer and
2522         XF86Back to previous-buffer.
2523         (minibuffer-local-map): Bind them to next-history-element and
2524         previous-history-element respectively.
2525         * help-mode.el (help-mode-map): Bind them to help-go-forward and
2526         help-go-back respectively.
2527         * info.el (Info-mode-map): Bind them to Info-history-forward and
2528         Info-history-back respectively.
2529         These are the keys next to Up on the ThinkPad keyboard.
2531 2012-06-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2533         Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
2534         * emacs-lisp/cl-macs.el: Provide itself.
2535         (cl--labels-convert-cache): New var.
2536         (cl--labels-convert): New function.
2537         (cl-flet, cl-labels): New implementation with new semantics, relying on
2538         lexical-binding.
2539         * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
2540         (cl-closure-vars, cl--function-convert-cache)
2541         (cl--function-convert): Move from cl-macs.el.
2542         (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
2543         rename by removing the "cl-" prefix.
2544         * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
2546 2012-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
2548         * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
2549         (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
2550         (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
2551         (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
2552         (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
2553         (cl-hash-table-count): Add old compatibility aliases.
2555         * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
2556         Use macroexpand-all-environment instead.
2557         (cl--old-macroexpand): New var.
2558         (cl--sm-macroexpand): New function.
2559         (cl-symbol-macrolet): Use it during macro expansion.
2560         (cl--function-convert-cache): New var.
2561         (cl--function-convert): New function, extracted from
2562         cl-macroexpand-all.
2563         (cl-lexical-let): Use it.
2565         * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
2566         (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
2567         (cl-member): Remove old alias.
2569         * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
2570         (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
2571         (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
2572         (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
2573         (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
2574         (cl-macroexpand-cmacs): Remove var.
2575         (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
2576         Use macroexpand-all instead.
2578 2012-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
2580         * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
2581         (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
2582         (macroexp-copyable-p): New functions and macros.
2583         * emacs-lisp/edebug.el (edebug-unwrap):
2584         * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
2585         * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
2586         (pcase--let*): Remove.
2587         * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
2588         (byte-compile-constp): Remove.  Use macroexp--const-symbol-p and
2589         macroexp-const-p instead.
2590         * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
2592         * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
2593         instead of "cl-" for internal definitions.  Use macroexp-const-p.
2594         (cl-old-bc-file-form): Remove var.
2595         (cl-const-exprs-p): Remove fun.
2596         (cl-labels, cl-macrolet): Use backquote.
2597         (cl-lexical-let): Use cl-symbol-macrolet.  Don't use cl-defun-expander.
2598         (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
2599         (cl-define-setf-expander): Rename from cl-define-setf-method.
2600         * emacs-lisp/cl.el: Adjust alias for define-setf-method.
2602         * international/mule-cmds.el: Don't require CL.
2603         (view-hello-file): Don't use `letf'.
2605 2012-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
2607         * tmm.el (tmm-prompt): Use string-prefix-p.
2608         (tmm-completion-delete-prompt): Don't affect current-buffer outside.
2609         (tmm-add-prompt): Use minibuffer-completion-help.
2610         (tmm-delete-map): Remove.
2612         * subr.el (kbd): Make it its own function.
2614 2012-06-07  Stefan Merten  <smerten@oekonux.de>
2616         * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
2617         Silence compiler warnings.  Fix versions.
2618         (rst-position-if, rst-position, rst-some, rst-signum): New functions.
2619         (rst-shift-region, rst-adornment-level, rst-compute-tabs)
2620         (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
2621         (rst-package-emacs-version-alist): Correct Emacs version to
2622         represent major merge with upstream.
2623         (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
2625 2012-06-06  Glenn Morris  <rgm@gnu.org>
2627         * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
2628         Only print environment variables if set.
2630 2012-06-06  Stefan Monnier  <monnier@iro.umontreal.ca>
2632         * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
2633         (macroexp--cons): Rename from maybe-cons.
2634         (macroexp--accumulate): Rename from macroexp-accumulate.
2635         (macroexp--all-forms): Rename from macroexpand-all-forms.
2636         (macroexp--all-clauses): Rename from macroexpand-all-clauses.
2637         (macroexp--expand-all): Rename from macroexpand-all-1.
2639 2012-06-06  Sam Steingold  <sds@gnu.org>
2641         * calendar/calendar.el (calendar-in-read-only-buffer):
2642         Call `special-mode' to enable the standard read-only keybindings.
2644 2012-06-06  Stefan Monnier  <monnier@iro.umontreal.ca>
2646         * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
2647         with "loading" messages (bug#11635).
2649 2012-06-06  Michael Albinus  <michael.albinus@gmx.de>
2651         * files.el (enable-remote-dir-locals): New option.
2652         (hack-dir-local-variables): Use it.  (Bug#1933, Bug#6731)
2654         * net/tramp-compat.el (tramp-compat-temporary-file-directory):
2655         Ensure, that the temp directory is local.
2657         * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
2658         `temporary-file-directory'.
2660         * progmodes/python.el (python-send-region): Ensure, that the
2661         temporary file is created also in the remote case.
2663 2012-06-06  Glenn Morris  <rgm@gnu.org>
2665         * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
2666         (vc-rcs-update-changelog): Use it.
2668         * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
2670         * vc/vc-sccs.el (vc-sccs-write-revision): New function.
2671         (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
2672         (vc-sccs-diff): Replace use of the external vcdiff script.
2674 2012-06-05  Glenn Morris  <rgm@gnu.org>
2676         * ledit.el: Move to obsolete/.
2678 2012-06-05  Sam Steingold  <sds@gnu.org>
2680         * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
2681         patch (Bug#11140).
2683 2012-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
2685         * emacs-lisp/cust-print.el: Move to obsolete.
2687         * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
2688         compiler-macro expansion.
2690         Add native compiler-macro support.
2691         * emacs-lisp/macroexp.el (macroexpand-all-1):
2692         Support compiler-macros directly.  Properly follow aliases and apply
2693         the compiler macros more thoroughly.
2694         * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
2695         macroexpand now properly follows aliases.
2696         * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
2697         (cl-compiler-macroexpand): Use new prop.
2698         * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
2700         * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
2702 2012-06-05  Martin Rudalics  <rudalics@gmx.at>
2704         * window.el (get-lru-window, get-mru-window, get-largest-window):
2705         New argument NOT-SELECTED to avoid picking the selected window.
2706         (window--display-buffer-1, window--display-buffer-2): Replace by
2707         new function window--display-buffer
2708         (display-buffer-same-window, display-buffer-reuse-window)
2709         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
2710         Use window--display-buffer.
2711         (display-buffer-use-some-window): Remove temporary dedication
2712         hack by calling get-lru-window and get-largest-window with
2713         NOT-SELECTED argument non-nil.  Call window--display-buffer.
2715 2012-06-05  Glenn Morris  <rgm@gnu.org>
2717         * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
2718         Replace external vcdiff script.
2720 2012-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
2722         * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
2724 2012-06-04  Chong Yidong  <cyd@gnu.org>
2726         * image.el (imagemagick-types-inhibit): Revert last change.
2727         Add INFO and M.
2728         (imagemagick-enabled-types): Remove CIN and EPS*.
2730 2012-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
2732         * emacs-lisp/cl-lib.el: Rename from cl.el.
2733         * emacs-lisp/cl.el: New compatibility file.
2734         * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
2735         * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
2736         to obey the "cl-" prefix.
2737         * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
2739 2012-06-03  Glenn Morris  <rgm@gnu.org>
2741         * emacs-lisp/authors.el (authors-aliases): Addition.
2743         * cus-start.el (tool-bar-style, tool-bar-max-label-size):
2744         Fix :version.
2746 2012-06-03  Stefan Merten  <smerten@oekonux.de>
2748         * textmodes/rst.el: Add comments.
2749         (rst-transition, rst-adornment): New faces.
2750         (rst-adornment-faces-alist): Make default safe to reevaluate.
2751         Fixes
2752         http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
2753         Improve customization tags.
2754         (rst-define-level-faces): Clarify meaning.
2756 2012-06-03  Chong Yidong  <cyd@gnu.org>
2758         * progmodes/compile.el (compilation-mode-line-fail)
2759         (compilation-mode-line-run, compilation-mode-line-exit):
2760         New faces.
2761         (compilation-start, compilation-handle-exit): Use them (Bug#11032).
2763 2012-06-03  Jack Duthen  <duthen.mac.01@gmail.com>  (tiny change)
2765         * progmodes/which-func.el (which-func-update-ediff-windows):
2766         New function.  Use it in ediff-select-hook (Bug#11478).
2768 2012-06-03  Chong Yidong  <cyd@gnu.org>
2770         * bindings.el: Remove explicit help text from format-mode-line.
2771         It is now supplied by mode-line-default-help-echo.
2772         (mode-line-front-space, mode-line-end-spaces)
2773         (mode-line-misc-info): New variables.
2774         (mode-line-modes, mode-line-position): Move the default value to
2775         the variable definition.
2776         (mode-line-default-help-echo): New defcustom.
2777         (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
2778         (mode-line-modified-help-echo): New functions.
2779         (mode-line-mule-info, mode-line-modified): Use them.
2780         (mode-line-eol-desc, propertized-buffer-identification):
2781         Consistency fixes for help text.
2782         (mode-line-coding-system-map): Allow using mouse-3 to invoke
2783         set-buffer-file-coding-system (Bug#289).
2784         (mode-line-mule-info-help-echo): Update help text.
2786 2012-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
2788         * simple.el (execute-extended-command): Set real-this-command
2789         (bug#11506).
2791 2012-06-02  Chong Yidong  <cyd@gnu.org>
2793         Remove incorrect uses of "modeline" in comments, docstrings, and
2794         function/variable names (Bug#10329).
2796         * cus-edit.el (mode-line):
2797         * dframe.el (dframe-mouse-hscroll):
2798         * emacs-lisp/re-builder.el:
2799         * emacs-lisp/easy-mmode.el (define-minor-mode):
2800         * frame.el (set-frame-name):
2801         * help.el (lookup-minor-mode-from-indicator):
2802         * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
2803         * progmodes/cc-cmds.el (c-toggle-auto-newline)
2804         (c-toggle-hungry-state):
2805         * progmodes/antlr-mode.el (antlr-language-alist):
2806         * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
2807         * progmodes/vhdl-mode.el (vhdl-mode):
2808         * progmodes/which-func.el (which-func, which-func-cleanup-function):
2809         * term/ns-win.el (ns-face-at-pos):
2810         * term/sup-mouse.el (sup-mouse-report):
2811         * textmodes/flyspell.el (flyspell-mode-line-string):
2812         * textmodes/ispell.el (ispell-highlight-face):
2813         * textmodes/reftex-global.el:
2814         * vc/vc-arch.el (vc-arch-mode-line-string):
2815         * vc/vc-cvs.el (vc-cvs-mode-line-string):
2816         * vc/vc-git.el (vc-git-mode-line-string):
2817         * vc/vc-hooks.el (vc-display-status)
2818         (vc-default-mode-line-string):
2819         * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
2821         * ansi-color.el (ansi-color-faces-vector): Change default faces.
2823         * dired.el (dired-sort-set-mode-line): Rename from
2824         dired-sort-set-modeline.  All callers changed.
2826         * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
2827         eshell-status-in-modeline.
2829         * foldout.el (foldout-mode-line-string): Rename from
2830         foldout-modeline-string.  All callers changed.
2831         (foldout-update-mode-line): Rename from foldout-update-modeline.
2833         * subr.el (redraw-modeline): Make into obsolete alias.
2835         * calendar/timeclock.el (timeclock-mode-line-display): Rename from
2836         timeclock-modeline-display.  Make old name an alias.
2837         (timeclock-update-mode-line): Likewise.  All callers changed.
2838         (timeclock-mode-line-display): No need to check before using
2839         add-hook.
2840         (timeclock-relative, timeclock-day-over-hook)
2841         (timeclock-use-elapsed, timeclock-mode-string)
2842         (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
2844         * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
2845         crisp-mode-modeline-string.
2847         * play/solitaire.el (solitaire-build-mode-line): Rename from
2848         solitaire-build-modeline.  All callers changed.
2850         * play/zone.el (zone-hiding-mode-line): Rename from
2851         zone-hiding-modeline.  All callers changed.
2852         (zone): Remove unusued `modeline-hidden-level' property.
2854         * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
2855         xscheme-modeline-initialize.  All callers changed.
2857         * strokes.el (strokes-lighter): Rename from
2858         strokes-modeline-string.
2860         * textmodes/sgml-mode.el (html-face-tag-alist)
2861         (html-tag-face-alist): Use mode-line face instead of obsolete
2862         alias modeline.
2864 2012-06-02  Stefan Merten  <smerten@oekonux.de>
2866         * textmodes/rst.el: Always require `cl'.
2867         (rst-mode-map): Fix meaning of C-M-a / C-M-e.
2869 2012-06-02  Chong Yidong  <cyd@gnu.org>
2871         * image.el (imagemagick-enabled-types): Rename from
2872         imagemagick-types-enable.  Add many more types.
2873         (imagemagick-types-inhibit): Change default to nil.
2874         (imagemagick-filter-types): Caller changed.
2876 2012-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
2878         * emacs-lisp/cl-macs.el: Use backquotes.
2879         (cl-transform-function-property): Use eval-and-compile rather than
2880         abusing `require'.
2881         (defstruct): Use declare-function instead of with-no-warnings.
2883         * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
2884         (byte-compile-output-docform): Re-add the print-circle bindings.
2885         (byte-compile-fix-header): Use #$ just because it's shorter.
2886         (byte-compile-output-file-form): Remove defun/defmacro.
2888 2012-06-01  Martin Rudalics  <rudalics@gmx.at>
2890         * simple.el (choose-completion): Remove now obsolete binding for
2891         owindow.
2893 2012-06-01  Michael Albinus  <michael.albinus@gmx.de>
2895         * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
2896         in order to avoid "Stack overflow in regexp matcher".
2898 2012-05-31  Glenn Morris  <rgm@gnu.org>
2900         * image.el: For clarity, call imagemagick-register-types at
2901         top-level, rather than relying on a custom :initialize.
2902         (imagemagick-types-enable): New option.  (Bug#11557)
2903         (imagemagick-filter-types): New function.  (Bug#7406)
2904         (imagemagick-register-types): Use imagemagick-filter-types.
2905         If disabling support, remove elements altogether rather
2906         than using an impossible regexp.
2907         (imagemagick-types-inhibit): Give it the default init function.
2909 2012-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
2911         * emacs-lisp/bytecomp.el (byte-compile-fix-header):
2912         Handle arbitrary file name lengths (Bug#11585).
2914 2012-05-31  Martin Rudalics  <rudalics@gmx.at>
2916         * desktop.el (desktop-read): Clear previous and next buffers for
2917         all windows and bury *Messages* buffer (bug#11556).
2919 2012-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
2921         Add `declare' for `defun'.  Align `defmacro's with it.
2922         * emacs-lisp/easy-mmode.el (define-minor-mode)
2923         (define-globalized-minor-mode): Don't autoload the var definitions.
2924         * emacs-lisp/byte-run.el: Use lexical-binding.
2925         (defun-declarations-alist, macro-declarations-alist): New vars.
2926         (defmacro, defun): Use them.
2927         (make-obsolete, define-obsolete-function-alias)
2928         (make-obsolete-variable, define-obsolete-variable-alias):
2929         Use `declare'.
2930         (macro-declaration-function): Mark obsolete.
2931         * emacs-lisp/autoload.el: Use lexical-binding.
2932         (make-autoload): Add `expansion' arg.  Rely more on macro expansion.
2934 2012-05-30  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
2936         * textmodes/ispell.el (ispell-with-no-warnings):
2937         Define as a macro.
2938         (ispell-kill-ispell, ispell-change-dictionary):
2939         Use `called-interactively-p' for Emacs instead of obsolete
2940         `interactive-p'.
2942 2012-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
2944         * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
2945         (macro-declaration-function): Move var from C code.
2946         (macro-declaration-function): Define function with defalias.
2947         * emacs-lisp/macroexp.el (macroexpand-all-1):
2948         * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
2949         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
2950         defun/defmacro any more.
2951         * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
2952         Provide fallback for unknown arglist.
2953         (byte-compile-arglist-warn): Change calling convention.
2954         (byte-compile-output-file-form): Move print-vars binding.
2955         (byte-compile-output-docform): Simplify accordingly.
2956         (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
2957         (byte-compile-defmacro-declaration): Remove.
2958         (byte-compile-file-form-defmumble): Generalize to defalias.
2959         (byte-compile-output-as-comment): Return byte-positions.
2960         Simplify callers accordingly.
2961         (byte-compile-lambda): Use `assert'.
2962         (byte-compile-defun, byte-compile-defmacro): Remove.
2963         (byte-compile-file-form-defalias):
2964         Use byte-compile-file-form-defmumble.
2965         (byte-compile-defalias-warn): Remove.
2967 2012-05-29  Stefan Merten  <smerten@oekonux.de>
2969         * textmodes/rst.el: Silence `checkdoc-ispell' errors where
2970         possible.  Fix authors.  Improve comments.  Improve loading of `cl'.
2972         (rst-mode-abbrev-table): Merge definition.
2973         (rst-mode): Make sure `font-lock-defaults' is buffer local.
2974         (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
2976 2012-05-29  Ulf Jasper  <ulf.jasper@web.de>
2978         * calendar/icalendar.el
2979         (icalendar-export-region): Export UID properly.
2981 2012-05-29  Leo Liu  <sdl.web@gmail.com>
2982         * calendar/icalendar.el (icalendar-import-format):
2983         Add `icalendar-import-format-uid' (Bug#11525).
2984         (icalendar-import-format-uid): New.
2985         (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
2986         Export UID.
2988 2012-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>
2990         * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
2991         different alternative patterns.
2992         (pcase-codegen): Be more careful to preserve identity.
2993         (pcase--u1): Don't forget to mark vars as used.
2995         * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
2996         (byte-compile-close-variables): Bind byte-compile--outbuffer here...
2997         (byte-compile-from-buffer): ...rather than here.
2999         * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
3000         functions from byte-compile-function-environment.
3002 2012-05-29  Troels Nielsen  <bn.troels@gmail.com>
3004         * window.el (window-deletable-p): Avoid deleting the root window
3005         of a frame with an active minibuffer.
3007 2012-05-29  Martin Rudalics  <rudalics@gmx.at>
3009         * simple.el (choose-completion): Use quit-window (Bug#11567).
3011 2012-05-29  Chong Yidong  <cyd@gnu.org>
3013         * whitespace.el (whitespace-cleanup): Fix usage of
3014         whitespace-empty-at-bob-regexp (Bug#11492).
3016 2012-05-29  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
3018         * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
3019         revert (Bug#11488).
3021 2012-05-29  Juri Linkov  <juri@jurta.org>
3023         * isearch.el (isearch-mode-map): Bind `M-s _' to
3024         `isearch-toggle-symbol'.  Bind `M-s c' to
3025         `isearch-toggle-case-fold'.
3026         (search-map): Bind `M-s _' to `isearch-forward-symbol'.
3027         (isearch-forward): Add `M-s _' to the docstring.
3028         (isearch-forward-symbol, isearch-toggle-case-fold)
3029         (isearch-symbol-regexp): New functions.  (Bug#11381)
3031 2012-05-29  Juri Linkov  <juri@jurta.org>
3033         * isearch.el (isearch-word): Add docstring.  (Bug#11381)
3034         (isearch-occur, isearch-search-and-update): If `isearch-word' is
3035         a function, call it to get the regexp.
3036         (isearch-message-prefix): If `isearch-word' holds a symbol, use its
3037         property `isearch-message-prefix' instead of the string "word ".
3038         (isearch-search-fun-default): For the case of `isearch-word',
3039         return a lambda that calls re-search-forward/re-search-backward
3040         with a regexp returned by `word-search-regexp' or by the function
3041         in `isearch-word'.
3043 2012-05-29  Juri Linkov  <juri@jurta.org>
3045         * isearch.el (isearch-search-fun-default): New function.
3046         (isearch-search-fun): Move default part to the new function
3047         `isearch-search-fun-default'.
3048         (isearch-search-fun-function): Set the default value to
3049         `isearch-search-fun-default'.  (Bug#11381)
3051         * comint.el (comint-history-isearch-end):
3052         Use `isearch-search-fun-default'.
3053         (comint-history-isearch-search): Use `isearch-search-fun-default'
3054         and remove spacial case for `isearch-word'.
3055         (comint-history-isearch-wrap): Remove spacial case for
3056         `isearch-word'.
3058         * hexl.el (hexl-isearch-search-function):
3059         Use `isearch-search-fun-default'.
3061         * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
3062         Use `word-search-regexp' for `isearch-word'.
3064         * misearch.el (multi-isearch-search-fun):
3065         Use `isearch-search-fun-default'.
3067         * simple.el (minibuffer-history-isearch-search):
3068         Use `isearch-search-fun-default' and remove spacial case for
3069         `isearch-word'.
3070         (minibuffer-history-isearch-wrap): Remove spacial case for
3071         `isearch-word'.
3073         * textmodes/reftex-global.el (reftex-isearch-wrap-function):
3074         Remove spacial case for `isearch-word'.
3075         (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
3077 2012-05-28  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
3079         Decrease XEmacs incompatibilities.
3080         * textmodes/flyspell.el (flyspell-check-pre-word-p):
3081         Use `string-match'.
3082         (flyspell-delete-region-overlays): Use alternative definition for
3083         XEmacs.
3084         (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
3085         (flyspell-word): Use `process-kill-without-query' if XEmacs.
3086         (flyspell-mode-on): Use `interactive-p' if XEmacs.
3087         (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
3088         `define-obsolete-face-alias' under XEmacs, but old method.
3090         * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
3091         `with-no-warnings' definition or Emacs alias.
3092         (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
3093         (ispell-word): Do not use `region-p' if XEmacs.
3095 2012-05-28  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
3097         * textmodes/ispell.el (ispell-find-aspell-dictionaries):
3098         Check for `ispell-dictionary-base-alist' instead of full
3099         `ispell-dictionary-alist'.
3100         (ispell-init-process): Show spellchecker when starting new Ispell
3101         process.
3103 2012-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
3105         * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
3106         http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
3108 2012-05-27  Juanma Barranquero  <lekktu@gmail.com>
3110         * version.el (motif-version-string, gtk-version-string)
3111         (ns-version-string): Declare.
3113 2012-05-27  Juri Linkov  <juri@jurta.org>
3115         * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
3116         after the `eval-defun-1' specialcaseing
3117         like in `edebug-eval-defun' (bug#10181).
3119         * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
3120         like in `eval-defun-1'.
3122 2012-05-27  Eli Zaretskii  <eliz@gnu.org>
3124         * mail/sendmail.el (mail-yank-region):
3125         Recognize rmail-yank-current-message in addition to insert-buffer.
3126         Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
3127         a *mail* buffer created through rmail-start-mail with sendmail as
3128         mail-user-agent.
3130 2012-05-27  Chong Yidong  <cyd@gnu.org>
3132         * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
3133         Default to 256 (Bug#11267).
3135         * help.el (describe-mode): Doc fix.
3137 2012-05-26  Glenn Morris  <rgm@gnu.org>
3139         * w32-fns.el (w32-init-info): Remove.
3140         * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
3142         * info.el (info-initialize): For self-contained NS builds, put the
3143         included info/ directory at the front.  (Bug#2791)
3145         * paths.el (Info-default-directory-list): Make it a defcustom,
3146         mainly so that we can use custom-initialize-delay.
3148 2012-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
3150         * subr.el (buffer-has-markers-at): Mark obsolete.
3152         * subr.el (lambda): Use declare.
3154         * emacs-lisp/lisp-mode.el (lambda):
3155         * emacs-lisp/edebug.el (lambda): Move properties to its definition.
3157 2012-05-26  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
3159         * thingatpt.el (forward-same-syntax): Handle no ARG case.  (Bug#11560)
3161 2012-05-26  Glenn Morris  <rgm@gnu.org>
3163         * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
3165 2012-05-25  Glenn Morris  <rgm@gnu.org>
3167         * paths.el: Remove no-byte-compile.
3168         * loadup.el: No need to load paths.el uncompiled.
3170         * image.el (imagemagick-types-inhibit): Doc fix.
3172         * version.el: Remove no-byte-compile and associated formatting.
3173         * loadup.el: No need to load version.el uncompiled.  AFAICS, this
3174         is ancient code from when there was an "inc-vers.el".
3176 2012-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
3178         * progmodes/gdb-mi.el: Minor style changes.
3179         (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
3180         Turn into minor modes.
3181         (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
3182         (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
3183         (gdb-shell): Remove unneeded let-binding.
3184         (gdb-get-many-fields): Eliminate O(n²) behavior.
3186 2012-05-25  Eli Zaretskii  <eliz@gnu.org>
3188         * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
3189         platforms that don't link in fontset.c.
3191 2012-05-25  Juri Linkov  <juri@jurta.org>
3193         Use the same diff color scheme as in modern VCSes (bug#10181).
3195         * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
3196         to avoid confusion with `diff-added' that now uses green colors.
3197         (diff-removed): Use shades of red.
3198         (diff-added): Use shades of green.
3199         (diff-changed): Leave just the yellow color.
3200         (diff-use-changed-face): New variable.
3201         (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
3202         how to highlight context diff changes.
3203         (diff-refine-change): Use shades of yellow.
3204         (diff-refine-removed): New face that uses shades of red.
3205         (diff-refine-added): New face that uses shades of green.
3206         (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
3207         `diff-refine-removed' in the call to `smerge-refine-subst'
3208         depending on the value of `diff-use-changed-face'.
3210         * vc/smerge-mode.el (smerge-mine): Use shades of red.
3211         (smerge-other): Use shades of green.
3212         (smerge-base): Use shades of yellow.
3213         (smerge-refined-change): Empty face.
3214         (smerge-refined-removed): New face that uses shades of red.
3215         (smerge-refined-added): New face that uses shades of green.
3216         (smerge-refine-subst): Rename arg `props' to `props-c'.  Add new
3217         args `props-r' and `props-a', and use them.  Doc fix.
3218         (smerge-refine): Evaluate `smerge-use-changed-face' and depending
3219         on its value use different faces `smerge-refined-change',
3220         `smerge-refined-removed', `smerge-refined-added' in the call to
3221         `smerge-refine-subst'.
3223         * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
3224         Add face condition `min-colors 88' with shades of red.
3225         (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
3226         `min-colors 88' with shades of green.
3227         (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
3228         `min-colors 88' with shades of yellow.
3230 2012-05-24  Glenn Morris  <rgm@gnu.org>
3232         * paths.el (prune-directory-list, remote-shell-program): Move to...
3233         * files.el (prune-directory-list, remote-shell-program): ...here.
3234         For the latter, delay initialization, prefer ssh, just search PATH.
3236         * paths.el (term-file-prefix): Move to faces.el (the only user).
3237         * faces.el (term-file-prefix): Move here, make it a defcustom.
3239         * paths.el (news-directory, news-path, news-inews-program):
3240         Move to gnus/nnspool.el.
3242         * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
3244         * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
3245         * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
3246         Make the latter a defcustom, with a delayed initialization.
3248         * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
3249         These were deleted from Gnus itself late 2010.
3251 2012-05-22  Juanma Barranquero  <lekktu@gmail.com>
3253         * progmodes/which-func.el (which-func-ff-hook):
3254         Check against user-error, not error.
3256         * emacs-lisp/edebug.el (top): Do not load or set up loading of
3257         cl-specs.el, which no longer exists.
3259 2012-05-22  Glenn Morris  <rgm@gnu.org>
3261         * info.el (info-emacs-bug): New command.
3262         * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
3263         * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
3265 2012-05-21  Glenn Morris  <rgm@gnu.org>
3267         * makefile.w32-in (update-subdirs-SH):
3268         * Makefile.in (update-subdirs): Update for moved update-subdirs.
3270 2012-05-21  Stefan Monnier  <monnier@iro.umontreal.ca>
3272         * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
3274         * progmodes/compile.el (compilation-error-regexp-alist-alist):
3275         Simplify Maven regexp, and make sure the file can't start with a space
3276         (bug#11517).
3278 2012-05-21  Glenn Morris  <rgm@gnu.org>
3280         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
3281         Scrap superfluous subshells.
3283 2012-05-19  Stefan Monnier  <monnier@iro.umontreal.ca>
3285         * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
3286         (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
3288 2012-05-19  Jay Belanger  <jay.p.belanger@gmail.com>
3290         * calc/calc.el (calc-ensure-consistent-units): New variable.
3292         * calc/calc-units.el (math-consistent-units-p)
3293         (math-check-unit-consistency): New functions.
3294         (calc-quick-units, calc-convert-units):
3295         Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
3296         is non-nil.
3297         (calc-extract-units): Fix typo.
3299 2012-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3301         * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
3303         * textmodes/flyspell.el: Commenting style, plus code simplifications.
3304         (flyspell-default-deplacement-commands): Don't spell check after
3305         repeated window/frame switches (e.g. triggered by mouse-movement).
3306         (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
3307         (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
3308         (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
3309         (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
3310         Remove unused vars.
3311         (flyspell-get-casechars, flyspell-get-not-casechars):
3312         Simplify; Don't bother removing a ] just to add it back.
3313         * textmodes/ispell.el (ispell-program-name): Use executable-find.
3315 2012-05-18  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
3317         * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
3318         New functions.
3319         (math-function-table): Add support for more C functions.
3321 2012-05-18  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
3323         * textmodes/flyspell.el (flyspell-check-pre-word-p)
3324         (flyspell-check-word-p, flyspell-debug-signal-word-checked):
3325         Protect delay handling for otherchars against empty otherchars.
3327 2012-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3329         * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
3330         their respective macro declarations.
3331         * skeleton.el (define-skeleton):
3332         * progmodes/compile.el (define-compilation-mode):
3333         * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
3334         (define-ibuffer-filter):
3335         * emacs-lisp/generic.el (define-generic-mode):
3336         * emacs-lisp/easy-mmode.el (define-minor-mode)
3337         (define-globalized-minor-mode):
3338         * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
3339         * emacs-lisp/byte-run.el (defsubst):
3340         * custom.el (deftheme): Add doc-string metadata.
3342 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
3344         * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
3346 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
3348         * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
3350         * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
3351         * emacs-lisp/cl-macs.el: Idem.
3352         * emacs-lisp/cl-specs.el: Remove.
3354 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
3356         Minor renaming of internal CL functions and variables.
3357         * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
3358         (cl--position): Rename from cl-position.
3359         (cl--delete-duplicates): Rename from cl-delete-duplicates.
3360         * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
3361         (cl--random-state): Rename from *random-state*.
3363 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
3365         * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
3366         parens around the arg list (bug#11499).
3368 2012-05-17  Juri Linkov  <juri@jurta.org>
3370         * isearch.el (word-search-regexp, word-search-backward)
3371         (word-search-forward, word-search-backward-lax)
3372         (word-search-forward-lax): Move functions from search.c
3373         (bug#10145, bug#11381).
3375 2012-05-16  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
3377         * textmodes/flyspell.el (flyspell-check-pre-word-p)
3378         (flyspell-check-word-p, flyspell-debug-signal-word-checked):
3379         Delay for otherchars as for normal word components.
3381 2012-05-16  Stefan Monnier  <monnier@iro.umontreal.ca>
3383         * minibuffer.el (completion--sifn-requote): Fix last change.
3384         (minibuffer-local-must-match-filename-map):
3385         Move define-obsolete-variable-alias before its var.
3387 2012-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
3389         * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
3391         * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
3392         behavior.
3393         (completion--string-equal-p): New function.
3394         (completion--twq-all): Use it to get better assertion failure data.
3396         Only handle ".." and '..' quoting in shell-mode (bug#11466).
3397         * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
3398         (shell--requote-argument): New functions.
3399         (shell-completion-vars): Use them.
3400         (shell--parse-pcomplete-arguments): Rename from
3401         shell-parse-pcomplete-arguments.
3402         * comint.el (comint-word): Obey comint-file-name-quote-list.  Simplify.
3403         (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
3404         Obey comint-file-name-quote-list.
3406         * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
3407         (smie-indent-keyword): Use it.
3409 2012-05-14  Stefan Merten  <smerten@oekonux.de>
3411         * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
3413 2012-05-14  Stefan Monnier  <monnier@iro.umontreal.ca>
3415         * net/rlogin.el (rlogin-mode-map): Fix last change.
3417 2012-05-14  Jason L. Wright  <jason.wright@inl.gov>  (tiny change)
3419         * mail/smtpmail.el (smtpmail-send-command): Send the command and
3420         the following \r\n using a single `process-send-string', since the
3421         Lotus SMTP server refuses to accept any commands if they are sent
3422         with two `process-send-string's (Bug#11444).
3424 2012-05-14  Stefan Monnier  <monnier@iro.umontreal.ca>
3426         * shell.el (shell-parse-pcomplete-arguments):
3427         Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
3429 2012-05-14  Wolfgang Jenkner  <wjenkner@inode.at>
3431         * image-mode.el: Fit to width/height for rotated images (Bug#11431).
3432         (image-transform-scale, image-transform-right-angle-fudge): New vars.
3433         (image-transform-width, image-transform-fit-width): New functions.
3434         (image-transform-properties): Use them.
3435         (image-transform-check-size): New function.
3436         (image-toggle-display-image): Use it (for testing).
3437         (image-transform-set-rotation): Reduce angle mod 360.
3438         Delete obsolete comment.
3440 2012-05-14  Wolfgang Jenkner  <wjenkner@inode.at>
3442         * image-mode.el: Fix scaling (bug#11399).
3443         (image-transform-resize): Doc fix.
3444         (image-transform-properties): Default scale is 1 and height should
3445         be an integer.
3447 2012-05-13  Johan Bockgård  <bojohan@gnu.org>
3449         * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
3450         than hard-coding `car', to fix misbehavior when moving forward.
3452 2012-05-13  Chong Yidong  <cyd@gnu.org>
3454         * emacs-lisp/tabulated-list.el (tabulated-list-format)
3455         (tabulated-list-entries, tabulated-list-padding)
3456         (tabulated-list-sort-key): Make permanent-local.
3458         * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
3459         (electric-buffer-list): Put electric buffer menu
3460         command descriptions in this docstring, instead of the docstring
3461         of electric-buffer-menu-mode.  Code cleanups.
3462         (electric-buffer-menu-mode): Use define-derived-mode.  Rename from
3463         Electric-buffer-menu-mode.
3464         (electric-buffer-update-highlight): Minor code cleanup.
3466 2012-05-13  Michael Albinus  <michael.albinus@gmx.de>
3468         * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
3469         (Bug#11447)
3471 2012-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
3473         Move define-obsolete-variable-alias before the var's definition.
3474         * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
3475         * tooltip.el (tooltip-hook):
3476         * textmodes/reftex-toc.el (reftex-toc-map):
3477         * textmodes/reftex-sel.el (reftex-select-label-map)
3478         (reftex-select-bib-map):
3479         * textmodes/reftex-index.el (reftex-index-map)
3480         (reftex-index-phrases-map):
3481         * speedbar.el (speedbar-syntax-table, speedbar-key-map):
3482         * progmodes/meta-mode.el (meta-mode-map):
3483         * novice.el (disabled-command-hook):
3484         * loadhist.el (unload-hook-features-list):
3485         * frame.el (blink-cursor):
3486         * files.el (find-file-not-found-hooks, write-file-hooks)
3487         (write-contents-hooks):
3488         * emulation/tpu-edt.el (GOLD-map):
3489         * emacs-lock.el (emacs-lock-from-exiting):
3490         * emacs-lisp/generic.el (generic-font-lock-defaults):
3491         * emacs-lisp/chart.el (chart-map):
3492         * dos-fns.el (register-name-alist):
3493         * dired-x.el (dired-omit-files-p):
3494         * desktop.el (desktop-enable):
3495         * cus-edit.el (custom-mode-hook):
3496         * buff-menu.el (buffer-menu-mode-hook):
3497         * bookmark.el (bookmark-read-annotation-text-func)
3498         (bookmark-exit-hooks):
3499         * allout.el (allout-mode-deactivate-hook)
3500         (allout-exposure-change-hook, allout-structure-added-hook)
3501         (allout-structure-deleted-hook, allout-structure-shifted-hook):
3502         * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
3503         (dirtrack-debug): Move call to define-obsolete-variable-alias so it
3504         comes before the corresponding variable's definition.
3506 2012-05-12  Chong Yidong  <cyd@gnu.org>
3508         * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
3509         (Buffer-menu-mouse-select): Restore function (Bug#11459).
3510         (Buffer-menu-mode-map): Bind it.
3511         (Buffer-menu--pretty-name): Add a mouse-face property.
3513 2012-05-11  Stefan Monnier  <monnier@iro.umontreal.ca>
3515         * progmodes/prolog.el: Use SMIE.  Cleanup regexp setup.
3516         (prolog-upper-case-string, prolog-lower-case-string)
3517         (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
3518         (prolog-use-smie, prolog-smie-grammar): New vars.
3519         (prolog-smie-forward-token, prolog-smie-backward-token)
3520         (prolog-smie-rules): New funs.
3521         (prolog-comment-indent): Remove.
3522         (prolog-mode-variables): Use default comment indentation instead.
3523         Setup SMIE.
3524         (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
3525         (prolog-mode): Don't call them any more.
3526         (prolog-electric-colon, prolog-electric-dash)
3527         (prolog-edit-menu-insert-move): Use indent-according-to-mode.
3529         * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
3531         * minibuffer.el (completion--twq-all): Again, allow case differences.
3533         * term.el: Move keymap initialization code to be more idiomatic.
3534         (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
3535         (term-terminal-menu): Move initialization into declaration.
3536         (term-escape-char): Let the user set it in her .emacs.
3538         * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
3539         Provide SMIE-based indentation (not enabled by default yet).
3540         (sh-mode-map): Don't bind electric keys.
3541         Use electric-pair-mode instead of skeleton-pair.
3542         (sh-assignment-regexp): Fit within 80 columns.
3543         (sh-indent-supported): Specify actual shell name instead of boolean.
3544         (sh--maybe-here-document): New fun, from sh-maybe-here-document.
3545         (sh-maybe-here-document): Use it.  Make obsolete.
3546         (sh-electric-here-document-mode) New minor mode.
3547         (sh-mode): Use it.  Don't set sh-indent-supported-here here.
3548         (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
3549         (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
3550         (sh-smie-rc-grammar, sh-use-smie): New vars.
3551         (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
3552         (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
3553         (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
3554         (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
3555         (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
3556         (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
3557         (sh-set-shell): Use smie-setup if requested.
3559         * term.el (term-set-escape-char): Properly set term-escape-char.
3560         See http://stackoverflow.com/questions/10524656.
3562 2012-05-10  Chong Yidong  <cyd@gnu.org>
3564         * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
3565         Use url-generic-parse-url, and handle host names and Windows
3566         filenames properly.
3567         (ffap-url-unwrap-remote): Use url-generic-parse-url.
3568         (ffap-url-unwrap-remote): Accept list values, specifying a list of
3569         URL schemes to work on.
3570         (ffap--toggle-read-only): New function.
3571         (ffap-read-only, ffap-read-only-other-window)
3572         (ffap-read-only-other-frame): Use it.
3573         (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
3574         necessary for ffap-url-unwrap-remote.
3576 2012-05-10  Dave Abrahams  <dave@boostpro.com>
3578         * cus-start.el (create-lockfiles): Add it.
3580 2012-05-09  Chong Yidong  <cyd@gnu.org>
3582         * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
3583         (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
3585 2012-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
3587         * shell.el (shell-completion-vars): Fix last change (bug#11348).
3589 2012-05-09  Chong Yidong  <cyd@gnu.org>
3591         * ansi-color.el (ansi-color-process-output): Check for validity of
3592         comint-last-output-start before using it.  This avoids a bad
3593         interaction with gdb-mi's input/output buffer.
3595 2012-05-09  Glenn Morris  <rgm@gnu.org>
3597         * files.el (dir-locals-read-from-file):
3598         Mention dir-locals in any error message.
3600 2012-05-09  Chong Yidong  <cyd@gnu.org>
3602         * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
3603         package (Bug#11410).
3605         * emacs-lisp/package.el (package-buffer-info): Avoid putting local
3606         variables into description.
3608 2012-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
3610         * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
3611         shell-delimiter-argument-list (bug#11348).
3612         (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
3614 2012-05-09  Juanma Barranquero  <lekktu@gmail.com>
3616         * textmodes/rst.el: Silence byte-compiler warnings.
3617         (rst-re-alist, rst-reset-section-caches): Move around.
3618         (rst-re): Use `characterp', not `char-valid-p'.
3619         (font-lock-beg, font-lock-end): Declare.
3621         * progmodes/idlw-shell.el (specs): Remove reference to deleted
3622         variable `idlwave-shell-activate-alt-keybindings' and simplify.
3624         * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
3626 2012-05-08  Glenn Morris  <rgm@gnu.org>
3628         * files.el (auto-mode-alist): Treat ".make" like ".mk".
3630 2012-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
3632         * vc/log-edit.el: Add GNU coding standards highlighting.
3633         (log-edit-font-lock-gnu-style)
3634         (log-edit-font-lock-gnu-keywords): New vars.
3635         (log-edit-font-lock-keywords): New fun.
3636         (log-edit-mode): Don't fold case in font-lock.
3637         (log-edit-font-lock-keywords): Do not assume case-folding.
3639         * imenu.el: Misc cleanup.  Make docstrings out of comments.
3640         Use lexical-binding.
3641         (imenu--index-alist, imenu--last-menubar-index-alist)
3642         (imenu-menubar-modified-tick): Use defvar-local.
3643         (imenu--split-menu): Remove unused var.
3644         (imenu--cleanup-seen): Declare as global.
3645         (imenu--cleanup): Use dolist.
3647         * subr.el (defvar-local): Add debug spec and doc-string position.
3649 2012-05-08  Glenn Morris  <rgm@gnu.org>
3651         * language/burmese.el, language/cham.el, language/czech.el:
3652         * language/english.el, language/georgian.el, language/greek.el:
3653         * language/japanese.el, language/khmer.el, language/korean.el:
3654         * language/lao.el, language/misc-lang.el, language/romanian.el:
3655         * language/sinhala.el, language/slovak.el, language/tai-viet.el:
3656         * language/thai.el, language/utf-8-lang.el:
3657         Remove no-byte-compile setting.
3659         * play/zone.el (zone-pgm-stress): Don't pollute kill-ring.  (Bug#11388)
3661 2012-05-08  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
3663         * progmodes/make-mode.el (makefile-browse):
3664         Remove unnecessary interactive.  (Bug#11324)
3666 2012-05-07  Glenn Morris  <rgm@gnu.org>
3668         * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
3670         * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
3672 2012-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
3674         * loadup.el: Preload newcomment.el.
3675         * newcomment.el: Move autoload-only code to toplevel.
3677         * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
3678         * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
3679         Handle new :right-align column property.
3680         (tabulated-list-print-col): Idem, plus use `display' text-property to
3681         try and preserve alignment for variable pitch fonts.
3683 2012-05-07  Chong Yidong  <cyd@gnu.org>
3685         * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
3686         (tabulated-list-use-header-line): New var.
3687         (tabulated-list-init-header): Use it.
3688         (tabulated-list-print-fake-header): New function.
3689         (tabulated-list-print): Use it.
3690         (tabulated-list-sort-button-map): Add non-header-line commands.
3691         (tabulated-list-init-header): Add column name property to basic
3692         labels as well.
3693         (tabulated-list-col-sort): Handle non-header-line button case.
3694         (tabulated-list--sort-by-column-name): Fix a corner case.
3696         * buff-menu.el (list-buffers--refresh):
3697         Handle Buffer-menu-use-header-line.
3699 2012-05-06  Chong Yidong  <cyd@gnu.org>
3701         * buff-menu.el: Convert to Tabulated List mode.
3702         (Buffer-menu-buffer+size-width): Make obsolete.
3703         (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
3704         (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
3705         (Buffer-menu-mode): Derive from tabulated-list-mode.  Move command
3706         documentation into docstring of buffer-menu.
3707         (Buffer-menu-toggle-files-only): Add an informative message.
3708         (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
3709         (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
3710         (Buffer-menu-unmark, Buffer-menu-backup-unmark)
3711         (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
3712         (Buffer-menu-execute, Buffer-menu-select)
3713         (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
3714         (Buffer-menu-bury): Use Tabulated List machinery.
3715         (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
3716         (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
3717         Delete.
3718         (list-buffers--refresh): New function.
3719         (list-buffers-noselect): Use it.
3720         (tabulated-list-entry-size->, Buffer-menu--pretty-name)
3721         (Buffer-menu--pretty-file-name): New helper functions.
3723         * loadup.el: Preload tabulated-list.
3725         * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
3726         tabulated-list-sort-column.
3727         (tabulated-list-init-header): Add the initial aligning space even
3728         if tabulated-list-padding is zero.
3730 2012-05-06  Christopher Schmidt  <christopher@ch.ristopher.com>
3732         * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
3733         whose cdr is not a cons cell correctly (bug#11038).
3735 2012-05-06  Chong Yidong  <cyd@gnu.org>
3737         * emacs-lisp/tabulated-list.el (tabulated-list-format):
3738         Accept additional plist in column descriptors.
3739         (tabulated-list-init-header): Obey it.
3740         (tabulated-list-get-entry): New function.
3741         (tabulated-list-put-tag): Use it.  Use string-width instead of
3742         length.
3743         (tabulated-list--column-number): New function.
3744         (tabulated-list-print): Use it.
3745         (tabulated-list-print-col): New function.
3746         Set `tabulated-list-column-name' property on each column's text.
3747         (tabulated-list-print-entry): Use it.
3748         (tabulated-list-delete-entry, tabulated-list-set-col):
3749         New functions.
3750         (tabulated-list-sort-column): New command (Bug#11337).
3752         * buff-menu.el (list-buffers): Move C-x C-b binding from
3753         buff-menu.el to bindings.el.
3755         * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
3756         :advertised-binding feature.
3758 2012-05-06  Troels Nielsen  <bn.troels@gmail.com>  (tiny change)
3760         * progmodes/compile.el (compilation-internal-error-properties):
3761         Calculate start position correctly when end-col is set but
3762         end-line is not (Bug#11382).
3764 2012-05-06  Wolfgang Jenkner  <wjenkner@inode.at>
3766         * man.el (Man-unindent): Use text-property-default-nonsticky to
3767         prevent untabify from inheriting face properties (Bug#11408).
3769 2012-05-05  Stefan Merten  <smerten@oekonux.de>
3771         * textmodes/rst.el: Major merge with upstream development up to
3772         Docutils SVN r7399 / rst.el V1.2.1.
3774         Clarify maintainership and authors.
3776         (rst-extract-version, rst-cvs-header, rst-cvs-rev)
3777         (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
3778         (rst-official-version, rst-official-cvs-rev, rst-version)
3779         (rst-package-emacs-version-alist): New functions and variables
3780         for version information.
3782         (rst-bullets, rst-uri-schemes, rst-adornment-chars)
3783         (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
3784         (rst-mode-syntax-table, rst-mode): New and corrected functions
3785         and variables representing reStructuredText features.
3787         (rst-re): New function for reStructuredText regexes.  Use in
3788         many places.
3790         (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
3791         (rst-mode-map): Rebind keys.
3793         (rst-mode-lazy, rst-font-lock-keywords)
3794         (rst-font-lock-extend-region)
3795         (rst-font-lock-extend-region-internal)
3796         (rst-font-lock-extend-region-extend)
3797         (rst-font-lock-find-unindented-line-limit)
3798         (rst-font-lock-find-unindented-line-match)
3799         (rst-adornment-level, rst-font-lock-adornment-level)
3800         (rst-font-lock-adornment-match)
3801         (rst-font-lock-handle-adornment-pre-match-form)
3802         (rst-font-lock-handle-adornment-matcher): Major revision of
3803         font-locking.  Integrate with other code.  Use `jit-lock-mode'.
3805         (rst-preferred-adornments, rst-adjust-hook)
3806         (rst-new-adornment-down, rst-preferred-bullets)
3807         (rst-preferred-bullets, rst-indent, rst-indent-width)
3808         (rst-indent-field, rst-indent-literal-normal)
3809         (rst-indent-literal-minimized, rst-indent-comment): Change,
3810         extend and improve customization.
3812         (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
3813         (rst-normalize-cursor-position, rst-get-decoration)
3814         (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
3815         (rst-rstrip, rst-toc-insert-find-delete-contents)
3816         (rst-shift-fill-region, rst-compute-bullet-tabs)
3817         (rst-debug-print-tabs, rst-debug-mark-found)
3818         (rst-shift-region-guts, rst-shift-region-right)
3819         (rst-shift-region-left, rst-use-char-classes)
3820         (rst-font-lock-keywords-function)
3821         (rst-font-lock-indentation-point)
3822         (rst-font-lock-find-unindented-line-begin)
3823         (rst-font-lock-find-unindented-line-end)
3824         (rst-font-lock-find-unindented-line)
3825         (rst-font-lock-adornment-point, rst-font-lock-level)
3826         (rst-adornment-level-alist): Remove functions and variables.
3828         (rst-compare-adornments, rst-get-adornment-match)
3829         (rst-suggest-new-adornment, rst-get-adornments-around)
3830         (rst-adornment-complete-p, rst-get-next-adornment)
3831         (rst-adjust-adornment, rst-display-adornments-hierarchy)
3832         (rst-straighten-adornments): Standardize function names to
3833         use "adornment" instead of "decoration".  Correct callers.
3834         Similar standardizing in many places.
3836         (rst-update-section, rst-adjust, rst-promote-region)
3837         (rst-enumerate-region, rst-bullet-list-region)
3838         (rst-repeat-last-character): Correct use of `interactive'.
3840         (rst-classify-adornment, rst-find-all-adornments)
3841         (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
3842         (rst-find-leftmost-column, rst-repeat-last-character):
3843         Refactor functions.
3845         (rst-find-title-line, rst-reset-section-caches)
3846         (rst-get-adornments-around, rst-adjust-adornment-work)
3847         (rst-arabic-to-roman, rst-roman-to-arabic)
3848         (rst-insert-list-pos, rst-insert-list-new-item)
3849         (rst-insert-list-continue, rst-insert-list, rst-forward-line):
3850         New functions.
3852         (rst-all-sections, rst-section-hierarchy)
3853         (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
3854         New variables.
3856         (rst-toc-return-wincfg, rst-toc-quit-window): Use window
3857         configuration instead of only buffer.  Change where necessary.
3859         (rst-line-tabs, rst-compute-tabs, rst-indent-line)
3860         (rst-shift-region, rst-adaptive-fill): New functions for
3861         indentation and filling.
3863         (rst-comment-line-break, rst-comment-indent)
3864         (rst-comment-insert-comment, rst-comment-region)
3865         (rst-uncomment-region): New functions for handling comments.
3867         (rst-compile): Quote shell arguments.
3869         (rst-compile-pdf-preview, rst-compile-slides-preview):
3870         Delete temporary files after use.
3872 2012-05-05  Glenn Morris  <rgm@gnu.org>
3874         * calendar/cal-html.el: Optionally include holidays in the output.
3875         Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
3876         (cal-html-holidays): New option.
3877         (cal-html-css-default): Add holiday entry.
3878         (holiday-in-range): Autoload it.
3879         (cal-html-htmlify-entry): Add optional class argument.
3880         (cal-html-htmlify-list): Add optional holidays argument.
3881         (cal-html-insert-agenda-days): Include holidays in the output.
3882         (cal-html-one-month): Maybe include holidays.
3884         * calendar/holidays.el (holiday-in-range):
3885         Move here from cal-tex-list-holidays.
3886         * calendar/cal-tex.el (cal-tex-list-holidays):
3887         Make it an obsolete alias for holiday-in-range.  Update all callers.
3889 2012-05-05  Chong Yidong  <cyd@gnu.org>
3891         * select.el (xselect--encode-string): Always use utf-8 for TEXT on
3892         Nextstep.
3894 2012-05-05  Ransom Williams  <auvergnerw@gmail.com>  (tiny change)
3896         * files.el (file-auto-mode-skip): New var.
3897         (set-auto-mode-1): Use it.
3899 2012-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
3901         * repeat.el: Use lexical-binding.
3902         (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
3903         (repeat-undo-count): Remove.
3904         (repeat):
3905         * progmodes/octave-mod.el (octave-abbrev-start):
3906         * progmodes/f90.el (f90-abbrev-start):
3907         * face-remap.el (text-scale-adjust):
3908         * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
3910         * emacs-lisp/pcase.el (pcase--let*): New function.
3911         (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
3912         a bit more.
3913         (pcase--split-pred): Be more clever about ruling out overlap between
3914         a predicate and some constant pattern.
3915         (pcase--q1): Use `null' instead of (eq foo nil).
3917         * subr.el (setq-local, defvar-local): New macros.
3918         (kbd): Redefine as an alias.
3919         (with-selected-window): Leave unrelated frames alone.
3920         (set-temporary-overlay-map): New function.
3922 2012-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
3924         * subr.el (user-error): New function.
3925         * window.el (switch-to-buffer):
3926         * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
3927         (smerge-match-conflict):
3928         * simple.el (previous-matching-history-element)
3929         (next-matching-history-element, goto-history-element, undo-more)
3930         (undo-start):
3931         * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
3932         (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
3933         (next-file, tags-loop-scan, list-tags, complete-tag):
3934         * progmodes/compile.el (compilation-loop):
3935         * mouse.el (mouse-minibuffer-check):
3936         * man.el (Man-bgproc-sentinel, Man-goto-page):
3937         * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
3938         (Info-history-forward, Info-follow-reference, Info-menu)
3939         (Info-extract-menu-item, Info-extract-menu-counting)
3940         (Info-forward-node, Info-backward-node, Info-next-menu-item)
3941         (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
3942         (Info-next-reference, Info-prev-reference, Info-index)
3943         (Info-index-next, Info-follow-nearest-node)
3944         (Info-copy-current-node-name):
3945         * imenu.el (imenu--make-index-alist)
3946         (imenu-default-create-index-function, imenu-add-to-menubar):
3947         * files.el (basic-save-buffer, recover-file):
3948         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
3949         * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
3950         (checkdoc-message-text, checkdoc-defun):
3951         * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
3952         * cus-edit.el (customize-changed-options, customize-rogue)
3953         (customize-saved, custom-variable-set, custom-variable-mark-to-save)
3954         (custom-variable-mark-to-reset-standard)
3955         (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
3956         (custom-file):
3957         * completion.el (check-completion-length):
3958         * comint.el (comint-search-arg)
3959         (comint-previous-matching-input-string-position)
3960         (comint-previous-matching-input)
3961         (comint-replace-by-expanded-history-before-point, comint-send-input)
3962         (comint-copy-old-input, comint-backward-matching-input)
3963         (comint-goto-process-mark, comint-set-process-mark):
3964         * calendar/calendar.el (calendar-cursor-to-date): Use it.
3965         * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
3967 2012-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
3969         * dabbrev.el (dabbrev--ignore-case-p): New function.
3970         (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
3971         Use it.
3973         * files.el (automount-dir-prefix): Mark as obsolete.
3975 2012-05-04  Glenn Morris  <rgm@gnu.org>
3977         * patcomp.el, play/bruce.el: Move to obsolete/.
3979 2012-05-04  Paul Eggert  <eggert@cs.ucla.edu>
3981         Fix minor Y10k bugs.
3982         * arc-mode.el (archive-unixdate):
3983         * autoinsert.el (auto-insert-alist):
3984         * calc/calc-forms.el (math-this-year):
3985         * emacs-lisp/copyright.el (copyright-current-year)
3986         (copyright-update-year, copyright):
3987         * tar-mode.el (tar-clip-time-string):
3988         * time.el (display-time-update):
3989         Don't assume years have 4 digits.
3991 2012-05-04  Chong Yidong  <cyd@gnu.org>
3993         * dos-w32.el (file-name-buffer-file-type-alist)
3994         (direct-print-region-use-command-dot-com):
3995         * ffap.el (ffap-menu-regexp):
3996         * find-file.el (ff-special-constructs):
3997         * follow.el (follow-debug):
3998         * forms.el (forms--debug):
3999         * iswitchb.el (iswitchb-all-frames):
4000         * ido.el (ido-all-frames):
4001         * emacs-lisp/timer.el (timer-max-repeats):
4002         * mail/feedmail.el (feedmail-mail-send-hook)
4003         (feedmail-mail-send-hook-queued):
4004         * mail/footnote.el (footnote-signature-separator):
4005         * mail/mailabbrev.el (mail-alias-separator-string)
4006         (mail-abbrev-mode-regexp):
4007         * mail/rmail.el (rmail-speedbar-match-folder-regexp):
4008         * progmodes/idlwave.el (idlwave-libinfo-file)
4009         (idlwave-default-completion-case-is-down)
4010         (idlwave-library-routines): Convert defvars to defcustoms.
4012         * mail/rmail.el (rmail-decode-mime-charset):
4013         * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
4014         (idlwave-shell-fix-inserted-breaks)
4015         (idlwave-shell-activate-alt-keybindings)
4016         (idlwave-shell-use-breakpoint-glyph):
4017         * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
4019 2012-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
4021         * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
4023 2012-05-03  Wilson Snyder  <wsnyder@wsnyder.org>
4025         * progmodes/verilog-mode.el (font-lock-keywords):
4026         Fix mis-highligting auto.  Reported by Craig Barner.
4027         (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
4028         defines from global name space. Reported by Dan Dever.
4029         (verilog-auto-reset, verilog-auto-reset-widths)
4030         (verilog-auto-tieoff): Support using unbased numbers for
4031         AUTORESET and AUTOTIEOFF.
4032         (verilog-submit-bug-report): Update variable list.
4033         (verilog-read-auto-params): Fix AUTOINPUT regexps containing
4034         parenthesis from not matching. Reported by Michael Rytting.
4035         (verilog-auto-template-lint): Fix hash error when linting modules
4036         with no used templates.
4037         (verilog-warn, verilog-warn-error)
4038         (verilog-warn-fatal): When non-interactive report multiple
4039         warnings before exiting.  Suggested by Brad Dobbie.
4040         (verilog-auto-template-lint, verilog-auto-template-warn-unused)
4041         (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
4042         to report unused template errors.  Reported by Brad Dobbie.
4043         (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
4044         nets, bug438. Reported by Vns Blore.
4045         (verilog-auto-inout-module, verilog-auto-reg)
4046         (verilog-read-decls, verilog-read-sub-decls-sig)
4047         (verilog-signals-edit-wire-reg, verilog-signals-with):
4048         Fix passing of Verilog data types in ANSI input/output ports
4049         such as "output logic" into the AUTOs. Special case "wire" and
4050         "reg" for backwards compatibility presuming Verilog 2001.
4051         (verilog-auto-ascii-enum): Add "auto enum" as alias.
4052         (verilog-preprocess): Fix replication of preprocess output.
4053         Reported by Brad Dobbie.
4054         (verilog-auto-inst-interfaced-ports):
4055         Create verilog-auto-inst-interfaced-ports, bug429.
4056         Reported by Julian Gorfajn.
4057         (verilog-after-save-font-hook)
4058         (verilog-before-save-font-hook): New variable.
4059         (verilog-modi-cache-results, verilog-save-font-mod-hooked)
4060         (verilog-save-font-mods): Wrap disabling fontification, reported
4061         by David Rogoff.
4062         (verilog-do-indent, verilog-pretty-declarations-auto)
4063         (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
4064         Reported by Pierre-David Pfister.
4065         (verilog-set-auto-endcomments): Fix endtask auto comments outside
4066         of class declarations, bug292.  Reported by Kevin Heilman.
4067         (verilog-read-decls): Fix 'parameter type' not appearing in
4068         AUTOINSTPARAM, bug340.  Reported by Jonathan Greenlaw.
4069         (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
4070         AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
4071         (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
4072         Reported by David Kravitz.
4074 2012-05-03  Michael McNamara  <mac@mail.brushroad.com>
4076         * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
4077         assignment with tests in ifs and for loops.
4078         (verilog-extended-complete-re, verilog-complete-reg): Change so
4079         that DPI inport functions don't look like fuction declarations.
4080         (verilog-pretty-expr): Don't line up assignment
4081         operations to the test and increment in if and for loops
4082         (verilog-extended-complete-re, verilog-complete-reg): Change so
4083         that DPI inport functions don't look like fuction declarations.
4085 2012-05-03  Kenichi Handa  <handa@m17n.org>
4087         * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
4088         decoding, and show a warning message without signaling an error
4089         (Bug#11282).
4091 2012-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
4093         * emacs-lisp/bytecomp.el
4094         (byte-compile-file-form-custom-declare-variable): Compile all elements,
4095         since cconv.el might have introduced :fun-body, internal-make-closure,
4096         and friends for bytecomp to handle (bug#11391).
4097         * custom.el (defcustom): Avoid ((λ ..) ..).
4099 2012-05-02  Stefan Monnier  <monnier@iro.umontreal.ca>
4101         * subr.el (read-passwd): Better clean after ourselves (bug#11392).
4103 2012-05-02  Juanma Barranquero  <lekktu@gmail.com>
4105         * notifications.el (dbus-debug):
4106         * term/linux.el (gpm-mouse-enable):
4107         * term/screen.el (xterm-register-default-colors): Declare.
4109 2012-05-02  Chong Yidong  <cyd@gnu.org>
4111         * cus-start.el (gc-cons-percentage, exec-suffixes)
4112         (dos-display-scancodes, dos-hyper-key, dos-super-key)
4113         (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
4114         (make-cursor-line-fully-visible, void-text-area-pointer)
4115         (font-list-limit): Add customization data.
4117         * allout.el (allout-exposure-change-functions)
4118         (allout-structure-added-functions)
4119         (allout-structure-deleted-functions)
4120         (allout-structure-shifted-functions): Rename abnormal hooks from
4121         *-hook, and convert to defcustoms.
4122         (allout-after-copy-or-kill-hook, allout-post-undo-hook):
4123         Convert to defcustoms.
4124         (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
4126         * allout-widgets.el: Hook callers changed.
4128 2012-05-02  Eli Zaretskii  <eliz@gnu.org>
4130         * mail/rmail.el (rmail-yank-current-message): Use the encoding of
4131         the yanked message in preference to the default value of
4132         buffer-file-coding-system.
4134 2012-05-02  Martin Rudalics  <rudalics@gmx.at>
4136         * window.el (display-buffer--action-function-custom-type):
4137         Fix entry.
4139 2012-05-02  Alan Mackenzie  <acm@muc.de>
4141         * progmodes/cc-defs.el (c-version): Update to 5.32.3.
4143 2012-05-01  Glenn Morris  <rgm@gnu.org>
4145         * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
4147         * eshell/esh-cmd.el (eshell-debug-command): Doc fix.  Add :set.
4149         * cus-edit.el (custom-variable-documentation): Simplify with format.
4151 2012-05-01  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
4152             Stefan Monnier  <monnier@iro.umontreal.ca>
4154         * simple.el (suggest-key-bindings, execute-extended-command):
4155         Move from keyboard.c.
4157 2012-05-01  Chong Yidong  <cyd@gnu.org>
4159         * follow.el: Eliminate advice.
4160         (set-process-filter, process-filter, sit-for): Advice deleted.
4161         (follow-mode-off-hook): Obsolete hook removed.
4162         (follow-avoid-tail-recenter-p, follow-process-filter-alist):
4163         Vars deleted.
4164         (follow-auto): Use a :set function.
4165         (follow-mode): Rewritten.  Don't advise process filters.
4166         (follow-switch-to-current-buffer-all, follow-scroll-up)
4167         (follow-scroll-down): Assume follow-mode is bound.
4168         (follow-comint-scroll-to-bottom)
4169         (follow-align-compilation-windows): New functions.
4170         (follow--window-sorter): New function.
4171         (follow-all-followers): Use it to explicitly sort windows by their
4172         positions; don't make assumptions about next-window order.
4173         (follow-windows-start-end, follow-delete-other-windows-and-split)
4174         (follow-calc-win-start): Doc fix.
4175         (follow-windows-aligned-p, follow-select-if-visible): Don't call
4176         vertical-motion unnecessarily.
4177         (follow-adjust-window): New function.
4178         (follow-post-command-hook): Use it.
4179         (follow-call-set-process-filter, follow-call-process-filter)
4180         (follow-intercept-process-output, follow-tidy-process-filter-alist)
4181         (follow-stop-intercept-process-output, follow-generic-filter):
4182         Functions deleted.
4183         (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
4184         (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
4185         New functions, replacing advice on scroll-bar-* commands.
4186         (follow-mwheel-scroll): New function (Bug#4112).
4188         * comint.el (comint-adjust-point): New function.
4189         (comint-postoutput-scroll-to-bottom): Use it.
4190         Call follow-comint-scroll-to-bottom for Follow mode buffers.
4192 2012-05-01  Glenn Morris  <rgm@gnu.org>
4194         * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
4195         * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
4196         * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
4197         * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
4198         * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
4199         Remove no-byte-compile setting.
4201 2012-05-01  Stefan Monnier  <monnier@iro.umontreal.ca>
4203         * minibuffer.el (completion-table-with-quoting): Fix compatibility
4204         all-completions code to not return a number in the last cdr.
4206 2012-04-30  Leo Liu  <sdl.web@gmail.com>
4208         * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
4209         read-only error.
4211 2012-04-29  Chong Yidong  <cyd@gnu.org>
4213         * follow.el (follow-calc-win-end): Rewrite to handle partial
4214         screen lines correctly (Bug#8390).
4215         (follow-avoid-tail-recenter): Minor cleanup.
4217 2012-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
4219         Avoid the obsolete `assoc' package.
4220         * speedbar.el (speedbar-refresh): Avoid adelete.
4221         (speedbar-file-lists): Simplify and avoid aput.
4222         * man.el (Man--sections, Man--refpages): New vars, replacing
4223         Man-sections-alist and Man-refpages-alist.
4224         (Man-build-section-alist, Man-build-references-alist):
4225         Use them; avoid aput.
4226         (Man--last-section, Man--last-refpage): New vars.
4227         (Man-follow-manual-reference): Use them.
4228         Use the `default' arg of completing-read.
4229         (Man-goto-section): Idem.  Move prompt to the `interactive' spec.
4231 2012-04-27  Chong Yidong  <cyd@gnu.org>
4233         * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
4235         * startup.el (x-apply-session-resources): New function.
4237         * term/ns-win.el (ns-initialize-window-system):
4238         * term/w32-win.el (w32-initialize-window-system):
4239         * term/x-win.el (x-initialize-window-system): Use it to properly
4240         set menu-bar-mode and other vars from X resources, even if the
4241         initial frame is not a window-system frame (Bug#2299).
4243         * subr.el (read-key): Avoid running filter function when setting
4244         up temporary tool bar entries (Bug#9922).
4246 2012-04-27  Andreas Schwab  <schwab@linux-m68k.org>
4248         * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
4249         (Bug#11344)
4251 2012-04-27  Chong Yidong  <cyd@gnu.org>
4253         * select.el (xselect--encode-string): New function, split from
4254         xselect-convert-to-string.
4255         (xselect-convert-to-string): Use it.
4256         (xselect-convert-to-filename, xselect-convert-to-os)
4257         (xselect-convert-to-host, xselect-convert-to-user): Ensure that
4258         returned strings are properly encoded (Bug#11315).
4260 2012-04-27  Chong Yidong  <cyd@gnu.org>
4262         * simple.el (delete-active-region): Move to killing custom group.
4264 2012-04-27  Andreas Schwab  <schwab@linux-m68k.org>
4266         * progmodes/which-func.el (which-func-current): Quote %
4267         characters for mode-line processing.
4269 2012-04-27  Chong Yidong  <cyd@gnu.org>
4271         * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
4272         reaching eob (Bug#11286).
4274 2012-04-27  Eli Zaretskii  <eliz@gnu.org>
4276         * progmodes/gdb-mi.el (gdb-control-level): New variable.
4277         (gdb): Make it buffer-local and init to zero.
4278         (gdb-control-commands-regexp): New variable.
4279         (gdb-send): Don't wrap in "-interpreter-exec console" if
4280         gdb-control-level is positive.  Increment gdb-control-level
4281         whenever the command matches gdb-control-commands-regexp, and
4282         decrement it each time the command is "end".  (Bug#11279)
4284 2012-04-27  Martin Rudalics  <rudalics@gmx.at>
4286         * window.el (adjust-window-trailing-edge, enlarge-window)
4287         (shrink-window, window-resize):
4288         * mouse.el (mouse-drag-line): Fix resizing of minibuffer
4289         windows (Bug#11276).
4291 2012-04-27  Chong Yidong  <cyd@gnu.org>
4293         * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
4294         fix "missing prefix" warning.  All callers changed.
4296 2012-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
4298         * emacs-lisp/assoc.el: Move to obsolete/.
4300 2012-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
4302         * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
4304         * term/ns-win.el (ns-define-service):
4305         * progmodes/pascal.el (pascal-goto-defun):
4306         * progmodes/js.el (js--read-tab):
4307         * progmodes/etags.el (tags-lazy-completion-table):
4308         * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
4309         * emacs-lisp/ewoc.el (ewoc--wrap):
4310         * emacs-lisp/assoc.el (aput, adelete, amake):
4311         * doc-view.el (doc-view-convert-current-doc):
4312         * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
4314 2012-04-26  Chong Yidong  <cyd@gnu.org>
4316         * image.el (image-type-from-buffer): Only return supported image
4317         type (Bug#9045).
4319         * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
4320         value, for symmetry with diff-end-of-hunk.
4321         (diff-split-hunk, diff-find-source-location)
4322         (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
4323         (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
4324         (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
4325         compute the relevant hunk or file properly (Bug#6005).
4326         (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
4328 2012-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
4330         * vc/vc-mtn.el:
4331         * vc/vc-hg.el:
4332         * vc/vc-git.el:
4333         * vc/vc-dir.el:
4334         * vc/vc-cvs.el:
4335         * vc/vc-bzr.el:
4336         * vc/vc-arch.el:
4337         * vc/vc.el: Replace lexical-let by lexical-binding.
4338         * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
4339         * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
4340         * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
4342 2012-04-26  Chong Yidong  <cyd@gnu.org>
4344         * vc/diff-mode.el (diff-undo): New command (Bug#5302).
4345         (diff-mode-shared-map): Bind it to / and [remap undo].
4347         * vc/ediff-wind.el (ediff-setup-windows-default): New function.
4348         (ediff-window-setup-function): Use it as the default, to set up
4349         windows based on whether the current frame is graphical (Bug#2138).
4350         (ediff-choose-window-setup-function-automatically): Make obsolete.
4352         * vc/ediff-init.el: Always define ediff-pixel-width/height.
4354 2012-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
4356         * ffap.el: Remove old code for obsolete package.
4357         (ffap-complete-as-file-p): Remove.
4359         Use completion-table-with-quoting for comint and pcomplete.
4360         * comint.el (comint--unquote&requote-argument)
4361         (comint--unquote-argument, comint--requote-argument): New functions.
4362         (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
4363         (comint-quote-filename): Use regexp-opt-charset.
4364         (comint--common-suffix, comint--common-quoted-suffix)
4365         (comint--table-subvert): Remove.
4366         (comint-unquote-function, comint-requote-function): New vars.
4367         (comint--complete-file-name-data): Use them with
4368         completion-table-with-quoting.
4369         * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
4370         * pcomplete.el (pcomplete-arg-quote-list)
4371         (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
4372         (pcomplete-unquote-argument-function): Default to non-nil.
4373         (pcomplete-unquote-argument): Simplify.
4374         (pcomplete--common-quoted-suffix): Remove.
4375         (pcomplete-requote-argument-function): New var.
4376         (pcomplete--common-suffix): New function.
4377         (pcomplete-completions-at-point): Use completion-table-with-quoting
4378         and completion-table-subvert.
4380         * minibuffer.el: Use completion-table-with-quoting for read-file-name.
4381         (minibuffer--double-dollars): Preserve properties.
4382         (completion--sifn-requote): New function.
4383         (completion--file-name-table): Rewrite using it and c-t-with-quoting.
4385         * minibuffer.el: Add support for completion of quoted/escaped data.
4386         (completion-table-with-quoting, completion-table-subvert): New funs.
4387         (completion--twq-try, completion--twq-all): New functions.
4388         (completion--nth-completion): New function.
4389         (completion-try-completion, completion-all-completions): Use it.
4391 2012-04-25  Leo Liu  <sdl.web@gmail.com>
4393         * progmodes/python.el (python-pdbtrack-get-source-buffer):
4394         Use compilation-message if available to find real filename.
4396 2012-04-25  Chong Yidong  <cyd@gnu.org>
4398         * vc/diff-mode.el (diff-setup-whitespace): New function.
4399         (diff-mode): Use it.
4401         * vc/diff.el (diff-sentinel):
4402         * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
4403         Whitespace mode variables based on diff style (Bug#8612).
4405 2012-04-25  Leo Liu  <sdl.web@gmail.com>
4407         * progmodes/python.el (python-send-region): Add suffix .py to the
4408         temp file.
4410         * files.el (auto-mode-alist): Use javascript-mode instead.
4412 2012-04-25  Alex Harsanyi  <AlexHarsanyi@gmail.com>
4414         Sync with soap-client repository.  Support SOAP simpleType (Bug#10331).
4416         * net/soap-client.el (soap-resolve-references-for-sequence-type)
4417         (soap-resolve-references-for-array-type): Hack to prevent self
4418         references, see Bug#9.
4419         (soap-parse-envelope): Report the contents of the 'detail' node
4420         when receiving a fault reply.
4421         (soap-parse-envelope): Report the contents of the entire 'detail' node.
4423         * net/soap-inspect.el (soap-sample-value-for-simple-type)
4424         (soap-inspect-simple-type): New function.
4426         * net/soap-client.el (soap-simple-type): New struct.
4427         (soap-default-xsd-types, soap-default-soapenc-types)
4428         (soap-decode-basic-type, soap-encode-basic-type):
4429         support unsignedInt and double basic types.
4430         (soap-resolve-references-for-simple-type)
4431         (soap-parse-simple-type, soap-encode-simple-type): New function.
4432         (soap-parse-schema): Parse xsd:simpleType declarations.
4434         * net/soap-client.el (soap-default-xsd-types)
4435         (soap-default-soapenc-types): Add integer, byte and anyURI types.
4436         (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
4437         the local name of "soapenc:Array".
4438         (soap-decode-basic-type, soap-encode-basic-type): Support encoding
4439         decoding integer, byte and anyURI xsd types.
4441 2012-04-25  Chong Yidong  <cyd@gnu.org>
4443         * cus-edit.el (custom-buffer-create-internal): Update header text.
4445 2012-04-25  Eli Zaretskii  <eliz@gnu.org>
4447         * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
4448         settings on 'system-type', not on 'window-system'.  On MS-Windows,
4449         set interactive-mode on in GDB.
4451 2012-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
4453         * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
4454         (ruby-syntax-propertize-regexp): Remove.
4455         (ruby-syntax-propertize-function): Split regexp into chunks.
4456         Match following code directly.
4458 2012-04-24  Dmitry Gutov  <dgutov@yandex.ru>
4460         * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
4461         (ruby-syntax-propertize-regexp): New function.
4462         (ruby-syntax-propertize-function): Use it to handle regexp not preceded
4463         by a special keyword.
4465         * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
4466         (ruby-syntax-general-delimiters-goto-beg)
4467         (ruby-syntax-propertize-general-delimiters): New functions.
4468         (ruby-syntax-propertize-function): Use them to handle GDL.
4469         (ruby-font-lock-keywords): Move old handling of GDL...
4470         (ruby-font-lock-syntactic-keywords): .. to here.
4471         (ruby-calculate-indent): Adjust indentation for GDL.
4473 2012-04-24  Michael Albinus  <michael.albinus@gmx.de>
4475         * notifications.el (top): Remove unneeded declarations.
4476         (notifications-specification-version): Change to "1.2".
4477         (notifications-interface, notifications-notify-method)
4478         (notifications-close-notification-method): Fix docstring.
4479         (notifications-get-capabilities-method): New defconst.
4480         (notifications-notify): Add :action-items, :resident and
4481         :transient hints.  Change "image_data" to "image-data" and
4482         "image_path" to "image-path".
4483         (notifications-get-capabilities): New defun.
4485 2012-04-24  Leo Liu  <sdl.web@gmail.com>
4487         * progmodes/python.el: Move hideshow setup to the end.
4489 2012-04-24  Martin Rudalics  <rudalics@gmx.at>
4491         * window.el (handle-select-window): Clear echo area since this is
4492         no more done by read_char (Bug#11304).
4494 2012-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
4496         * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
4497         and `/ M' to filter-derived-mode.
4498         * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
4499         (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
4500         (ibuffer-mark-by-mode): Use default rather than initial-input.
4501         (ibuffer-filter-by-derived-mode): Autoload and require-match.
4503 2012-04-24  Ivan Andrus  <darthandrus@gmail.com>  (tiny change)
4505         * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
4506         (ibuffer-filter-by-derived-mode): New filter.
4507         * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
4509 2012-04-23  Andreas Politz  <politza@fh-trier.de>
4511         * subr.el (accept-change-group): Fix arg usage (Bug#6095).
4513 2012-04-23  Chong Yidong  <cyd@gnu.org>
4515         * cus-edit.el (customize-apropos, customize-apropos-options):
4516         Disable matching of non-option variables (Bug#11176).
4517         (customize-option, customize-option-other-window)
4518         (customize-changed-options): Doc fix.
4519         (customize-apropos-options, customize-apropos-faces)
4520         (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
4522         * apropos.el (apropos-read-pattern): Make prompt less cryptic.
4523         Fix word list splitting (Bug#11132).
4524         (apropos-symbol, apropos-keybinding, apropos-label)
4525         (apropos-property, apropos-function-button)
4526         (apropos-variable-button, apropos-misc-button): New faces.
4527         (apropos-symbol-face, apropos-keybinding-face)
4528         (apropos-label-face, apropos-property-face, apropos-match-face):
4529         Variables removed (Bug#8396).
4530         (apropos-library-button, apropos-format-plist, apropos-print)
4531         (apropos-print-doc, apropos-describe-plist): Callers changed.
4533 2012-04-23  Michael Albinus  <michael.albinus@gmx.de>
4535         * net/xesam.el (xesam-mode-map): Use let-bound map in
4536         initialization.  (Bug#11292)
4538 2012-04-23  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
4540         Preserve ispell session localwords when switching back to
4541         original buffer.
4543         * textmodes/ispell.el (ispell-buffer-session-localwords):
4544         New buffer-local variable to hold buffer session localwords.
4545         (ispell-kill-ispell): Add option 'clear to delete session
4546         localwords.
4547         (ispell-command-loop, ispell-change-dictionary)
4548         (ispell-buffer-local-words): Preserve session localwords when
4549         needed.
4551         * textmodes/flyspell.el (flyspell-process-localwords)
4552         (flyspell-do-correct): Preserve session localwords when needed.
4554 2012-04-23  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
4556         * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
4557         using obsolete `translation-table-for-input'.
4558         (ispell-word, ispell-process-line, ispell-complete-word):
4559         Use plain `insert' instead of removed `ispell-insert-word'.
4561 2012-04-22  Chong Yidong  <cyd@gnu.org>
4563         * cus-edit.el (custom-variable-menu)
4564         (custom-variable-reset-saved, custom-face-menu)
4565         (custom-face-reset-saved): If there is no saved value, make the
4566         "reset-saved" operation bring back the default (Bug#9509).
4567         (custom-face-state): Properly detect themed faces.
4569         * faces.el (face-spec-set): Stop supporting deprecated form of
4570         third arg.
4572 2012-04-22  Michael Albinus  <michael.albinus@gmx.de>
4574         Move functions from C to Lisp.  Make non-blocking method calls
4575         the default.  Implement further D-Bus standard interfaces.
4577         * net/dbus.el (dbus-message-internal): Declare function.
4578         Remove unneeded function declarations.
4579         (defvar dbus-message-type-invalid, dbus-message-type-method-call)
4580         (dbus-message-type-method-return, dbus-message-type-error)
4581         (dbus-message-type-signal): Declare variables.  Remove local
4582         definitions.
4583         (dbus-interface-dbus, dbus-interface-peer)
4584         (dbus-interface-introspectable, dbus-interface-properties)
4585         (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
4586         Adapt docstring.
4587         (dbus-interface-objectmanager): New defconst.
4588         (dbus-call-method, dbus-call-method-asynchronously)
4589         (dbus-send-signal, dbus-method-return-internal)
4590         (dbus-method-error-internal, dbus-register-service)
4591         (dbus-register-signal, dbus-register-method): New defuns, moved
4592         from dbusbind.c
4593         (dbus-call-method-handler, dbus-setenv)
4594         (dbus-get-all-managed-objects, dbus-managed-objects-handler):
4595         New defuns.
4596         (dbus-call-method-non-blocking): Make it an obsolete function.
4597         (dbus-unregister-object, dbus-unregister-service)
4598         (dbus-handle-event, dbus-register-property)
4599         (dbus-property-handler): Obey the new structure of
4600         `bus-registered-objects'.
4601         (dbus-introspect): Use `dbus-call-method'.  Use a timeout.
4602         (dbus-get-property, dbus-set-property, dbus-get-all-properties):
4603         Use `dbus-call-method'.
4605 2012-04-22  Chong Yidong  <cyd@gnu.org>
4607         * cus-edit.el (custom-commands, custom-reset-menu)
4608         (Custom-reset-standard): Tweak labels.
4609         (custom-reset-button-menu): Change default to t.
4610         (custom-buffer-create-internal): For the custom-reset-button-menu
4611         case, put the revert button first.
4612         (custom-group-subtitle): New face.
4613         (custom-group-value-create): Align docstring to a specific column.
4615         * wid-edit.el (widget-documentation-link-add): Don't handle
4616         indentation in this function.
4617         (widget-documentation-string-indent-to): New function.
4618         (widget-documentation-string-value-create): Use it.
4620         * autorevert.el (auto-revert):
4621         * epg-config.el (epg):
4622         * ibuffer.el (ibuffer):
4623         * mpc.el (mpc):
4624         * ses.el (ses):
4625         * eshell/eshell.el (eshell):
4626         * net/ange-ftp.el (ange-ftp):
4627         * progmodes/ebnf2ps.el (postscript):
4628         * progmodes/flymake.el (flymake):
4629         * progmodes/prolog.el (prolog):
4630         * progmodes/verilog-mode.el (verilog-mode):
4631         * progmodes/which-func.el (which-func):
4632         * term/xterm.el (xterm):
4633         * textmodes/picture.el (picture):
4634         * textmodes/tildify.el (tildify):
4635         * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
4636         customization buffers.
4638 2012-04-22  Alan Mackenzie  <acm@muc.de>
4640         * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
4641         Adding a ) can hide the resulting (..) from searches.  Fix it.
4642         Bound the backward search to the position of the existing (.
4644 2012-04-21  Juanma Barranquero  <lekktu@gmail.com>
4646         * progmodes/verilog-mode.el (verilog-mode): Check whether
4647         which-func-modes is t before adding verilog-mode.
4648         Reported by Andy Moreton <andrewjmoreton@gmail.com>.
4650 2012-04-21  Leo Liu  <sdl.web@gmail.com>
4652         * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
4654 2012-04-21  Michael Vehrs  <Michael.Burschik@gmx.de>
4656         * woman.el: Add support for "T{ T}" tbl syntax, and fix the
4657         filling of the last column of a table (Bug#5635).
4658         (woman-find-next-control-line): New arg, specifying an additional
4659         regexp component for the control line.
4660         (woman2-roff-buffer): Use it.
4661         (woman-break-table): New function.
4662         (woman2-TS): Use it.
4664 2012-04-21  Chong Yidong  <cyd@gnu.org>
4666         * woman.el (woman-set-buffer-display-table, woman-decode-region)
4667         (woman-horizontal-escapes, woman-negative-vertical-space)
4668         (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
4669         (WoMan-warn-ignored): Use ?\s instead of ?\ .
4671 2012-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
4673         * minibuffer.el (completion-file-name-table): Complete user names.
4675 2012-04-20  Leo Liu  <sdl.web@gmail.com>
4677         * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
4678         and pcase-let*.
4680 2012-04-20  Chong Yidong  <cyd@gnu.org>
4682         * server.el (server-execute): Respect initial-buffer-choice if it
4683         is a string and there are no files to open (Bug#2825).
4684         (server-create-window-system-frame, server-create-tty-frame):
4685         Don't switch buffers here.
4686         (server-process-filter): Only try to open a window system frame if
4687         compiled with graphical support (Bug#8314).
4689 2012-04-20  Dan Nicolaescu  <dann@gnu.org>
4691         * battery.el (battery-echo-area-format): Display remaining time
4692         for sysfs backend too (Bug#11269).
4693         (battery-linux-sysfs): Fix conditional for the charge.
4695 2012-04-20  Chong Yidong  <cyd@gnu.org>
4697         * progmodes/gdb-mi.el (gdb): Revert previous change.
4698         (gdb-inferior-io--init-proc): New function.
4699         (gdb-init-1): Use it.
4700         (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
4701         responsible for allocating a new pty and hooking it to gdb when
4702         the old pty gets an EIO due to process exit.
4703         (gdb-delchar-or-quit): New command.  Bind it in gdb-mi buffers.
4704         (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
4705         (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
4707 2012-04-20  Eli Zaretskii  <eliz@gnu.org>
4709         * window.el (window-min-size, window-sizable, window-min-delta)
4710         (window-max-delta, window--resizable, window-resizable)
4711         (window-total-size, window-full-height-p, window-full-width-p)
4712         (window-in-direction, window--resize-mini-window, window-resize)
4713         (window--resize-child-windows-normal)
4714         (window--resize-child-windows, window--resize-siblings)
4715         (window--resize-this-window, adjust-window-trailing-edge)
4716         (enlarge-window, shrink-window): Doc fixes.
4718 2012-04-20  Chong Yidong  <cyd@gnu.org>
4720         * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
4721         New function to call delete-process on the gdb-inferior buffer's pty.
4722         (gdb-reset): Use it, instead of relying on kill-buffer to kill the
4723         pty process (Bug#11273).
4724         (gdb-update): New arg to suppress talking to the gdb process.
4725         (gdb-done-or-error): Use it.
4726         (gdb-stopped-functions): Rename from gdb-stopped-hooks.
4727         (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
4728         sentinel not being called.
4730         * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
4732         * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
4734 2012-04-20  Glenn Morris  <rgm@gnu.org>
4736         * net/network-stream.el (open-network-stream): Doc fix.
4738 2012-04-20  Chong Yidong  <cyd@gnu.org>
4740         * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
4742 2012-04-20  Alan Mackenzie  <acm@muc.de>
4744         Ensure searching for keywords is case sensitive.
4746         * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
4747         (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
4748         (c-defun-name, c-mark-function, c-cpp-define-name)
4749         (c-comment-indent, c-scan-conditionals, c-indent-defun)
4750         (c-context-line-break): Bind case-fold-search to nil.
4752         * progmodes/cc-mode.el (c-font-lock-fontify-region):
4753         Bind case-fold-search to nil.
4755 2012-04-20  Chong Yidong  <cyd@gnu.org>
4757         * mail/sendmail.el (mail-bury): Call return action with the right
4758         Rmail buffer (Bug#11242).
4760         * server.el (server-process-filter): Handle corner case where both
4761         tty and nowait options are present (Bug#11102).
4763 2012-04-20  Eli Zaretskii  <eliz@gnu.org>
4765         * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
4766         (top level): Put into the executable the ident-style '$Id:' tag on
4767         windows-nt as well.
4769 2012-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
4771         * electric.el (electric-indent-post-self-insert-function): Check that
4772         electric-indent-mode is enabled in current buffer.
4774 2012-04-19  Juanma Barranquero  <lekktu@gmail.com>
4776         * imenu.el (imenu-progress-message): Restore; it is "used" in
4777         erc/erc-imenu.el and net/snmp-mode.el.
4779 2012-04-19  Juanma Barranquero  <lekktu@gmail.com>
4781         * avoid.el (mouse-avoidance-mode): Mark unused arg.
4782         (mouse-avoidance-nudge-mouse): Remove unused binding.
4784         * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
4786         * descr-text.el (describe-char):
4787         * progmodes/python.el (python-describe-symbol):
4788         Don't call `toggle-read-only', set `buffer-read-only'.
4790         * imenu.el (imenu-default-goto-function): Mark unused args.
4791         (imenu-progress-message): Remove obsolete macro; all callers changed.
4793         * subr.el (keymap-canonicalize): Remove unused binding.
4794         (read-passwd): Mark unused arg.
4796         * tutorial.el (tutorial--display-changes): Remove unused binding.
4797         (tutorial--save-tutorial-to): Remove unused variable.
4799         * emacs-lisp/package.el (define-package, package-menu-mark-delete)
4800         (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
4801         (package-generate-autoloads, package-menu--generate)
4802         (package-menu--find-upgrades): Remove unused bindings.
4804         * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
4805         (cua-restrict-prefix-rectangle): Doc fixes.  Remove unused bindings.
4806         (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
4807         (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
4808         (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
4809         (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
4810         (cua--rectangle-aux-replace, cua--left-fill-rectangle)
4811         (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
4812         (cua-delete-char-rectangle): Mark unused args.
4813         (cua-align-rectangle): Remove unused binding.
4815         * mail/rmail.el (compilation--message->loc)
4816         (epa--find-coding-system-for-mime-charset): Declare.
4818         * net/dbus.el (dbus-register-service): Declare.
4819         (dbus-name-owner-changed-handler): Remove unused binding.
4821         * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
4822         (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
4823         (nxml-scan-backward-within): Mark unused arg.
4824         (nxml-dynamic-markup-word): Remove unused binding.
4826         * mouse.el (mouse-menu-major-mode-map):
4827         * emacs-lisp/authors.el (authors-scan-change-log)
4828         (authors-add-to-author-list):
4829         * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
4830         * emacs-lisp/smie.el (smie-auto-fill):
4831         * mail/sendmail.el (mail-bury):
4832         * mail/unrmail.el (unrmail):
4833         * net/tls.el (open-tls-stream):
4834         * textmodes/picture.el (picture-mouse-set-point):
4835         Remove unused bindings.
4837 2012-04-19  Michael Albinus  <michael.albinus@gmx.de>
4839         * net/tramp.el (tramp-action-password): Let-bind
4840         `enable-recursive-minibuffers' to t.
4842 2012-04-18  Sam Steingold  <sds@gnu.org>
4844         * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
4845         instead of 'string to accommodate values like [f11].
4846         Always use `vconcat' instead of `concat' on it, like in `gud-def'.
4847         * progmodes/gdb-mi.el: Likewise.
4849 2012-04-18  Leo Liu  <sdl.web@gmail.com>
4851         * abbrev.el (edit-abbrevs): Move point to the abbrev table of
4852         current buffer.
4853         (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
4854         LOCAL is nil.
4856 2012-04-18  Chong Yidong  <cyd@gnu.org>
4858         * simple.el (line-move): Use forward-line if in batch mode
4859         (Bug#11053).
4861 2012-04-18  Christopher Schmidt  <christopher@ch.ristopher.com>
4863         * files.el (after-find-file): Do not try to add a final newline if
4864         the buffer is read-only (Bug#11156).
4866 2012-04-17  Richard Stallman  <rms@gnu.org>
4868         * mail/rmail.el (rmail-start-mail):
4869         Pass (rmail-mail-return...) for the return-action.
4870         Pass (rmail-yank-current-message...) for the yank-action.
4871         (rmail-yank-current-message): New function.
4872         (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
4873         (rmail-reply): Likewise.
4874         (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
4876         * mail/sendmail.el (mail-bury): Choose the first rmail-mode
4877         buffer, not the last.  Reject temp buffers.  Use the rmail-mode
4878         buffer, not newbuf.
4880 2012-04-17  Juanma Barranquero  <lekktu@gmail.com>
4882         * server.el (server-ensure-safe-dir): Simplify.
4884 2012-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
4886         * emacs-lisp/smie.el: Provide smarter auto-filling.
4887         (smie-auto-fill): New function.
4888         (smie-setup): Use it.
4890         * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
4892 2012-04-17  Philipp Haselwarter  <philipp.haselwarter@gmx.de>  (tiny change)
4894         * newcomment.el (comment-inline-offset): New custom var (bug#11090).
4895         (comment-indent): Use it.
4897 2012-04-17  Vincent Belaïche  <vincentb1@users.sourceforge.net>
4899         * ses.el: The overall change is to add cell renaming, that is
4900         setting fancy names for cell symbols other than name matching
4901         "\\`[A-Z]+[0-9]+\\'" regexp .
4902         (ses-localvars): Add ses--renamed-cell-symb-list.
4903         (ses-create-cell-variable): New defun.
4904         (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4905         (ses-relocate-formula): Relocate formulas only for cells the
4906         symbols of which are not renamed, i.e. symbols whose names do not
4907         match regexp "\\`[A-Z]+[0-9]+\\'".
4908         (ses-relocate-all): Relocate values only for cells the symbols of
4909         which are not renamed.
4910         (ses-load): Create cells variables as the (ses-cell ...) are read,
4911         in order to check row col consistency with cell symbol name only
4912         for cells that are not renamed.
4913         (ses-replace-name-in-formula): New defun.
4914         (ses-rename-cell): New defun.
4916 2012-04-17  Peter Oliver  <bzr@mavit.org.uk>  (tiny change)
4918         * progmodes/perl-mode.el (perl-indent-parens-as-block):
4919         New option (bug#11118).
4920         (perl-calculate-indent): Respect it.
4922 2012-04-17  Glenn Morris  <rgm@gnu.org>
4924         * dired-aux.el (dired-mark-read-string): Doc fix.
4926 2012-04-17  Dmitry Antipov  <dmantipov@yandex.ru>
4928         * dired-aux.el (dired-mark-read-string): Offer optional completion.
4929         (dired-do-chxxx): Complete chown, chgrp over users, groups.  (Bug#7900)
4931 2012-04-17  Glenn Morris  <rgm@gnu.org>
4933         * mouse.el (mouse-drag-track):
4934         * speedbar.el (speedbar-frame-mode):
4935         Use auto-hscroll-mode rather than the alias automatic-hscrolling.
4937 2012-04-16  Leo Liu  <sdl.web@gmail.com>
4939         * progmodes/python.el: Trivial cleanup.
4941 2012-04-16  Glenn Morris  <rgm@gnu.org>
4943         * vc/vc.el (vc-string-prefix-p):
4944         * vc/pcvs-util.el (cvs-string-prefix-p):
4945         * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
4946         * mpc.el (mpc-string-prefix-p):
4947         Make all of these into obsolete aliases for string-prefix-p.
4948         Update callers.
4949         * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
4951         * textmodes/two-column.el: Move custom options to the start.
4952         (frame-width): Remove compat definition.
4953         (2C-associate-buffer, 2C-dissociate):
4954         Use with-current-buffer rather than save-excursion.
4955         (2C-dissociate): Force a mode-line update.
4956         (2C-autoscroll): Use ignore-errors.
4958         * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
4959         Autoload trivia.
4961         * emacs-lisp/cl-extra.el (*random-state*):
4962         Remove unnecessary declaration.
4964         * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
4966         * play/cookie1.el (cookie-snarf):
4967         Give an explicit error if input file cannot be read.
4969         * play/yow.el (yow-file): Use expand-file-name rather than concat.
4971         * progmodes/perl-mode.el (c-macro-expand):
4972         Remove unnecessary autoload (it is in loaddefs.el).
4974         * textmodes/picture.el (picture-desired-column)
4975         (picture-update-desired-column): Convert comments to doc-strings.
4976         (picture-substitute): Remove function.
4977         (picture-mode-map): Initialize in the defvar.
4979         * woman.el: Remove eval-after-load for tar-mode.
4980         * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
4981         (woman-tar-extract-file): Autoload it.
4983         * frame.el (automatic-hscrolling): Make this alias obsolete.
4985 2012-04-12  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
4987         * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4988         `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
4989         (ispell-dictionary-base-alist): Revert to original XEmacs
4990         friendly version for default.  [:alpha:] will be added in
4991         `ispell-set-spellchecker-params' if needed.
4993 2012-04-16  Chong Yidong  <cyd@gnu.org>
4995         * image.el (imagemagick--file-regexp): New variable.
4996         (imagemagick-register-types): Use it.
4997         (imagemagick-types-inhibit): Add :set function.  Allow new value
4998         of t to inhibit all types.
5000         * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
5001         so we can preload it.
5003         * loadup.el (fboundp): Preload regexp-opt, needed by
5004         imagemagick-register-types.
5006 2012-04-15  Chong Yidong  <cyd@gnu.org>
5008         * frame.el (scrolling): Remove nearly unused customization group.
5010         * scroll-all.el (scroll-all-mode): Move to windows group.
5012 2012-04-15  Chong Yidong  <cyd@gnu.org>
5014         * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
5016 2012-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
5018         Avoid the use of ((lambda ...) ...) in lexical-binding code.
5019         * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
5021 2012-04-15  Glenn Morris  <rgm@gnu.org>
5023         * simple.el (process-file-side-effects): Doc fix.
5025 2012-04-15  Glenn Morris  <rgm@gnu.org>
5027         * international/mule-cmds.el (set-language-environment): Doc fix.
5029 2012-04-14  Juanma Barranquero  <lekktu@gmail.com>
5031         * server.el (server-auth-key, server-generate-key): Doc fixes.
5032         (server-get-auth-key): Doc fix.  Use `string-match-p'.
5033         (server-start): Reflow docstring.
5035 2012-04-14  Lars Ingebrigtsen  <larsi@gnus.org>
5037         * server.el (server-generate-key): `called-interactively-p'
5038         requires a parameter.
5040 2012-04-14  Michal Nazarewicz  <mina86@mina86.com>
5042         * server.el (server-auth-key): New variable.
5043         (server-generate-key, server-get-auth-key): New function.
5044         (server-start): Use the new variable and functions to allow
5045         setting a permanent server key (bug#9423).
5047 2012-04-14  Leo Liu  <sdl.web@gmail.com>
5049         * vc/diff-mode.el (diff-file-prev/next): Fix typo.
5051 2012-04-14  Paul Eggert  <eggert@cs.ucla.edu>
5053         Spelling fixes.
5054         * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
5055         Emacs uses American spelling.
5057 2012-04-14  Juanma Barranquero  <lekktu@gmail.com>
5059         * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
5060         (emacs-lock--exit-locked-buffer): Return the locked buffer.  Doc fix.
5061         (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
5062         (emacs-lock--kill-buffer-query-functions): Run new hook.  (Bug#11017)
5064 2012-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
5066         * progmodes/which-func.el (which-func-modes): Change default.
5068 2012-04-14  Kim F. Storm  <storm@cua.dk>
5070         * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
5071         exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
5073 2012-04-14  Chong Yidong  <cyd@gnu.org>
5075         * custom.el (custom-theme-set-variables): Doc fix.
5077 2012-04-14  Glenn Morris  <rgm@gnu.org>
5079         * international/mule.el (set-auto-coding-for-load): Doc fix.
5081 2012-04-14  Alan Mackenzie  <acm@muc.de>
5083         * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
5084         imenu work again for Objective C Mode.  Correct the *-index values,
5085         these having been disturbed by a previous change in 2011-08.
5087         * progmodes/cc-engine.el (c-before-change-check-<>-operators):
5088         Correct two search limits.
5090 2012-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
5092         * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
5094 2012-04-14  Andreas Schwab  <schwab@linux-m68k.org>
5096         * international/characters.el: Fix sorting.
5098 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
5100         * international/characters.el: Add more missing Latin case pairs.
5102 2012-04-14  Glenn Morris  <rgm@gnu.org>
5104         * files.el (dir-locals-set-class-variables): Doc fix.
5106 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
5108         * international/characters.el: Add set-case-syntax-pair call for
5109         LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
5110         counterpart.  (Bug#11209)
5112         * simple.el (shell-command-on-region): Doc fix.  (Bug#11208)
5114 2012-04-14  Glenn Morris  <rgm@gnu.org>
5116         * calendar/holidays.el (calendar-check-holidays): Doc fix.
5118 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
5120         * textmodes/ispell.el (ispell-dictionary-base-alist):
5121         Add data for Hebrew.
5123 2012-04-14  Chong Yidong  <cyd@gnu.org>
5125         * net/rcirc.el (rcirc-cmd-quit):
5126         Revert 2012-03-18 change (Bug#11192).
5128 2012-04-14  Glenn Morris  <rgm@gnu.org>
5130         * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
5132 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
5134         * minibuffer.el (completion-in-region-mode-map):
5135         Bind completion-help-at-point to M-? rather than ?.  (Bug#11182)
5137 2012-04-13  Vivek Dasmohapatra  <vivek@etla.org>
5139         * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
5141 2012-04-13  Masatake YAMATO  <yamato@redhat.com>
5143         * minibuffer.el (minibuffer-local-filename-syntax): New variable
5144         to allow `C-M-f' and `C-M-b' to move to the nearest path
5145         separator (bug#9511).
5147 2012-04-13  Lars Ingebrigtsen  <larsi@gnus.org>
5149         * avoid.el: Require cl when compiling.  And also move the
5150         `provide' to the end.
5152 2012-04-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
5154         * avoid.el (mouse-avoidance-banish-position): New variable.
5155         (mouse-avoidance-banish-destination): Use it (bug#10165).
5157 2012-04-13  Leo Liu  <sdl.web@gmail.com>
5159         * progmodes/which-func.el (which-func-modes): Add objc-mode.
5161 2012-04-13  Ken Brown  <kbrown@cornell.edu>
5163         * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
5164         this is no longer needed now that cygstart understands file:// URLs.
5165         (browse-url-filename-alist): For the same reason, don't modify
5166         file:// URLs on Cygwin.
5168 2012-04-13  Stefan Monnier  <monnier@iro.umontreal.ca>
5170         * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
5171         the region on shift if the binding is already shifted (bug#11221).
5173 2012-04-12  Glenn Morris  <rgm@gnu.org>
5175         * mail/mailpost.el: Move to obsolete/.
5177 2012-04-12  Drew Adams  <drew.adams@oracle.com>
5179         * imenu.el (imenu--generic-function): Ignore invisible definitions
5180         (bug#10123).
5182 2012-04-12  Vivek Dasmohapatra  <vivek@etla.org>
5184         * hexl.el (hexl-bits): New variable.
5185         (hexl-options): Mention the variable in the doc string.
5186         (hexl-rulerise, hexl-line-displen): New functions.
5187         (hexl-mode): Mention the new variable.
5188         (hexl-mode, hexl-current-address, hexl-current-address):
5189         Use the displen.
5190         (hexl-ascii-start-column): New function.
5191         (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
5192         (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
5194 2012-04-12  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
5196         * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
5197         '("-i" ENCODING), in 2 separate command-line arguments, to specify
5198         the encoding, as expected by hunspell.
5200 2012-04-12  Stefan Monnier  <monnier@iro.umontreal.ca>
5202         * battery.el (battery--linux-sysfs-regexp): New const.
5203         (battery-status-function): Use it.  Remove yeeloong special case.
5204         (battery-yeeloong-sysfs): Remove.
5205         (battery-echo-area-format): Remove yeeloong special case.
5207 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
5209         * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
5210         Reported by Noah Friedman.
5212         * subr.el (read-passwd): Use read-string.
5214 2012-04-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5216         * vcursor.el (vcursor-move): Increase the priority of the overlay
5217         (bug#9663).
5219 2012-04-11  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
5221         * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
5222         (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
5224 2012-04-11  William Stevenson  <yhvh2000@gmail.com>
5226         * textmodes/artist.el (artist-mode): Convert artist-mode to use
5227         define-minor-mode (bug#10760).
5229 2012-04-11  Wolfgang Jenkner  <wjenkner@inode.at>  (tiny change)
5231         * progmodes/grep.el (rgrep): Tweak the find command line so
5232         that directories matching `grep-find-ignored-files' won't be
5233         pruned (bug#10351).
5235 2012-04-11  Chong Yidong  <cyd@gnu.org>
5237         * startup.el (command-line): Remove support for long-obsolete
5238         variable font-lock-face-attributes.
5240 2012-04-11  Glenn Morris  <rgm@gnu.org>
5242         * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
5244 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
5246         * window.el (window--state-get-1): Obey window-point-insertion-type.
5248 2012-04-11  Lennart Borgman  <lennart.borgman@gmail.com>
5250         * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
5251         to previous function when point is on the first character of a
5252         function.  Take care of that in `narrow-to-defun' (bug#6157).
5254 2012-04-11  Glenn Morris  <rgm@gnu.org>
5256         * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
5257         not just file-errors.
5259         * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
5260         (vc-bzr-sha1): Use internal sha1.
5262 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
5264         * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
5266 2012-04-10  Sébastien Gross  <seb@chezwam.org>  (tiny change)
5268         * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
5269         that start in the middle of the line (bug#10496).
5271 2012-04-10  Dan Nicolaescu  <dann@gnu.org>
5273         * battery.el (battery-linux-proc-acpi): Only one battery is
5274         discharged at a time, but that seems to confuse battery.el when
5275         computing `rate-type' for the battery not being discharged
5276         (bug#10332).
5278 2012-04-10  Stefan Monnier  <monnier@iro.umontreal.ca>
5280         * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
5282         * international/quail.el: Use dolist and simplify.
5283         (quail-define-package, quail-update-keyboard-layout)
5284         (quail-define-rules): Use dolist.
5285         (quail-insert-kbd-layout, quail-get-translation): CSE.
5287         * tmm.el: Use dolist, remove left over hook.
5288         (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
5289         Use dolist.
5290         (calendar-load-hook): Don't mess with it.
5292         * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
5293         Use derived-mode-p.  Run the diff asynchronously.
5295 2012-04-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5297         * obsolete/mouse-sel.el: Add an Obsolete-since header.
5299 2012-04-10  Juanma Barranquero  <lekktu@gmail.com>
5301         * misc.el: Display absolute path of loaded DLLs (bug#10424).
5302         (list-dynamic-libraries--loaded): New function.
5303         (list-dynamic-libraries--refresh): Use it.
5305 2012-04-10  Nathan Weizenbaum  <nweiz@google.com>
5307         * progmodes/python.el (python-fill-paragraph):
5308         Make python-fill-region in a multiline string work when font-lock is
5309         disabled (bug#7018).
5311 2012-04-10  Laimonas Vėbra  <laimonas.vebra@gmail.com>  (tiny change)
5313         * language/european.el (cp775): Add oem/legacy (en)coding on
5314         DOS/MS Windows for the Baltic languages.  There are still plenty
5315         of texts written in this encoding/codepage (bug#6519).
5317 2012-04-10  Glenn Morris  <rgm@gnu.org>
5319         * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
5320         Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
5322 2012-04-10  Florian Adamsky  <florian@adamsky.it>  (tiny change)
5324         * recentf.el (recentf-dialog-mode-map): Add two keybindings for
5325         next-line "n" and previous-line "p" in order to make recentf more
5326         consistent with ibuffer, dired or org-mode (bug#9387).
5328 2012-04-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5330         * image.el (put-image): Return the overlay created instead of the
5331         optional input string (bug#7834).  Note that this may break code
5332         that is (for some reason or other) depending on `put-image'
5333         returning the string.
5335         * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
5337         * simple.el (zap-to-char): Allow zapping using input methods
5338         (bug#1580).
5340         * textmodes/fill.el (fill-region): Leave point and mark where they
5341         were before filling (bug#5399).
5343 2012-04-09  Glenn Morris  <rgm@gnu.org>
5345         * version.el (emacs-bzr-get-version):
5346         Handle lightweight checkouts of local branches.
5348 2012-04-09  Andreas Schwab  <schwab@linux-m68k.org>
5350         * international/characters.el: Recover lost case pairs.  (Bug#11209)
5352 2012-04-09  Chong Yidong  <cyd@gnu.org>
5354         * custom.el (custom-variable-p): Return nil for non-symbol
5355         arguments instead of signaling an error.
5356         (user-variable-p): Obsolete alias for custom-variable-p.
5358         * apropos.el (apropos-variable):
5359         * files-x.el (read-file-local-variable):
5360         * simple.el (set-variable):
5361         * woman.el (woman-mini-help):
5362         * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
5364 2012-04-09  Glenn Morris  <rgm@gnu.org>
5366         * startup.el (normal-top-level): Don't look for leim-list.el
5367         in places where it will not be found.  (Bug#910)
5369         * international/mule-cmds.el (set-default-coding-systems):
5370         * files.el (normal-mode):
5371         Remove guarded calls to ucs-set-table-for-input.  (Bug#9821)
5372         This function was removed with ucs-tables.el in 2008.
5374 2012-04-08  Eli Zaretskii  <eliz@gnu.org>
5376         * textmodes/ispell.el (ispell-check-version): For hunspell, set
5377         ispell-encoding8-command to "-i", without a trailing space.
5378         (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
5379         separate command-line arguments, to specify the encoding, since
5380         that's how hunspell expects it.
5382 2012-04-08  Glenn Morris  <rgm@gnu.org>
5384         * loadup.el: Load bindings before cus-start.
5385         This reduces somewhat the number of "rogue" settings in emacs -Q.
5387 2012-04-07  Glenn Morris  <rgm@gnu.org>
5389         * version.el (emacs-bzr-get-version): New function.
5390         (emacs-bzr-version): New variable.
5391         * loadup.el (emacs-bzr-version): Set it.  (Bug#8054)
5392         * mail/emacsbug.el (report-emacs-bug): Include bzr version.
5394 2012-04-07  Eli Zaretskii  <eliz@gnu.org>
5396         * international/uni-bidi.el, international/uni-category.el:
5397         * international/uni-combining.el, international/uni-decimal.el:
5398         * international/uni-decomposition.el, international/uni-digit.el:
5399         * international/uni-lowercase.el, international/uni-mirrored.el:
5400         * international/uni-name.el, international/uni-numeric.el:
5401         * international/uni-titlecase.el, international/uni-uppercase.el:
5402         Update for Unicode 6.1.
5404 2012-04-07  Eli Zaretskii  <eliz@gnu.org>
5406         * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
5408 2012-04-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5410         * window.el (shrink-window): Mention the `window-min-height'
5411         variable in the doc string.
5413 2012-04-05  Bastien Guerry  <bzg@altern.org>
5415         * color.el (color-lighten-name): Fix typo.
5417 2012-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
5419         * server.el (server--on-display-p): New function.
5420         (server--on-display-p): Use it.
5422 2012-04-04  Gabor Vida  <vidagabor@gmail.com>  (tiny change)
5424         * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
5425         (bug#11145).
5427 2012-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
5429         * comint.el (comint--common-quoted-suffix): Check string boundary
5430         before comparing (bug#11158).
5431         * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
5433 2012-04-04  Chong Yidong  <cyd@gnu.org>
5435         * minibuffer.el (completion-extra-properties): Doc fix.
5437         * subr.el (delayed-warnings-hook): Doc fix.
5439 2012-04-04  Daiki Ueno  <ueno@unixuser.org>
5441         * epa.el (epa--select-keys): Bind C-c C-c to finish the key
5442         selection (Bug#11159).
5443         (epa-insert-keys): Inform that the default public key will be
5444         exported if no key is selected.
5446 2012-04-04  Richard Stallman  <rms@gnu.org>
5448         * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
5450 2012-04-03  Chong Yidong  <cyd@gnu.org>
5452         * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
5453         mail-insert-file, not its obsolete alias mail-attach-file.
5455 2012-04-03  Michael Albinus  <michael.albinus@gmx.de>
5457         * notifications.el (notifications-notify): Fix docstring.
5459 2012-04-02  Glenn Morris  <rgm@gnu.org>
5461         * emacs-lisp/authors.el (authors-aliases): Another addition.
5463 2012-04-02  Michael Albinus  <michael.albinus@gmx.de>
5465         * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
5466         `tramp-compat-call-process' instead of `tramp-local-call-process'.
5467         Reported by Magnus Henoch <magnus.henoch@gmail.com>.
5469 2012-04-01  Chong Yidong  <cyd@gnu.org>
5471         * files.el (file-in-directory-p): Rename from file-subdir-of-p.
5472         Handle root directory properly.
5473         (copy-directory): Caller changed.
5475         * dired-aux.el (dired-copy-file-recursive, dired-create-files):
5476         * net/tramp.el (tramp-file-name-for-operation): Callers changed.
5478 2012-03-31  Glenn Morris  <rgm@gnu.org>
5480         * term/xterm.el (xterm-extra-capabilities): Doc fix.
5482         * language/indian.el ("Devanagari"): Fix typo.  (Bug#11103)
5484         * calendar/calendar.el (calendar-window-list)
5485         (calendar-hide-window): Restore.  (Bug#11140)
5486         (calendar-exit): Use calendar-window-list, calendar-hide-window again.
5488         * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
5490 2012-03-30  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
5492         * dired-aux.el (dired-copy-file-recursive, dired-create-files):
5493         Check if file is a symlink (Bug#10489).
5495         * files.el (copy-directory): Likewise.
5497 2012-03-30  Chong Yidong  <cyd@gnu.org>
5499         * image.el (imagemagick-types-inhibit)
5500         (imagemagick-register-types): Doc fix.
5502 2012-03-30  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
5504         * textmodes/ispell.el (ispell-get-extended-character-mode):
5505         Disable extended-char-mode for hunspell.  hunspell does not support it
5506         and treats ~word as ordinary words in pipe mode.
5508 2012-03-30  Glenn Morris  <rgm@gnu.org>
5510         * tutorial.el (help-with-tutorial): Ensure local variables don't
5511         happen to make the buffer read-only.  (Bug#11127)
5513 2012-03-30  Stefan Monnier  <monnier@iro.umontreal.ca>
5515         * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
5516         (perl-calculate-indent): Return `noindent' in strings.
5518 2012-03-28  Sam Steingold  <sds@gnu.org>
5520         * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
5521         instead of the broken adhockery which does not prevent calendar
5522         buffers from being displayed at random after exit.
5523         (calendar-window-list, calendar-hide-window): Remove the broken
5524         adhockery.
5526 2012-03-28  Glenn Morris  <rgm@gnu.org>
5528         * replace.el (query-replace-map): Doc fix.
5530 2012-03-28  Andreas Schwab  <schwab@linux-m68k.org>
5532         * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
5533         contents.  (Bug#11109)
5535 2012-03-27  Stefan Monnier  <monnier@iro.umontreal.ca>
5537         * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
5538         (bug#11077).
5539         (avl-tree--check, avl-tree--check-node): New funs.
5541 2012-03-27  Martin Rudalics  <rudalics@gmx.at>
5543         * window.el (switch-to-visible-buffer): New option.
5544         (switch-to-prev-buffer, switch-to-next-buffer):
5545         Observe switch-to-visible-buffer.  Make sure that checking for a window
5546         showing a buffer already is done on the same frame.
5548 2012-03-27  Glenn Morris  <rgm@gnu.org>
5550         * startup.el (mail-host-address): Doc fix.
5552 2012-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
5554         * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
5555         than 197 variables.
5557 2012-03-26  Ami Fischman  <ami@fischman.org>
5559         * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
5561 2012-03-26  Glenn Morris  <rgm@gnu.org>
5563         * files.el (save-buffers-kill-emacs): Doc fix.
5565         * startup.el (normal-top-level, command-line, command-line-1):
5566         Give them doc strings.
5568 2012-03-25  Eli Zaretskii  <eliz@gnu.org>
5570         * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
5571         of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
5573 2012-03-25  Chong Yidong  <cyd@gnu.org>
5575         * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
5576         theme if it was previously enabled before (Bug#11031).
5578         * cus-theme.el (custom-theme-write-faces): Retrieve current face
5579         spec with custom-face-get-current-spec if its :shown-value is not
5580         determined yet (Bug#9337).
5581         (customize-create-theme, custom-theme-revert): Doc fixes.
5583         * button.el (button-at): Minor addition to docstring.
5585 2012-03-24  Simon Leinen  <simon.leinen@gmail.com>
5587         * vc/vc.el (vc-merge): Fix a prompt.
5589 2012-03-24  Chong Yidong  <cyd@gnu.org>
5591         * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
5592         point (Bug#9623).
5594         * button.el (button-at): Minor addition to docstring.
5596 2012-03-23  Stefan Monnier  <monnier@iro.umontreal.ca>
5598         * newcomment.el (comment-choose-indent): No space after BOL.
5600 2012-03-22  Sam Steingold  <sds@gnu.org>
5602         * window.el (switch-to-prev-buffer): Revert last patch because the
5603         bug turned out to be an advertised feature (Elisp manual 28.14).
5605 2012-03-22  Glenn Morris  <rgm@gnu.org>
5607         * vc/vc-bzr.el (vc-bzr-status-switches): New option.  (Bug#6724)
5608         (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
5610 2012-03-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5612         * net/network-stream.el (network-stream-open-starttls): Make error
5613         message under Windows be less misleading.
5615 2012-03-22  Liang Wang  <netcasper@gmail.com>  (tiny change)
5617         * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
5618         understands (bug#9942).
5620 2012-03-22  Chong Yidong  <cyd@gnu.org>
5622         * simple.el (end-of-visible-line): Handle return value of
5623         next-single-property-change properly (Bug#9371).
5625 2012-03-22  Kenichi Handa  <handa@m17n.org>
5627         * international/quail.el (quail-insert-kbd-layout): Fix previous
5628         change.  To avoid unwanted bidi reordering, use
5629         bidi-string-mark-left-to-right instead of inserting LRO and PDF.
5631 2012-03-21  Dmitry Gutov  <dgutov@yandex.ru>
5633         * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
5634         (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
5635         (ruby-beginning-of-indent): Be more careful with the difference
5636         between word-boundary and symbol boundary.
5637         (ruby-mode-syntax-table): Make : a symbol constituent.
5639 2012-03-21  Andreas Politz  <politza@fh-trier.de>
5641         * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
5643 2012-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
5645         * progmodes/etags.el (tags-completion-at-point-function):
5646         Improve last fix.
5648         * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
5650 2012-03-21  Sam Steingold  <sds@gnu.org>
5652         * progmodes/etags.el (tags-completion-at-point-function):
5653         Avoid the error when point is inside the pattern.
5655 2012-03-21  John Yates  <john@yates-sheets.org>  (tiny change)
5657         * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
5658         line (Bug#10855).
5660 2012-03-21  Drew Adams  <drew.adams@oracle.com>
5662         * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
5664 2012-03-21  Anmol Khirbat  <anmol@khirbat.net>  (tiny change)
5666         * ido.el (ido-set-current-directory, ido-read-internal)
5667         (ido-choose-completion-string, ido-completion-help): Handle nil
5668         value of ido-completion-buffer (Bug#11008).
5670 2012-03-21  Sam Steingold  <sds@gnu.org>
5672         * window.el (switch-to-prev-buffer): Do not switch to a visible
5673         window previous buffer, just like with the frame previous buffers.
5675 2012-03-21  Chong Yidong  <cyd@gnu.org>
5677         * faces.el (make-face, make-empty-face, copy-face):
5678         * face-remap.el (face-remap-add-relative, face-remap-set-base):
5679         Doc fixes.
5681 2012-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
5683         * wid-edit.el (widget-complete-field): Remove (bug#11051).
5684         (widget-complete): Remove broken use of it.
5686 2012-03-20  Chong Yidong  <cyd@gnu.org>
5688         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
5689         Use string-width and truncate-string-width to handle arbitrary
5690         characters.
5692 2012-03-20  Tassilo Horn  <tassilo@member.fsf.org>
5694         * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
5695         to draw rectangles, not squares.  (Regression introduced by revno
5696         2011-03-02T03:48:01Z!cyd@stupidchicken.com)
5698 2012-03-18  Chong Yidong  <cyd@gnu.org>
5700         * faces.el (face-spec-reset-face): Don't call display-graphic-p if
5701         it is not yet defined (for temacs).
5703 2012-03-18  Leo Liu  <sdl.web@gmail.com>
5705         * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
5707 2012-03-17  Eli Zaretskii  <eliz@gnu.org>
5709         * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
5710         (ispell-choices-win-default-height, ispell-silently-savep)
5711         (ispell-dictionary-alist, ispell-encoding8-command)
5712         (ispell-check-version, ispell-aspell-find-dictionary)
5713         (ispell-valid-dictionary-list, ispell-words-keyword)
5714         (ispell-get-word, ispell-internal-change-dictionary)
5715         (ispell-region, ispell-skip-region-list)
5716         (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
5717         (ispell-process-line, ispell-minor-mode, ispell-minor-check)
5718         (ispell-message-text-end, ispell-message)
5719         (ispell-buffer-local-parsing): Doc fix.
5721 2012-03-13  Jambunathan K  <kjambunathan@gmail.com>
5723         * htmlfontify.el: Add support for code block fontification for ODT
5724         export (Bug #9914).
5725         (hfy-optimisations): Define new option
5726         `body-text-only'
5727         (hfy-fontify-buffer): Honor above setting.
5728         (hfy-begin-span, hfy-end-span): New routines factored out form
5729         `hfy-fontify-buffer'.
5730         (hfy-begin-span-handler, hfy-end-span-handler): New variables
5731         that permit insertion of custom tags.
5732         (hfy-fontify-buffer): Use above handlers.
5733         (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
5734         (hfy-face-to-css): Re-defined to be a variable.
5735         (hfy-compile-stylesheet): Modify.  Allow stylesheet to be built
5736         over multiple runs.  This is made possible by having the caller let
5737         bind a special variable `hfy-user-sheet-assoc'.
5738         (htmlfontify-string): New defun.
5739         (hfy-compile-face-map): Make sure that the last char in the
5740         buffer is correctly fontified.
5741         (hfy-face-resolve-face): Whitespace only change.
5743 2012-03-17  Eli Zaretskii  <eliz@gnu.org>
5745         * textmodes/ispell.el (ispell-get-decoded-string): Make the error
5746         message more clear.
5748 2012-03-16  Leo Liu  <sdl.web@gmail.com>
5750         * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
5752 2012-03-16  Alan Mackenzie  <acm@muc.de>
5754         Further optimise the handling of large macros.
5756         * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
5757         limit to a call of `c-literal-limits'.
5758         (c-determine-+ve-limit): New function.
5759         (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
5760         (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
5761         In CASE 5B, restrict a search limit to 500.
5762         (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
5764         * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
5765         Restrict macro bounds to +-500 from after-change's BEG END.
5767 2012-03-16  Leo Liu  <sdl.web@gmail.com>
5769         * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
5771 2012-03-16  Aaron S. Hawley  <Aaron.S.Hawley@gmail.com>
5773         * tar-mode.el (tar-mode): Fix saving by conditionally undoing
5774         `special-mode' setting of `buffer-read-only'.  (Bug#11010)
5776 2012-03-16  Glenn Morris  <rgm@gnu.org>
5778         * view.el (view-buffer, view-buffer-other-window)
5779         (view-buffer-other-frame): Doc fixes re special mode-class.
5781         * subr.el (eval-after-load): If named feature is provided not from
5782         a file, run after-load forms.  (Bug#10946)
5784         * calendar/calendar.el (calendar-insert-at-column):
5785         Handle non-unit-width characters a bit better.  (Bug#10978)
5787 2012-03-15  Chong Yidong  <cyd@gnu.org>
5789         * emacs-lisp/ring.el (ring-extend): New function.
5790         (ring-insert+extend): Extend the ring correctly (Bug#11019).
5792         * comint.el (comint-read-input-ring)
5793         (comint-add-to-input-history): Grow comint-input-ring lazily.
5795 2012-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
5797         * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
5798         Fix up parsing of multiline twoarg non-paired elements (bug#11014).
5800         * imenu.el: Fix multiple inheritance breakage (bug#9199).
5801         (imenu-add-to-menubar): Don't add a redundant index.
5802         (imenu-update-menubar): Handle a dynamically composed keymap.
5804 2012-03-13  Katsumi Yamaoka  <yamaoka@jpl.org>
5806         * mail/sendmail.el (mail-encode-header):
5807         Bind rfc2047-encode-encoded-words to nil.
5809 2012-03-13  Glenn Morris  <rgm@gnu.org>
5811         * calendar/calendar.el (calendar-string-spread):
5812         Handle non-unit-width characters a bit better.  (Bug#10978)
5814 2012-03-13  Leo Liu  <sdl.web@gmail.com>
5816         * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
5817         directory and file as argument (Bug#10822).
5819 2012-03-13  Kaushik Srenevasan  <ksrenevasan@gmail.com>  (tiny change)
5821         * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
5822         For dynamically generated code, follow $PC.
5823         (gdb-disassembly-handler-custom): Handle no function name case.
5825 2012-03-13  Tim Landscheidt  <tim@tim-landscheidt.de>  (tiny change)
5827         * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
5828         * emulation/ws-mode.el (ws-query-replace):
5829         * sort.el (sort-regexp-fields):
5830         Fix missing trailing whitespace in interactive prompts.  (Bug#11002)
5832 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
5834         * dabbrev.el: Fix cycle completion order (bug#10963).
5835         (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
5836         (dabbrev-completion): Don't use an obarray; provide
5837         a cycle-sort-function.
5839 2012-03-12  Leo Liu  <sdl.web@gmail.com>
5841         * simple.el (kill-new): Use equal-including-properties for comparison.
5842         (kill-do-not-save-duplicates): Doc fix.
5844 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
5846         * dabbrev.el: Fix cycle completion (bug#10963).
5847         Use lexical binding and wrap to 80 columns.
5848         (dabbrev-completion): Delay computing the list of completions.
5850 2012-03-12  Kenichi Handa  <handa@m17n.org>
5852         * international/quail.el (quail-insert-kbd-layout): Surround each
5853         row by LRO and PDF instead of inserting many LRMs.  Pad the left
5854         and right of each non-spacing marks.  Insert invisible space
5855         between lower and upper characters to prevent composition.
5857 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
5859         * minibuffer.el (minibuffer-complete): Don't get confused when the
5860         function is run twice via different commands (bug#10958).
5861         (complete-with-action): Fix docstring.
5863 2012-03-12  Chong Yidong  <cyd@gnu.org>
5865         * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
5866         (nxml-completion-at-point-function): New function.
5867         (nxml-mode): Use it.
5868         (nxml-bind-meta-tab-to-complete-flag): Default to t.
5870         * emacs-lisp/package.el (package-unpack, package-unpack-single):
5871         Load generated autoloads file before byte compiling (Bug#10970).
5872         (package--make-autoloads-and-compile): New helper fun.
5874 2012-03-12  Christopher Schmidt  <christopher@ch.ristopher.com>
5876         * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
5878 2012-03-11  Michael Albinus  <michael.albinus@gmx.de>
5880         * autorevert.el (auto-revert-handler): Ensure, that
5881         file-readable-p is applied only for local files or in
5882         auto-revert-tail-mode.
5884 2012-03-11  Andreas Schwab  <schwab@linux-m68k.org>
5886         * server.el (server-eval-at): Handle non-tcp connections.
5887         Decode result string.
5889         * server.el (server-msg-size): New constant.
5890         (server-reply-print): New function.
5891         (server-eval-and-print): Use it.
5892         (server-eval-at): Use server-quote-arg and server-unquote-arg.
5893         Handle -print-nonl.
5895 2012-03-11  Christopher Schmidt  <christopher@ch.ristopher.com>
5897         * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
5898         (Bug#10987).
5900 2012-03-11  Chong Yidong  <cyd@gnu.org>
5902         * simple.el (goto-line): Doc fix (Bug#9938).
5904         * subr.el (save-window-excursion): Doc fix (Bug#9979).
5906         * dabbrev.el (dabbrev--find-expansion): Update progress reporter
5907         when finished (Bug#10963).
5909 2012-03-11  Martin Rudalics  <rudalics@gmx.at>
5911         * window.el (split-window-below): Fix bug in case where
5912         split-window-keep-point is nil (Bug#10971).
5914 2012-03-11  Juri Linkov  <juri@jurta.org>
5916         * replace.el (replace-highlight): Set isearch-word to nil
5917         unconditionally.  (Bug#10887)
5919 2012-03-10  Eli Zaretskii  <eliz@gnu.org>
5921         * net/mairix.el (mairix-replace-invalid-chars): Rename from
5922         mairix-replace-illegal-chars; all callers changed.  Don't remove
5923         ^, ~, and = characters: they are meaningful in mairix search specs.
5924         (mairix-widget-create-query): Add usage information about mairix
5925         search forms: negating words, searching for substrings, etc.
5927 2012-03-10  Jae-hyeon Park  <jae-hyeon.park@desy.de>  (tiny change)
5929         * international/fontset.el (font-encoding-alist): Add an entry for
5930         ksx1001 (Bug#5667).
5932 2012-03-10  Richard Stallman  <rms@gnu.org>
5934         * mail/sendmail.el (mail-encode-header):
5935         Set rfc2047-encode-encoded-words.
5937         * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
5939         * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
5940         view buffer means not swapped.
5941         (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
5942         (rmail-write-region-annotate): Error if real text has disappeared.
5944         * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
5946 2012-03-10  Chong Yidong  <cyd@gnu.org>
5948         * emulation/cua-rect.el (cua--init-rectangles):
5949         * emulation/cua-base.el (cua--init-keymaps):
5950         Add delete-forward-char to remappings (Bug#9666).
5952 2012-03-10  Martin Rudalics  <rudalics@gmx.at>
5954         * speedbar.el (speedbar-unhighlight-one-tag-line):
5955         Avoid unhighlighting due to frame switching (Bug#10275).
5957 2012-03-10  Chong Yidong  <cyd@gnu.org>
5959         * minibuffer.el (completion-in-region, completion-help-at-point):
5960         Give the completion field overlay a high priority (Bug#6830).
5962         * dired.el (dired-goto-file): Recognize absolute file name
5963         listings (Bug#7126).
5964         (dired-goto-file-1): New helper function.
5965         (dired-toggle-read-only): Inhibit warnings.
5967 2012-03-09  Michael Albinus  <michael.albinus@gmx.de>
5969         * net/dbus.el (dbus-property-handler): Return empty array if
5970         there are no properties.
5972 2012-03-09  Leo Liu  <sdl.web@gmail.com>
5974         * savehist.el (savehist-printable): Stricter check for string
5975         value (Bug#10937).
5977 2012-03-09  Eli Zaretskii  <eliz@gnu.org>
5979         * mail/smtpmail.el (smtpmail-send-it):
5980         Bind coding-system-for-write to *-unix, so that FCC files are kept in
5981         valid mbox format.
5983 2012-03-09  Glenn Morris  <rgm@gnu.org>
5985         * files.el (dir-locals-find-file):
5986         Don't check result is regular, readable.
5987         (dir-locals-read-from-file): Demote errors.
5989 2012-03-08  Eli Zaretskii  <eliz@gnu.org>
5991         * international/quail.el (quail-insert-kbd-layout):
5992         Insert invisible LRM characters before each character in a keyboard
5993         layout cell, to prevent their reordering by bidi display engine.
5994         For details, see the discussion in
5995         http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
5997 2012-03-08  Alan Mackenzie  <acm@muc.de>
5999         * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
6000         the starting position; make it extend the marked region when
6001         invoked repeatedly - all under appropriate circumstances.
6002         Fixes bugs #5525, #10906.
6004 2012-03-08  Glenn Morris  <rgm@gnu.org>
6006         * files.el (locate-dominating-file, dir-locals-find-file):
6007         Undo 2012-03-06 change.
6009 2012-03-07  Eli Zaretskii  <eliz@gnu.org>
6011         * international/quail.el (quail-help):
6012         Force bidi-paragraph-direction be left-to-right.  See discussion in
6013         http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
6014         for the reason.
6016 2012-03-07  Michael Albinus  <michael.albinus@gmx.de>
6018         Avoid superfluous registering of signals.  (Bug#10807)
6020         * notifications.el (notifications-on-action-object)
6021         (notifications-on-close-object): New defvars.
6022         (notifications-on-action-signal, notifications-on-closed-signal):
6023         Unregister the signal if not needed any longer.
6024         (notifications-notify): Register `notifications-action-signal' or
6025         `notifications-closed-signal', if :on-action or :on-close has been
6026         passed as argument.
6028 2012-03-07  Chong Yidong  <cyd@gnu.org>
6030         * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
6031         non-X platforms.
6033 2012-03-06  Glenn Morris  <rgm@gnu.org>
6035         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
6036         (x-disown-selection-internal, x-get-selection-internal):
6037         Doc fix (add arglist signatures).  (Bug#10783)
6039 2012-03-06  Kaushik Srenevasan  <ksrenevasan@gmail.com>  (tiny change)
6041         * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
6042         Handle breakpoints with no "type".
6044 2012-03-06  Glenn Morris  <rgm@gnu.org>
6046         * files.el (locate-dominating-file): Add optional predicate argument.
6047         (dir-locals-find-file): Make use of above change.
6049 2012-03-06  Thien-Thi Nguyen  <ttn@gnuvola.org>
6051         * info.el (Info-insert-dir): Also try "dir.gz".
6053 2012-03-06  Glenn Morris  <rgm@gnu.org>
6055         * files.el (dir-locals-find-file):
6056         Ignore non-readable or non-regular files.  (Bug#10928)
6058         * files.el (locate-dominating-file): Doc fix.
6060 2012-03-06  Adam Spiers  <emacs@adamspiers.org>  (tiny change)
6062         * calendar/calendar.el (calendar-set-mode-line):
6063         `getenv' returns a string.  (Bug#10951)
6065 2012-03-05  Leo Liu  <sdl.web@gmail.com>
6067         * simple.el (backward-delete-char-untabify): Constrain point to
6068         field (Bug#10939).
6070         * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
6072 2012-03-05  Chong Yidong  <cyd@gnu.org>
6074         * simple.el (count-words): If called from Lisp, return the word
6075         count, for symmetry with `count-lines'.  Arglist changed.
6076         (count-words--message): Args changed.  Consolidate counting code
6077         from count-words and count-words-region.
6078         (count-words-region): Caller changed.
6079         (count-lines-region): Make it an obsolete alias.
6081 2012-03-04  Tassilo Horn  <tassilo@member.fsf.org>
6083         * saveplace.el (save-place-to-alist)
6084         (save-place-ignore-files-regexp): Allow value nil to disable this
6085         feature.
6087 2012-03-04  Chong Yidong  <cyd@gnu.org>
6089         * faces.el (face-spec-reset-face): For the default face, reset the
6090         attributes to default values (Bug#10748).
6092 2012-03-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6094         * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
6095         previous patch: Check `message-send-mail-function', and not the
6096         default function (bug#10897).
6098 2012-03-04  Michael Albinus  <michael.albinus@gmx.de>
6100         * notifications.el (notifications-on-action-signal)
6101         (notifications-on-closed-signal): Check for unique service name of
6102         incoming event.  Fix error in removing entry.
6103         (top): Register for signals with wildcard service name.
6104         (notifications-notify): Use daemon unique service name for map entries.
6106 2012-03-04  Chong Yidong  <cyd@gnu.org>
6108         * cus-start.el: Make x-select-enable-clipboard-manager customizable.
6110 2012-03-04  Glenn Morris  <rgm@gnu.org>
6112         * abbrev.el (copy-abbrev-table, abbrev-table-p)
6113         (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
6114         (expand-abbrev, define-abbrev-table): Doc fixes.
6116 2012-03-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6118         * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
6119         `message-default-send-mail-function' and not `send-mail-function'
6120         when doing the prompting for `sendmail-query-once' before sending
6121         in Message buffers (bug#10897).
6123         * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
6124         This is inconsistent with all the other stream functions, which leave
6125         the setting up to the higher levels (if so wanted) (bug#10931).
6127 2012-03-02  Alan Mackenzie  <acm@muc.de>
6129         Depessimize the handling of very large macros.
6131         * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
6132         (c-macro-cache-syntactic): New variables to implement a one
6133         element macro cache.
6134         (c-invalidate-macro-cache): New function.
6135         (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
6136         Adapt to use the new cache.
6137         (c-state-safe-place): Use better the cache of safe positions.
6138         (c-state-semi-nonlit-pos-cache)
6139         (c-state-semi-nonlit-pos-cache-limit):
6140         New variables for...
6141         (c-state-semi-safe-place): New function.  Here, in a macro is "safe".
6142         (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
6143         (c-in-literal, c-literal-limits, c-determine-limit-get-base):
6144         Use c-state-semi-safe-place.
6146         * progmodes/cc-langs.el (c-get-state-before-change-functions):
6147         Add c-invalidate-macro-cache to the C, C++, Obj entries.
6149 2012-03-02  Michael Albinus  <michael.albinus@gmx.de>
6151         * jka-compr.el (jka-compr-call-process):
6152         Apply `file-accessible-directory-p' only when the default directory is
6153         not remote.
6155 2012-03-01  Michael Albinus  <michael.albinus@gmx.de>
6157         * files.el (file-equal-p): Fix docstring.  Avoid unnecessary
6158         access of FILE2, if FILE1 does not exist.
6160         * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
6161         Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
6163         * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
6164         Add "PAGER=" to `process-environment'.
6166 2012-03-01  Michael R. Mauger  <mmaug@yahoo.com>
6168         * progmodes/sql.el: Bug fix
6169         (sql-get-login-ext): Save login values in globals.
6170         (sql-get-login): Use new version of `sql-get-login-ext'.
6171         (sql-interactive-mode): Set global `sql-connection' to nil.
6172         (sql-connect): Set global values for connection.
6173         (sql-product-interactive): Save global values as buffer local.
6175 2012-02-29  Leo Liu  <sdl.web@gmail.com>
6177         * abbrev.el (define-abbrevs): Reset sys to nil.
6179 2012-02-28  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
6181         * files.el (file-equal-p): Rename from `files-equal-p'.
6182         Return nil when one or both files don't exist.
6183         (file-subdir-of-p): Now only top directory must exists,
6184         return nil if it doesn't.
6185         (copy-directory): No need to test with `file-subdir-of-p' after
6186         creating dir.
6187         * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
6188         to `file-equal-p'.
6190 2012-02-28  Glenn Morris  <rgm@gnu.org>
6192         * shell.el (shell-mode):
6193         * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
6194         * play/landmark.el (landmark-font-lock-face-O):
6195         * play/handwrite.el (handwrite):
6196         * play/gomoku.el (gomoku-O):
6197         * net/browse-url.el (browse-url-browser-display):
6198         * international/mule.el (define-charset):
6199         * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
6200         * filesets.el (filesets-find-file-delay):
6201         * eshell/em-xtra.el (eshell-xtra):
6202         * eshell/em-unix.el (eshell-grep):
6203         * emulation/viper.el (viper-mode):
6204         * emacs-lisp/regexp-opt.el (regexp-opt-group):
6205         * emacs-lisp/easymenu.el (easy-menu-define):
6206         * calendar/timeclock.el (timeclock-use-display-time):
6207         * bs.el (bs-mode):
6208         * bookmark.el (bookmark-save-flag):
6209         Doc fix (standardize possessive apostrophe usage).
6211 2012-02-27  Chong Yidong  <cyd@gnu.org>
6213         * emulation/viper-cmd.el (viper-intercept-ESC-key):
6214         Fix key-binding lookup for ESC key (Bug#9146).
6216         * font-lock.el (font-lock-specified-p): Rename from
6217         font-lock-spec-present.  Callers changed.
6219 2012-02-27  Daniel Hackney  <dan@haxney.org>
6221         * emacs-lisp/package.el (package-compute-transaction):
6222         Handle holding a package version to t in package-load-list.
6224 2012-02-26  Michael Albinus  <michael.albinus@gmx.de>
6226         * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
6227         (tramp-get-inode, tramp-get-device): Use cached values.
6229 2012-02-26  Alan Mackenzie  <acm@muc.de>
6231         Check there is a font-lock specification before doing initial
6232         fontification.
6234         * font-core.el (font-lock-mode): Move the conditional from
6235         :after-hook to font-lock-initial-fontify.
6236         (font-lock-default-function): Move the check for a specification
6237         to font-lock-spec-present.
6239         * font-lock.el (font-lock-initial-fontify): Call ...
6240         (font-lock-spec-present): New function.
6242 2012-02-26  Jim Blandy  <jimb@red-bean.com>
6244         * progmodes/gdb-mi.el (gdb-mi-quote): New function.
6245         (gdb-send): Apply it to the operand of the '-interpreter-exec
6246         console' command, so that we can pass arguments with (say) quotes
6247         in them.  Store exact string sent in gdb-debug-log (Bug#10765).
6249 2012-02-26  Chong Yidong  <cyd@gnu.org>
6251         * help-fns.el (describe-function-1): Clarify description of
6252         remapping (Bug#10844).
6254         * files.el (files-equal-p): Doc fix.
6255         (file-subdir-of-p): Doc fix.  Convert loop macro to plain Lisp,
6256         and quit the loop once a mismatch is found.
6258 2012-02-25  Juanma Barranquero  <lekktu@gmail.com>
6260         * bs.el (bs--show-with-configuration): Don't throw an error
6261         if the window cannot be split; otherwise, subsequent calls to
6262         bs-show fail, restoring a stale window config.  (Bug#10882)
6264 2012-02-25  Jan Djärv  <jan.h.d@swipnet.se>
6266         * term/ns-win.el (global-map): Bind ns-drag-file to
6267         ns-find-file (Bug#5855, Bug#10050).
6269 2012-02-25  Andreas Schwab  <schwab@linux-m68k.org>
6271         * calendar/parse-time.el (parse-time-string): Allow extractor to
6272         return nil.
6274 2012-02-25  Michael Albinus  <michael.albinus@gmx.de>
6276         * net/tramp.el (tramp-file-name-for-operation):
6277         Add `files-equal-p' and `file-subdir-of-p'.
6279         * net/tramp-sh.el (tramp-sh-handle-copy-directory):
6280         * net/tramp-smb.el (tramp-smb-handle-copy-directory):
6281         Add COPY-CONTENTS argument.
6283 2012-02-25  Chong Yidong  <cyd@gnu.org>
6285         Add custom groups for VC backends, for consistency with vc-bzr.
6287         * vc/vc-arch.el (vc-arch):
6288         * vc/vc-cvs.el (vc-cvs):
6289         * vc/vc-git.el (vc-git):
6290         * vc/vc-hg.el (vc-hg):
6291         * vc/vc-mtn.el (vc-mtn):
6292         * vc/vc-rcs.el (vc-rcs):
6293         * vc/vc-sccs.el (vc-sccs):
6294         * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
6295         All relevant defcustoms reassigned.
6297 2012-02-25  Chong Yidong  <cyd@gnu.org>
6299         * newcomment.el (comment-styles): Add autoload (Bug#10868).
6301         * term/x-win.el (x-initialize-window-system): Reduce default for
6302         x-selection-timeout to 5 seconds (Bug#8869).
6304 2012-02-24  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
6306         * files.el (files-equal-p, file-subdir-of-p): New functions.
6307         (copy-directory): Error when trying to copy a directory on itself.
6308         Add missing copy-contents arg to tramp handler.
6309         * dired-aux.el (dired-copy-file-recursive): Same.
6310         (dired-create-files): Modify destination when source is equal to
6311         dest when copying files.
6312         Return also when dest is a subdir of source.  (Bug#10489)
6314 2012-02-24  Michael Albinus  <michael.albinus@gmx.de>
6316         * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
6317         (Bug#10874)
6319 2012-02-23  Alan Mackenzie  <acm@muc.de>
6321         * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
6322         parameter "after-hook:" to allow the expansion to run code after
6323         the execution of the mode hooks.
6325         * font-lock.el (font-lock-initial-fontify): New function extracted
6326         from font-lock-mode-internal.
6328         * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
6329         :after-hook.
6331 2012-02-23  Stefan Monnier  <monnier@iro.umontreal.ca>
6333         * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
6334         (completion--cache-all-sorted-completions): New function.
6335         (completion-all-sorted-completions): Use it.
6336         (completion--do-completion, minibuffer-force-complete):
6337         Use it to re-instate the flush hook.
6339         * icomplete.el (icomplete-completions): Replace last fix with a better
6340         one (bug#10850).
6342 2012-02-23  Dmitry Gutov  <dgutov@yandex.ru>
6344         * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
6345         when it might call us back infinitely (bug#10797).
6347 2012-02-23  Glenn Morris  <rgm@gnu.org>
6349         * minibuffer.el (completion-category-overrides): Doc fix.
6351 2012-02-23  Stefan Monnier  <monnier@iro.umontreal.ca>
6353         * minibuffer.el (completion-table-with-context): Fix inf-loop.
6354         Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
6356 2012-02-23  Glenn Morris  <rgm@gnu.org>
6358         * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
6359         (authors-obsolete-files-regexps, authors-ignored-files)
6360         (authors-ambiguous-files, authors-renamed-files-alist):
6361         Add more entries.
6363 2012-02-23  Juri Linkov  <juri@jurta.org>
6365         * isearch.el (isearch-occur): Sync interactive spec with occur's
6366         new feature in `occur-read-primary-args'.  Doc fix.  (Bug#10705)
6368         * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
6370 2012-02-22  Juri Linkov  <juri@jurta.org>
6372         * international/mule-cmds.el (read-char-by-name): Use \` and \'.
6373         (ucs-insert): Doc fix.  Check for hex digits in the string.
6374         Don't display `nil' in the error message.  (Bug#10857)
6376 2012-02-22  Alan Mackenzie  <acm@muc.de>
6378         * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
6380 2012-02-22  Glenn Morris  <rgm@gnu.org>
6382         * ffap.el (ffap-c-path):
6383         * man.el (Man-header-file-path): Handle multiarch.  (Bug#10702)
6385 2012-02-22  Chong Yidong  <cyd@gnu.org>
6387         * custom.el (load-theme): Doc fix.
6389 2012-02-22  Glenn Morris  <rgm@gnu.org>
6391         * dired-x.el (dired-guess-shell-alist-default):
6392         Remove escape sequences from nroff output.  (Bug#172)
6394 2012-02-21  Glenn Morris  <rgm@gnu.org>
6396         * vc/emerge.el (emerge-defvar-local):
6397         Set `permanent-local' property rather than unused `preserved'.
6399         * textmodes/picture.el (picture-delete-char): New alias.
6400         (picture-mode-map): Use it.  (Bug#10860)
6401         (picture-mode): Doc fix.
6403 2012-02-21  Juanma Barranquero  <lekktu@gmail.com>
6405         * newcomment.el (uncomment-region-default): Remove unused binding.
6407 2012-02-21  Glenn Morris  <rgm@gnu.org>
6409         * textmodes/picture.el (picture-motion, picture-motion-reverse)
6410         (picture-self-insert, picture-tab-chars): Doc fix.
6411         (picture-mode-map): Fix C-a, C-e.
6413 2012-02-20  Glenn Morris  <rgm@gnu.org>
6415         * emacs-lisp/authors.el (authors-aliases): Add another entry.
6417 2012-02-20  Leo Liu  <sdl.web@gmail.com>
6419         * icomplete.el (icomplete-completions): Check FROM arg before
6420         passing to substring (Bug#10850).
6422 2012-02-19  Chong Yidong  <cyd@gnu.org>
6424         * comint.el: Require ansi-color.
6425         (comint-output-filter-functions): Add ansi-color-process-output.
6427         * ansi-color.el: Don't set comint-output-filter-functions; it is
6428         now in the initial value defined in comint.el.
6429         (ansi-color-apply-face-function): New variable.
6430         (ansi-color-apply-on-region): Use it.
6431         (ansi-color-apply-overlay-face): New function.
6433         * shell.el (shell): No need to require ansi-color.
6434         (shell-mode): Use ansi-color-apply-face-function to highlight
6435         color escapes using font-lock-face property (Bug#10835).
6437 2012-02-19  Chong Yidong  <cyd@gnu.org>
6439         * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
6440         mode-line formats (Bug#10839).
6442 2012-02-18  Glenn Morris  <rgm@gnu.org>
6444         * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
6446         * mail/undigest.el (unforward-rmail-message): Doc fix.
6448         * saveplace.el (save-place-ignore-files-regexp): Add :version.
6450 2012-02-18  Eli Zaretskii  <eliz@gnu.org>
6452         * international/characters.el (script-list): Sync with the latest
6453         Unicode Character Database.
6455 2012-02-18  Andreas Schwab  <schwab@linux-m68k.org>
6457         * international/titdic-cnv.el: Remove duplicate coding tag.
6458         * language/cham.el: Likewise.
6459         * language/tai-viet.el: Likewise.
6461 2012-02-18  Glenn Morris  <rgm@gnu.org>
6463         * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
6464         * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
6465         (calendar-bahai-all-holidays-flag, calendar-other-dates):
6466         * calendar/diary-lib.el (diary-abbreviated-year-flag):
6467         * calendar/holidays.el (holiday-bahai-holidays)
6468         (calendar-holidays, list-holidays):
6469         Use utf-8 Bahá'í in doc-strings, menus, etc.
6471 2012-02-17  Tassilo Horn  <tassilo@member.fsf.org>
6473         * saveplace.el (save-place-ignore-files-regexp): New variable
6474         allowing for excluding files from saving their location of point.
6475         The default value matches the temporary commit message editing
6476         files from Git, SVN, Bazaar, and Mercurial.
6477         (save-place-to-alist): Use it.
6479 2012-02-17  Lawrence Mitchell  <wence@gmx.li>
6480             Stefan Monnier  <monnier@iro.umontreal.ca>
6482         * newcomment.el (uncomment-region-default): Don't leave extra space
6483         when an arg is provided (bug#8150).
6485 2012-02-17  Teodor Zlatanov  <tzz@lifelogs.com>
6487         * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
6489 2012-02-17  Glenn Morris  <rgm@gnu.org>
6491         * net/socks.el: Require network-stream.  (Bug#10599)
6493 2012-02-17  Kenichi Handa  <handa@m17n.org>
6495         * international/charprop.el:
6496         * international/uni-name.el:
6497         * international/uni-old-name.el:
6498         * international/uni-comment.el: Regenerate.
6500 2012-02-16  Glenn Morris  <rgm@gnu.org>
6502         * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
6503         Interactively in calendar buffer, give an error if not on a date.
6505 2012-02-15  Glenn Morris  <rgm@gnu.org>
6507         * shell.el (shell-delimiter-argument-list):
6508         Revert 2011-02-17 change.  (Bug#8027)
6510 2012-02-15  Chong Yidong  <cyd@gnu.org>
6512         * minibuffer.el (completion-at-point-functions): Doc fix.
6514         * custom.el (defcustom): Doc fix; note use of defvar.
6516 2012-02-15  Glenn Morris  <rgm@gnu.org>
6518         * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
6519         Doc fixes.
6521 2012-02-14  Glenn Morris  <rgm@gnu.org>
6523         * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
6525 2012-02-14  Lars Ingebrigtsen  <larsi@gnus.org>
6527         * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
6528         way the ports list is computed.
6529         (smtpmail-query-smtp-server): Prompt the user for a port number if
6530         we can't connect to any of the standard ports (bug#10810).
6532 2012-02-14  Teodor Zlatanov  <tzz@lifelogs.com>
6534         * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
6536 2012-02-13  Glenn Morris  <rgm@gnu.org>
6538         * minibuffer.el (read-file-name): Doc fix.  (Bug#10798)
6540 2012-02-13  Teodor Zlatanov  <tzz@lifelogs.com>
6542         * net/gnutls.el (gnutls-trustfiles): New variable.
6543         (gnutls-negotiate): Use it.
6545 2012-02-13  Lars Ingebrigtsen  <larsi@gnus.org>
6547         * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
6548         does its stuff if Gnus is running.
6550 2012-02-13  Alan Mackenzie  <acm@muc.de>
6552         Fix a loop in c-set-fl-decl-start.
6554         * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
6555         c-backward-syntactic-ws actually moves backwards.
6557 2012-02-13  Leo Liu  <sdl.web@gmail.com>
6559         * net/rcirc.el (rcirc-markup-attributes): Move point to the
6560         beginning so that all \C-o chars are removed.
6562 2012-02-12  Teodor Zlatanov  <tzz@lifelogs.com>
6564         * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
6566 2012-02-12  Alan Mackenzie  <acm@muc.de>
6568         Fix infinite loop with long macros.
6569         * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
6571 2012-02-12  Chong Yidong  <cyd@gnu.org>
6573         * window.el (display-buffer): Doc fix (Bug#10785).
6575 2012-02-12  Glenn Morris  <rgm@gnu.org>
6577         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
6578         (x-disown-selection-internal, x-get-selection-internal):
6579         Sync docs with the xselect.c versions.
6581         * allout-widgets.el: Add missing license notice.
6583 2012-02-11  Glenn Morris  <rgm@gnu.org>
6585         * select.el (x-get-selection-internal, x-own-selection-internal)
6586         (x-disown-selection-internal):
6587         * x-dnd.el (x-get-selection-internal): Update declarations.
6589         * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
6591         * window.el (window-sides-slots):
6592         * tool-bar.el (tool-bar-position):
6593         * term/xterm.el (xterm-extra-capabilities):
6594         * ses.el (ses-self-reference-early-detection):
6595         * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
6596         (verilog-auto-wire-type)
6597         (verilog-auto-delete-trailing-whitespace)
6598         (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
6599         (verilog-auto-tieoff-declaration):
6600         * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
6601         (sql-oracle-statement-starters, sql-oracle-scan-on):
6602         * progmodes/prolog.el (prolog-align-comments-flag)
6603         (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
6604         (prolog-left-indent-regexp, prolog-paren-indent-p)
6605         (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
6606         (prolog-types, prolog-mode-specificators)
6607         (prolog-determinism-specificators, prolog-directives)
6608         (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
6609         (prolog-electric-dot-flag)
6610         (prolog-electric-dot-full-predicate-template)
6611         (prolog-electric-underscore-flag, prolog-electric-tab-flag)
6612         (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
6613         (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
6614         (prolog-program-switches, prolog-prompt-regexp)
6615         (prolog-debug-on-string, prolog-debug-off-string)
6616         (prolog-trace-on-string, prolog-trace-off-string)
6617         (prolog-zip-on-string, prolog-zip-off-string)
6618         (prolog-use-standard-consult-compile-method-flag)
6619         (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
6620         (prolog-imenu-max-lines, prolog-info-predicate-index)
6621         (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
6622         (prolog-char-quote-workaround):
6623         * progmodes/cc-vars.el (c-defun-tactic):
6624         * net/tramp.el (tramp-encoding-command-interactive)
6625         (tramp-local-end-of-line):
6626         * net/soap-client.el (soap-client):
6627         * net/netrc.el (netrc-file):
6628         * net/gnutls.el (gnutls):
6629         * minibuffer.el (completion-category-overrides)
6630         (completion-cycle-threshold)
6631         (completion-pcm-complete-word-inserts-delimiters):
6632         * man.el (Man-name-local-regexp):
6633         * mail/feedmail.el (feedmail-display-full-frame):
6634         * international/characters.el (glyphless-char-display-control):
6635         * eshell/em-ls.el (eshell-ls-date-format):
6636         * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
6637         (lisp-lambda-list-keyword-parameter-indentation)
6638         (lisp-lambda-list-keyword-parameter-alignment):
6639         * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
6640         * dired-x.el (dired-omit-verbose):
6641         * cus-theme.el (custom-theme-allow-multiple-selections):
6642         * calc/calc.el (calc-highlight-selections-with-faces)
6643         (calc-lu-field-reference, calc-lu-power-reference)
6644         (calc-note-threshold):
6645         * battery.el (battery-mode-line-limit):
6646         * arc-mode.el (archive-7z-extract, archive-7z-expunge)
6647         (archive-7z-update):
6648         * allout.el (allout-prefixed-keybindings)
6649         (allout-unprefixed-keybindings)
6650         (allout-inhibit-auto-fill-on-headline)
6651         (allout-flattened-numbering-abbreviation):
6652         * allout-widgets.el (allout-widgets-auto-activation)
6653         (allout-widgets-icons-dark-subdir)
6654         (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
6655         (allout-widgets-theme-dark-background)
6656         (allout-widgets-theme-light-background)
6657         (allout-widgets-item-image-properties-emacs)
6658         (allout-widgets-item-image-properties-xemacs)
6659         (allout-widgets-run-unit-tests-on-load)
6660         (allout-widgets-time-decoration-activity)
6661         (allout-widgets-hook-error-post-time)
6662         (allout-widgets-track-decoration):
6663         Add missing :version tags to new defcustoms and defgroups.
6665         * progmodes/sql.el (sql-ansi-statement-starters)
6666         (sql-oracle-statement-starters): Add custom type.
6668         * progmodes/prolog.el: Remove leading '*' from defcustom docs.
6669         (prolog-system-version): Give it a type.
6671 2012-02-11  Eli Zaretskii  <eliz@gnu.org>
6673         * term/pc-win.el (x-select-text, x-selection-owner-p)
6674         (x-own-selection-internal, x-disown-selection-internal)
6675         (x-get-selection-internal): Sync doc strings and argument lists
6676         with xselect.c, common-win.el and x-win.el.  (Bug#10783)
6678 2012-02-11  Leo Liu  <sdl.web@gmail.com>
6680         * progmodes/python.el (python-end-of-statement): Fix infinite
6681         loop.  (Bug#10788)
6683 2012-02-10  Glenn Morris  <rgm@gnu.org>
6685         * international/mule-cmds.el (unify-8859-on-encoding-mode)
6686         (unify-8859-on-decoding-mode): Properly mark as obsolete.
6688 2012-02-10  Lars Ingebrigtsen  <larsi@gnus.org>
6690         * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
6691         about SMTP before checking the From header.
6693         * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
6694         into own function for reuse by emacsbug.el.
6696 2012-02-10  Leo Liu  <sdl.web@gmail.com>
6698         * subr.el (condition-case-unless-debug): Rename from
6699         condition-case-no-debug.  All callers changed.
6700         (with-demoted-errors): Fix caller.
6702         * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
6703         * nxml/rng-valid.el (rng-do-some-validation):
6704         * emacs-lisp/package.el (package-refresh-contents)
6705         (package-menu-execute):
6706         * desktop.el (desktop-create-buffer):
6707         * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
6709 2012-02-10  Glenn Morris  <rgm@gnu.org>
6711         * textmodes/bibtex.el:
6712         Add missing :version tags for new/changed defcustoms.
6714         * files.el (remote-file-name-inhibit-cache): Doc fixes.
6716 2012-02-09  Lars Ingebrigtsen  <larsi@rusty>
6718         * mail/smtpmail.el (smtpmail-user-mail-address): New function.
6719         (smtpmail-via-smtp): Use it, or fall back on the From address.
6720         (smtpmail-send-it): Ditto.
6722 2012-02-09  Stefan Monnier  <monnier@iro.umontreal.ca>
6724         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
6725         Don't fallback on byte-compile-defvar.  Optimize (defvar foo) away.
6726         (byte-compile-tmp-var): New const.
6727         (byte-compile-defvar): Use it to minimize .elc size.
6728         Just use `defvar' rather than simulate it (bug#10761).
6730 2012-02-09  Glenn Morris  <rgm@gnu.org>
6732         * files.el (rename-uniquely): Doc fix.  (Bug#3806)
6734         * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
6735         Add :version tags.
6737         * progmodes/compile.el (compilation-error-screen-columns)
6738         (compilation-first-column, compilation-filter-start): Doc fixes.
6740         * vc/log-view.el (log-view-toggle-entry-display):
6741         * vc/vc.el (vc-merge, vc-pull): Doc fixes.
6743         * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
6744         (report-emacs-bug-can-use-xdg-email):
6745         (report-emacs-bug-insert-to-mailer): Doc fixes.
6746         (report-emacs-bug): Message fix.
6748         * net/browse-url.el (browse-url-can-use-xdg-open)
6749         (browse-url-xdg-open): Doc fixes.
6751         * electric.el (electric-indent-mode, electric-pair-mode)
6752         (electric-layout-rules, electric-layout-mode): Doc fixes.
6753         (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
6755 2012-02-08  Martin Rudalics  <rudalics@gmx.at>
6757         * server.el (server-unselect-display): Don't inadvertently kill
6758         the current buffer.  (Bug#10729)
6760 2012-02-08  Glenn Morris  <rgm@gnu.org>
6762         * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
6763         (sql-list-table): Doc fixes.
6765         * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
6766         Comment out (does nothing).
6768         * completion.el (dynamic-completion-mode):
6769         * dirtrack.el (dirtrack-debug-mode):
6770         * electric.el (electric-layout-mode):
6771         * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
6772         * face-remap.el (text-scale-mode, buffer-face-mode):
6773         * iimage.el (iimage-mode):
6774         * image-mode.el (image-transform-mode):
6775         * minibuffer.el (completion-in-region-mode):
6776         * scroll-lock.el (scroll-lock-mode):
6777         * simple.el (next-error-follow-minor-mode):
6778         * tar-mode.el (tar-subfile-mode):
6779         * tooltip.el (tooltip-mode):
6780         * vcursor.el (vcursor-use-vcursor-map):
6781         * wid-browse.el (widget-minor-mode):
6782         * emulation/tpu-edt.el (tpu-edt-mode):
6783         * emulation/tpu-extras.el (tpu-cursor-free-mode):
6784         * international/iso-ascii.el (iso-ascii-mode):
6785         * language/thai-util.el (thai-word-mode):
6786         * mail/supercite.el (sc-minor-mode):
6787         * net/goto-addr.el (goto-address-mode):
6788         * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
6789         * progmodes/cwarn.el (cwarn-mode):
6790         * progmodes/flymake.el (flymake-mode):
6791         * progmodes/glasses.el (glasses-mode):
6792         * progmodes/hideshow.el (hs-minor-mode):
6793         * progmodes/pascal.el (pascal-outline-mode):
6794         * textmodes/enriched.el (enriched-mode):
6795         * vc/smerge-mode.el (smerge-mode):
6796         Doc fixes (minor mode argument).
6798 2012-02-07  Eli Zaretskii  <eliz@gnu.org>
6800         * ls-lisp.el (ls-lisp-sanitize): New function.
6801         (ls-lisp-insert-directory): Use it to fix or remove any elements
6802         in file-alist with missing attributes.  (Bug#4673)
6804 2012-02-07  Alan Mackenzie  <acm@muc.de>
6806         Fix spurious recognition of c-in-knr-argdecl.
6808         * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
6809         putative K&R region.
6811 2012-02-07  Alan Mackenzie  <acm@muc.de>
6813         * progmodes/cc-engine.el (c-forward-objc-directive):
6814         Prevent looping in "#pragma mark @implementation".
6816 2012-02-07  Michael Albinus  <michael.albinus@gmx.de>
6818         * notifications.el (notifications-on-closed-signal): Make `reason'
6819         optional.  (Bug#10744)
6821 2012-02-07  Glenn Morris  <rgm@gnu.org>
6823         * emacs-lisp/easy-mmode.el (define-minor-mode):
6824         Doc fixes for the macro and the mode it defines.
6826         * image.el (imagemagick-types-inhibit): Doc fix.
6828         * cus-start.el (imagemagick-render-type): Add it.
6830 2012-02-06  Lars Ingebrigtsen  <larsi@gnus.org>
6832         * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
6833         Set the default at load time, too, so that `font-lock-fontify-buffer'
6834         can be called without setting up the entire mode first.  This fixes
6835         a bug in `mm-inline-text' with C MIME parts.
6837 2012-02-06  Chong Yidong  <cyd@gnu.org>
6839         * simple.el (list-processes--refresh): Delete exited processes
6840         (Bug#8094).
6842         * comint.el (comint-next-prompt): next-single-char-property-change
6843         and prev-single-char-property-change never return nil (Bug#8657).
6845         * custom.el (defcustom): Doc fix (Bug#9711).
6847 2012-02-05  Chong Yidong  <cyd@gnu.org>
6849         * cus-edit.el (custom-variable-reset-backup): Quote the value
6850         before storing it in the customized-value property (Bug#6712).
6851         (custom-display): Add a customization type tag.
6852         (custom-buffer-create-internal): Improve tooltip message.
6854         * wid-edit.el (widget-field-value-get): New optional arg to
6855         suppress trailing whitespace truncation.
6856         (character): Use it (Bug#2689).
6858 2012-02-05  Andreas Schwab  <schwab@linux-m68k.org>
6860         * progmodes/gud.el (gud-pv): Use pv instead of pv1.
6861         * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
6863 2012-02-05  Chong Yidong  <cyd@gnu.org>
6865         * cus-edit.el (custom-variable-value-create): For mismatched
6866         types, show the current value (Bug#7600).
6868         * custom.el (defcustom): Doc fix.
6870 2012-02-05  Glenn Morris  <rgm@gnu.org>
6872         * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
6874 2012-02-05  Juanma Barranquero  <lekktu@gmail.com>
6876         * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
6877         (pp-buffer): Use `ignore-errors', `looking-at-p'.
6878         (pp-last-sexp): Use `looking-at-p'.
6880 2012-02-04  Glenn Morris  <rgm@gnu.org>
6882         * files.el (revert-buffer):
6883         Doc fix (mention revert-buffer-in-progress-p).
6885         * emacs-lisp/ert-x.el (ert-simulate-command):
6886         Check deferred-action-list (which is obsolete) is bound.
6888         * subr.el (with-wrapper-hook): Doc fixes.
6890         * simple.el (filter-buffer-substring-functions)
6891         (buffer-substring-filters, filter-buffer-substring): Doc fixes.
6893 2012-02-04  Lars Ljung  <lars@matholka.se>  (tiny change)
6895         * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
6896         anywhere in shell-file-name, not just at the beginning.  (Bug#10523)
6898 2012-02-04  Leo Liu  <sdl.web@gmail.com>
6900         * emacs-lisp/smie.el: Fix dead link (Bug#10711).
6902 2012-02-04  Glenn Morris  <rgm@gnu.org>
6904         * image.el (image-extension-data): Add obsolete alias.
6906         * isearch.el (isearch-update): Doc fix.
6908         * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
6910         * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
6912 2012-02-03  Glenn Morris  <rgm@gnu.org>
6914         * image.el (image-animated-p): Doc fix.  Use image-animated-types.
6915         (image-animate-timeout): Doc fix.
6917         * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
6919 2012-02-02  Glenn Morris  <rgm@gnu.org>
6921         * server.el (server-auth-dir): Doc fix.
6922         (server-eval-at): Doc fix.  Give an explicit error if !server-use-tcp.
6924         * subr.el (run-mode-hooks): Doc fix.
6926 2012-02-02  Juri Linkov  <juri@jurta.org>
6928         * image-mode.el (image-toggle-display-image): Remove tautological
6929         `major-mode' from the `derived-mode-p' test.
6931 2012-02-02  Kenichi Handa  <handa@m17n.org>
6933         * composite.el (compose-region): Cancel previous change.
6935 2012-02-02  Kenichi Handa  <handa@m17n.org>
6937         * composite.el (compose-region, compose-string): Signal error for
6938         a null string component (Bug#6988).
6940 2012-02-01  Chong Yidong  <cyd@gnu.org>
6942         * view.el (view-buffer-other-window, view-buffer-other-frame):
6943         Handle special modes like view-buffer (Bug#10650).
6944         (view-buffer): Simplify.
6946         * frame.el (set-frame-font): Tweak meaning of third argument.
6948         * dynamic-setting.el (font-setting-change-default-font):
6949         Use set-frame-font (Bug#9982).
6951 2012-02-01  Glenn Morris  <rgm@gnu.org>
6953         * progmodes/compile.el (compilation-internal-error-properties):
6954         Respect compilation-first-column in the "*compilation*" buffer.
6956         * emacs-lisp/easy-mmode.el (define-minor-mode):
6957         Relax :variable's test for a named function.
6959 2012-01-31  Alan Mackenzie  <acm@muc.de>
6961         * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
6962         off by one error.
6964 2012-01-31  Chong Yidong  <cyd@gnu.org>
6966         * frame.el (set-frame-font): New arg ALL-FRAMES.
6968         * menu-bar.el (menu-set-font): Use set-frame-font.
6970         * faces.el (face-spec-reset-face): Don't apply unspecified
6971         attribute values to the default face.
6973 2012-01-31  Juanma Barranquero  <lekktu@gmail.com>
6975         * progmodes/cwarn.el (cwarn): Remove dead link.
6976         (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
6977         Remove * from defcustom docstrings.
6978         (turn-on-cwarn-mode): Make obsolete.
6979         (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
6980         (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
6982 2012-01-31  Glenn Morris  <rgm@gnu.org>
6984         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6985         Fix :variable handling of mode a symbol not equal to modefun.
6986         Allow named functions to be used as the cdr of :variable.
6988 2012-01-30  Glenn Morris  <rgm@gnu.org>
6990         * emacs-lisp/authors.el (authors-fixed-entries):
6991         Remove reference to deleted file rnewspost.el.
6993 2012-01-29  Juanma Barranquero  <lekktu@gmail.com>
6995         * window.el (window-with-parameter): Remove unused variable `windows'.
6996         (window--side-check): Remove unused variable `code'.
6997         (window--resize-siblings): Remove unused variable `first'.
6998         (adjust-window-trailing-edge): Remove unused variable `failed'.
6999         (window-deletable-p, window--delete): Remove unused variable `buffer'.
7000         Use `let', not `let*'.
7001         (balance-windows-2): Remove unused variable `found'.
7002         (window--state-put-2): Remove unused variable `splits'.
7003         (window-state-put): Remove unused variable `selected'.
7004         (same-window-p): Use `string-match-p'.
7005         (display-buffer-assq-regexp): Remove unused variable `value'.
7006         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7007         Mark argument ALIST as ignored.
7008         (pop-to-buffer): Remove unused variable `old-window'.
7010 2012-01-29  Eli Zaretskii  <eliz@gnu.org>
7012         * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
7013         and .lzma compressed files.
7015 2012-01-29  Chong Yidong  <cyd@gnu.org>
7017         * frame.el (window-system-default-frame-alist): Doc fix.
7019         * dynamic-setting.el (font-setting-change-default-font): Don't
7020         change the default face if SET-FONT argument is non-nil (Bug#9982).
7022 2012-01-29  Samuel Bronson  <naesten@gmail.com>  (tiny change)
7024         * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
7026 2012-01-29  Syver Enstad  <syver.enstad@cisco.com>  (tiny change)
7028         * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
7029         breakpoints in files outside current directory (Bug#6098).
7031 2012-01-29  Chong Yidong  <cyd@gnu.org>
7033         * progmodes/python.el: Require ansi-color at top-level.
7035         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
7036         Define and use in Emacs Lisp mode (Bug#9360).
7037         (lisp-mode-abbrev-table): Add doc.
7038         (lisp-mode-variables): Don't set local-abbrev-table.
7039         (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
7041 2012-01-28  Roland Winkler  <winkler@gnu.org>
7043         * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
7045 2012-01-28  Roland Winkler  <winkler@gnu.org>
7047         * textmodes/bibtex.el (bibtex-entry-alist): New function.
7048         (bibtex-set-dialect): Use it.  Either set global values of
7049         dialect-dependent variables or bind these variables buffer-locally
7050         (Bug#10254).
7051         (bibtex-mode): Call bibtex-set-dialect via
7052         hack-local-variables-hook.
7053         (bibtex-dialect): Update docstring.
7054         Add safe-local-variable predicate.
7055         (bibtex-entry-alist, bibtex-field-alist): Initialize via
7056         bibtex-set-dialect.
7057         (bibtex-mode-map): Define menu for each dialect.
7058         (bibtex-entry): Fix docstring.
7060 2012-01-28  Chong Yidong  <cyd@gnu.org>
7062         * eshell/esh-arg.el (eshell-quote-argument): New function.
7064         * eshell/esh-ext.el (eshell-invoke-batch-file):
7065         * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
7066         first arg to eshell-parse-command (Bug#10523).
7068 2012-01-28  Drew Adams  <drew.adams@oracle.com>
7070         * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
7071         `default-directory' is non-nil.
7073 2012-01-28  Eli Zaretskii  <eliz@gnu.org>
7075         * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
7076         line that displays system-configuration-options.  (Bug#9924)
7078 2012-01-28  Drew Adams  <drew.adams@oracle.com>
7080         * descr-text.el (describe-char): Show information about POS, in
7081         addition to information about the character at POS.  Improve and
7082         update the doc string.  Change "code point" to "code point in
7083         charset", to avoid confusion with the character's Unicode code
7084         point shown above that.  (Bug#10129)
7086 2012-01-28  Eli Zaretskii  <eliz@gnu.org>
7088         * descr-text.el (describe-char): Show the raw character, not only
7089         its display form at POS.  Suggested by Kenichi Handa <handa@m17n.org>.
7090         See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
7091         for the reasons.
7093 2012-01-28  Phil Hagelberg  <phil@hagelb.org>
7095         * emacs-lisp/package.el (package-install):
7096         Run package-refresh-contents if there is no archive yet (Bug#9798).
7098 2012-01-28  Chong Yidong  <cyd@gnu.org>
7100         * emacs-lisp/package.el (package-maybe-load-descriptor):
7101         New function, split from package-maybe-load-descriptor.
7102         (package-maybe-load-descriptor): Use it.
7103         (package-download-transaction): Fully load required packages
7104         inside the loop, so that `require' calls work (Bug#10593).
7105         (package-install): No need to call package-initialize now.
7107 2012-01-28  Chong Yidong  <cyd@gnu.org>
7109         * simple.el (deactivate-mark): Doc fix (Bug#8614).
7111         * tooltip.el (tooltip-mode): Doc fix.
7112         (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
7114         * frame.el (set-cursor-color): Doc fix (Bug#352).
7116         * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
7117         (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
7119         * cus-edit.el (custom-buffer-create-internal): Fix search button
7120         action (Bug#10542).
7121         (customize-unsaved, customize-saved): Doc fix (Bug#10541).
7123 2012-01-27  Eduard Wiebe  <usenet@pusto.de>
7125         * dired.el (dired-mark-files-regexp):
7126         Include any subdirectory components.  (Bug#10445)
7128 2012-01-27  Mike Lamb  <mrlamb@gmail.com>  (tiny change)
7130         * pcmpl-unix.el (pcmpl-ssh-known-hosts):
7131         Handle [host]:port syntax.  (Bug#10533)
7133 2012-01-27  Alex Harsanyi  <harsanyi@mac.com>
7135         * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
7137 2012-01-26  Glenn Morris  <rgm@gnu.org>
7139         * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
7140         * term.el (term-raw-escape-map): Use Control-X-prefix.
7141         * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map.  (Bug#10566)
7143 2012-01-25  Martin Rudalics  <rudalics@gmx.at>
7145         * window.el (window-state-get, window--state-get-1): Don't deal
7146         with fixed-sizeness of windows.  Simplify code.
7148 2012-01-25  Jérémy Compostella  <jeremy.compostella@gmail.com>
7150         * window.el (window--state-get-1, window--state-put-2):
7151         Don't save and restore the mark.
7153 2012-01-25  Chong Yidong  <cyd@gnu.org>
7155         * custom.el (custom-variable-p): Doc fix.
7157 2012-01-25  Glenn Morris  <rgm@gnu.org>
7159         * dired.el (dired-goto-file): Handle some of the more common
7160         characters that `ls -b' escapes.  (Bug#10596)
7162         * progmodes/compile.el (compilation-next-error-function):
7163         Respect compilation-first-column in the "*compilation*" buffer.
7164         * progmodes/grep.el (grep-first-column): New variable.  (Bug#10594)
7166         * vc/vc.el (vc-modify-change-comment): Scoping fix.  (Bug#10513)
7168 2012-01-24  Glenn Morris  <rgm@gnu.org>
7170         * pcmpl-gnu.el (pcomplete/tar): Handle " - ".  (Bug#10457)
7172 2012-01-24  Julien Danjou  <julien@danjou.info>
7174         * color.el (color-rgb-to-hsl): Fix value computing.
7175         (color-hue-to-rgb): New function.
7176         (color-hsl-to-rgb): New function.
7177         (color-clamp, color-saturate-hsl, color-saturate-name)
7178         (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
7179         (color-lighten-name, color-darken-hsl, color-darken-name): New function.
7181 2012-01-24  Glenn Morris  <rgm@gnu.org>
7183         * vc/vc-rcs.el (vc-rcs-create-tag):
7184         * vc/vc-sccs.el (vc-sccs-create-tag):
7185         Fix argument spec to be what vc-create-tag expects.  (Bug#10515)
7187 2012-01-23  Mike Lamb  <mrlamb@gmail.com>  (tiny change)
7189         * eshell/esh-util.el (eshell-read-hosts-file):
7190         Skip comment lines.  (Bug#10549)
7192         * eshell/em-unix.el (pcomplete/ssh): Remove.  (Bug#10548)
7194 2012-01-23  Juanma Barranquero  <lekktu@gmail.com>
7196         * subr.el (display-delayed-warnings): Doc fix.
7197         (collapse-delayed-warnings): New function to collapse identical
7198         adjacent warnings.
7199         (delayed-warnings-hook): Add it.
7201 2012-01-22  Michael Albinus  <michael.albinus@gmx.de>
7203         * net/tramp.el (tramp-action-login): Set connection property "login-as".
7205         * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
7206         (tramp-default-user-alist): Don't add "pscp".
7207         (tramp-do-copy-or-rename-file-out-of-band): Use connection
7208         property "login-as", if set.  (Bug#10530)
7210 2012-01-21  Michael Albinus  <michael.albinus@gmx.de>
7212         * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
7213         "plink1" and "psftp".  (Bug#10530)
7215 2012-01-21  Kenichi Handa  <handa@m17n.org>
7217         * international/mule-cmds.el (prefer-coding-system): Show a
7218         warning message if the default value of file-name-coding-system
7219         was not changed.
7221 2012-01-21  Jérémy Compostella  <jeremy.compostella@gmail.com>
7223         * windmove.el (windmove-reference-loc):
7224         Fix windmove-reference-loc miscalculation.
7226 2012-01-21  Jay Belanger  <jay.p.belanger@gmail.com>
7228         * calc/calc-units.el (math-put-default-units): Don't use "1" as a
7229         default unit.
7231 2012-01-21  Glenn Morris  <rgm@gnu.org>
7233         * international/mule.el (auto-coding-alist): Add .tbz.
7235         * files.el (local-enable-local-variables): Doc fix.
7236         (inhibit-local-variables-regexps): Rename from
7237         inhibit-first-line-modes-regexps.  Keep old name as obsolete alias.
7238         Doc fix.  Add some extensions from auto-coding-alist.
7239         (inhibit-local-variables-suffixes):
7240         Rename from inhibit-first-line-modes-suffixes.  Doc fix.
7241         (inhibit-local-variables-p):
7242         New function, extracted from set-auto-mode-1.
7243         (set-auto-mode): Doc fix.  Respect inhibit-local-variables-regexps.
7244         (set-auto-mode-1): Doc fix.  Use inhibit-local-variables-p.
7245         (hack-local-variables): Doc fix.  Make the mode-only case
7246         respect enable-local-variables and friends.
7247         Respect inhibit-local-variables-regexps for file-locals, but
7248         not for directory-locals.
7249         (set-visited-file-name):
7250         Take account of inhibit-local-variables-regexps.
7251         Whether it applies may change as the file name is changed.
7252         * jka-cmpr-hook.el (jka-compr-install):
7253         * jka-compr.el (jka-compr-uninstall):
7254         Update for inhibit-first-line-modes-suffixes name change.
7256 2012-01-20  Martin Rudalics  <rudalics@gmx.at>
7258         * help-macro.el (make-help-screen): Temporarily restore original
7259         binding for minor-mode-map-alist (Bug#10454).
7261 2012-01-19  Julien Danjou  <julien@danjou.info>
7263         * color.el (color-name-to-rgb): Use the white color to find the max
7264         color component value and return correctly computed values.
7265         (color-name-to-rgb): Add missing float conversion for max value.
7267 2012-01-19  Martin Rudalics  <rudalics@gmx.at>
7269         * window.el (window--state-get-1, window-state-get): Do not use
7270         special state value for window-persistent-parameters.
7271         Rename argument IGNORE to WRITABLE.  Rewrite doc-string.
7272         (window--state-put-2): Reset all window parameters to nil before
7273         assigning values of persistent parameters.
7275 2012-01-18  Alan Mackenzie  <acm@muc.de>
7277         Eliminate sluggishness and hangs in fontification of "semicolon
7278         deserts".
7280         * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
7281         Change value 10000 -> 3000.
7282         (c-state-safe-place): Reformulate so it doesn't stack up an
7283         infinite number of wrong entries in c-state-nonlit-pos-cache.
7284         (c-determine-limit-get-base, c-determine-limit): New functions to
7285         determine backward search limits disregarding literals.
7286         (c-find-decl-spots): Amend commenting.
7287         (c-cheap-inside-bracelist-p): New function which detects "={".
7289         * progmodes/cc-fonts.el
7290         (c-make-font-lock-BO-decl-search-function): Give a limit to a
7291         backward search.
7292         (c-font-lock-declarations): Fix an occurrence of point being
7293         undefined.  Check additionally for point being in a bracelist or
7294         near a macro invocation without a semicolon so as to avoid a
7295         fruitless time consuming search for a declarator.  Give a more
7296         precise search limit for declarators using the new
7297         c-determine-limit.
7299 2012-01-18  Glenn Morris  <rgm@gnu.org>
7301         * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
7302         (set-auto-mode): Doc fixes.
7304 2012-01-17  Glenn Morris  <rgm@gnu.org>
7306         * isearch.el (search-nonincremental-instead): Fix doc typo.
7308         * dired.el (dired-insert-directory): Handle newlines in directory name.
7309         (dired-build-subdir-alist): Unescape newlines in directory name.
7311 2012-01-17  Michael Albinus  <michael.albinus@gmx.de>
7313         * net/tramp.el (tramp-local-end-of-line): New defcustom.
7314         (tramp-action-login, tramp-action-yesno, tramp-action-yn)
7315         (tramp-action-terminal): Use it.  (Bug#10530)
7317 2012-01-16  Stefan Monnier  <monnier@iro.umontreal.ca>
7319         * minibuffer.el (completion--replace): Strip properties (bug#10062).
7321 2012-01-16  Martin Rudalics  <rudalics@gmx.at>
7323         * window.el (window-state-ignored-parameters): Remove variable.
7324         (window--state-get-1): Rename argument MARKERS to IGNORE.
7325         Handle persistent window parameters.  Make copy of clone-of
7326         parameter only if requested.  (Bug#10348)
7327         (window--state-put-2): Install a window parameter only if it has
7328         a non-nil value or an existing parameter shall be overwritten.
7330 2012-01-15  Michael Albinus  <michael.albinus@gmx.de>
7332         * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
7334 2012-01-14  Eli Zaretskii  <eliz@gnu.org>
7336         * info.el (Info-toc-build): If the Info file has no "Up" pointer,
7337         don't pass the (nil) value of `upnode' to string-match.
7339 2012-01-14  Chong Yidong  <cyd@gnu.org>
7341         * startup.el (command-line): Fix X resource class for cursorColor.
7342         Fix values recognized by the cursorBlink resource.
7344 2012-01-14  Paul Eggert  <eggert@cs.ucla.edu>
7346         * epg.el (epg--make-temp-file): Avoid permission race condition
7347         when running on old Emacs versions (bug#10403).
7349 2012-01-14  Glenn Morris  <rgm@gnu.org>
7351         * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
7353 2012-01-13  Alan Mackenzie  <acm@muc.de>
7355         Fix filling for when filladapt mode is enabled.
7357         * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
7358         c-mask-paragraph, pass in `fill-paragraph' rather than
7359         `fill-region-as-paragraph'.  (This is a reversion of a previous
7360         change.)
7361         * progmodes/cc-mode.el (c-basic-common-init):
7362         Make fill-paragraph-handle-comment buffer local and set it to nil.
7364 2012-01-13  Glenn Morris  <rgm@gnu.org>
7366         * dired.el (dired-switches-escape-p): New function.
7367         (dired-insert-directory): Use dired-switches-escape-p.
7368         (dired-get-filename): Undo "\ " quoting if needed.  (Bug#10469)
7370         * find-dired.el (find-ls-option): Doc fix.  (Bug#10262)
7372 2012-01-12  Glenn Morris  <rgm@gnu.org>
7374         * mail/sendmail.el (mail-mode): Update paragraph-separate for
7375         changes in adaptive-fill-regexp.  (Bug#10276)
7377 2012-01-11  Alan Mackenzie  <acm@muc.de>
7379         Fix Emacs bug #10463 - put `widen's around the critical spots.
7381         * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
7382         widen around each invocation of c-state-pp-to-literal.  Remove an
7383         unused let variable.
7385 2012-01-11  Glenn Morris  <rgm@gnu.org>
7387         * dired-aux.el (dired-do-shell-command): Fix */? logic.  (Bug#6561)
7388         Doc fix.
7390 2012-01-10  Chong Yidong  <cyd@gnu.org>
7392         * net/network-stream.el (network-stream-open-starttls):
7393         Avoid emitting a confusing error message when the server gives a bad
7394         response to the capability command.
7396 2012-01-10  Glenn Morris  <rgm@gnu.org>
7398         * mail/unrmail.el (unrmail): Tweak previous change.
7400 2012-01-09  Chong Yidong  <cyd@gnu.org>
7402         * custom.el (custom-safe-themes): Use SHA-256 for hashing.
7404 2012-01-08  Alan Mackenzie  <acm@muc.de>
7406         Optimise font locking in long enum definitions.
7408         * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
7409         arm to a cond form to handle enums.
7410         * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
7411         * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
7413 2012-01-07  Paul Eggert  <eggert@cs.ucla.edu>
7415         * files.el (move-file-to-trash): Preserve default file modes on error.
7416         (Bug#10401)
7418 2012-01-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7420         * faces.el (set-face-attribute): Clarify the meaning of the nil
7421         frame (bug#10294).
7423         * subr.el (with-selected-frame): Mention that the selected frame
7424         is restored (bug#9980).
7426         * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
7427         (bug#9759).
7429         * mail/smtpmail.el (password-cache-add): Remove unused declaration.
7430         (password-read): Don't autoload unused function.
7432 2012-01-07  Juanma Barranquero  <lekktu@gmail.com>
7434         * progmodes/which-func.el (which-func-mode): Turn into a
7435         non-interactive function and mark as obsolete (bug#10428).
7437 2012-01-06  Chong Yidong  <cyd@gnu.org>
7439         * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
7440         (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
7441         functions, along with 1 and -1.
7443 2012-01-06  Eli Zaretskii  <eliz@gnu.org>
7445         * time.el (display-time-load-average)
7446         (display-time-default-load-average): Doc fixes.  See the thread
7447         starting at
7448         http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
7449         for the details.
7451 2012-01-06  Glenn Morris  <rgm@gnu.org>
7453         * mail/unrmail.el (unrmail): Give an explicit error if the input file
7454         has no messages.  (Bug#10377)
7456         * info.el (Info-mode-map): Bind e to end-of-buffer, rather
7457         than Info-edit.  (Bug#10385)
7459         * time.el (display-time-load-average, display-time-next-load-average):
7460         Doc fixes.
7462         * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
7463         local setting of buffer-read-only to the input buffer.  (Bug#10419)
7465         * calendar/calendar.el (calendar-mode):
7466         Locally set scroll-margin to 0.  (Bug#10379)
7468 2012-01-06  Ulrich Mueller  <ulm@gentoo.org>
7470         * play/doctor.el (doctor-death): Escape "," characters.  (Bug#10370)
7472 2012-01-05  Glenn Morris  <rgm@gnu.org>
7474         * eshell/em-unix.el (diff-no-select): Autoload it.
7475         (eshell/diff): Use diff-no-select.  (Bug#10420)
7477 2012-01-05  Chong Yidong  <cyd@gnu.org>
7479         * shell.el (shell-dynamic-complete-functions): Revert last change.
7480         (shell-command-completion-function): New function.
7481         (shell-completion-vars): Use it to implement
7482         shell-completion-execonly (Bug#10417).
7484         * custom.el (enable-theme): Don't set custom-safe-themes.
7486         * cus-theme.el (custom-theme-merge-theme):
7487         Ignore custom-enabled-themes and custom-safe-themes.
7489 2012-01-05  Michael R. Mauger  <mmaug@yahoo.com>
7491         * progmodes/sql.el (sql-login-hook): Add hook to respond to the
7492         first prompt in `sql-interacive-mode'.
7493         (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
7494         keywords.
7495         (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
7496         (sql-product-interactive): Bug fix: Set `sql-buffer' in
7497         context of original buffer.  Invoke `sql-login-hook'.
7499 2012-01-04  Eli Zaretskii  <eliz@gnu.org>
7501         * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
7502         letters in cite-prefix.
7504 2012-01-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7506         * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
7508 2012-01-03  Chong Yidong  <cyd@gnu.org>
7510         * shell.el (shell-dynamic-complete-functions):
7511         Put pcomplete-completions-at-point, so as to try
7512         comint-filename-completion first (Bug#10417).
7514 2012-01-02  Richard Stallman  <rms@gnu.org>
7516         * battery.el (battery-status-function):
7517         Detect when to use battery-yeeloong-sysfs.
7518         (battery-echo-area-format): Add string for Yeeloong.
7519         (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
7520         (battery-yeeloong-sysfs): New function.
7522 2012-01-02  Chong Yidong  <cyd@gnu.org>
7524         * dirtrack.el (dirtrack-list): Eliminate unused third element.
7525         (dirtrack): Merge code for handling relative filenames in prompt
7526         from shell-dir-cookie-watcher.
7527         (dirtrack-debug-message): New arg to avoid excess format calls.
7529         * shell.el (shell-dir-cookie-re): Variable deleted.
7530         (shell-dir-cookie-watcher): Function deleted.
7531         (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
7532         with dirtrack-mode.
7534 2012-01-01  Eli Zaretskii  <eliz@gnu.org>
7536         * term/w32-win.el (dynamic-library-alist) <gnutls>:
7537         Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
7538         libgnutls-26.dll.
7540 2011-12-31  Andreas Schwab  <schwab@linux-m68k.org>
7542         * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
7544 2011-12-31  Eli Zaretskii  <eliz@gnu.org>
7546         * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
7547         headers of non-MIME messages, when rmail-enable-mime is non-nil.
7549 2011-12-29  Michael Albinus  <michael.albinus@gmx.de>
7551         * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
7552         also for alternative shells.
7553         (tramp-open-connection-setup-interactive-shell): Check, whether
7554         the shell is a busybox.
7555         (tramp-send-command): Don't suppress multiple prompts for
7556         busyboxes, it hurts.
7558 2011-12-28  Chong Yidong  <cyd@gnu.org>
7560         * progmodes/gdb-mi.el (gdb-get-source-file-list)
7561         (gdb-get-source-file): Move mode line update to
7562         gdb-get-source-file (Bug#10087).
7564 2011-12-25  Chong Yidong  <cyd@gnu.org>
7566         * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
7567         gud-gdb-marker-filter without taking it as an argument.
7568         (gud-gdb-run-command-fetch-lines): Caller changed.
7569         (gud-gdb-completion-function): New variable.
7570         (gud-gdb-completion-at-point): Use it.
7571         (gud-gdb-completions-1): Split from gud-gdb-completions.
7573         * progmodes/gdb-mi.el (gdb-input): Accept command and handler
7574         function as separate arguments.
7575         (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
7576         (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
7577         (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
7578         (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
7579         (gdb-stopped, def-gdb-auto-update-trigger)
7580         (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
7581         (gdb-get-changed-registers, gdb-get-main-selected-frame):
7582         Callers changed.
7583         (gud-gdbmi-completions): New function.
7584         (gdb): Use it for generating the completion table.
7586 2011-12-24  Alan Mackenzie  <acm@muc.de>
7588         Introduce a mechanism to widen the region used in context font
7589         locking.  Use this to protect declarations from losing their contexts.
7591         * progmodes/cc-langs.el (c-before-font-lock-functions):
7592         Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
7593         (c-before-context-fontification-functions): New defvar, a list of
7594         functions to be run just before context (etc.) font locking.
7596         * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
7597         New, functionality extracted from
7598         c-neutralize-syntax-in-and-mark-CPP.
7599         (c-in-after-change-fontification): New variable.
7600         (c-after-change): Set c-in-after-change-fontification.
7601         (c-set-fl-decl-start): Rejig its interface, so it can be called
7602         from both after-change and context fontifying.
7603         (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
7604         New functions.
7605         (c-standard-font-lock-fontify-region-function): New variable.
7606         (c-font-lock-fontify-region): New function.
7608 2011-12-24  Juri Linkov  <juri@jurta.org>
7610         * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
7611         (Bug#10348)
7613 2011-12-23  Michael Albinus  <michael.albinus@gmx.de>
7615         * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
7616         existence of source file.  (Bug#10325)
7618 2011-12-23  Alan Mackenzie  <acm@muc.de>
7620         Fix unstable fontification inside templates.
7622         * progmodes/cc-langs.el (c-before-font-lock-functions):
7623         Newly created from the singular version.  The (c c++ objc) entry now
7624         additionally has c-set-fl-decl-start.  The other languages (apart
7625         from AWK) have that as a single entry.
7627         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7628         The functionality for "local" declarations has been extracted to
7629         c-set-fl-decl-start.
7631         * progmodes/cc-mode.el (c-common-init, c-after-change):
7632         Changes due to pluralisation of c-before-font-lock-functions.
7633         (c-set-fl-decl-start): New function, extracted from
7634         c-font-lock-enclosing-decls and enhanced.
7636 2011-12-23  Juanma Barranquero  <lekktu@gmail.com>
7638         * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
7640 2011-12-22  Juri Linkov  <juri@jurta.org>
7642         * progmodes/grep.el (rgrep): Fix docstring.  (Bug#10185)
7644 2011-12-22  Chong Yidong  <cyd@gnu.org>
7646         * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
7648 2011-12-21  Drew Adams  <drew.adams@oracle.com>
7650         * files.el (file-remote-p): Fix docstring.  (Bug#10319)
7652 2011-12-21  Jérémy Compostella  <jeremy.compostella@gmail.com>
7654         * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
7656 2011-12-21  Teodor Zlatanov  <tzz@lifelogs.com>
7658         * progmodes/cfengine.el: Add Version.  Improve CFEngine 3.x syntax
7659         highlighting and support.  Fix up comments for capitalization.
7660         (cfengine-mode-debug): New var.
7661         (cfengine3-mode): Change the modeline indicator to "CFE3".
7662         (cfengine3-font-lock-keywords): Improve defun highlighting.
7663         (cfengine2-actions): Rename from `cfengine-actions'.
7664         (cfengine2-font-lock-keywords): Rename from
7665         `cfengine-font-lock-keywords'.
7666         (cfengine2-imenu-expression): Rename from
7667         `cfengine-imenu-expression'.
7668         (cfengine2-outline-level): Rename from `cfengine-outline-level'.
7669         (cfengine2-beginning-of-defun): Rename from
7670         `cfengine-beginning-of-defun'.
7671         (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
7672         (cfengine2-indent-line): Rename from `cfengine-indent-line'.
7673         (cfengine2-mode): Rename from `cfengine-mode'.  Change the
7674         modeline indicator to "CFE2".
7675         (cfengine-mode): Defalias to `cfengine-auto-mode'.
7676         (cfengine-mode-abbrevs): Mark obsolete.
7678 2011-12-21  Chong Yidong  <cyd@gnu.org>
7680         * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
7681         filename argument.
7683 2011-12-20  Martin Rudalics  <rudalics@gmx.at>
7685         * window.el (window-normalize-buffer-to-display): Remove.
7686         (display-buffer): Handle buffer-or-name argument as in Emacs 23.
7688 2011-12-19  Chong Yidong  <cyd@gnu.org>
7690         * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
7691         Don't signal an error in a predicate function; return non-nil.
7692         (vc-dir-mark-file): Move the error here.
7693         (vc-dir-mark-unmark): If acting on the region, keep going if one
7694         of the entries cannot be marked/unmarked.
7695         (vc-dir-mark-all-files): If current entry is a directory, mark
7696         only child files, as documented.
7698 2011-12-19  Vincent Belaïche  <vincentb1@users.sourceforge.net>
7700         * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
7701         branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
7702         addition.
7704 2011-12-18  Jan Djärv  <jan.h.d@swipnet.se>
7706         * term/ns-win.el (ns-get-selection-internal)
7707         (ns-store-selection-internal): Declare.
7708         (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
7709         Declare as obsolete.
7710         (ns-get-pasteboard, ns-paste-secondary):
7711         Use ns-get-selection-internal.
7712         (ns-set-pasteboard,  ns-copy-including-secondary):
7713         Use ns-store-selection-internal.
7715 2011-12-17  Chong Yidong  <cyd@gnu.org>
7717         * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
7718         (vc-deduce-fileset): Doc fix.
7720 2011-12-16  Andreas Schwab  <schwab@linux-m68k.org>
7722         * calc/calc-misc.el (calc-help): Avoid wrapping help message.
7724 2011-12-13  Sam Steingold  <sds@gnu.org>
7726         * man.el (Man-getpage-in-background): When running under a
7727         window-system, ignore $MANWIDTH and $COLUMNS.
7729 2011-12-15  Kenichi Handa  <handa@m17n.org>
7731         * language/ethio-util.el: Change coding tag to utf-8-emacs.
7732         (setup-ethiopic-environment-internal): Comment out key-binding for
7733         ethio-toggle-punctuation.
7735 2011-12-13  Alan Mackenzie  <acm@muc.de>
7737         Add the switch statement to AWK Mode.
7739         * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
7740         "default" to the keywords regexp.
7742         * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
7743         expression as the rest.
7744         (c-nonlabel-token-key): Allow string literals for AWK.
7745         Refactor for the other modes.
7747         Large brace-block initialisation makes CC Mode slow: Fix.
7748         Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
7749         routines.  Limit backward searching in c-font-lock-enclosing.decl.
7751         * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
7752         pp-state and literal type in addition to the limits.
7753         (c-state-safe-place): New defun, extracted from c-state-literal-at.
7754         (c-state-literal-at): Use the above new defun.
7755         (c-slow-in-literal, c-fast-in-literal): Remove.
7756         (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
7758         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
7759         being in a literal.  Add a limit for backward searching.
7761         * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
7762         c-slow-in-literal.
7764 2011-12-13  Stefan Monnier  <monnier@iro.umontreal.ca>
7766         * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
7768 2011-12-13  Martin Rudalics  <rudalics@gmx.at>
7770         * window.el (delete-other-windows): Use correct frame in call to
7771         window-with-parameter.
7773 2011-12-12  Daniel Pfeiffer  <occitan@t-online.de>
7775         * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
7776         (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
7777         (makefile-gmake-statements, makefile-makepp-statements):
7778         Use it and add new makepp keywords.
7779         (makefile-makepp-font-lock-keywords): Add new patterns.
7780         (makefile-match-function-end): Match new [...] and [[...]].
7782 2011-12-11  Juanma Barranquero  <lekktu@gmail.com>
7784         * ses.el (ses-call-printer-return, ses-cell-property-get)
7785         (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
7786         (ses-create-cell-variable, ses-reset-header-string)
7787         (ses-cell-set-formula, ses-repair-cell-reference-all)
7788         (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
7789         (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
7790         (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
7791         (ses-aset-with-undo, ses-load, ses-truncate-cell)
7792         (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
7793         (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
7794         (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
7795         (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
7796         (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
7797         (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
7798         (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
7799         (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
7801 2011-12-11  Vincent Belaïche  <vincentb1@users.sourceforge.net>
7803         * ses.el: The overall change is to add cell renaming, that is
7804         setting fancy names for cell symbols other than name matching
7805         "\\`[A-Z]+[0-9]+\\'" regexp .
7806         (ses-create-cell-variable): New defun.
7807         (ses-relocate-formula): Relocate formulas only for cells the
7808         symbols of which are not renamed, i.e. symbols whose names do not
7809         match regexp "\\`[A-Z]+[0-9]+\\'".
7810         (ses-relocate-all): Relocate values only for cells the symbols of
7811         which are not renamed.
7812         (ses-load): Create cells variables as the (ses-cell ...) are read,
7813         in order to check row col consistency with cell symbol name only
7814         for cells that are not renamed.
7815         (ses-replace-name-in-formula): New defun.
7816         (ses-rename-cell): New defun.
7818 2011-12-11  Chong Yidong  <cyd@gnu.org>
7820         * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
7821         for completion via gud-gdb-fetch-lines-filter (Bug#10274).
7823 2011-12-11  Eric Hanchrow  <eric.hanchrow@gmail.com>
7825         * window.el (other-window): Fix docstring.
7827 2011-12-10  Eli Zaretskii  <eliz@gnu.org>
7829         * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
7830         `from' or `to' address before taking its substring.
7831         Fixes incorrect display in Rmail summary buffer whereby an RFC2047
7832         encoded name is chopped in the middle of the encoded string, and
7833         thus displayed encoded.
7835 2011-12-10  Juanma Barranquero  <lekktu@gmail.com>
7837         * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
7839 2011-12-10  Eli Zaretskii  <eliz@gnu.org>
7841         * textmodes/texnfo-upd.el: Update commentary.  Add a warning not
7842         to use texinfo-update-node and commands that call it if the
7843         Texinfo file uses @node lines without next/prev/up pointers.
7844         Correct outdated description about texinfo-master-menu.
7845         (texinfo-all-menus-update, texinfo-master-menu)
7846         (texinfo-update-node, texinfo-every-node-update)
7847         (texinfo-multiple-files-update): Doc fix.  Warn against updating
7848         all the @node lines.
7849         (texinfo-master-menu): Only call texinfo-update-node if the prefix
7850         argument is numeric.  Explain better in the doc string what the
7851         function really does.
7852         (texinfo-insert-master-menu-list): Improve the error message
7853         displayed if there's no menu in the Top node.
7854         (Bug#2975)  See also this thread:
7855         http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
7857 2011-12-09  Manuel Gómez  <mgrojo@gmail.com>  (tiny change)
7859         * speedbar.el (speedbar-supported-extension-expressions):
7860         Add .adb and .ads, commonly used for Ada source code (bug#10256).
7862 2011-12-09  Juanma Barranquero  <lekktu@gmail.com>
7864         * printing.el (pr-mode-alist):
7865         * simple.el (filter-buffer-substring-functions)
7866         (completion-list-insert-choice-function):
7867         * window.el (window-with-parameter, window-atom-root)
7868         (window-sides-slots, window-size-fixed, window-min-delta)
7869         (window-max-delta, window--resize-mini-window)
7870         (window--resize-child-windows-normal, window-tree)
7871         (delete-other-windows, quit-window, split-window)
7872         (display-buffer-record-window, special-display-buffer-names)
7873         (special-display-regexps, special-display-popup-frame)
7874         (same-window-p, split-window-sensibly)
7875         (display-buffer-overriding-action, display-buffer-alist)
7876         (display-buffer-base-action, display-buffer, switch-to-buffer)
7877         (switch-to-buffer-other-window, switch-to-buffer-other-frame)
7878         (fit-window-to-buffer, recenter-positions)
7879         (mouse-autoselect-window-state, mouse-autoselect-window-select):
7880         * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
7881         and remove unneeded backslashes in docstrings.
7883 2011-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7885         * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
7887         * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
7888         (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
7889         end in ".mk".
7890         (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
7891         when reading the makefile (bug#10116).
7893 2011-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
7895         * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
7896         (bug#10116).
7898 2011-12-06  Glenn Morris  <rgm@gnu.org>
7900         * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
7902 2011-12-06  Chong Yidong  <cyd@gnu.org>
7904         * progmodes/cc-fonts.el (c-annotation-face): Use defface.
7906 2011-12-06  Juanma Barranquero  <lekktu@gmail.com>
7908         * textmodes/table.el (table-shorten-cell): Fix typo.
7910 2011-12-05  Christopher Genovese  <genovese.cr@gmail.com>  (tiny change)
7912         * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
7914 2011-12-05  Eli Zaretskii  <eliz@gnu.org>
7916         * descr-text.el (describe-char): Fix display of strong
7917         right-to-left characters and directional embeddings and overrides.
7919         * simple.el (what-cursor-position): Fix display of codepoints of
7920         strong right-to-left characters.
7922 2011-12-05  Chong Yidong  <cyd@gnu.org>
7924         * faces.el (read-color): Doc fix.
7926 2011-12-05  Glenn Morris  <rgm@gnu.org>
7928         * align.el (align--set-marker): Add doc-string.
7929         Don't try to move something that is not a marker.  (Bug#10216)
7931 2011-12-04  Glenn Morris  <rgm@gnu.org>
7933         * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
7934         overly zealous deletion of trailing whitespace.
7936 2011-12-04  Juanma Barranquero  <lekktu@gmail.com>
7938         * server.el (server-delete-client): On Windows, do not try to delete
7939         the only terminal.
7940         (server-process-filter): On Windows, treat requests for a tty frame as
7941         if they were for a GUI frame if the running server is in GUI mode.
7943 2011-12-03  Glenn Morris  <rgm@gnu.org>
7945         * textmodes/texinfmt.el (batch-texinfo-format): Doc fix.  (Bug#10207)
7947 2011-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
7949         * electric.el: Streamline electric-indent's hook.
7950         (electric-indent-chars): Revert to simple list.
7951         (electric-indent-functions): New var.
7952         (electric-indent-post-self-insert-function): Use it.
7954         * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
7955         there's no inferior buffer (bug#10196).
7956         (prolog-consult-compile): Don't use toggle-read-only.
7958 2011-12-02  Michael Albinus  <michael.albinus@gmx.de>
7960         * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
7961         interrupt.  (Bug#10187)
7963 2011-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
7965         * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
7966         (bug#9160).
7968         * dired-aux.el (dired-query): Don't assume help-char is modifier-free
7969         (bug#10191).
7971 2011-12-02  Juri Linkov  <juri@jurta.org>
7973         * info.el (Info-search): Display "end of manual" when Isearch
7974         reaches the end of single-file Info manual.  (Bug#9918)
7976 2011-12-02  Eli Zaretskii  <eliz@gnu.org>
7978         * isearch.el (isearch-message-prefix): Run the input method part
7979         of the prompt through bidi-string-mark-left-to-right.  (Bug#10183)
7981 2011-12-02  Juri Linkov  <juri@jurta.org>
7983         * isearch.el (isearch-occur): Use `word-search-regexp' for
7984         `isearch-word'.
7985         (isearch-search-and-update): Add condition for `isearch-word' and
7986         call `word-search-regexp'.  (Bug#10145)
7988 2011-12-01  Glenn Morris  <rgm@gnu.org>
7990         * eshell/em-hist.el (eshell-hist-initialize):
7991         Handle eshell-history-size nil and HISTSIZE set or unset.
7992         (eshell-history-file-name, eshell-history-size): Fix custom type.
7994 2011-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
7996         * man.el (Man-completion-table): Fix the lambda case (bug#10168).
7998 2011-12-01  Michael McNamara  <mac@mail.brushroad.com>
8000         * progmodes/verilog-mode.el (verilog-pretty-expr):
8001         Rework verilog-pretty-expr to handle new assignment operators in system
8002         verilog, such as += *= and the like.
8003         (verilog-assignment-operator-re): Regular expression to find the
8004         assigment operator in a verilog assignment.
8005         (verilog-assignment-operation-re): Regular expression to find an
8006         assignment statement for pretty-expr.
8007         (verilog-in-attribute-p): Query returns true if point is in an
8008         attribute context; used to skip these for expression line up from
8009         pretty-expr.
8010         (verilog-in-parameter-p): Query returns true if point is in an
8011         parameter definition context; used to skip these for expression
8012         line up from pretty-expr.
8013         (verilog-in-parenthesis-p): Query returns true if point is in a
8014         parenthetical expression, specifically ( ) but not [ ] or { };
8015         used by pretty-expr.
8016         (verilog-just-one-space): If there is no space, don't add one.
8017         (verilog-get-lineup-indent-2): Specifically skip just attribute
8018         contexts for expression lineup, rather than skipping all
8019         parenthetical expressions.
8020         (verilog-calculate-indent): Fix comment, and fix indent.
8021         (verilog-do-indent): Indent declarations in lists (suggested by
8022         Joachim Lechner).
8023         (verilog-mode-abbrev-table): Populate abbrev mode with the various
8024         skeleton items.
8025         (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
8026         by Alain Mellan).
8028 2011-12-01  Wilson Snyder  <wsnyder@wsnyder.org>
8030         * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
8031         parameters with embedded comments.  Reported by Ray Stevens.
8032         (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
8033         verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
8034         Reported by Tim Holt.
8035         (verilog-auto): Fix AUTOing a upper module then AUTOing module
8036         instantiated by upper module causing wrong expansion until AUTOed a
8037         second time.  Reported by K C Buckenmaier.
8038         (verilog-diff-auto): Fix showing .* as a difference when
8039         `verilog-auto-star-save' off.  Reported by Dan Dever.
8040         (verilog-auto-reset, verilog-read-always-signals)
8041         (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
8042         temporary signals in reset list if
8043         verilog-auto-reset-blocking-in-non is nil, and match assignment
8044         style to each signal's assignment type, bug381.
8045         Reported by Thomas Esposito.
8046         (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
8047         (verilog-uvm-statement-re): Support UVM indentation and
8048         highlighting, with old OVM keywords only.
8049         (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
8050         Support AUTOTIEOFF creating non-wire data types.
8051         Suggested by Jonathan Greenlaw.
8052         (verilog-auto-insert-lisp, verilog-delete-to-paren)
8053         (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
8054         (verilog-inject-sense, verilog-read-inst-pins)
8055         (verilog-read-sub-decls, verilog-read-sub-decls-line):
8056         Fix mismatching parenthesis inside commented out code when deleting
8057         AUTOINST, bug383.  Reported by Jonathan Greenlaw.
8058         (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
8059         non-numeric vector width.  Reported by Alex Reed.
8060         (verilog-auto-ascii-enum): Add "onehot" option to work around not
8061         detecting signals with parameter widths.  Reported by Alex Reed.
8062         (verilog-auto-delete-trailing-whitespace):
8063         With `verilog-auto-delete-trailing-whitespace' remove trailing
8064         whitespace in auto expansion, bug371.  Reported by Brad Dobbie.
8065         (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
8066         Fix verilog-scan-cache corruption when running user AUTO expansion
8067         hooks that call indentation routines.
8068         (verilog-simplify-range-expression): Fix typo ignoring lower case
8069         identifiers.
8070         (verilog-delete-auto): Fix delete-autos to also remove user created
8071         automatics, as long as they start with AUTO.
8072         (verilog-batch-diff-auto, verilog-diff-auto)
8073         (verilog-diff-function): Add `verilog-diff-auto' and bind to
8074         "C-c?"  to report differences in AUTO expansion, ignoring spaces.
8075         (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
8076         (verilog-in-paren-quick, verilog-re-search-backward-quick)
8077         (verilog-re-search-forward-quick, verilog-syntax-ppss):
8078         Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
8079         is disabled and its cache will get corrupt, causing AUTOS not to
8080         expand.  Instead use only -quick functions.
8081         (verilog-scan-region): Fix scanning over escaped quotes.
8082         (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
8083         (verilog-re-search-backward-quick)
8084         (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
8085         related functions now ignore strings, to fix misparsing of strings
8086         with magic comments embedded in them.
8087         (verilog-read-auto-template):
8088         Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
8089         Reported by Brad Dobbie.
8090         (verilog-read-auto-template):
8091         Fix 'verilog-auto-inst-template-numbers' with comments.
8092         Reported by Brad Dobbie.
8093         (verilog-auto-inst, verilog-auto-inst-param)
8094         (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
8095         merge conflicts with AUTOINST, bug358.  Reported by Brad Dobbie.
8096         (verilog-auto-inst-template-numbers): Add 'lhs' policy for
8097         debugging templates without merge conflicts, bug357.
8098         Reported by Brad Dobbie.
8099         (verilog-read-auto-template):
8100         Fix verilog-auto-inst-template-numbers with multiple templates.
8101         Reported by Brad Dobbie.
8102         (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
8103         abbrevs so user won't be asked to save.
8104         (verilog-read-auto-lisp-present): Fix to start at beginning of
8105         buffer in case called outside of verilog-auto.
8106         (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
8107         to "X-2".  Reported by Matthew Myers.
8108         (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
8109         all inputs from module templates.  Reported by Leith Johnson.
8110         (verilog-module-inside-filename-p): Fix locating programs as with
8111         modules.
8112         (verilog-auto-inst-port): Fix vl-width expressions when using
8113         verilog-auto-inst-param-value, bug331.  Reported by Julian Gorfajn.
8114         (verilog-decls-get-regs, verilog-decls-get-signals,
8115         verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
8116         verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
8117         verilog-read-decls): Combine reg and wire structures into one var
8118         structure to represent SystemVerilog concepts.
8119         (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
8120         (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
8121         (verilog-auto-wire-type, verilog-insert-definition):
8122         Add verilog-auto-wire-type and AUTOLOGIC to support using
8123         SystemVerilog "logic" keyword instead of "wire"/"reg".
8124         (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
8125         to declares outputs that also have assignments (presumably in an
8126         ifdef or generate if so there's not a driver conflict).
8127         Reported by Matthew Myers.
8128         (verilog-auto-declare-nettype, verilog-insert-definition):
8129         Add verilog-auto-declare-nettype to fix declarations using
8130         `default_nettype none.  Reported by Julian Gorfajn.
8131         (verilog-read-always-signals-recurse, verilog-read-decls)
8132         (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
8133         malformed end statement, bug325.  Reported by Joshua Wise and
8134         Andrew Drake.
8135         (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
8136         (verilog-inst-comment-re): Fix not deleting Interfaced comment
8137         when expanding .* in interfaces, bug320.
8138         Reported by Pierre-David Pfister.
8139         (verilog-read-module-name): Fix import statements between module
8140         name and open parenthesis, bug317.
8141         Reported by Pierre-David Pfister.
8142         (verilog-simplify-range-expression): Fix simplification of
8143         multiplications inside AUTOWIRE connections, bug303.
8144         (verilog-auto-inst-port): Support parameter expansion in
8145         multidimensional arrays.
8146         (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
8147         after "assert property".  Reported by Julian Gorfajn.
8148         (verilog-simplify-range-expression): Fix "couldn't merge" errors
8149         with multiplication, bug303.
8150         (verilog-read-decls): Fix parsing of unsigned data types, bug302.
8151         Reported by Jan Frode Lonnum.
8153 2011-11-30  Juanma Barranquero  <lekktu@gmail.com>
8155         * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
8156         (hfy-shell-file-name, hfy-shell):
8157         * international/fontset.el (x-decompose-font-name): Fix typos.
8159 2011-11-29  Ken Brown  <kbrown@cornell.edu>
8161         * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
8162         (gdb-version): Remove defvar.
8163         (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
8164         (gdb-gud-context-command, gdb-non-stop-handler)
8165         (gdb-current-context-command, gdb-stopped): Use it.
8166         (gdb-init-1): Enable pretty printing here.
8167         (gdb-non-stop-handler): Don't enable pretty-printing here.
8168         Check to see if the target supports non-stop mode; if not, turn off
8169         non-stop mode.  Use the following.
8170         (gdb-check-target-async): New defun.
8171         (gud-watch, gdb-stopped): Fix whitespace.
8172         (gdb-get-source-file): Don't try to display the source file if
8173         `gdb-main-file' is nil.
8175 2011-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
8177         * align.el: Try to generate fewer markers (bug#10047).
8178         (align--set-marker): New macro.
8179         (align-region): Use it.
8181 2011-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
8183         * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
8185 2011-11-29  Chong Yidong  <cyd@gnu.org>
8187         * indent.el (indent-for-tab-command, indent-according-to-mode):
8188         Doc fix.
8189         (indent-region): Doc fix.  Switch nested ifs to equivalent cond.
8191 2011-11-29  Michael Albinus  <michael.albinus@gmx.de>
8193         * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
8194         aware of remote file names.  (Bug#10124)
8196 2011-11-29  Chong Yidong  <cyd@gnu.org>
8198         * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
8200 2011-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
8202         * files.el (find-file): Don't use force-same-window (bug#10144).
8203         * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
8204         use pop-to-buffer if the selected window can't be used.
8205         (pop-to-buffer-same-window): Use display-buffer--same-window-action.
8207 2011-11-28  Eli Zaretskii  <eliz@gnu.org>
8209         * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
8210         special-mode-map.
8212 2011-11-28  Chong Yidong  <cyd@gnu.org>
8214         * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
8216 2011-11-27  Nick Roberts  <nickrob@snap.net.nz>
8218         * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
8219           gdb-get-source-file-list on gdb-create-source-file-list.
8221 2011-11-26  Eli Zaretskii  <eliz@gnu.org>
8223         * whitespace.el (whitespace-newline): Use a different foreground
8224         color for 16-color light-background displays.
8226 2011-11-24  Chong Yidong  <cyd@gnu.org>
8228         * window.el (display-buffer--special-action): Doc fix.
8230 2011-11-25  Juanma Barranquero  <lekktu@gmail.com>
8232         * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
8233         (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
8234         (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
8235         (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
8236         (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
8237         (avl-tree-stack-first):
8238         * emacs-lisp/cconv.el (cconv--analyse-use):
8239         * net/gnutls.el (gnutls-negotiate): Fix typos.
8241 2011-11-24  Glenn Morris  <rgm@gnu.org>
8243         * lpr.el (lpr-windows-system, lpr-lp-system):
8244         * mail/binhex.el (binhex-begin-line):
8245         * progmodes/grep.el (grep-history, grep-find-history):
8246         * textmodes/flyspell.el:
8247         * vc/pcvs-defs.el (cvs-global-menu):
8248         * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
8249         * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
8250         * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
8252         * net/tls.el: Fix case of "GnuTLS".
8254         * paths.el (rmail-file-name): Format doc-string for make-docfile.
8256         * version.el (emacs-build-system): Give it a doc-string.
8258 2011-11-24  Juri Linkov  <juri@jurta.org>
8260         * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
8262 2011-11-24  Glenn Morris  <rgm@gnu.org>
8264         * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
8265         if called on a non-mime message just toggle the headers.  (Bug#8006)
8267 2011-11-24  Juanma Barranquero  <lekktu@gmail.com>
8269         * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
8270         (allout-lead-with-comment-string, allout-structure-deleted-hook)
8271         (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
8272         (allout-rebullet-heading, allout-open-sibtopic)
8273         (allout-toggle-current-subtree-encryption)
8274         (allout-toggle-subtree-encryption, allout-encrypt-string)
8275         (allout-next-topic-pending-encryption, allout-adjust-file-variable)
8276         (allout-distinctive-bullets-string, allout-auto-activation):
8277         * window.el (window-normalize-buffer-to-display):
8278         * progmodes/verilog-mode.el (verilog-batch-indent):
8279         * textmodes/bibtex.el (bibtex-field-braces-opt)
8280         (bibtex-field-strings-opt):
8281         * vc/cvs-status.el (cvs-tree-merge):
8282         Fix typos.
8284 2011-11-23  Michael Albinus  <michael.albinus@gmx.de>
8286         * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
8287         `non-essential' to t, in order to avoid remote connections.
8289 2011-11-23  Eli Zaretskii  <eliz@gnu.org>
8291         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
8292         On MS-DOS and MS-Windows, compare with loaddefs.el
8293         case-insensitively.
8295 2011-11-23  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
8297         * mail/unrmail.el (unrmail): Always add blank line.  (Bug#7743)
8299 2011-11-23  Glenn Morris  <rgm@gnu.org>
8301         * paths.el (rmail-file-name): Reformat the doc-string so that it
8302         is picked up.
8304         * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
8305         (rmail-auto-file): Ignore case in the "special" field names,
8306         as mail-fetch-field does for all others.
8308         * mail/rmail.el (rmail-forward):
8309         * mail/rmailkwd.el (rmail-set-label):
8310         * mail/rmailout.el (rmail-output, rmail-output-as-seen)
8311         (rmail-output-body-to-file): Give error if no message.  (Bug#10082)
8313         * mail/rmail.el (rmail-current-message): Doc fix.
8315         * mail/rmail.el (rmail-message-filter): Mark as obsolete.  (Bug#2624)
8317 2011-11-22  Stefan Monnier  <monnier@iro.umontreal.ca>
8319         * server.el (server-eval-and-print): Allow C-g (bug#6585).
8321 2011-11-22  Glenn Morris  <rgm@gnu.org>
8323         * mail/rmailmm.el (test-rmail-mime-handler)
8324         (test-rmail-mime-bulk-handler)
8325         (test-rmail-mime-multipart-handler): Move tests to test/ directory.
8327 2011-11-21  Juri Linkov  <juri@jurta.org>
8329         * calc/calc.el (calc-read-key-sequence):
8330         Let-bind `input-method-function' to nil.  (Bug#10018)
8332 2011-11-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8334         * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
8335         Tell the caller that the next line needs recomputation, even
8336         though it doesn't start a sexp (bug#10094).
8338 2011-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
8340         * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
8342 2011-11-20  Stefan Monnier  <monnier@iro.umontreal.ca>
8344         * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
8345         Use force-same-window.
8347 2011-11-20  Juanma Barranquero  <lekktu@gmail.com>
8349         * descr-text.el (describe-char-unicode-data):
8350         * json.el (json-string-escape):
8351         * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
8352         (Footnote-unicode, Footnote-style-p):
8353         * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
8355 2011-11-20  Chong Yidong  <cyd@gnu.org>
8357         * window.el (replace-buffer-in-windows): Restore interactive spec.
8359 2011-11-20  Stefan Monnier  <monnier@iro.umontreal.ca>
8361         * electric.el (electric-indent-mode): Fix last change (too optimistic).
8363         * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
8364         (byte-compile-global-not-obsolete-vars): New var.
8365         (byte-compile-check-variable, byte-compile-make-obsolete-variable):
8366         Use it.
8367         (byte-compile-warn-obsolete): Align text with the one in *Help*.
8369 2011-11-20  Juanma Barranquero  <lekktu@gmail.com>
8371         * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
8372         * progmodes/pascal.el (electric-pascal-equal):
8373         * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
8374         * xml.el (xml-substitute-special): Fix typos.
8376 2011-11-20  Glenn Morris  <rgm@gnu.org>
8378         * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
8379         (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
8380         Doc fixes.
8381         (rmail-decode-mime-charset): Mark as obsolete.
8383         * mail/rmailsum.el (rmail-message-regexp-p-1):
8384         * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
8385         Before using mime functions, check they are set.  (Bug#10077)
8387 2011-11-19  Juri Linkov  <juri@jurta.org>
8389         * info.el (Info-finder-find-node): Use `package--builtins' instead
8390         of `package-alist'.  Use node names formed by the pattern "Keyword "
8391         and the keyword name.
8393 2011-11-19  Andreas Schwab  <schwab@linux-m68k.org>
8395         * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
8397 2011-11-19  Juri Linkov  <juri@jurta.org>
8399         * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
8400         that calls `revert-buffer' on all Info buffers.  (Bug#9915)
8401         (Info-revert-find-node): Remove let-bindings `old-buffer-name',
8402         `old-history', `old-history-forward'.  Add let-binding
8403         `window-selected'.  Remove calls to `kill-buffer',
8404         `switch-to-buffer' and `Info-mode'.  Set `Info-current-file' to nil
8405         before calling `Info-find-node', so `Info-find-node-2' will reread
8406         the Info file.  Restore window positions only when `window-selected'
8407         is non-nil.
8409 2011-11-19  Juri Linkov  <juri@jurta.org>
8411         * isearch.el (isearch-lazy-highlight-new-loop):
8412         Remove condition `(not isearch-error)'.  (Bug#9918)
8414         * misearch.el (multi-isearch-search-fun): Add condition
8415         `(not bound)' to ignore lazy-highlighting search.
8416         Add the search-failed message "end of multi" when the end of
8417         multi-sequence is reached.  Uncapitalize the search-failed
8418         message "Repeat for next buffer".
8420         * info.el (Info-search): Add the search-failed message
8421         "end of the manual" when the end of the manual is reached
8422         in Isearch mode.
8424 2011-11-19  Juri Linkov  <juri@jurta.org>
8426         * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
8427         Use non-destructive `remove' instead of `delete' because
8428         `Info-history-list' stored to `Info-isearch-initial-history-list' in
8429         `Info-isearch-start' might need to be restored in `Info-isearch-end'.
8431 2011-11-19  Juri Linkov  <juri@jurta.org>
8433         * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
8434         to nil instead of binding `search-ring' and `regexp-search-ring'.
8435         (Bug#9185)
8437 2011-11-19  Eli Zaretskii  <eliz@gnu.org>
8439         * simple.el (line-move): Force movement by logical lines for any
8440         hscrolled window, not only when auto-hscroll-mode is on.
8441         (line-move-visual): Update doc string to that effect.  (Bug#10076)
8443 2011-11-19  Andreas Schwab  <schwab@linux-m68k.org>
8445         * language/european.el (macintosh): Define as alias for mac-roman.
8447 2011-11-19  Eli Zaretskii  <eliz@gnu.org>
8449         * mail/rmailmm.el (rmail-mime-display-header)
8450         (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
8451         (rmail-mime-entity-segment, rmail-mime-toggle-raw)
8452         (rmail-mime-toggle-hidden, rmail-mime-insert-text)
8453         (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
8454         (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
8455         of a raw aref.
8456         (rmail-mime-entity-segment): To get past the tagline, move forward
8457         2 more lines, to account for the 2 empty lines that precede and
8458         follow the line with the buttons.
8459         (rmail-mime-update-tagline): Move one more line, to get past the
8460         empty line that follows the buttons in the tagline.  (Bug#9520)
8462 2011-11-19  Martin Rudalics  <rudalics@gmx.at>
8464         * window.el (window-max-delta-1, window-min-delta-1)
8465         (window-min-size-1, window-state-get-1, window-state-put-1)
8466         (window-state-put-2): Use "window--" prefix.
8468 2011-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
8470         * emacs-lisp/smie.el: Improve warnings and conflict detection.
8471         (smie-warning-count): New var.
8472         (smie-set-prec2tab): Use it.
8473         (smie-bnf->prec2): Improve warnings.  Add docstring.
8474         (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
8475         (smie-bnf--set-class): New function.
8476         (smie-bnf--classify): Rename from smie-bnf-classify.  Rewrite to fix
8477         corner case.
8479         * progmodes/compile.el: Obey compilation-first-column in dest buffer.
8480         (compilation-error-properties, compilation-move-to-column):
8481         Handle compilation-first-column while in the target buffer.
8483         * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
8484         Don't hardcode point-min==1.
8486         * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
8487         (eshell-rewrite-for-command): Remove workaround.
8488         (eshell-do-pipelines, eshell-do-pipelines-synchronously)
8489         (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
8490         * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
8492         * files-x.el (modify-file-local-variable): Obey commenting conventions.
8494 2011-11-17  Glenn Morris  <rgm@gnu.org>
8496         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
8497         Ignore buffer-local generated-autoload-file if it is the same
8498         as the global value.  (Bug#10049)
8500 2011-11-17  Juanma Barranquero  <lekktu@gmail.com>
8502         * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
8503         (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
8504         (reftex-toc-previous-heading, reftex-toc-max-level)
8505         (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
8506         (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
8507         (reftex-toc-do-promote, reftex-toc-promote-prepare)
8508         (reftex-toc-promote-action, reftex-toc-extract-section-number)
8509         (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
8510         (reftex-toc-rename-label, reftex-toc-visit-location)
8511         (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
8512         (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
8513         (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
8514         leaving "*toc*" only for references to the buffer.
8516 2011-11-17  Martin Rudalics  <rudalics@gmx.at>
8518         * window.el (window-resize, delete-window, split-window):
8519         Replace window-splits by window-combination-resize.
8520         * cus-start.el (window-splits): Replace by window-combination-resize.
8522 2011-11-17  Glenn Morris  <rgm@gnu.org>
8524         * progmodes/sh-script.el (sh-font-lock-keywords-var):
8525         Make bash entry derive from sh entry, not shell entry.
8527 2011-11-16  Michael Albinus  <michael.albinus@gmx.de>
8529         * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
8530         local file name.
8532 2011-11-16  Juanma Barranquero  <lekktu@gmail.com>
8534         * menu-bar.el (menu-bar-file-menu):
8535         * printing.el (pr-ps-utility):
8536         * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
8537         (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
8538         (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
8539         (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
8540         (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
8541         (icalendar--convert-cyclic-to-ical)
8542         (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
8543         (icalendar--convert-ical-to-diary)
8544         (icalendar--convert-recurring-to-diary)
8545         (icalendar--convert-non-recurring-all-day-to-diary)
8546         (icalendar-import-format-sample):
8547         * progmodes/idlw-shell.el (idlwave-shell-mode):
8548         * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
8549         (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
8550         (vhdl-ps-print-init): Fix typos.
8552 2011-11-16  Ken Manheimer  <ken.manheimer@gmail.com>
8554         * allout.el, allout-widgets.el (file metadata): Attribute copyright to
8555         FSF and collapse date sequence, obscure author/maintainer email address
8556         better, remove extra version line, track relocation of author's webpage.
8558         * progmodes/python.el (python-pdbtrack-input-prompt)
8559         (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
8560         regular python pdb prompts.  Adjustments shamelessly taken exactly as
8561         suggested in EmacsWiki page (tiny change):
8562         http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8564 2011-11-16  Juanma Barranquero  <lekktu@gmail.com>
8566         * expand.el (expand-pos, expand-index, expand-point):
8567         Remove redundant info from docstring.
8568         (expand-add-abbrevs): Doc fix.
8569         (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
8570         (expand-sample-perl-mode-expand-list): Fix typos.
8572         * net/dbus.el (dbus-event-member-name):
8573         * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
8574         * term/pc-win.el (msdos-create-frame-with-faces):
8575         * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
8577 2011-11-16  Martin Rudalics  <rudalics@gmx.at>
8579         * window.el (split-window, window-state-get-1)
8580         (window-state-put-1, window-state-put-2): Rename occurrences of
8581         window-nest to window-combination-limit.
8582         * cus-start.el (window-nest): Rename to window-combination-limit.
8584 2011-11-16  Chong Yidong  <cyd@gnu.org>
8586         * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
8587         regexp (Bug#10033).
8589 2011-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
8591         * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
8592         `completing-read' will remove *Completions* and will preserve
8593         current-buffer for us.
8594         (tmm-add-prompt): Users of *Completions* will always (re)set its
8595         major mode.
8596         (tmm-old-comp-map): Remove.
8598 2011-11-16  Glenn Morris  <rgm@gnu.org>
8600         * mail/rmailedit.el: Require rmailmm when compiling.
8601         (rmail-old-mime-state): New declaration.
8602         (rmail-edit-current-message): If editing a mime message,
8603         edit the "raw" message from the mbox buffer.
8604         (rmail-cease-edit): Handle mime messages.  (Bug#9840)
8606 2011-11-15  Glenn Morris  <rgm@gnu.org>
8608         * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
8609         which wasn't being used.  Add optional arg to force given state.
8610         (rmail-mime): Add optional arg to force given state.
8612 2011-11-15  Juanma Barranquero  <lekktu@gmail.com>
8614         * allout.el (allout-encryption-plaintext-sanitization-regexps):
8615         * frame.el (display-mm-dimensions-alist):
8616         * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
8617         (outline-move-subtree-down):
8618         * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
8619         (newsticker--treeview-do-get-node):
8620         * net/quickurl.el (quickurl-list-buffer-name):
8621         * progmodes/dcl-mode.el (dcl-mode):
8622         * progmodes/gdb-mi.el (gdb-mapcar*):
8623         * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
8625 2011-11-15  Glenn Morris  <rgm@gnu.org>
8627         * mail/rmail.el (rmail-file-coding-system): It's only ever used
8628         in a boolean sense, so just make it a boolean, and fix the doc.
8629         (rmail-show-mime-function, rmail-mime-feature)
8630         (rmail-require-mime-maybe): Doc fixes.
8631         (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
8633         * mail/rmailmm.el (rmail-show-mime): Doc fix.
8635 2011-11-15  Juanma Barranquero  <lekktu@gmail.com>
8637         * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
8638         (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
8639         (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
8640         (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
8642 2011-11-15  Glenn Morris  <rgm@gnu.org>
8644         * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
8645         (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
8646         (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
8647         (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
8648         (rmail-mime, rmail-show-mime): Doc fixes.
8650         * term/ns-win.el (mode-line-frame-identification):
8651         Leave it alone.  (Bug#10051)
8653         * simple.el (mark-whole-buffer): Doc fix.  (Bug#10023)
8655         * mail/rmailout.el (rmail-output-to-rmail-buffer):
8656         Handle empty buffers.  (Bug#9978)
8658 2011-11-14  Juanma Barranquero  <lekktu@gmail.com>
8660         * international/mule.el (define-charset):
8661         * mail/rmailmm.el (rmail-mime-find-header-encoding):
8662         * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
8663         * progmodes/verilog-mode.el (verilog-backward-token):
8664         * textmodes/ispell.el (lookup-words):
8665         * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
8667 2011-11-14  Glenn Morris  <rgm@gnu.org>
8669         * progmodes/executable.el
8670         (executable-make-buffer-file-executable-if-script-p):
8671         Handle file-modes returning nil.
8673         * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
8674         message - not necessary, and causes problems.  (Bug#9831)
8676         * mail/rmailsum.el (rmail-new-summary): Preserve message number.
8678         * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
8680         * mail/rmailsum.el (rmail-summary, rmail-new-summary)
8681         (rmail-new-summary-1): Allow empty summaries.  (Bug#9964)
8682         (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
8684 2011-11-12  Martin Rudalics  <rudalics@gmx.at>
8686         * window.el (window-resize, delete-window): Use window-splits
8687         variable instead of function.
8688         (window-state-get-1, window-state-put-2, window-state-put):
8689         Don't deal with windows' splits status.
8691 2011-11-12  Glenn Morris  <rgm@gnu.org>
8693         * apropos.el (apropos-do-all, apropos-library, apropos-value)
8694         (apropos-documentation): Doc fixes.
8696 2011-11-11  Juanma Barranquero  <lekktu@gmail.com>
8698         * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
8699         * textmodes/sgml-mode.el (html-tag-help): Fix typos.
8701 2011-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
8703         * electric.el (electric-indent-post-self-insert-function): Make it
8704         possible for a char to only indent in some circumstances.
8705         (electric-indent-mode): Simplify.
8707 2011-11-11  Martin Rudalics  <rudalics@gmx.at>
8709         * window.el (windows-with-parameter): Remove unused function.
8710         (windows-at-side): Rename to window-at-side-list.
8711         (window-check, window-atom-check, window-atom-check-1)
8712         (window-side-check, window-size-ignore, window-size-fixed-1)
8713         (window-in-direction-2): Prefix with "window--".
8714         (window-tree-1): Rename to window--subtree, fix doc-string.
8716 2011-11-11  Glenn Morris  <rgm@gnu.org>
8718         * subr.el (eval-after-load): If FILE is already loaded,
8719         evaluate FORM before it gets wrapped in more stuff.  (Bug#10009)
8721 2011-11-10  Glenn Morris  <rgm@gnu.org>
8723         * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
8724         Call svn via vc-svn-command rather than vc-do-command.
8725         (vc-svn-command): Add --non-interactive.  (Bug#9993)
8726         (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
8728         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8729         Add toggle-read-only.  (Bug#7292)
8730         * files.el (toggle-read-only): Mention that it should only
8731         be used interactively.  (Bug#10006)
8733 2011-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
8735         * progmodes/compile.el (compilation-error-regexp-alist-alist):
8736         Adjust regexp for OCaml warnings.
8738         * electric.el (electric-pair-post-self-insert-function): Let user
8739         turn it off buffer-locally (bug#9932).
8741         * progmodes/python.el (python-beginning-of-statement):
8742         Rewrite (bug#2703).
8744         * progmodes/compile.el: Better handle TABs (bug#9749).
8745         (compilation-internal-error-properties)
8746         (compilation-next-error-function): Obey the target buffer's
8747         compilation-error-screen-columns.
8749 2011-11-09  Juanma Barranquero  <lekktu@gmail.com>
8751         * progmodes/meta-mode.el: Remove obsolete comments.
8752         (meta-right-comment-regexp, meta-ignore-comment-regexp):
8753         Fix typos in docstrings.
8755 2011-11-09  Martin Rudalics  <rudalics@gmx.at>
8757         * window.el (window-size-fixed-p): Rewrite doc-string.
8758         (window-resizable-p): Rename to window--resizable-p.  Update callers.
8759         (window--resizable): New function.  Make all callers of
8760         window-resizable call window--resizable instead.
8761         (window-resizable): Rewrite in terms of window--resizable.
8763 2011-11-08  Glenn Morris  <rgm@gnu.org>
8765         * progmodes/delphi.el (delphi-mode-syntax-table):
8766         Let define-derived-mode define a proper syntax table.  (Bug#9994)
8768 2011-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
8770         * window.el: Stay away from defsubst.
8771         (window-list-no-nils): Remove.
8772         (window-state-get-1, window-state-get): Use backquote instead.
8774 2011-11-08  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
8776         * emacs-lisp/find-func.el (find-function-read):
8777         Fix incorrect use of default argument in `completing-read'.
8779 2011-11-08  Martin Rudalics  <rudalics@gmx.at>
8781         * window.el (display-buffer-function, special-display-function):
8782         Mention display-buffer-record-window but do not mention
8783         help-setup parameter in doc-strings.
8784         (window-min-delta): Fix doc-string typo.
8786 2011-11-08  Chong Yidong  <cyd@gnu.org>
8788         * window.el (window-total-height, window-total-width): Doc fix.
8789         (window-body-size): Move from C.
8790         (window-body-height, window-body-width): Move to C.
8792 2011-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
8794         * window.el: Make special-display like display-buffer-alist (bug#9532).
8795         (display-buffer--special-action): New function, morphed
8796         from display-buffer--special.
8797         (display-buffer): Use it to handle special-display-buffers at higher
8798         priority (just after display-buffer-alist).
8799         (display-buffer-fallback-action, display-buffer--other-frame-action)
8800         (pop-to-buffer-same-window): Remove display-buffer--special.
8802 2011-11-07  Glenn Morris  <rgm@gnu.org>
8804         * calendar/cal-menu.el (cal-menu-set-date-title):
8805         Do nothing if not in a calendar.  (Bug#9976)
8807 2011-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
8809         * files.el (find-file): Always use selected-window.
8811 2011-11-07  Martin Rudalics  <rudalics@gmx.at>
8813         * window.el (window-combinations): Make WINDOW argument
8814         mandatory.  Rewrite doc-string.
8815         (walk-window-subtree, window-atom-check, window-min-delta)
8816         (window-max-delta, window--resize-this-window)
8817         (window--resize-root-window-vertically, window-tree)
8818         (balance-windows, window-state-put): Rewrite doc-strings as to
8819         not mention the term "subwindow".
8820         (window--resize-subwindows-skip-p): Rename to
8821         window--resize-child-windows-skip-p.
8822         (window--resize-subwindows-normal): Rename to
8823         window--resize-child-windows-normal.
8824         (window--resize-subwindows): Rename to
8825         window--resize-child-windows.
8826         (window-or-subwindow-p): Rename to window--in-subtree-p.
8828 2011-11-07  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
8830         * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
8831         Ensure that mbox format messages end in two newlines (Bug#9974).
8833 2011-11-06  Chong Yidong  <cyd@gnu.org>
8835         * window.el (window-combination-p): Function deleted; its
8836         side-effect is not used in any existing code.
8837         (window-combinations, window-combined-p): Call window-*-child
8838         directly.
8840 2011-11-05  Chong Yidong  <cyd@gnu.org>
8842         * window.el (window-valid-p): Rename from window-any-p.
8843         (window-size-ignore, window-state-get): Callers changed.
8844         (window-normalize-window): Rename from window-normalize-any-window.
8845         New arg LIVE-ONLY, replacing window-normalize-live-window.
8846         (window-normalize-live-window): Delete.
8847         (window-combination-p, window-combined-p, window-combinations)
8848         (walk-window-subtree, window-atom-root, window-min-size)
8849         (window-sizable, window-sizable-p, window-size-fixed-p)
8850         (window-min-delta, window-max-delta, window-resizable)
8851         (window-resizable-p, window-full-height-p, window-full-width-p)
8852         (window-current-scroll-bars, window-point-1, set-window-point-1)
8853         (window-at-side-p, window-in-direction, window-resize)
8854         (adjust-window-trailing-edge, maximize-window, minimize-window)
8855         (window-deletable-p, delete-window, delete-other-windows)
8856         (record-window-buffer, unrecord-window-buffer)
8857         (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
8858         (quit-window, split-window, window-state-put)
8859         (set-window-text-height, fit-window-to-buffer)
8860         (shrink-window-if-larger-than-buffer): Callers changed.
8862 2011-11-04  Eli Zaretskii  <eliz@gnu.org>
8864         * mail/rmail.el (rmail-simplified-subject): Decode subject with
8865         rfc2047-decode-string.
8866         (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
8867         warnings.
8869         * window.el (window-body-height, window-body-width): Mention in
8870         the doc string that the return values are in frame's canonical
8871         units.  (Bug#9949)
8873 2011-11-03  Alan Mackenzie  <acm@muc.de>
8875         * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
8876         change in cc-engine.el.
8878 2011-11-02  Stefan Monnier  <monnier@iro.umontreal.ca>
8880         * window.el (switch-to-buffer): Use `force-same-window' interactively.
8882 2011-11-02  Martin Rudalics  <rudalics@gmx.at>
8884         * window.el (quit-window): Call unrecord-window-buffer after
8885         showing another buffer in the window.  (Bug#9937)
8886         (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
8888 2011-11-02  Juanma Barranquero  <lekktu@gmail.com>
8890         * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
8891         Accept status with more than 9 shelves.  (Bug#9935)
8892         Reported by Colin D Bennett <colin@gibibit.com>.
8894 2011-11-01  Martin Rudalics  <rudalics@gmx.at>
8896         * help.el (with-help-window): Don't reference
8897         temp-buffer-show-specifiers in doc-string.
8899 2011-10-31  Andreas Schwab  <schwab@linux-m68k.org>
8901         * subr.el (keymap--menu-item-with-binding): Ignore item if not a
8902         menu-item.
8904 2011-10-30  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
8906         * whitespace.el: New version 13.2.2.
8907         (whitespace-newline-mode): Disable properly.  Reported by Sarah
8908         <EmacsWiki>.
8910 2011-10-30  Ulf Jasper  <ulf.jasper@web.de>
8912         * net/newst-treeview.el: Remove "Time-stamp".
8913         (newsticker--group-manage-orphan-feeds): Do not call
8914         newsticker--treeview-tree-update.
8915         (newsticker-treeview-update, newsticker-treeview):
8916         Call newsticker--treeview-tree-update if necessary.
8918 2011-10-30  Martin Rudalics  <rudalics@gmx.at>
8920         * window.el (window-iso-combination-p, window-iso-combined-p)
8921         (window-iso-combinations): Remove "iso-" infix.
8922         Suggested by Chong Yidong.
8923         (window-min-size-1, window-size-fixed-1, window-min-delta-1)
8924         (window-max-delta-1, window-resize, window--resize-siblings)
8925         (window--resize-this-window, adjust-window-trailing-edge)
8926         (split-window, balance-windows-1)
8927         (shrink-window-if-larger-than-buffer):
8928         * calendar/calendar.el (calendar-generate-window):
8929         * help.el (resize-temp-buffer-window): Adjust callers accordingly.
8931 2011-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
8933         * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
8934         in place (bug#9907).
8935         (eshell-subcommand-arg-values, eshell-rewrite-named-command)
8936         (eshell-rewrite-if-command, eshell-rewrite-for-command)
8937         (eshell-structure-basic-command, eshell-rewrite-while-command)
8938         (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
8939         (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
8940         (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
8941         (eshell-do-pipelines-synchronously, eshell-eval-command):
8942         Use backquotes and prefer setq to set.
8943         (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
8944         (eshell-macrop): Use functionp.
8945         (eshell-do-eval): Handle multiple expressions in `while' body.
8947 2011-10-30  Chong Yidong  <cyd@gnu.org>
8949         * emulation/viper-cmd.el (viper-exec-change): Use push-mark
8950         instead of set-mark (Bug#9810).
8952 2011-10-30  Chong Yidong  <cyd@gnu.org>
8954         * window.el (split-window-below, split-window-right): Rename from
8955         split-window-above-each-other and split-window-side-by-side
8956         respectively.  All callers changed.
8957         (split-window-sensibly, split-window-sensibly): Use them.
8958         (split-window-keep-point): Doc fix.
8960         * isearch.el: Add isearch-scroll property to split-window-below
8961         and split-window-right.
8963         * follow.el (follow-mode):
8964         * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
8965         * progmodes/ada-xref.el (ada-gdb-application):
8966         * emulation/vip.el (vip-buffer-in-two-windows):
8967         * image-dired.el (image-dired-dired-with-window-configuration):
8968         * dired-x.el (dired-do-find-marked-files):
8969         * dired.el (dired-pop-to-buffer):
8970         * bs.el (bs--show-with-configuration):
8971         * vc/emerge.el (emerge-setup-windows):
8972         * textmodes/two-column.el (2C-two-columns):
8973         * textmodes/reftex-toc.el (reftex-toc):
8974         * progmodes/gdb-mi.el (gdb-setup-windows):
8975         * progmodes/fortran.el (fortran-window-create):
8976         * net/newst-treeview.el (newsticker--treeview-window-init):
8977         * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
8978         * emulation/tpu-edt.el (tpu-gold-map):
8979         * emulation/crisp.el (crisp-mode-map):
8980         * calendar/calendar.el (calendar-basic-setup): Callers changed.
8982 2011-10-29  Chong Yidong  <cyd@gnu.org>
8984         * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
8986         * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
8988         * textmodes/flyspell.el (flyspell-word): Fix char offset for
8989         forged Ispell output (Bug#7904).
8991         * emacs-lisp/package.el (package-refresh-contents): Add autoload.
8993 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
8995         * doc-view.el: Avoid ugly errors about not finding nil.
8996         (doc-view-ghostscript-program, doc-view-dvipdfm-program)
8997         (doc-view-dvipdf-program, doc-view-unoconv-program)
8998         (doc-view-ps2pdf-program, doc-view-pdftotext-program):
8999         Avoid nil or absolute file name as default value.
9000         (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
9002 2011-10-28  Alan Mackenzie  <acm@muc.de>
9004         * progmodes/cc-defs.el (c-version): -> 5.32.2.
9006 2011-10-28  Alan Mackenzie  <acm@muc.de>
9008         Amend the handling of c-beginning/end-of-defun in nested declaration
9009         scopes.
9011         * progmodes/cc-vars.el (c-defun-tactic): Move here from
9012         cc-langs.el.  Change it to a defcustom.
9014         * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
9015         cc-vars.el.
9017         * progmodes/cc-engine.el (c-beginning-of-statement-1):
9018         Prevent "class foo : bar" being spuriously recognized as a label.
9020         * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
9021         Add parameter `inclusive' (to include enclosing braces in the region).
9022         (c-widen-to-enclosing-decl-scope): New function.
9023         (c-while-widening-to-decl-block): New macro.
9024         (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
9025         outward for defun boundaries, and correspondingly change symbol
9026         `respect-enclosure' to `go-outward'.
9027         (c-declaration-limits): Change algorithm to report only the "innermost"
9028         defun's boundaries.
9030 2011-10-28  Deniz Dogan  <deniz@dogan.se>
9032         * net/rcirc.el (rcirc-mode): Use hard newlines.
9034 2011-10-28  Alan Mackenzie  <acm@muc.de>
9036         Amend to indent and fontify macros "which include their own semicolon"
9037         correctly, using the "virtual semicolon" mechanism.
9039         * progmodes/cc-defs.el: Update "virtual semicolon" comments.
9041         * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
9042         Recode to scan one line at a time rather than having \n and \r
9043         explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
9044         (c-forward-label): Amend for virtual semicolons.
9045         (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
9047         * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
9048         of the new C macros.
9050         * progmodes/cc-langs.el (c-at-vsemi-p-fn):
9051         (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
9052         (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
9053         (c-opt-cpp-macro-define): Make into a full language variable.
9054         (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
9055         AWK Mode (including \n, \r) removed, no longer needed.
9057         * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
9058         Invoke c-make-macro-with-semi-re.
9060         * progmodes/cc-vars.el (c-macro-with-semi-re):
9061         (c-macro-names-with-semicolon): New variables.
9062         (c-make-macro-with-semi-re): New function.
9064 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
9066         * vc/log-edit.el: Fill empty field rather than adding new one.
9067         (log-edit-add-field): New function.
9068         (log-edit-insert-changelog): Use it.
9070 2011-10-28  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
9072         * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
9074 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
9076         * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
9077         (gdb--check-interpreter): New function.
9078         (gdb): Use it.
9080 2011-10-27  Glenn Morris  <rgm@gnu.org>
9082         * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
9083         (least-positive-float, least-negative-float)
9084         (least-positive-normalized-float, least-negative-normalized-float)
9085         (float-epsilon, float-negative-epsilon):
9086         Remove unnecessary declarations.
9088         * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
9089         * emacs-lisp/cl.el (most-positive-float, most-negative-float)
9090         (least-positive-float, least-negative-float)
9091         (least-positive-normalized-float, least-negative-normalized-float)
9092         (float-epsilon, float-negative-epsilon): Add doc-strings,
9093         based on those in cl.texi.
9095         * files.el (set-visited-file-name): If the major-mode changed,
9096         reload the local variables.  (Bug#9796)
9098 2011-10-27  Chong Yidong  <cyd@gnu.org>
9100         * subr.el (change-major-mode-after-body-hook): New hook.
9101         (run-mode-hooks): Run it.
9103         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9104         Use change-major-mode-before-body-hook.
9106         * simple.el (fundamental-mode):
9107         * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
9108         change introducing fundamental-mode-hook.
9110 2011-10-26  Juanma Barranquero  <lekktu@gmail.com>
9112         * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
9114 2011-10-26  Michael Albinus  <michael.albinus@gmx.de>
9116         * ido.el (ido-file-name-all-completions-1): Do not require
9117         tramp.el explicitly.  (Bug#7583)
9119 2011-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
9121         * progmodes/octave-mod.el:
9122         * progmodes/octave-inf.el: Update maintainer.
9124 2011-10-26  Chong Yidong  <cyd@gnu.org>
9126         * subr.el (with-wrapper-hook): Rewrite doc.
9128 2011-10-25  Michael Albinus  <michael.albinus@gmx.de>
9130         * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
9131         filenames "/method:foo:".  (Bug#9793)
9133 2011-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
9135         * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
9136         (bug#9865).
9138 2011-10-24  Glenn Morris  <rgm@gnu.org>
9140         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.  (Bug#9819)
9142 2011-10-24  Michael Albinus  <michael.albinus@gmx.de>
9144         * notifications.el: Add the requirement of a running D-Bus session
9145         bus to the Commentary.
9147 2011-10-24  Juri Linkov  <juri@jurta.org>
9149         * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
9150         `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
9151         (Bug#9364)
9153 2011-10-24  Juri Linkov  <juri@jurta.org>
9155         * info.el (Info-following-node-name-re): Add newline to the list
9156         of allowed characters for leading space.  (Bug#9824)
9158 2011-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
9160         * progmodes/octave-inf.el (inferior-octave-mode-map):
9161         Fix C-c C-h binding.
9162         * progmodes/octave-mod.el (octave-help): Remove.
9164 2011-10-23  Michael Albinus  <michael.albinus@gmx.de>
9166         Sync with Tramp 2.2.3.
9168         * net/tramp-cache.el (top): Pacify byte-compiler using
9169         `init-file-user' and `site-run-file'.
9171         * net/trampver.el: Update release number.
9173 2011-10-23  Chong Yidong  <cyd@gnu.org>
9175         * files.el (toggle-read-only): Remove obsolete comment about
9176         version control.
9178         * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
9179         for toggle-read-only.  Note that this hasn't called vc-next-action
9180         since 2008-05-02, though it wasn't documented at the time.
9182         * vc/ediff-init.el (ediff-toggle-read-only-function):
9183         Use toggle-read-only.
9185 2011-10-22  Alan Mackenzie  <bug-cc-mode@gnu.org>
9187         Fix bug #9560, sporadic wrong indentation; improve instrumentation
9188         of c-parse-state.
9190         * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
9191         correct faulty logical expression.
9192         (c-parse-state-state, c-record-parse-state-state):
9193         (c-replay-parse-state-state): New defvar/defuns.
9194         (c-debug-parse-state): Use new functions.
9196 2011-10-22  Martin Rudalics  <rudalics@gmx.at>
9198         * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
9199         last fix.  Use window-in-direction correctly.
9201 2011-10-21  Chong Yidong  <cyd@gnu.org>
9203         * progmodes/idlwave.el (idlwave-mode):
9204         * progmodes/vera-mode.el (vera-mode): No need to set
9205         require-final-newline; that's done in prog-mode.
9206         Suggested by Stefan Monnier.
9208 2011-10-21  Martin Rudalics  <rudalics@gmx.at>
9210         * mouse.el (mouse-drag-window-above)
9211         (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
9212         (mouse-drag-mode-line-1, mouse-drag-header-line)
9213         (mouse-drag-vertical-line-rightward-window): Remove.
9214         (mouse-drag-line): New function.
9215         (mouse-drag-mode-line, mouse-drag-header-line)
9216         (mouse-drag-vertical-line): Call mouse-drag-line.
9217         * window.el (window-at-side-p, windows-at-side): New functions.
9219 2011-10-21  Ulrich Mueller  <ulm@gentoo.org>
9221         * tar-mode.el (tar-grind-file-mode):
9222         Fix handling of setuid/setgid, handle sticky bit.  (Bug#9817)
9224 2011-10-21  Chong Yidong  <cyd@gnu.org>
9226         * progmodes/idlwave.el (idlwave-mode):
9227         * progmodes/vera-mode.el (vera-mode):
9228         Use mode-require-final-newline.
9230 2011-10-20  Glenn Morris  <rgm@gnu.org>
9232         * vc/vc.el (vc-next-action): Handle removed directories.  (Bug#9781)
9234 2011-10-20  Christoph Scholtes  <cschol2112@googlemail.com>
9236         * emulation/cua-base.el (cua-set-mark): Fix case of string.
9238 2011-10-20  Chong Yidong  <cyd@gnu.org>
9240         * emulation/cua-base.el (cua-mode):
9241         * mail/footnote.el (footnote-mode):
9242         * mail/mailabbrev.el (mail-abbrevs-mode):
9243         * net/xesam.el (xesam-minor-mode):
9244         * progmodes/bug-reference.el (bug-reference-mode):
9245         * progmodes/cap-words.el (capitalized-words-mode):
9246         * progmodes/compile.el (compilation-minor-mode)
9247         (compilation-shell-minor-mode):
9248         * progmodes/gud.el (gud-tooltip-mode):
9249         * progmodes/hideif.el (hide-ifdef-mode):
9250         * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
9251         * progmodes/subword.el (subword-mode):
9252         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9253         * progmodes/which-func.el (which-function-mode):
9254         * term/tvi970.el (tvi970-set-keypad-mode):
9255         * term/vt100.el (vt100-wide-mode):
9256         * textmodes/flyspell.el (flyspell-mode):
9257         * textmodes/ispell.el (ispell-minor-mode):
9258         * textmodes/nroff-mode.el (nroff-electric-mode):
9259         * textmodes/paragraphs.el (use-hard-newlines):
9260         * textmodes/refill.el (refill-mode):
9261         * textmodes/reftex.el (reftex-mode):
9262         * textmodes/rst.el (rst-minor-mode):
9263         * textmodes/sgml-mode.el (html-autoview-mode)
9264         (sgml-electric-tag-pair-mode):
9265         * textmodes/tex-mode.el (latex-electric-env-pair-mode):
9266         * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
9267         * emulation/crisp.el (crisp-mode):
9268         * emacs-lisp/eldoc.el (eldoc-mode):
9269         * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
9270         minor mode behavior.
9272 2011-10-19  Juri Linkov  <juri@jurta.org>
9274         * descr-text.el (describe-char): Add #x2010 and #x2011 to
9275         the list of hard-coded chars with escape-glyph face.
9277 2011-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
9279         * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
9281 2011-10-19  Michael Albinus  <michael.albinus@gmx.de>
9283         * net/tramp.el (tramp-connectable-p): Make a stronger check on a
9284         running process.
9286 2011-10-19  Glenn Morris  <rgm@gnu.org>
9288         * vc/vc-bzr.el (vc-bzr-after-dir-status):
9289         Ignore ignored files.  (Bug#9726)
9291 2011-10-19  Chong Yidong  <cyd@gnu.org>
9293         Doc fix for minor modes, stating that an omitted argument enables
9294         the mode unconditionally when called from Lisp.
9296         * abbrev.el (abbrev-mode):
9297         * allout.el (allout-mode):
9298         * autoinsert.el (auto-insert-mode):
9299         * autoarg.el (autoarg-mode, autoarg-kp-mode):
9300         * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
9301         (global-auto-revert-mode):
9302         * battery.el (display-battery-mode):
9303         * composite.el (global-auto-composition-mode)
9304         (auto-composition-mode):
9305         * delsel.el (delete-selection-mode):
9306         * desktop.el (desktop-save-mode):
9307         * dired-x.el (dired-omit-mode):
9308         * dirtrack.el (dirtrack-mode):
9309         * doc-view.el (doc-view-minor-mode):
9310         * double.el (double-mode):
9311         * electric.el (electric-indent-mode, electric-pair-mode):
9312         * emacs-lock.el (emacs-lock-mode):
9313         * epa-hook.el (auto-encryption-mode):
9314         * follow.el (follow-mode):
9315         * font-core.el (font-lock-mode):
9316         * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
9317         * help.el (temp-buffer-resize-mode):
9318         * hilit-chg.el (highlight-changes-mode)
9319         (highlight-changes-visible-mode):
9320         * hi-lock.el (hi-lock-mode):
9321         * hl-line.el (hl-line-mode, global-hl-line-mode):
9322         * icomplete.el (icomplete-mode):
9323         * ido.el (ido-everywhere):
9324         * image-file.el (auto-image-file-mode):
9325         * image-mode.el (image-minor-mode):
9326         * iswitchb.el (iswitchb-mode):
9327         * jka-cmpr-hook.el (auto-compression-mode):
9328         * linum.el (linum-mode):
9329         * longlines.el (longlines-mode):
9330         * master.el (master-mode):
9331         * mb-depth.el (minibuffer-depth-indicate-mode):
9332         * menu-bar.el (menu-bar-mode):
9333         * minibuf-eldef.el (minibuffer-electric-default-mode):
9334         * mouse-sel.el (mouse-sel-mode):
9335         * msb.el (msb-mode):
9336         * mwheel.el (mouse-wheel-mode):
9337         * outline.el (outline-minor-mode):
9338         * paren.el (show-paren-mode):
9339         * recentf.el (recentf-mode):
9340         * reveal.el (reveal-mode, global-reveal-mode):
9341         * rfn-eshadow.el (file-name-shadow-mode):
9342         * ruler-mode.el (ruler-mode):
9343         * savehist.el (savehist-mode):
9344         * scroll-all.el (scroll-all-mode):
9345         * scroll-bar.el (scroll-bar-mode):
9346         * server.el (server-mode):
9347         * shell.el (shell-dirtrack-mode):
9348         * simple.el (auto-fill-mode, transient-mark-mode)
9349         (visual-line-mode, overwrite-mode, binary-overwrite-mode)
9350         (line-number-mode, column-number-mode, size-indication-mode)
9351         (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
9352         * strokes.el (strokes-mode):
9353         * time.el (display-time-mode):
9354         * t-mouse.el (gpm-mouse-mode):
9355         * tool-bar.el (tool-bar-mode):
9356         * tooltip.el (tooltip-mode):
9357         * type-break.el (type-break-mode-line-message-mode)
9358         (type-break-query-mode):
9359         * view.el (view-mode):
9360         * whitespace.el (whitespace-mode, whitespace-newline-mode)
9361         (global-whitespace-mode, global-whitespace-newline-mode):
9362         * xt-mouse.el (xterm-mouse-mode): Doc fix.
9364         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9365         Fix autogenerated docstring.
9367 2011-10-19  Juri Linkov  <juri@jurta.org>
9369         * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
9370         by checking environment variables "DESKTOP_SESSION" and
9371         "XDG_CURRENT_DESKTOP".  (Bug#9779)
9373 2011-10-19  Juri Linkov  <juri@jurta.org>
9375         * net/browse-url.el (browse-url-browser-function): Add "Chromium".
9376         (browse-url-chromium-program, browse-url-chromium-arguments):
9377         New defcustoms.
9378         (browse-url-default-browser): Check for `browse-url-chromium' and
9379         call `browse-url-chromium-program'.
9380         (browse-url-chromium): New command.  (Bug#9779)
9382 2011-10-18  Juanma Barranquero  <lekktu@gmail.com>
9384         * facemenu.el (list-colors-duplicates): On Windows, detect more
9385         duplicates by assuming that only colors matching "^System" are
9386         special "system colors".  (Bug#9722)
9388 2011-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
9390         * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
9391         to distinguish the author from the committer.
9393 2011-10-18  Michael Albinus  <michael.albinus@gmx.de>
9395         * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
9397 2011-10-18  Jirka Kosek  <jirka@kosek.cz>  (tiny change)
9399         * international/mule.el (sgml-html-meta-auto-coding-function):
9400         Add support for detecting encoding in HTML5 specified only as
9401         <meta charset="UTF-8">.  Implementation just makes http-equiv and
9402         content-type parts from HTML4 encoding string optional.  (Bug#9716)
9404 2011-10-18  Glenn Morris  <rgm@gnu.org>
9406         * vc/vc.el (vc-initial-comment): Mark as obsolete.  (Bug#9745)
9408 2011-10-18  Chong Yidong  <cyd@gnu.org>
9410         * faces.el (cursor): Doc fix.
9412 2011-10-17  Chong Yidong  <cyd@gnu.org>
9414         * font-lock.el (font-lock-maximum-size): Mark as obsolete.
9416 2011-10-17  Ryan Barrett  <emacs@ryanb.org>  (tiny change)
9418         * dirtrack.el (dirtrack): Support shell buffers with path
9419         prefixes, e.g. tramp-based remote shells.  (Bug#9647)
9421 2011-10-17  Teodor Zlatanov  <tzz@lifelogs.com>
9423         * json.el: Bump version to 1.3 and note change in History.
9424         (json-alist-p, json-plist-p): Rewrite to avoid recursion.
9426 2011-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
9428         * comint.el (comint-insert-input, comint-send-input)
9429         (comint-get-old-input-default, comint-backward-matching-input)
9430         (comint-next-prompt): Use nil instead of `input' for field property of
9431         past user input (bug#114).
9433         * minibuffer.el (completion--replace): Inherit surrounding properties
9434         (bug#114).
9435         (minibuffer-complete-and-exit): Use it.
9437         * comint.el (comint--table-subvert): Quote the all-completions output
9438         (bug#9160).
9440 2011-10-17  Martin Rudalics  <rudalics@gmx.at>
9442         * ido.el (ido-default-buffer-method): Remove redundant :type entry.
9444         * menu-bar.el (menu-bar-file-menu): Add entry for making new
9445         window on right of selected.  (Bug#9350) Reword other window
9446         entries and separate them from frame entries.
9448 2011-10-15  Glenn Morris  <rgm@gnu.org>
9450         * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
9451         Doc fixes.
9453 2011-10-15  Chong Yidong  <cyd@stupidchicken.com>
9455         * net/network-stream.el (network-stream-open-starttls):
9456         Improve detection of failure due to lack of TLS support.
9458         * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
9459         putting the input text in front and in bold.
9461 2011-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
9463         * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
9465         * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
9466         empty buffer.
9468         * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
9469         unread-command-events rather than pushing yet-another event.
9471 2011-10-14  Eli Zaretskii  <eliz@gnu.org>
9473         * mail/sendmail.el (sendmail-query-once): Improve the wording of
9474         the explanation of the possible choices.  Make the options passed
9475         to completing-read shorter.
9477 2011-10-13  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
9479         * textmodes/flyspell.el (flyspell-large-region): Make sure
9480         extended character mode is used if defined (Bug#1339).
9482 2011-10-13  Eli Zaretskii  <eliz@gnu.org>
9484         * simple.el (what-cursor-position): Fix the display of the
9485         character info for LRE, LRO, RLE, and RLO characters by appending
9486         an invisible PDF.
9488 2011-10-13  Stefan Monnier  <monnier@iro.umontreal.ca>
9490         * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
9491         even in case of error; add debug spec; simplify data flow.
9492         (with-timeout-handler): Remove.
9494 2011-10-12  Michael Albinus  <michael.albinus@gmx.de>
9496         Fix Bug#6019, Bug#9315.
9498         * files.el (set-auto-mode): Call `file-name-sans-versions' for the
9499         complete `buffer-file-name', the local file name part could look
9500         remotely (for example on VMS).
9502         * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
9503         `tramp-run-real-handler'.
9504         (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
9505         already quoted by '"'.
9507         * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
9508         Let `file-name-handler-alist' be nil, the local file name part
9509         could look remotely (for example on VMS).
9511 2011-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
9513         * textmodes/flyspell.el (flyspell-word): Move with-local-quit
9514         from here...
9515         (flyspell-post-command-hook): ...to here.
9517 2011-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
9519         * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
9520         if not needed.
9521         (sendmail-query-once): Remove OS dependencies.  Make it a 3-way choice
9522         using completion.  Protect against "slow" callers.
9523         Remove the "message hack".
9525 2011-10-11  Juri Linkov  <juri@jurta.org>
9527         * isearch.el (isearch-lazy-highlight-word): New variable.
9528         (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
9529         Use it.  (Bug#9727)
9531 2011-10-11  Glenn Morris  <rgm@gnu.org>
9533         * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
9534         like f90-previous-statement does.
9536 2011-10-11  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
9538         * eshell/eshell.el (eshell-command): History should be saved
9539         only in interactive use, to avoid error.
9541 2011-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
9543         * minibuffer.el (completion-file-name-table): Fix last change,
9544         i.e. ignore normal errors but not the other ones.
9546 2011-10-10  Martin Rudalics  <rudalics@gmx.at>
9548         * window.el (special-display-buffer-names)
9549         (special-display-regexps): Remove some remnants of earlier
9550         changes from doc-strings.
9551         (quit-windows-on): New function.
9553         * vc/vc.el (vc-revert, vc-rollback):
9554         * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
9555         instead of deleting windows.  (Bug#4557) (Bug#5310) (Bug#5556)
9556         (Bug#6183) (Bug#7074) (Bug#7447)
9558 2011-10-09  Martin Rudalics  <rudalics@gmx.at>
9560         * window.el (frame-auto-hide-function): Add version tag.
9561         (Bug#9699)
9563 2011-10-09  Michael Albinus  <michael.albinus@gmx.de>
9565         * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
9566         condition.
9568 2011-10-09  Leo Liu  <sdl.web@gmail.com>
9570         * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
9571         (Bug#9701)
9573 2011-10-08  Glenn Morris  <rgm@gnu.org>
9575         * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
9576         before the first code statement zero indent.  (Bug#9690)
9578 2011-10-08  Chong Yidong  <cyd@stupidchicken.com>
9580         * simple.el (count-words-region): Always count in the region.
9581         Report the number of lines and characters too.
9582         (count-words): New command, which counts in the buffer if the
9583         region is inactive, as count-words-region used to.
9584         (count-words--message): New function.  Handle plurals.
9585         (count-lines-region): Make it an alias for count-words-region.
9587         * bindings.el (esc-map): Replace count-lines-region with
9588         count-words-region.
9590 2011-10-08  Martin Rudalics  <rudalics@gmx.at>
9592         * window.el (window--delete): Delete dedicated frame
9593         unconditionally when argument KILL is non-nil.  (Bug#9699)
9594         (switch-to-buffer): Fix doc-string typo.
9596 2011-10-08  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
9598         * eshell/eshell.el (eshell-command): Avoid using hooks.
9600 2011-10-07  Chong Yidong  <cyd@stupidchicken.com>
9602         * bindings.el ([M-left],[M-right]): Bind to left-word and
9603         right-word respectively.
9605 2011-10-07  Glenn Morris  <rgm@gnu.org>
9607         * cus-start.el (debug-on-quit): Fix custom type.
9609 2011-10-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9611         * subr.el (define-key-after): Clarify that the function is not
9612         useful for non-menu keymaps.
9614         * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
9616 2011-10-06  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
9618         * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
9619         in current minibuffer (Fix bug with recursive minibuffers).
9621 2011-10-06  Chong Yidong  <cyd@stupidchicken.com>
9623         * progmodes/gdb-mi.el (gdb): Doc fix.
9625 2011-10-05  Martin Rudalics  <rudalics@gmx.at>
9627         * window.el (frame-auto-hide-function): New option replacing
9628         frame-auto-delete.  Suggested by Stefan Monnier.
9629         (window--delete): Call frame-auto-hide-function instead of
9630         investigating frame-auto-delete.
9631         (window-point-1, set-window-point-1): New functions.
9632         (window-in-direction, record-window-buffer, window-state-get-1)
9633         (display-buffer-record-window): Use window-point-1 instead of
9634         window-point.
9635         (set-window-buffer-start-and-point): Use set-window-point-1.
9637 2011-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
9639         * emacs-lisp/edebug.el: Heed checkdoc recommendations.
9641 2011-10-05  Glenn Morris  <rgm@gnu.org>
9643         * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
9644         (perl-calculate-indent): Suppress scan errors.  (Bug#2205)
9646 2011-10-05  Leo Liu  <sdl.web@gmail.com>
9648         * subr.el (read-char-choice): Fix argument to buffer-live-p which
9649         works with buffer object.
9651 2011-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
9653         * mpc.el (mpc-tool-bar-map): Add labels.
9655 2011-10-04  Glenn Morris  <rgm@gnu.org>
9657         * calendar/holidays.el (calendar-check-holidays): Doc fix.
9659 2011-10-04  Martin Rudalics  <rudalics@gmx.at>
9661         * window.el (window--delete): New function.
9662         (frame-auto-delete): Resuscitate option.
9663         (bury-buffer, replace-buffer-in-windows)
9664         (quit-window): Rewrite using window--delete.
9665         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9666         Pass display-buffer-mark-dedicated to window--display-buffer-2
9667         (Bug#9639).
9669 2011-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
9671         * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
9672         returns a list (bug#9554).  Add remote file name completion.
9673         * comint.el (comint--table-subvert): Curry and get quote&unquote
9674         functions as arguments.
9675         (comint--complete-file-name-data): Adjust call accordingly.
9676         * pcomplete.el (pcomplete--table-subvert): Remove.
9677         (pcomplete-completions-at-point): Use comint--table-subvert instead.
9679         * minibuffer.el (completion-table-case-fold): Use currying.
9680         (completion--styles-type, completion--cycling-threshold-type):
9681         New constants.
9682         (completion-styles, completion-category-overrides)
9683         (completion-cycle-threshold): Use them.
9684         * pcomplete.el (pcomplete-completions-at-point): Adjust call to
9685         completion-table-case-fold.
9687 2011-10-03  Stephen Berman  <stephen.berman@gmx.net>
9689         * minibuffer.el (completion-category-overrides): Fix type of styles
9690         and add more user friendly tags (bug#9660).
9692 2011-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
9694         * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
9695         (mule-input-method-string): New widget.
9696         (default-input-method, language-info-custom-alist): Use it.
9698 2011-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
9700         * pcomplete.el: Require comint.
9701         (pcomplete--common-suffix): Remove.
9702         (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
9703         (pcomplete--table-subvert): Sync with comint--table-subvert.
9704         (pcomplete--entries): Use comint-completion-file-name-table.
9705         * comint.el (comint-unquote-filename): Simplify.
9706         (comint-completion-file-name-table): New function (bug#9616).
9707         (comint--complete-file-name-data): Use it.
9709         * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
9710         (pcmpl-gnu-tar-buffer): Remove.
9711         (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9712         around.  Make sure pcomplete-suffix-list is only changed temporarily.
9713         Don't look inside the tar's file if it's too large.
9715 2011-10-01  Chong Yidong  <cyd@stupidchicken.com>
9717         * cus-edit.el (custom-mode-map):
9718         * epa.el (epa-key-list-mode-map):
9719         * man.el (Man-mode-map):
9720         * startup.el (splash-screen-keymap):
9721         * simple.el (special-mode-map): Use scroll-up-command and
9722         scroll-down-command.
9724         * progmodes/idlw-help.el (idlwave-help-mode-map):
9725         * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
9726         * net/newst-plainview.el (newsticker-mode-map):
9727         * emulation/ws-mode.el (wordstar-mode-map):
9728         * emulation/vi.el (vi-com-map):
9729         * calc/calc-graph.el (calc-graph-show-dumb):
9730         * term/sun.el (terminal-init-sun):
9731         * term/ns-win.el (global-map):
9732         * progmodes/grep.el (grep-mode-map):
9733         * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
9734         * mail/rmail.el (rmail-mode-map):
9735         * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
9737         * custom.el (custom-safe-themes, load-theme): Treat value of t for
9738         custom-safe-themes as special.
9740 2011-10-01  Julien Danjou  <julien@danjou.info>
9742         * notifications.el (notifications-notify): Fix docstring.
9744 2011-10-01  Per Starbäck  <per@starback.se>
9746         * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call.  (Bug#9643)
9748 2011-09-30  Martin Rudalics  <rudalics@gmx.at>
9750         * startup.el (command-line-1): Fix last fix by inserting
9751         initial-scratch-message into *scratch* before displaying it.
9752         (Bug#9605) and (Bug#9636)
9754 2011-09-29  Eli Zaretskii  <eliz@gnu.org>
9756         * simple.el (line-move): If auto-hscroll-mode is disabled and the
9757         window is hscrolled, move by logical lines.  (Bug#9607)
9758         (line-move-visual): Update the doc string to the above effect.
9760 2011-09-29  Martin Rudalics  <rudalics@gmx.at>
9762         * window.el (display-buffer-record-window): When WINDOW is the
9763         selected window use `point' instead of `window-point'.  (Bug#9626)
9765         * startup.el (command-line-1): Use insert-before-markers when
9766         inserting initial-scratch-message.  (Bug#9605)
9768         * help.el (help-window): Remove variable.
9770 2011-09-29  Glenn Morris  <rgm@gnu.org>
9772         * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
9774 2011-09-29  Juanma Barranquero  <lekktu@gmail.com>
9776         * descr-text.el (describe-char-categories): Accept category
9777         descriptions more than one line long.
9779 2011-09-28  Stefan Monnier  <monnier@iro.umontreal.ca>
9781         * simple.el (delete-trailing-whitespace): Fix last change.
9783         * progmodes/perl-mode.el (perl-syntax-propertize-function):
9784         Don't confuse "y => 3" as the beginning of a `y' operation.
9786         * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
9787         object has more than 4 slots (bug#9613).
9789 2011-09-28  Juanma Barranquero  <lekktu@gmail.com>
9791         * subr.el (with-output-to-temp-buffer):
9792         * net/quickurl.el (quickurl, quickurl-browse-url):
9793         Fix typos in docstrings.
9795 2011-09-27  Eli Zaretskii  <eliz@gnu.org>
9797         * minibuffer.el (completion-styles)
9798         (completion-category-overrides): Cross reference each other in doc
9799         strings.
9801 2011-09-27  Glenn Morris  <rgm@gnu.org>
9803         * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
9804         to split-string.  (Bug#9606)
9806 2011-09-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9808         * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
9809         (bug#9615).
9811 2011-09-27  Chong Yidong  <cyd@stupidchicken.com>
9813         * emacs-lisp/package.el (list-packages): Fix echo area message.
9815 2011-09-27  Leo Liu  <sdl.web@gmail.com>
9817         * ido.el (ido-read-internal): Accept cons cell HIST arg.
9819 2011-09-25  Michael Albinus  <michael.albinus@gmx.de>
9821         * net/dbus.el (dbus-unregister-object): Don't release services for
9822         registered signals.  (Bug#9581)
9824 2011-09-25  Teodor Zlatanov  <tzz@lifelogs.com>
9826         * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
9827         function that picks between cfengine 2 and 3 support
9828         automatically.  Update docs accordingly.
9830 2011-09-22  Kenichi Handa  <handa@m17n.org>
9832         * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
9833         ZERO.
9834         (indian-itrans-v5-table-for-tamil): New variable.
9835         (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
9837 2011-09-22  Ken Manheimer  <ken.manheimer@gmail.com>
9839         * allout.el (allout-this-command-hid-stuff): Buffer-local variable
9840         that's true if the current command involved collapsing of text.
9841         It's reset to false at the beginning of the next command.
9842         (allout-post-command-business): Move the cursor to the beginning
9843         of entry if the cursor is hidden and collapsing activity just
9844         happened.
9846 2011-09-24  Chong Yidong  <cyd@stupidchicken.com>
9848         * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
9849         tracking (Bug#9541).
9851 2011-09-24  Ulf Jasper  <ulf.jasper@web.de>
9853         * net/newst-reader.el (newsticker-html-renderer)
9854         (newsticker-show-news): Automatically load html rendering package
9855         if newsticker-html-renderer is set.  Fixes "Warning: defvar ignored
9856         because w3m-fill-column is let-bound" and the error "Symbol's value
9857         as variable is void: w3m-fill-column".
9859 2011-09-24  Michael Albinus  <michael.albinus@gmx.de>
9861         * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
9862         Release services only if they are defined.  (Bug#9581)
9864 2011-09-23  Richard Stallman  <rms@gnu.org>
9866         * textmodes/paragraphs.el (forward-sentence): For backwards case,
9867         distinguish start of paragraph from start of its text.
9869         * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
9871         * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
9872         (rmail-generate-viewer-buffer): Put that hook on view buffer.
9873         (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
9875 2011-09-23  Andreas Schwab  <schwab@linux-m68k.org>
9877         * international/mule-diag.el (mule-diag): Insert a newline after
9878         each fontset description.
9880 2011-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
9882         * simple.el (delete-trailing-whitespace):
9883         Document last change; simplify.
9885 2011-09-23  Peter J. Weisberg  <pj@irregularexpressions.net>
9887         * simple.el (delete-trailing-whitespace): Also delete
9888         extra newlines at the end of the buffer.
9890         * textmodes/picture.el: Make motion commands obey shift-select-mode.
9891         (picture-newline): Use forward-line so as to ignore fields.
9893 2011-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
9895         * subr.el (with-wrapper-hook): Fix edebug spec.
9897 2011-09-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9899         * simple.el (kill-line): Note effect of `show-trailing-whitespace'
9900         (bug#4538).
9902 2011-09-23  Michael Albinus  <michael.albinus@gmx.de>
9904         * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
9905         Fix nasty bug using wrong cached values.
9907 2011-09-23  Alan Mackenzie  <acm@muc.de>
9909         * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
9911 2011-09-23  Chong Yidong  <cyd@stupidchicken.com>
9913         * window.el (pop-to-buffer): Ensure right window is selected if we
9914         chose another frame.
9916 2011-09-22  Eli Zaretskii  <eliz@gnu.org>
9918         * simple.el (what-cursor-position): Use get-char-property-change
9919         and next-single-char-property-change, to be able to show display
9920         properties that come from overlays as well as text properties.
9922 2011-09-22  Chong Yidong  <cyd@stupidchicken.com>
9924         * window.el (pop-to-buffer-same-window): New (reinstated) fun.
9926         * cmuscheme.el (run-scheme, switch-to-scheme):
9927         * cus-edit.el (customize-group, custom-buffer-create)
9928         (customize-browse):
9929         * info.el (info):
9930         * shell.el (shell):
9931         * mail/sendmail.el (mail):
9932         * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
9934 2011-09-22  Richard Stallman  <rms@gnu.org>
9936         * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
9937         move back only to line beg, don't move back over blank lines.
9939 2011-09-22  Michael Albinus  <michael.albinus@gmx.de>
9941         * files.el (copy-directory): Set directory attributes only in case
9942         they could be retrieved from the source directory.  (Bug#9565)
9944 2011-09-22  Dima Kogan  <dkogan@secretsauce.net>  (tiny change)
9946         * progmodes/hideshow.el (hs-looking-at-block-start-p)
9947         (hs-find-block-beginning, hs-hide-level-recursive):
9948         Ignore strings as well as comments.  (Bug#9502)
9950 2011-09-22  Andrew Schein  <andrew@andrewschein.com>  (tiny change)
9952         * progmodes/sql.el (sql-comint-postgres):
9953         Convert port number to a string.  (Bug#9566)
9955 2011-09-22  Martin Rudalics  <rudalics@gmx.at>
9957         * window.el (quit-window): Undedicate window when switching to
9958         previous buffer.  Reported by Thierry Volpiatto
9959         <thierry.volpiatto@gmail.com>.
9960         (special-display-popup-frame): When popping up a new frame reset
9961         its previous buffers to nil.  Simplify code.
9963 2011-09-21  Michael Albinus  <michael.albinus@gmx.de>
9965         * net/tramp.el (tramp-handle-shell-command): Set process sentinel
9966         and process filter, as done also in `shell-command'.
9968 2011-09-21  Martin Rudalics  <rudalics@gmx.at>
9970         * window.el (set-window-buffer-start-and-point):
9971         Call set-window-start with NOFORCE argument t.
9972         Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
9973         (quit-window): Reword doc-string.  Handle new format of
9974         quit-restore parameter.  Don't delete window if it has a
9975         previous buffer we can show instead of the present one.
9976         (display-buffer-record-window): Rewrite using a new format for
9977         the quit-restore window parameter
9978         (special-display-popup-frame, display-buffer-same-window)
9979         (display-buffer-reuse-window, display-buffer-pop-up-frame)
9980         (display-buffer-pop-up-window, display-buffer-use-some-window):
9981         Adapt symbol passed to display-buffer-record-window.
9982         * help.el (help-window-setup): Handle new format of quit-restore
9983         parameter.
9985 2011-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
9987         * faces.el (face-list): Fix docstring (bug#9564).
9989         * window.el (display-buffer--action-function-custom-type):
9990         Don't include internal functions in the Custom interface.
9992 2011-09-20  Juri Linkov  <juri@jurta.org>
9994         * info.el (Info-history-skip-intermediate-nodes): New defcustom.
9995         (Info-forward-node, Info-backward-node, Info-next-preorder)
9996         (Info-last-preorder): Use it.  (Bug#9528)
9998 2011-09-20  Juri Linkov  <juri@jurta.org>
10000         * info.el (Info-last-preorder): Visit last menu item only when
10001         `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
10003 2011-09-20  Julien Danjou  <julien@danjou.info>
10005         * password-cache.el (password-cache-remove): Remove entries even if the
10006         value is nil, so that password with a nil value (negative caching) is
10007         possible to invalidate.
10009 2011-09-20  Lawrence Mitchell  <wence@gmx.li>
10011         * progmodes/f90.el (f90-break-line): If breaking inside comment delete
10012         all whitespace around breakpoint.  (Bug#9553)
10013         (f90-find-breakpoint): Only break at whitespace inside a comment.
10015 2011-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
10017         * minibuffer.el (completion-file-name-table): Keep track of errors.
10018         (completion-table-with-predicate): Handle the case where pred1 is nil.
10019         * pcomplete.el (pcomplete-completions-at-point): Simplify.
10021 2011-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
10023         * emacs-lisp/debug.el (debugger-args): Give it a docstring.
10024         (debugger-return-value): Signal an error if the debugging context does
10025         not await any return value.
10027         * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
10028         * image-mode.el (image-toggle-display-text)
10029         (image-toggle-display-image): Stay away from evil `intangible'.
10031 2011-09-19  Leo Liu  <sdl.web@gmail.com>
10033         * replace.el (occur-revert-arguments): Make it permanent-local.
10034         (occur-mode): Don't call font-lock-defontify.
10036 2011-09-19  Chong Yidong  <cyd@stupidchicken.com>
10038         * net/ldap.el (ldap-search-internal): Don't push empty search
10039         result (Bug#9508).
10041 2011-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
10043         * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
10045 2011-09-19  Michael Albinus  <michael.albinus@gmx.de>
10047         * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
10048         Suggested by Liam Stitt <stittl@cuug.ab.ca>.
10050 2011-09-18  Juri Linkov  <juri@jurta.org>
10052         * buff-menu.el (Buffer-menu-mode-map):
10053         * dired.el (dired-mode-map):
10054         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
10055         (lisp-interaction-mode-map):
10056         * emacs-lisp/package.el (package-menu-mode-map):
10057         * epa.el (epa-key-list-mode-map):
10058         * menu-bar.el (menu-bar-showhide-tool-bar-menu)
10059         (menu-bar-options-menu):
10060         * outline.el (outline-mode-menu-bar-map):
10061         * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
10062         * vc/vc-dir.el (vc-dir-menu-map):
10063         * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
10064         Capitalize non-function content words in menu item strings.
10066         * dired.el (dired-mode-map): Add menu item for
10067         `image-dired-dired-toggle-marked-thumbs'.
10069 2011-09-18  Juri Linkov  <juri@jurta.org>
10071         * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
10072         to `isearch-case-fold-search' and restore its original value
10073         after the `isearch-mode' call.
10075 2011-09-18  Juri Linkov  <juri@jurta.org>
10077         * progmodes/grep.el (grep-process-setup): Don't check code for 1
10078         because `zgrep' returns 1 for successful matches (bug#9226).
10080 2011-09-18  Juri Linkov  <juri@jurta.org>
10082         * info.el (Info-extract-menu-node-name): Check the second match
10083         for empty string (second test-case of bug#9528).
10084         (Info-last-preorder): Let-bind `Info-history' to nil to not add
10085         intermediate nodes to the history (first test-case of bug#9528).
10087 2011-09-18  Juri Linkov  <juri@jurta.org>
10089         * info.el (Info-mode-syntax-table): New variable.
10090         (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
10092 2011-09-18  Juri Linkov  <juri@jurta.org>
10094         * info.el (Info-file-supports-index-cookies):
10095         Increment line-beginning-position's arg from 3 to 4 because makeinfo
10096         outputs one more line for long file names (bug#4142).
10098 2011-09-18  Chong Yidong  <cyd@stupidchicken.com>
10100         * newcomment.el (comment-normalize-vars): If prompting for
10101         comment-start, set comment-start-skip too (Bug#8424).
10103 2011-09-18  Johan Bockgård  <bojohan@gnu.org>
10105         * icomplete.el: Fix previous fix of Bug#5849.
10106         (icomplete-mode): Don't set completion-show-inline-help.
10107         (icomplete-minibuffer-setup): Set completion-show-inline-help
10108         locally during icompletion.
10110 2011-09-18  Chong Yidong  <cyd@stupidchicken.com>
10112         * woman.el (woman2-process-escapes): Don't delete unrecognized
10113         escapes (Bug#7843).
10115         * files.el (inhibit-first-line-modes-regexps): Add image files.
10116         (hack-local-variables-prop-line): Return nil for malformed
10117         prop-lines (Bug#9044).
10119 2011-09-18  Michael Albinus  <michael.albinus@gmx.de>
10121         * net/tramp.el (top): Don't require 'shell.
10122         (tramp-methods): Fix docstring.
10123         (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
10124         Return complete remote file name.  Handle "smb" case.
10125         Use `tramp-tmpdir', if defined for the respective method.
10126         (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
10128         * net/tramp-compat.el (top): Require 'shell.
10130         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
10131         (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
10132         `tramp-current-host'.
10133         (tramp-get-remote-tmpdir): Remove.
10135         * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
10136         `tramp-tmpdir' entries.
10137         (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
10138         (tramp-smb-handle-file-attributes): Ignore errors.
10139         (tramp-smb-wait-for-output): Check also for process end.
10141 2011-09-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10143         * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
10144         when sending QUIT (bug#9312).
10146 2011-09-17  Chong Yidong  <cyd@stupidchicken.com>
10148         * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
10149         (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
10150         occur-mode-display-occurrence.
10151         (occur-edit-mode): Add usage message.
10152         (occur-cease-edit): New command.
10153         (occur-after-change-function): Use text properties to find the
10154         position of the prefix text.
10155         (occur-engine): Set stickiness of prefix text properties.
10157 2011-09-17  Glenn Morris  <rgm@gnu.org>
10159         * progmodes/etags.el (complete-tag):
10160         Fix call to completion-in-region.  (Bug#9526)
10162 2011-09-17  Juri Linkov  <juri@jurta.org>
10164         * textmodes/ispell.el (ispell-word): Add to the error message
10165         the word, ispell program name and current dictionary (bug#9121).
10166         (ispell-tex-arg-end): Capitalize "error" in the error message.
10168 2011-09-17  Andreas Schwab  <schwab@linux-m68k.org>
10170         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
10171         check.  (Bug#4251)
10173 2011-09-17  Juri Linkov  <juri@jurta.org>
10175         * window.el (window-safe-min-height, window-safe-min-width):
10176         Fix typos (followup to bug#9522).
10178 2011-09-17  Sven Joachim  <svenjoac@gmx.de>
10180         * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
10182 2011-09-16  Eli Zaretskii  <eliz@gnu.org>
10184         * simple.el (line-move): If goal-column is set, move by logical
10185         lines, not by display lines.  (Bug#971)
10186         (next-line, previous-line, goal-column, line-move-visual): Doc fix
10187         to reflect the above change.
10189 2011-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
10191         * image.el (imagemagick-register-types): Use regexp-opt.
10193 2011-09-15  Chong Yidong  <cyd@stupidchicken.com>
10195         * window.el (display-buffer-base-action): Rename from
10196         display-buffer-default-action.  Make default value empty.
10197         (display-buffer-overriding-action): Convert to defvar.
10198         (display-buffer-fallback-action): New var.
10200 2011-09-15  Chong Yidong  <cyd@stupidchicken.com>
10202         * emacs-lisp/package.el (package-alist): Fix risky-local-variable
10203         declaration.
10204         (package--add-to-archive-contents): If there is a duplicate entry
10205         with an older version, remove it.
10206         (package-menu-mark-delete, package-menu-mark-install)
10207         (package-menu-mark-unmark): Make unused args optional.
10208         (package-menu-mark-obsolete-for-deletion):
10209         Use package-menu-get-status instead of a regexp search.
10210         (package-menu-get-status): Use tabulated-list-entry.
10211         (package-menu-mark-upgrades): New command.
10212         (package-menu-mode-map): Bind it to U.  Add it to menu bar.
10213         (package-menu-execute): Do installation before deletion.
10214         (package-menu-refresh, package-menu-execute): Use derived-mode-p
10215         instead of checking major-mode.
10216         (package-menu--find-upgrades): New function.
10218 2011-09-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10220         * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
10221         passwords in the log buffer.
10222         (smtpmail-process-filter): Update the process marker so that the
10223         "broken by peer" status message is inserted in the right place.
10225 2011-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
10227         * textmodes/bibtex.el (bibtex-complete-string-cleanup)
10228         (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
10229         bibtex-completion-at-point-function.
10230         (bibtex-completion-at-point-function): Use them.
10232         * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
10234         * mpc.el (mpc-constraints-tag-lookup): New function.
10235         (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
10236         also to browser "album|playlist".
10238 2011-09-14  Juri Linkov  <juri@jurta.org>
10240         * isearch.el (isearch-fail-pos): Add new arg `msg'.  Doc fix.
10241         (isearch-edit-string): Use length of `isearch-string' when
10242         `isearch-fail-pos' returns nil.
10243         (isearch-message): Remove duplicate code and call
10244         `isearch-fail-pos' with arg `t'.
10246 2011-09-14  Chong Yidong  <cyd@stupidchicken.com>
10248         * replace.el (occur-mode-goto-occurrence): Don't force using other
10249         window (Bug#9499).
10251         * dired-aux.el (dired-do-chmod): Don't provide initial input.
10253 2011-09-14  Martin Rudalics  <rudalics@gmx.at>
10255         * window.el (display-buffer-window): Remove.
10256         (display-buffer-record-window): Use help-setup window parameter
10257         instead of variable display-buffer-window.
10258         (display-buffer-function, special-display-buffer-names)
10259         (special-display-function): Mention help-setup parameter instead
10260         of display-buffer-window in doc-string.
10261         * help.el (help-window-setup): New argument help-window.
10262         Use help-window-setup parameter instead of display-buffer-window.
10263         Reword some messages.
10264         (with-help-window): Pass window used for displaying the buffer
10265         to help-window-setup.  Don't set display-buffer-window.
10267 2011-09-13  Glenn Morris  <rgm@gnu.org>
10269         * emacs-lisp/debug.el (debugger-make-xrefs):
10270         Preserve point.  (Bug#9462)
10272 2011-09-13  Chong Yidong  <cyd@stupidchicken.com>
10274         * window.el (window-deletable-p): Use next-frame.
10276 2011-09-13  Martin Rudalics  <rudalics@gmx.at>
10278         * window.el (window-auto-delete): Remove.
10279         (window-deletable-p): Remove argument FORCE.  Don't deal with
10280         dedication and previous buffers.
10281         (switch-to-prev-buffer): Don't delete window.
10282         (delete-windows-on): Delete a window's frame if and only if the
10283         window is dedicated.
10284         (replace-buffer-in-windows): Delete buffer's window or frame if
10285         and only if window is dedicated.
10286         (quit-window): Handle quit-restore as before last change.
10287         (bury-buffer): Delete window only if window-deletable-p returns t.
10289 2011-09-13  Chong Yidong  <cyd@stupidchicken.com>
10291         * window.el (window-deletable-p): Never delete the last frame on a
10292         given terminal.
10294 2011-09-13  Glenn Morris  <rgm@gnu.org>
10296         * help.el (describe-key-briefly): Copy previous standard-output change.
10298 2011-09-13  PJ Weisberg  <pj@irregularexpressions.net>
10300         * help.el (where-is): Respect non-standard standard-output.  (Bug#9030)
10302 2011-09-13  Glenn Morris  <rgm@gnu.org>
10304         * emacs-lisp/lisp-mode.el (lisp-indent-function):
10305         * progmodes/scheme.el (scheme-indent-function): Doc fixes.
10307 2011-09-12  Chong Yidong  <cyd@stupidchicken.com>
10309         * dired-aux.el (dired-mark-read-string): Don't return default
10310         value on empty input (Bug#9361).
10311         (dired-do-chxxx): Treat empty input for "touch" as no -t option.
10312         Omit initial minibuffer contents.
10313         (dired-do-chmod): Signal an error on empty input.
10314         (dired-mark-read-string): Don't return default on empty input.
10316         * files.el (file-modes-symbolic-to-number): Doc fix.
10318 2011-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
10320         * international/mule-cmds.el (ucs-completions): Remove.
10321         (read-char-by-name): Use complete-with-action instead; add metadata.
10323 2011-09-11  Chong Yidong  <cyd@stupidchicken.com>
10325         * window.el (display-buffer--action-function-custom-type)
10326         (display-buffer--action-custom-type): New vars.
10327         (display-buffer-alist, display-buffer-default-action)
10328         (display-buffer-overriding-action): Add defcustom types.
10330         * frame.el (delete-other-frames): Doc fix (Bug#276).
10332 2011-09-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10334         * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
10336 2011-09-11  Chong Yidong  <cyd@stupidchicken.com>
10338         Change modes that used same-window-* vars to use switch-to-buffer.
10340         * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
10341         Use switch-to-buffer.
10343         * cus-edit.el (customize-group, custom-buffer-create)
10344         (customize-browse, custom-buffer-create-other-window):
10345         Use switch-to-buffer or switch-to-buffer-other-window.
10347         * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
10348         (Info-prev, Info-up, Info-speedbar-goto-node)
10349         (info-display-manual): Use switch-to-buffer.
10350         (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
10352         * mail/sendmail.el (mail): Use switch-to-buffer.
10353         (mail-recover): Use switch-to-buffer-other-window.
10355         * cmuscheme.el (run-scheme, switch-to-scheme):
10356         * ielm.el (ielm):
10357         * shell.el (shell):
10358         * net/rlogin.el (rlogin):
10359         * net/telnet.el (telnet, rsh):
10360         * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
10362 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
10364         * dired.el (dired-sort-toggle-or-edit): Revert last changes.
10366 2011-09-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10368         * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
10369         so don't mention it (bug#9301).
10370         (dired-sort-toggle-or-edit): Clarify string further.
10372         * faces.el (face-spec-set-match-display): Make `(type graphic)'
10373         match `x', `w32' and `ns', like the manual says (bug#9029).
10375         * subr.el (eval-after-load): Doc string clarification (bug#9125).
10376         (process-kill-buffer-query-function): Mention the buffer name in
10377         the query.
10379         * image-mode.el (image-next-line): The line parameter is mandatory
10380         (bug#9258).
10382         * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
10383         which can be useful (bug#9301).
10385         * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
10387         * subr.el (match-string): Mention that the current buffer should
10388         be the same as the search was done in (bug#9282).
10390         * facemenu.el: Disable the remove-* commands if the mark isn't
10391         active (bug#9162).
10393 2011-09-10  Chong Yidong  <cyd@stupidchicken.com>
10395         * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
10396         of display-buffer.
10397         (Buffer-menu-2-window): Use switch-to-buffer-other-window.
10399         * replace.el (occur-mode-goto-occurrence)
10400         (occur-mode-display-occurrence) Use second arg of pop-to-buffer
10401         and display-buffer.
10403         * mail/reporter.el (reporter-submit-bug-report): Use second arg of
10404         display-buffer.
10406         * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
10407         special-display and same-window variables.
10408         (mail-other-window): Use switch-to-buffer-other-window.
10409         (mail-other-frame): USe switch-to-buffer-other-frame.
10411         * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
10412         Use display-buffer-other-frame.
10413         (gdb-display-gdb-buffer): Use pop-to-buffer.
10415         * progmodes/gud.el (gud-goto-info): Use info-other-window.
10417         * progmodes/python.el: Don't set same-window-buffer-names.
10419         * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
10421         * window.el (display-buffer-alist): Add *Python*.
10423 2011-09-10  Chong Yidong  <cyd@stupidchicken.com>
10425         * window.el (display-buffer-alist): Add entry for buffers
10426         previously handled same-window-*.
10427         (display-buffer-alist, display-buffer-default-action)
10428         (display-buffer-overriding-action): Mark as risky.
10429         (display-buffer-alist): Document action function changes.
10430         (display-buffer--same-window-action)
10431         (display-buffer--other-frame-action): New variables.
10432         (switch-to-buffer, display-buffer-other-frame): Use them.
10433         (display-buffer): Rename reuse-frame entry to reusable-frames.
10434         (display-buffer-reuse-selected-window): Function deleted.
10435         (display-buffer-reuse-window): Handle reusable-frames alist entry.
10436         If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
10437         (display-buffer-special): New function.
10438         (display-buffer--maybe-pop-up-frame-or-window): Rename from
10439         display-buffer-reuse-or-pop-window.  Split off special-display
10440         part into display-buffer-special.
10441         (display-buffer-use-some-window): Don't perform any special
10442         pop-up-frames handling.
10443         (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
10444         (display-buffer--maybe-same-window): Rename from
10445         display-buffer-maybe-same-window.
10447         * info.el: Don't set same-window-regexps.
10448         (info-setup): New function.
10449         (info-other-window, info): Call it.
10451         * cus-edit.el: Don't set same-window-regexps.
10452         (customize-group): New argument.
10453         (customize-group-other-window): Use it.
10454         (customize-face, customize-face-other-window): Likewise.
10455         (custom-buffer-create-other-window): Use pop-to-buffer directly.
10457         * net/rlogin.el:
10458         * net/telnet.el:
10459         * progmodes/gud.el: Don't set same-window-regexps.
10461         * cmuscheme.el:
10462         * ielm.el:
10463         * shell.el:
10464         * mail/sendmail.el:
10465         * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
10467 2011-09-10  Juri Linkov  <juri@jurta.org>
10469         * isearch.el (isearch-edit-string): Remove obsolete mention of
10470         `C-w' (`isearch-yank-word-or-char') from docstring.
10471         (isearch-query-replace): Fix typo in docstring (bug#9466).
10473 2011-09-10  Juri Linkov  <juri@jurta.org>
10475         * paren.el (show-paren-function): Don't show escaped parens.
10476         Let-bind `unescaped' to `t' when paren is not escaped.  (Bug#9461)
10478 2011-09-10  Eli Zaretskii  <eliz@gnu.org>
10480         * mail/sendmail.el (mml-to-mime, mml-attach-file)
10481         (mm-default-file-encoding): Remove autoload forms, they are
10482         replaced with autoload cookies in mml.el and mm-encode.el.
10483         (mail-add-attachment): New command.
10484         (mail-mode-map): Add a menu-bar item for mail-add-attachment.
10485         (mail-mode): Mention mail-insert-file and mail-add-attachment in
10486         the doc string.
10487         (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
10489 2011-09-10  Reuben Thomas  <rrt@sc3d.org>
10491         * simple.el (count-words-region): Use buffer if there's no region
10492         (bug#9429).
10494 2011-09-09  Juri Linkov  <juri@jurta.org>
10496         * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
10497         `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
10498         (wdired-isearch-filter-read-only): New function.  (Bug#6362)
10500 2011-09-09  Alan Mackenzie  <acm@muc.de>
10502         * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
10503         spuriously generating `awk-mode-syntax-table'.  (Bug #9448).
10505 2011-09-09  Eli Zaretskii  <eliz@gnu.org>
10507         Fix for Savannah bug#9392.
10508         * simple.el (mail-encode-mml): New defvar.
10510         * mail/rmail.el (mail-encode-mml): Add a defvar.
10511         (rmail-enable-mime-composing): Default to t.
10512         (rmail-forward): Use MIME method of forwarding only if both
10513         rmail-enable-mime-composing and rmail-enable-mime are non-nil.
10514         Set mail-encode-mml non-nil if the MIME method was used.
10516         * mail/sendmail.el (mml-to-mime): Add autoload form.
10517         (mail-encode-mml): Add a defvar.
10518         (mail-mode): Make mail-encode-mml buffer-local and initialize it
10519         to nil.
10520         (mail-send): If mail-encode-mml is non-nil, run the outgoing
10521         message through mml-to-mime, and reset mail-encode-mml to nil.
10523 2011-09-09  Glenn Morris  <rgm@gnu.org>
10525         * woman.el (woman-if-body): When processing an .el block,
10526         do not delete the next .el block as well.  (Bug#9447)
10527         (woman-special-characters): Add oq, cq, and hy characters.
10529 2011-09-08  Martin Rudalics  <rudalics@gmx.at>
10531         * window.el (window-deletable-p): Make sure window is live before
10532         invoking window-prev-buffers.
10534 2011-09-08  Leo Liu  <sdl.web@gmail.com>
10536         * net/rcirc.el (rcirc-cmd-invite): New rcirc command.  (Bug#9453)
10538 2011-09-08  Juri Linkov  <juri@jurta.org>
10540         * progmodes/compile.el (compilation-environment): Make it
10541         a defcustom (bug#8340).
10543 2011-09-08  Martin Rudalics  <rudalics@gmx.at>
10545         * window.el (frame-auto-delete): Rename to window-auto-delete.
10546         Make it control auto-deletion of windows and/or frames.
10547         (window-deletable-p): New argument FORCE.  Rewrite conditions
10548         for deleting window/frame.  (Bug#9419)
10549         (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
10550         Rewrite handling of case when window/frame can be deleted.
10551         (delete-windows-on): Call window-deletable-p with new FORCE
10552         argument t.  (Bug#9456)
10554 2011-09-07  Chong Yidong  <cyd@stupidchicken.com>
10556         * help-mode.el (help-mode): Restore autoload.
10558 2011-09-07  Juri Linkov  <juri@jurta.org>
10560         * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
10561         `compilation-environment'.  Set buffer-local
10562         `compilation-environment' to `thisenv' later after (funcall mode).
10563         (Bug#8340)
10565         * vc/vc-git.el (vc-git-grep): Remove --no-color.  (Bug#9408)
10566         (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
10567         instead of replacing its value.  (Bug#8340)
10569 2011-09-07  Juri Linkov  <juri@jurta.org>
10571         * progmodes/grep.el (grep-regexp-alist): Calculate column positions
10572         based on text properties put by `grep-filter' instead of matching
10573         escape sequences.
10574         (grep-mode): Set buffer-local `compilation-error-screen-columns'
10575         to the value of `grep-error-screen-columns' (bug#9438).
10577 2011-09-07  Juri Linkov  <juri@jurta.org>
10579         * simple.el (next-error-highlight, next-error-highlight-no-select):
10580         Doc fix (bug#9432).
10582 2011-09-07  OKAZAKI Tetsurou  <okazaki.tetsurou@gmail.com>  (tiny change)
10584         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
10585         Check for null c-opt-block-decls-with-vars-key.  (Bug#9443)
10587 2011-09-07  Leo Liu  <sdl.web@gmail.com>
10589         * net/rcirc.el (rcirc-mode): Conditionally initialize
10590         rcirc-input-ring.
10592 2011-09-07  Stefan Monnier  <monnier@iro.umontreal.ca>
10594         * emacs-lisp/find-func.el (find-function-C-source): Only set
10595         find-function-C-source-directory after checking that we found a source
10596         file there (bug#9440).
10598 2011-09-06  Alan Mackenzie  <acm@muc.de>
10600         * isearch.el (isearch-other-meta-char): Wherever a key list is
10601         unread, "unread" the prefix arg, too.  This fixes bug #8901.
10603 2011-09-05  Oleksandr Gavenko  <gavenkoa@gmail.com>  (tiny change)
10605         * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
10607 2011-09-05  Juri Linkov  <juri@jurta.org>
10609         * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
10611 2011-09-05  Juri Linkov  <juri@jurta.org>
10613         * progmodes/grep.el (grep-filter): Avoid incomplete processing by
10614         keeping point where processing of grep matches begins, and
10615         continue to delete remaining escape sequences from the same point.
10616         (grep-filter): Make leading zero optional in "0?1;31m" because
10617         git-grep emits "\033[1;31m" escape sequences unlike expected
10618         "\033[01;31m" as GNU Grep does (bug#9408).
10619         (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
10621 2011-09-05  Juri Linkov  <juri@jurta.org>
10623         * subr.el (y-or-n-p): Capitalize "yes".
10625 2011-09-04  Michael Albinus  <michael.albinus@gmx.de>
10627         * net/tramp.el (top): Require 'shell.  Use `tramp-unload-hook' but
10628         `tramp-cache-unload-hook' where appropriate.
10629         (tramp-methods): Rename `tramp-remote-sh' to
10630         `tramp-remote-shell'.  Add `tramp-remote-shell-args'.
10631         (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
10633         * net/tramp-sh.el (top): Don't require 'shell.
10634         (tramp-methods): Add `tramp-remote-shell' and
10635         `tramp-remote-shell-args' entries.
10636         (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
10637         (tramp-sh-handle-shell-command): Remove.
10638         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
10639         Use `tramp-remote-shell'.
10641 2011-09-03  Chong Yidong  <cyd@stupidchicken.com>
10643         * mail/sendmail.el (sendmail-query-once-function): Delete.
10644         (sendmail-query-once): Save directly to send-mail-function.
10645         Update message-send-mail-function too.
10647         * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
10649 2011-09-03  Christoph Scholtes  <cschol2112@googlemail.com>
10651         * progmodes/python.el (python-mode-map): Use correct function to
10652         start python interpreter from menu-bar (as reported by Geert
10653         Kloosterman).
10654         (inferior-python-mode-map): Fix typo.
10655         (python-shell-map): Remove.
10657 2011-09-03  Deniz Dogan  <deniz@dogan.se>
10659         * net/rcirc.el (rcirc-print): Simplify code for
10660         rcirc-scroll-show-maximum-output.  There is no need to walk
10661         through all windows to find the right one.
10663 2011-09-03  Christoph Scholtes  <cschol2112@googlemail.com>
10665         * help.el (help-return-method): Doc fix.
10667 2011-09-03  Martin Rudalics  <rudalics@gmx.at>
10669         * window.el (window-deletable-p): Don't return a non-nil value
10670         when there's a buffer that was shown in the window before.
10671         (Bug#9419)
10672         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10673         Set window's previous buffers to nil.
10675 2011-09-03  Eli Zaretskii  <eliz@gnu.org>
10677         * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
10678         newline before and after the tag line, so it doesn't interfere
10679         with determining the paragraph direction of bidirectional text.
10681 2011-09-03  Leo Liu  <sdl.web@gmail.com>
10683         * files.el (find-file-not-true-dirname-list): Remove.  (Bug#9422)
10685 2011-09-02  Chong Yidong  <cyd@stupidchicken.com>
10687         * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
10688         (pop-to-buffer): Change interactive spec.  Pass second argument
10689         directly to display-buffer.
10690         (display-buffer): Fix interactive spec.  Use functionp to
10691         distinguish between a function and a list of functions.
10693         * abbrev.el (edit-abbrevs):
10694         * arc-mode.el (archive-extract):
10695         * autoinsert.el (auto-insert):
10696         * bookmark.el (bookmark-bmenu-list):
10697         * files.el (find-file):
10698         * view.el (view-buffer):
10699         * progmodes/compile.el (compilation-goto-locus):
10700         * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
10702 2011-09-02  Chong Yidong  <cyd@stupidchicken.com>
10704         * window.el (display-buffer-alist): Doc fix.
10705         (display-buffer): Add docstring.  Don't treat
10706         display-buffer-default specially.
10707         (display-buffer-reuse-selected-window)
10708         (display-buffer-same-window, display-buffer-maybe-same-window)
10709         (display-buffer-reuse-window, display-buffer-pop-up-frame)
10710         (display-buffer-pop-up-window)
10711         (display-buffer-reuse-or-pop-window)
10712         (display-buffer-use-some-window): New functions.
10713         (display-buffer-default-action): Use them.
10714         (display-buffer-default): Delete.
10715         (pop-to-buffer-1): Fix choice of actions.
10717 2011-09-02  Stefan Monnier  <monnier@iro.umontreal.ca>
10719         * minibuffer.el (completion--insert-strings): Don't get confused by
10720         completion entries that end with an LF char.
10722 2011-09-01  Eli Zaretskii  <eliz@gnu.org>
10724         * window.el (frame-auto-delete, window-deletable-p): Doc fix.
10726 2011-09-01  Chong Yidong  <cyd@stupidchicken.com>
10728         * window.el (display-buffer): Restore interactive spec.
10729         (display-buffer-same-window, display-buffer-other-window):
10730         New functions.
10731         (pop-to-buffer-1): New function.  Use the above.
10732         (pop-to-buffer, pop-to-buffer-same-window): Use it.
10733         (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
10735         * view.el (view-buffer-other-window, view-buffer-other-frame):
10736         Just use pop-to-buffer.
10738 2011-09-01  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
10740         * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories.  (Bug#9391)
10742 2011-09-01  Wilfred Hughes  <wilfred@potatolondon.com>  (tiny change)
10744         * vc/vc-git.el (vc-git-grep): Use --no-color.  (Bug#9408)
10746 2011-08-31  Richard Stallman  <rms@gnu.org>
10748         * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
10749         of the separation of rmail-view-buffer from rmail-buffer.
10750         If you say no to "replace original", the decrypt is in the
10751         view buffer.  If you say yes, the decrypt goes into the
10752         rmail buffer also.
10754 2011-08-31  Martin Rudalics  <rudalics@gmx.at>
10756         * window.el (display-buffer-window): Rewrite doc-string.
10757         (display-buffer-record-window): New function.
10758         (display-buffer-macro-specifiers)
10759         (display-buffer-even-window-sizes, display-buffer-set-height)
10760         (display-buffer-set-width, display-buffer-in-window)
10761         (display-buffer-reuse-window, display-buffer-split-specifiers)
10762         (display-buffer-side-specifiers, display-buffer-split-window-1)
10763         (display-buffer-split-window, display-buffer-split-atom-window)
10764         (display-buffer-pop-up-window, display-buffer-pop-up-frame)
10765         (display-buffer-pop-up-side-window, display-buffer-in-side-window)
10766         (display-buffer-other-window-means-other-frame)
10767         (display-buffer-normalize-special)
10768         (display-buffer-normalize-default)
10769         (display-buffer-normalize-argument)
10770         (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
10771         (display-buffer-normalize-specifiers, display-buffer-frame)
10772         (display-buffer-same-window, display-buffer-same-frame)
10773         (display-buffer-other-window)
10774         (display-buffer-same-frame-other-window)
10775         (display-buffer-other-frame, pop-to-buffer-same-window)
10776         (pop-to-buffer-same-frame, pop-to-buffer-other-window)
10777         (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
10778         (switch-to-buffer-same-frame)
10779         (switch-to-buffer-other-window-same-frame)
10780         (display-buffer-alist-of-strings-p, display-buffer-alist-add)
10781         (display-buffer-alist-set-1, display-buffer-alist-set-2)
10782         (display-buffer-alist-set): Remove.
10783         (display-buffer-function, special-display-buffer-names)
10784         (special-display-regexps, special-display-function):
10785         In doc-string refer to display-buffer-window and quit-restore
10786         parameter.
10787         (pop-up-frame-alist, pop-up-frame-function, special-display-p)
10788         (special-display-frame-alist, special-display-popup-frame)
10789         (same-window-buffer-names, same-window-regexps, same-window-p)
10790         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
10791         (split-window-preferred-function, split-height-threshold)
10792         (split-width-threshold, window-splittable-p)
10793         (split-window-sensibly, window--try-to-split-window)
10794         (window--frame-usable-p, even-window-heights)
10795         (window--even-window-heights, window--display-buffer-1)
10796         (window--display-buffer-2, display-buffer-other-frame):
10797         Restore old Emacs 23 code, order and doc-strings where applicable.
10798         (display-buffer-default, display-buffer-assq-regexp): New functions.
10799         (display-buffer-alist): Rewrite doc-string.
10800         (display-buffer-default-action)
10801         (display-buffer-overriding-action): New variables.
10802         (display-buffer, switch-to-buffer): Rewrite.
10803         (pop-to-buffer): Restore Emacs 23 behavior but use
10804         window-normalize-buffer-to-display.
10805         (switch-to-buffer-other-window, switch-to-buffer-other-frame):
10806         Restore Emacs 23 behavior but use
10807         window-normalize-buffer-to-switch-to.
10808         (pop-to-buffer-same-window): Rewrite.
10809         (pop-to-buffer-other-window, pop-to-buffer-other-frame):
10810         Rewrite using Emacs 23 options.
10812 2011-08-31  Michael Albinus  <michael.albinus@gmx.de>
10814         * net/tramp.el (tramp-root-regexp): Remove.
10815         (tramp-completion-file-name-regexp-unified)
10816         (tramp-completion-file-name-regexp-separate)
10817         (tramp-completion-file-name-regexp-url): Don't use leading volume
10818         letter on w32 systems.  (Bug#5303, Bug#9311)
10819         (tramp-drop-volume-letter): Simplify definition.
10820         Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
10822 2011-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
10824         * subr.el (event-modifiers): Fix "missing modifier" part of docstring
10825         (bug#9356).
10827 2011-08-30  Reuben Thomas  <rrt@sc3d.org>  (tiny change)
10829         * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
10831 2011-08-29  Juri Linkov  <juri@jurta.org>
10833         * isearch.el (isearch-done): Don't display message "Mark saved"
10834         when arg `edit' is non-nil to prevent its flicker in the echo area.
10836 2011-08-28  Chong Yidong  <cyd@stupidchicken.com>
10838         * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
10839         obsolete packages for deletion.
10841 2011-08-28  Christoph Scholtes  <cschol2112@googlemail.com>
10843         * help-mode.el (help-mode-map): Add special-mode-map to parent.
10844         (help-mode): Derive help-mode from special-mode.  Don't invoke
10845         view-mode from help-mode.
10846         (help-xref-override-view-map): Remove.
10847         (help-make-xrefs): Remove minor-mode-overriding-map-alist since
10848         view-mode is not used anymore.
10850 2011-08-28  Chong Yidong  <cyd@stupidchicken.com>
10852         * server.el (server-port): Doc fix.
10854         * cus-theme.el (custom-theme-choose-mode): Inherit from
10855         special-mode (Bug#9124).
10856         (custom-theme-choose-mode-map): Add special-mode to parent.
10858 2011-08-28  Alan Mackenzie  <acm@muc.de>
10860         * progmodes/cc-fonts.el
10861         (c-make-font-lock-BO-decl-search-function): New function.
10862         (c-basic-matchers-after - "Fontify the clauses after various
10863         keywords"): Extract the three keyword lists for the 3 erroneous
10864         constructs from the list of four, and use the new function above
10865         in place of an old one.
10867 2011-08-28  Deniz Dogan  <deniz@dogan.se>
10869         * net/rcirc.el (rcirc-insert-prev-input)
10870         (rcirc-insert-next-input): Remove unused argument.
10872 2011-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
10874         * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
10876 2011-08-27  Alan Mackenzie  <acm@muc.de>
10878         * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
10879         handle function pointer parameters properly.
10881 2011-08-27  Martin Rudalics  <rudalics@gmx.at>
10883         * window.el (display-buffer-reuse-window): Fix case where
10884         selected window was reused with non-nil OTHER-WINDOW argument.
10885         (Bug#9381)
10887 2011-08-27  Deniz Dogan  <deniz@dogan.se>
10889         * net/rcirc.el (rcirc-check-auth-status): Adding support for
10890         oftc's NickServ messages.
10892 2011-08-27  Glenn Morris  <rgm@gnu.org>
10894         * saveplace.el (save-place-limit): Make it finite.  (Bug#9352)
10896 2011-08-26  Chong Yidong  <cyd@stupidchicken.com>
10898         * emacs-lisp/package.el (package-install): Call package-initialize
10899         if called interactively.
10901 2011-08-26  Leo Liu  <sdl.web@gmail.com>
10903         * emacs-lisp/cl-macs.el (defstruct): Fix format.  (Bug#9357)
10905 2011-08-25  Juri Linkov  <juri@jurta.org>
10907         * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
10908         `search-whitespace-regexp' (bug#9364).
10910 2011-08-25  Juri Linkov  <juri@jurta.org>
10912         * isearch.el (isearch-edit-string): Let-bind `search-ring' and
10913         `regexp-search-ring' to their global values to protect from
10914         updating by `read-from-minibuffer' (bug#9185).
10916 2011-08-25  Juri Linkov  <juri@jurta.org>
10918         * textmodes/ispell.el (ispell-command-loop): Add newline
10919         at the end of the "Use option `i'..." line.
10921 2011-08-25  Juri Linkov  <juri@jurta.org>
10923         * battery.el (display-battery-mode): If `battery-status-function'
10924         or `battery-mode-line-format' is nil, display the message and set
10925         `display-battery-mode' to nil (bug#9363).
10927 2011-08-25  Eli Zaretskii  <eliz@gnu.org>
10929         * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
10930         bidi-string-mark-left-to-right; they are unnecessary now.
10932 2011-08-25  Deniz Dogan  <deniz@dogan.se>
10934         * net/quickurl.el: Documentation typo fixes.
10936 2011-08-25  Chong Yidong  <cyd@stupidchicken.com>
10938         * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
10940 2011-08-25  Glenn Morris  <rgm@gnu.org>
10942         * emacs-lisp/derived.el (define-derived-mode): Doc fix.
10944         * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
10945         (smtpmail-via-smtp): Handle nil response from smtp.
10947 2011-08-24  Juri Linkov  <juri@jurta.org>
10949         * proced.el (proced-marked): Inherit from `error' instead of
10950         `font-lock-warning-face'.
10952         * ibuffer.el (ibuffer-marked-face): Change default face from
10953         `font-lock-warning-face' to `warning'.
10954         (ibuffer-deletion-face): Change default face from
10955         `font-lock-type-face' to `error'.
10957         * battery.el (battery-update): Use the face `error' instead of
10958         `font-lock-warning-face' (bug#6117).
10960 2011-08-24  Juri Linkov  <juri@jurta.org>
10962         * faces.el (success): Change face color from "Green3" to
10963         "ForestGreen" on light background (bug#9353).
10965 2011-08-24  Chong Yidong  <cyd@stupidchicken.com>
10967         * window.el (quit-window): Rename from quit-restore-window.
10968         Use same arglist as old quit-window.
10969         (frame-auto-delete): Doc fix.
10971         * view.el (view-mode-exit): Use quit-window.
10973 2011-08-24  Juri Linkov  <juri@jurta.org>
10975         * isearch.el (isearch-ring-adjust1): Start visiting previous
10976         search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
10977         (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
10978         for empty search string (when the last search string is reused
10979         automatically) to adjust the isearch ring to the last element and
10980         prepare the correct index for further M-p commands (bug#9185).
10982 2011-08-24  Kenichi Handa  <handa@m17n.org>
10984         * international/ucs-normalize.el: If decomposition property of
10985         CHAR is the default one (i.e. a list of CHAR itself), treat it as
10986         nil.
10987         (nfd, nfkd): Likewise.
10989 2011-08-24  Stefan Monnier  <monnier@iro.umontreal.ca>
10991         * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
10992         from process filters aren't reliably transmitted to the surrounding
10993         accept-process-output.
10994         (mpc-proc-check): New function.
10995         (mpc-proc-sync): Use it (bug#8293)
10997 2011-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
10999         * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
11000         Add compatibility functions (bug#9313).
11002 2011-08-23  Eli Zaretskii  <eliz@gnu.org>
11004         * cus-start.el (all): Add entry for bidi-paragraph-direction.
11006         * international/uni-bidi.el: Regenerate.
11008 2011-08-23  Kenichi Handa  <handa@m17n.org>
11010         * international/charprop.el:
11011         * international/uni-bidi.el:
11012         * international/uni-category.el:
11013         * international/uni-combining.el:
11014         * international/uni-comment.el:
11015         * international/uni-decimal.el:
11016         * international/uni-decomposition.el:
11017         * international/uni-digit.el:
11018         * international/uni-lowercase.el:
11019         * international/uni-mirrored.el:
11020         * international/uni-name.el:
11021         * international/uni-numeric.el:
11022         * international/uni-old-name.el:
11023         * international/uni-titlecase.el:
11024         * international/uni-uppercase.el: Regenerate.
11026 2011-08-23  Martin Rudalics  <rudalics@gmx.at>
11028         * help.el (help-window-setup): Fix message displayed when other
11029         window is reused.  (Bug#9341)
11031 2011-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
11033         * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
11034         * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
11036         * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
11037         Mark obsolete.
11038         * shell.el (shell-parse-pcomplete-arguments): New function.
11039         (shell-completion-vars): Use it instead (bug#9160).
11041 2011-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
11043         * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
11044         strings and comments (bug#9333).
11046         * emacs-lisp/debug.el (debug-arglist): New function.
11047         (debug-convert-byte-code): Use it.  Handle lexical byte-codes.
11048         (debug-on-entry-1): Handle interpreted closures (bug#9120).
11050 2011-08-22  Juri Linkov  <juri@jurta.org>
11052         * progmodes/compile.el (compilation-mode-font-lock-keywords):
11053         Revert regexp that highlights output switches to its old
11054         pre-2010-10-28 value and remove one `?' from it (bug#9319).
11056         * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
11057         to check for empty output (bug#9226).
11059 2011-08-22  Chong Yidong  <cyd@stupidchicken.com>
11061         * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
11062         symbol-constituent as the default, as that stops font-lock from
11063         working properly (Bug#8843).
11065 2011-08-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11067         * mail/smtpmail.el (smtpmail-via-smtp): Only bind
11068         `coding-system-for-*' around the process open call to avoid
11069         auth-source side effects.
11070         (smtpmail-try-auth-methods): Expand the secret password.
11071         (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
11072         probe hangs.
11074 2011-08-21  Chong Yidong  <cyd@stupidchicken.com>
11076         * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
11078         * emacs-lisp/find-func.el (find-function-noselect): New arg
11079         lisp-only.
11081         * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
11082         signal an error for built-in functions (Bug#6664).
11084 2011-08-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11086         * mail/smtpmail.el (smtpmail-smtp-user): New variable.
11087         (smtpmail-try-auth-methods): Use it.
11089 2011-08-21  Chong Yidong  <cyd@stupidchicken.com>
11091         * font-lock.el (font-lock-fontify-region)
11092         (font-lock-unfontify-region, font-lock-default-fontify-buffer)
11093         (font-lock-default-unfontify-buffer)
11094         (font-lock-default-fontify-region)
11095         (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
11097         * progmodes/compile.el (compilation-error-properties):
11098         Fix confusion between file struct and message struct (Bug#9319).
11099         (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
11100         `ant' regexp.
11102         * net/browse-url.el (browse-url-firefox): Don't call
11103         browse-url-firefox-sentinel unless using -remote (Bug#9328).
11105 2011-08-20  Glenn Morris  <rgm@gnu.org>
11107         * tutorial.el (help-with-tutorial): Avoid an error on short screens.
11109         * tutorial.el (tutorial--default-keys): Update some default bindings.
11111         * files.el (hack-local-variables): Fully ignore case for "mode:".
11113 2011-08-20  Alan Mackenzie  <acm@muc.de>
11115         Resolve invalid use of a regexp in regexp-opt.
11117         * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
11118         detection for a java annotation.
11120         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
11121         detection for a java annotation.
11123         * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
11124         handling for java.
11125         (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
11127 2011-08-20  Chong Yidong  <cyd@stupidchicken.com>
11129         * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
11130         (Bug#9274).
11132 2011-08-20  Alan Mackenzie  <acm@muc.de>
11134         Fontify CPP expressions correctly when starting in the middle of
11135         such a construct.  Mainly for when jit-lock etc. starts a chunk
11136         here.
11138         * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
11139         variable.
11140         (c-make-font-lock-search-form): New function, extracted from
11141         c-make-font-lock-search-function.
11142         (c-make-font-lock-search-function): Use the above function.
11143         (c-make-font-lock-context-search-function): New function.
11144         (c-cpp-matchers): Enhance the preprocessor expression case with
11145         the above function
11146         (c-font-lock-complex-decl-prepare): Test for being in a CPP form
11147         which takes an expression.
11149         * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
11151 2011-08-20  Martin Rudalics  <rudalics@gmx.at>
11153         * window.el (display-buffer-reuse-window)
11154         (display-buffer-pop-up-window): Don't reuse or split a side
11155         window.
11157 2011-08-19  Glenn Morris  <rgm@gnu.org>
11159         * files.el (hack-local-variables-prop-line, hack-local-variables):
11160         Downcase "Mode:".  (Bug#9331)
11162 2011-08-18  Chong Yidong  <cyd@stupidchicken.com>
11164         * international/characters.el: Add L and R categories.
11166         * subr.el (bidi-string-mark-left-to-right): Rename from
11167         string-mark-left-to-right.  Use category search.
11169         * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
11171 2011-08-18  Juri Linkov  <juri@jurta.org>
11173         * faces.el (error, warning, success): New faces with definitions
11174         copied from old default values of `font-lock-warning-face',
11175         `compilation-warning', `compilation-info' (bug#6117).
11177         * font-lock.el (font-lock-warning-face): Inherit from `error'.
11179         * progmodes/compile.el (compilation-error): Inherit from `error'.
11180         (compilation-warning): Inherit from `warning'.
11181         (compilation-info): Inherit from `success'.
11183         * dired.el (dired-marked): Inherit from `warning'.
11184         (dired-flagged): Inherit from `error'.
11186 2011-08-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11188         * mail/smtpmail.el (auth-source): Require to avoid problems with
11189         binding variables (bug#9298).  Also clean up some unused
11190         autoloads.
11192         * net/network-stream.el (network-stream-open-starttls):
11193         Support using starttls.el without using gnutls-cli.
11195 2011-08-17  Juri Linkov  <juri@jurta.org>
11197         * progmodes/grep.el (rgrep): Handle the case when
11198         `grep-find-command' is a cons cell (bug#9278).
11200 2011-08-17  Martin Rudalics  <rudalics@gmx.at>
11202         * window.el (display-buffer-pop-up-frame): Run frame creation
11203         function with BUFFER current (as special-display-popup-frame
11204         does).  Reported by Drew Adams.
11206 2011-08-17  Daiki Ueno  <ueno@unixuser.org>
11208         * epa-mail.el: Simplify GnuPG group expansion using
11209         epg-expand-group.
11210         (epa-mail-group-alist, epa-mail-group-modtime)
11211         (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
11212         (epa-mail-sync-groups, epa-mail-expand-recipient-1)
11213         (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
11214         Remove.
11216 2011-08-16  Feng Li  <fengli@gmail.com>  (tiny change)
11218         * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
11220 2011-08-16  Alan Mackenzie  <acm@muc.de>
11222         * progmodes/cc-engine.el (c-state-cache-non-literal-place):
11223         Correct, to avoid the inside of macros.
11225 2011-08-16  Richard Stallman  <rms@gnu.org>
11227         * epa-mail.el: Handle GnuPG group definitions.
11228         (epa-mail-group-alist, epa-mail-group-modtime)
11229         (epa-mail-gnupg-conf-file): New variables.
11230         (epa-mail-parse-groups, epa-mail-sync-groups)
11231         (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
11232         (epa-mail-expand-recipients): New functions.
11233         (epa-mail-encrypt): Call epa-mail-expand-recipients.
11235         * mail/rmail.el (rmail-epa-decrypt): New command.
11237         * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
11238         Don't bind buffer-read-only, just inhibit-read-only.
11239         (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
11240         (epa-decrypt-armor-in-region): Make error message clearer.
11242 2011-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
11244         * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
11245         and "a2b" to "ab" for `prefix'.
11247 2011-08-14  Chong Yidong  <cyd@stupidchicken.com>
11249         * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
11250         filter groups.
11251         (ibuffer-included-in-filter-p-1): Use it.  Suggested by Rafaël
11252         Fourquet (Bug#8804).
11254 2011-08-12  Juanma Barranquero  <lekktu@gmail.com>
11256         * startup.el (argi): Declare as global variable (bug#9275).
11258 2011-08-12  Chong Yidong  <cyd@stupidchicken.com>
11260         * subr.el (string-mark-left-to-right): Search the entire string
11261         for RTL script, not just the terminating character.  Doc fix.
11263 2011-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
11265         * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
11266         New function.
11267         (js--regexp-literal, js-syntax-propertize-function): Remove.
11268         (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
11269         (js-mode-map): Don't rebind electric keys.
11270         (js-insert-and-indent): Remove.
11271         (js-mode): Setup electric-layout and electric-indent instead.
11273         * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
11275 2011-08-12  Daiki Ueno  <ueno@unixuser.org>
11277         * epa.el (epa-progress-callback-function): Fix the logic of
11278         displaying progress.
11279         * epa-file.el (epa-file-insert-file-contents): Make progress
11280         display more user-friendly.
11281         (epa-file-write-region): Ditto.
11283 2011-08-10  Chong Yidong  <cyd@stupidchicken.com>
11285         * subr.el (string-mark-left-to-right): New function.
11287         * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
11288         Use string-mark-left-to-right.
11289         (list-buffers-noselect): Caller changed.
11291         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
11292         Use string-mark-left-to-right.
11293         (tabulated-list-print): Recenter after moving point.
11295 2011-08-10  Juri Linkov  <juri@jurta.org>
11297         * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
11298         This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
11299         intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
11301 2011-08-09  Chong Yidong  <cyd@stupidchicken.com>
11303         * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
11304         (Bug#7554).
11306 2011-08-09  Andreas Schwab  <schwab@linux-m68k.org>
11308         * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
11309         character.  (Bug#6594)
11311 2011-08-08  Chong Yidong  <cyd@stupidchicken.com>
11313         * image-dired.el: Don't use find-file for temporary work (Bug#7895).
11314         (image-dired--with-db-file): New macro.
11315         (image-dired-write-tags, image-dired-remove-tag)
11316         (image-dired-create-gallery-lists, image-dired-write-comments)
11317         (image-dired-get-comment, image-dired-mark-tagged-files)
11318         (image-dired-list-tags, image-dired-gallery-generate): Use it.
11319         (image-dired-gallery-generate): Use insert-file-contents.
11321         * time.el (display-time-world-list, display-time-world-display):
11322         * time-stamp.el (time-stamp-string):
11323         * vc/add-log.el (add-change-log-entry): Use setenv instead of
11324         set-time-zone-rule (Bug#7337).
11326 2011-08-08  Daiki Ueno  <ueno@unixuser.org>
11328         * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
11329         (epg-error-to-string, epg-errors-to-string): New function.
11330         (epg-wait-for-completion): Reverse errors list.
11331         (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
11332         (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
11333         (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
11334         (epg-sign-keys, epg-generate-key-from-file)
11335         (epg-generate-key-from-string): Format errors by using
11336         epg-errors-to-string (bug#9255).
11337         (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
11339 2011-08-07  Juri Linkov  <juri@jurta.org>
11341         * faces.el (list-faces-display): Remove extra angle bracket
11342         from `help-mode-map'.
11344         * info.el (Info-history-toc-nodes): Doc fix.
11346         * longlines.el (longlines-mode): Doc fix.
11348 2011-08-05  Stefan Monnier  <monnier@iro.umontreal.ca>
11350         * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
11351         of statements and in a few more cases (bug#9183).
11353         * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
11354         New functions.
11355         (cl-transform-lambda): Use them (bug#9239).
11357 2011-08-05  Martin Rudalics  <rudalics@gmx.at>
11359         * window.el (display-buffer-same-window)
11360         (display-buffer-same-frame, display-buffer-other-window)
11361         (pop-to-buffer-same-window, pop-to-buffer-same-frame)
11362         (pop-to-buffer-other-window)
11363         (pop-to-buffer-same-frame-other-window)
11364         (pop-to-buffer-other-frame): Make them defuns.
11365         (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
11367 2011-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
11369         * subr.el (make-composed-keymap): Move from C.  Change calling
11370         convention, and improve docstring to bring attention to a subtle point.
11371         * minibuffer.el (completing-read-default): Adjust accordingly.
11373 2011-08-03  Michael Albinus  <michael.albinus@gmx.de>
11375         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
11376         (tramp-open-shell): Use `tramp-shell-quote-argument'.
11378         * net/trampver.el: Update release number.
11380 2011-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
11382         * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
11383         "in" (bug#9190).
11385 2011-08-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11387         * mail/sendmail.el (sendmail-query-once): Restore the current
11388         buffer after querying (bug#9074).
11390         * dired.el (dired-flagged): Use different faces for marked and
11391         flagged files (bug#6117).
11393         * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
11394         (bug#4433).
11396         * ido.el (ido-mode): Switch off the message if called
11397         non-interactively.
11399         * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
11400         before 587, since it appears that that's more likely to work for
11401         more people.
11403         * cus-edit.el (custom-file): When running under emacs -q, always
11404         refuse to save the customizations, even if the .emacs file doesn't
11405         exist.
11407         * info.el: Remove the `Info-beginning-of-buffer' function
11408         (bug#8325).
11410         * net/network-stream.el (network-stream-open-starttls):
11411         Use `starttls-available-p' to see whether starttls.el can be used.
11413 2011-08-01  Martin Rudalics  <rudalics@gmx.at>
11415         * window.el (display-buffer-in-window): Don't set dedicated status
11416         of window here (Bug#9215).
11417         (display-buffer-pop-up-window, display-buffer-pop-up-frame)
11418         (display-buffer-pop-up-side-window)
11419         (display-buffer-in-side-window): Set dedicated status of window here.
11421 2011-08-01  Stefan Monnier  <monnier@iro.umontreal.ca>
11423         * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
11424         before binding generated-autoload-file.
11426 2011-08-01  Deniz Dogan  <deniz@dogan.se>
11428         * net/rcirc.el (rcirc-handler-333): Clarify docstring.
11430 2011-07-30  Michael Albinus  <michael.albinus@gmx.de>
11432         Sync with Tramp 2.2.2.
11434         * net/trampver.el: Update release number.
11436 2011-07-30  Juri Linkov  <juri@jurta.org>
11438         * dired-aux.el (dired-touch-initial): Remove function.
11439         (dired-do-chxxx): For op-symbol `touch', set `initial' to the
11440         current time, and `default' to the last modification time of the
11441         current marked file (bug#6887).
11443 2011-07-28  Jose E. Marchesi  <jemarch@gnu.org>
11445         * simple.el (goto-line): Use string-to-number to provide a
11446         numeric argument to read-number (bug#9163).
11448 2011-07-27  Michael Albinus  <michael.albinus@gmx.de>
11450         * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
11451         connection process, it could be nil.
11453 2011-07-27  Leo Liu  <sdl.web@gmail.com>
11455         Simplify url handling in rcirc-mode.
11457         * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
11458         (rcirc-browse-url-at-mouse): Remove.
11459         * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
11461 2011-07-26  Alan Mackenzie  <acm@muc.de>
11463         Fontify bitfield declarations properly.
11465         * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
11466         (c-symbol-chars): Now exported as a lang variable.
11467         (c-not-primitive-type-keywords): New lang variable.
11469         * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
11470         QT keyword "more" to prevent "more slots: ...." being spuriously
11471         parsed as a bitfield declaration.
11473         * progmodes/cc-engine.el (c-beginning-of-statement-1):
11474         Refactor and enhance to handle bitfield declarations.
11475         (c-punctuation-in): New function.
11476         (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
11477         declarations properly.
11479 2011-07-26  Ulf Jasper  <ulf.jasper@web.de>
11481         * calendar/icalendar.el (icalendar--all-events): Take care of
11482         multiple vcalendars in a single file.
11483         (icalendar--convert-float-to-ical): Checkdoc fixes.
11485 2011-07-25  Deniz Dogan  <deniz@dogan.se>
11487         * image.el (insert-image): Clarifying docstring.
11489 2011-07-24  Michael Albinus  <michael.albinus@gmx.de>
11491         * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
11492         `tramp-send-command-and-check' if there is no error.
11493         (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
11495 2011-07-22  Alan Mackenzie  <acm@muc.de>
11497         Prevent cc-langs.elc being loaded at run time.
11499         * progmodes/cc-mode.el: Remove two autoload forms which loaded
11500         cc-langs.
11502         * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
11503         "(require 'cc-langs)".  Quote a form so it will evaluate at
11504         (cc-mode's) compilation time.
11506 2011-07-22  Michael Albinus  <michael.albinus@gmx.de>
11508         * net/tramp.el (tramp-file-name-handler): Avoid recursive
11509         loading.  (Bug#9114)
11511 2011-07-21  Martin Rudalics  <rudalics@gmx.at>
11513         * window.el (display-buffer-pop-up-window)
11514         (display-buffer-pop-up-side-window)
11515         (display-buffer-in-side-window): Call display-buffer-set-height
11516         and display-buffer-set-width after setting the new window's
11517         buffer so `fit-window-to-buffer' and friends work on the right buffer.
11519 2011-07-20  Sam Steingold  <sds@gnu.org>
11521         * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
11522         (etags-tags-included-tables): Call `convert-standard-filename' on
11523         the file names contained in TAGS so that windows Emacs can handle
11524         TAGS files created by cygwin ctags.
11526 2011-07-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11528         * proced.el (proced-update): Revert yesterday's bug#1779 patch,
11529         which apparently didn't work.
11531 2011-07-19  Roland Winkler  <winkler@gnu.org>
11533         * proced.el (proced-send-signal): For *Marked Processes* buffer
11534         put point at beginning of buffer.
11536 2011-07-19  Stephen Berman  <stephen.berman@gmx.net>
11538         * proced.el (proced-format): Make header lines align with the text
11539         (bug#1779).
11541 2011-07-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11543         * view.el (view-buffer): Allow running in `special' modes if we're
11544         visiting a file (bug#8615).
11546 2011-07-19  Martin Rudalics  <rudalics@gmx.at>
11548         * window.el (display-buffer-alist-of-strings-p)
11549         (display-buffer-alist-set-1, display-buffer-alist-set-2):
11550         New functions.
11551         (display-buffer-alist-set): Rewrite to handle Emacs 23 options
11552         more accurately.
11554 2011-07-18  Alan Mackenzie  <acm@muc.de>
11556         Fontify declarators properly when, e.g., a jit-lock chunk begins
11557         inside a declaration.
11559         * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
11561         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
11562         New function.
11563         (c-complex-decl-matchers): Insert reference to
11564         c-font-lock-enclosing-decls.
11566         * progmodes/cc-engine.el (c-backward-single-comment):
11567         (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
11568         to nil around calls to (forward-comment -1).
11570 2011-07-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11572         * image.el (put-image): Doc typo fix.
11574         * progmodes/etags.el (tags-search): Doc typo fix.
11576         * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
11577         password if we get errors 550 to 554.
11579 2011-07-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11581         * net/gnutls.el (gnutls-log-level): Remove.
11583         * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
11584         indentation character (bug#6380).
11586         * files.el (buffer-offer-save): Made permanently local (bug#6241).
11588         * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
11589         to clarify what the problem is (bug#4291).
11591         * simple.el (current-kill): Clarify what
11592         `interprogram-paste-function' does (bug#7500).
11593         (auto-fill-mode): Document `auto-fill-function' in relation to
11594         `auto-fill-mode' (bug#2470).
11596 2011-07-16  Lawrence Mitchell  <wence@gmx.li>
11598         * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
11599         method if slot is read-only (bug#9035).
11601 2011-07-16  Martin Rudalics  <rudalics@gmx.at>
11603         * frame.el (select-frame-set-input-focus): New argument NORECORD.
11604         * window.el (pop-to-buffer): Select window used even if it was
11605         selected before, see discussion of (Bug#8615), (Bug#6954).
11606         Pass argument NORECORD on to select-frame-set-input-focus.
11608 2011-07-15  Glenn Morris  <rgm@gnu.org>
11610         * subr.el (read-char-choice): Allow quitting.  (Bug#9001)
11611         Respect help-form.
11613 2011-07-09  Lawrence Mitchell  <wence@gmx.li>
11615         * net/gnutls.el (gnutls-min-prime-bits): New variable.
11616         (gnutls-negotiate): Use it.
11618 2011-07-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11620         * net/gnutls.el (gnutls-negotiate):
11621         Upcase `gnutls-algorithm-priority'.
11623 2011-07-15  Glenn Morris  <rgm@gnu.org>
11625         * jka-compr.el (jka-compr-verbose): Move from here...
11626         * jka-cmpr-hook.el (jka-compr-verbose): ... to here.  (Bug#9090)
11627         Add missing :version tag.
11628         * info.el: No need to require jka-compr when compiling.
11630 2011-07-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11632         * net/gnutls.el (gnutls-algorithm-priority): New variable.
11633         (gnutls-negotiate): Use it.
11635         * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
11637         * info.el (Info-beginning-of-buffer): New command.
11638         (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
11639         announcing `b' as the key (bug#8325).
11640         (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
11642         * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
11644         * international/mule-cmds.el
11645         (describe-specified-language-support): Make the error message
11646         clearer (bug#8905).
11648         * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
11650         * isearch.el (isearch-barrier): Add a doc string, since it's
11651         mentioned in a function doc string (bug#8678).
11653 2011-07-15  Martin Rudalics  <rudalics@gmx.at>
11655         * window.el (switch-to-buffer): Call pop-to-buffer with normalized
11656         buffer argument (Bug#9083) and self-identifying label argument.
11658 2011-07-15  Glenn Morris  <rgm@gnu.org>
11660         * emacs-lisp/debug.el (debug): Doc fix.  (Bug#8273)
11662 2011-07-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11664         * man.el (Man-fontify-manpage): Fix message when formatting the
11665         man page (bug#7929).
11667 2011-07-14  Eli Zaretskii  <eliz@gnu.org>
11669         * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
11670         argument LRM; if non-nil, append an invisible LRM character to the
11671         buffer name.
11672         (list-buffers-noselect): Call Buffer-menu-buffer+size with the
11673         last argument non-nil, when formatting buffer names.
11674         (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
11675         paragraph direction.
11677 2011-07-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11679         * man.el (Man-bgproc-sentinel): Skip any arguments and only output
11680         the man page name (bug#7929).
11682         * image.el (put-image): Mention the `put-image' overlay property
11683         (bug#7834).
11685         * scroll-bar.el (set-scroll-bar-mode): Mention that
11686         `scroll-bar-mode' lists the values (bug#7772).
11688         * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
11689         command (bug#7729).
11691         * rect.el (apply-on-rectangle): Return the point after the last
11692         operation.
11693         (string-rectangle): Go to the point after the last operation
11694         (bug#7522).
11696         * printing.el (pr-toggle-region): Clarify the documentation
11697         slightly (bug#7493).
11699         * time.el (display-time-update):
11700         Allow `display-time-mail-function' to return nil (bug#7158).
11701         Fix suggested by Detlev Zundel.
11703         * vc/diff.el (diff): Clarify the order the file names are read
11704         (bug#7111).
11706         * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
11707         the doc string (bug#7015).
11709         * font-lock.el (font-lock-maximum-decoration): Mention what
11710         numeric levels mean (bug#6935).
11712         * startup.el (initial-buffer-choice): Don't mention the `none'
11713         selection, which is against policy.
11715 2011-07-14  Martin Rudalics  <rudalics@gmx.at>
11717         * window.el (display-buffer-normalize-special):
11718         Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
11720 2011-07-14  Eli Zaretskii  <eliz@gnu.org>
11722         * subr.el (version<, version<=, version=): Mention "-CVS" and
11723         "-12345" alpha version numbers.
11725 2011-07-14  Chong Yidong  <cyd@stupidchicken.com>
11727         * bindings.el: Add advertised binding for set-mark-command
11728         (Bug#5772).
11730 2011-07-14  Chong Yidong  <cyd@stupidchicken.com>
11732         * bindings.el (mode-line-other-buffer):
11733         * bookmark.el (bookmark-bmenu-2-window):
11734         * bs.el (bs-cycle-next, bs-cycle-previous):
11735         * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
11736         switch-to-buffer.
11738         * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
11739         Delete.
11741 2011-07-14  Juanma Barranquero  <lekktu@gmail.com>
11743         * follow.el (follow-debug-message, follow-redisplay):
11744         * jka-cmpr-hook.el (with-auto-compression-mode):
11745         Fix typos in docstrings.
11747 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11749         * subr.el (with-silent-modifications): Clarify somewhat what the
11750         macro inhibits (bug#6525).
11752         * simple.el (eval-expression): Note what it does if called
11753         interactively (bug#6495).
11755 2011-07-13  Chong Yidong  <cyd@stupidchicken.com>
11757         * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
11758         Use pop-to-buffer buffer-or-name if it is nil.
11760         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11761         Remove switch-to-buffer.
11763 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11765         * files.el (make-directory): Clarify that an error will be raised
11766         if there's an error (bug#6397).
11768         * startup.el (initial-buffer-choice): Add `none' as a choice
11769         (bug#6234).
11771         * subr.el (add-hook): Clarify section about buffer-local hooks
11772         (bug#6218).
11774         * dired.el (dired-flagged): Clarify doc string (bug#6117).
11776 2011-07-13  Juanma Barranquero  <lekktu@gmail.com>
11778         * tabify.el (untabify): Preserve the current column so that point
11779         doesn't move (bug#6032).
11781 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11783         * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
11784         Rewrite to avoid awkward possessive "s" (bug#5986).
11786 2011-07-13  Glenn Morris  <rgm@gnu.org>
11788         * dired.el (dired-use-ls-dired): Doc fix.  (Bug#9039).
11789         (dired-insert-directory): Give a message the first time
11790         if ls is found not to support --dired.
11792 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11794         * simple.el (toggle-truncate-lines): Clarify what is toggled
11795         (bug#5580).  Text by Drew Adams.
11797 2011-07-13  Chong Yidong  <cyd@stupidchicken.com>
11799         * simple.el (blink-matching-open): Make the error message from the
11800         last change less verbose.
11802 2011-07-13  Dan Nicolaescu  <dann@ics.uci.edu>
11804         * font-lock.el (font-lock-comment-face): Use the high contrast
11805         "yellow" color for font-lock-comment-face on low color terminals
11806         using a dark background color (bug#4221).
11808 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11810         * dired.el (dired-insert-set-properties): Make the doc string
11811         reflect what it does now (bug#5325).
11813         * simple.el (blink-matching-open): Say that we were unable to find
11814         the match within the limit, if we're limited (bug#5122).
11816         * international/mule-cmds.el (prefer-coding-system): Add an
11817         example (bug#4869).
11819         * progmodes/etags.el (tags-search): Document `file-list-form'
11820         (bug#4731).
11822 2011-07-13  Lawrence Mitchell  <wence@gmx.li>
11824         * net/browse-url.el (browse-url-default-browser)
11825         (browse-url-browser-function): Make the default browser choice a
11826         bit more logical (bug#4300).  Also clean up the doc string.
11828 2011-07-13  Juanma Barranquero  <lekktu@gmail.com>
11830         * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
11831         binary endings (bug#4440).
11833 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11835         * info.el (info-insert-file-contents): Inhibit jka-compr messages,
11836         which can be pretty annoying (bug#8971).
11838         * jka-compr.el (jka-compr-verbose): New variable, and use
11839         throughout (bug#8971).
11841         * info.el (Info-find-file): Fall back on the installation
11842         directory if we can't find the info node anywhere else.
11844 2011-07-13  Sergei Organov  <osv@javad.com>  (tiny change)
11846         * vc/vc.el (vc-revert-file):
11847         Don't set file time-stamp in the past.  (Bug#5181)
11849 2011-07-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11851         * files.el (after-find-file): Give a better error message when
11852         trying to find a symlink that points to a file that doesn't exist
11853         (bug#4398).
11855         * progmodes/cc-vars.el: Remove (probably) misleading comment
11856         (bug#4396).
11858 2011-07-12  Johan Bockgård  <bojohan@gnu.org>
11860         * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
11862 2011-07-12  Chong Yidong  <cyd@stupidchicken.com>
11864         * mouse-sel.el: Hack restoring functionality, while keeping
11865         compatibility with 2010-07-03 changes to mouse selection.
11866         (mouse-sel-primary-overlay): New var.
11867         (mouse-sel-selection-alist): Use it.
11868         (mouse-sel-mode): Doc fix; remove points that are default features
11869         of mouse.el.
11871 2011-07-12  Johan Bockgård  <bojohan@gnu.org>
11873         * progmodes/compile.el (compilation-error-regexp-alist-alist):
11874         Fix previous fix (bug#2490).
11876 2011-07-12  Roland Winkler  <winkler@gnu.org>
11878         * textmodes/bibtex.el (bibtex-initialize):
11879         Use pop-to-buffer-same-window.
11880         (bibtex-search-entries): Fix interactive call.
11882 2011-07-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11884         * progmodes/compile.el (compilation-error-regexp-alist-alist):
11885         Fontise bytecomp Error lines more correctly (bug#2490).
11886         Fix suggested by Johan Bockgård.
11888         * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
11890         * dired-x.el (dired-guess-default): Use `delete-dups'.
11892 2011-07-12  Chong Yidong  <cyd@stupidchicken.com>
11894         * dired.el (dired-mark-prompt):
11895         * dired-aux.el (dired-read-shell-command): Doc fix.
11897 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11899         * mail/sendmail.el (sendmail-query-once):
11900         Use `customize-save-variable' unconditionally, now that it works under
11901         emacs -Q.
11903         * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
11905         * cus-edit.el (custom-file): Take an optional no-error variable.
11906         (customize-save-variable): Set the variable, and give a warning if
11907         running under "emacs -q".
11909 2011-07-11  Juanma Barranquero  <lekktu@gmail.com>
11911         * loadhist.el (unload-feature-special-hooks):
11912         Add `auto-coding-functions', `fill-nobreak-predicate' and
11913         `find-directory-functions' (bug#5327).
11915 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11917         * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
11919         * cus-edit.el (custom-guess-name-alist): -alist variables should
11920         use the `alist' type (bug#3120).  Suggested by Drew Adams.
11922         * printing.el: Add documentation to all the `pr-toggle-' commands.
11924 2011-07-11  Leo Liu  <sdl.web@gmail.com>
11926         * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
11927         backends where it makes sense (bug#2623).
11929 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11931         * dired-x.el (dired-guess-default): Remove duplicate shell command
11932         entries (bug#2028).
11933         (dired-guess-default): Fix grammar in doc string (bug#2028).
11934         (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
11936         * subr.el (remove-duplicates): New conveniency function.
11938 2011-07-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11940         * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
11941         (bug#1526).
11943 2011-07-10  Martin Rudalics  <rudalics@gmx.at>
11945         * window.el (display-buffer-normalize-default): Don't invert
11946         meaning of even-window-heights.  Reported by Eli Zaretskii
11947         <eliz@gnu.org>.
11949 2011-07-10  Bob Rogers  <rogers@rgrjr.dyndns.org>
11951         * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
11953 2011-07-10  Chong Yidong  <cyd@stupidchicken.com>
11955         * window.el (display-buffer): Fix arguments to
11956         display-buffer-reuse-window in last change.
11958         * faces.el (link): Use a less saturated blue on light backgrounds.
11960         * startup.el (fancy-startup-text, fancy-about-text)
11961         (fancy-startup-tail): Use font-lock faces, for background safety.
11963 2011-07-09  Bob Nnamtrop  <bobnnamtrop@gmail.com>  (tiny change)
11965         * emulation/viper-cmd.el (viper-change-state-to-vi):
11966         Limit triggering of abbrev expansion (Bug#9038).
11968 2011-07-09  Martin Rudalics  <rudalics@gmx.at>
11970         * window.el (display-buffer-default-specifiers): Remove.
11971         (display-buffer-macro-specifiers): Remove default specifiers.
11972         (display-buffer-alist): Default to nil.
11973         (display-buffer-reuse-window): New optional argument other-window.
11974         (display-buffer-pop-up-window): Allow splitting internal
11975         windows.  Check whether a live window was created.
11976         (display-buffer-other-window-means-other-frame)
11977         (display-buffer-normalize-arguments): Rename to
11978         display-buffer-normalize-argument and rewrite.  Set the
11979         other-window specifier.
11980         (display-buffer-normalize-special): New function.
11981         (display-buffer-normalize-options): Rename to
11982         display-buffer-normalize-default and rewrite.
11983         (display-buffer-normalize-options-inhibit): Remove.
11984         (display-buffer-normalize-specifiers): Rewrite.
11985         (display-buffer): Process other-window specifier and call
11986         display-buffer-reuse-window with it.  Emulate Emacs 23 behavior
11987         more faithfully.
11988         (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
11989         (display-buffer-alist-set): Don't handle 'unset default values.
11990         (display-buffer-in-window, display-buffer-alist-set):
11991         Replace symbol "dedicated" by "dedicate".  Reported by Tassilo Horn
11992         <tassilo@member.fsf.org>.
11994 2011-07-09  Leo Liu  <sdl.web@gmail.com>
11996         * register.el (insert-register): Restore accidental change on
11997         2011-06-26.  (Bug#9028)
11999 2011-07-09  Glenn Morris  <rgm@gnu.org>
12001         * subr.el (remq): Handle the empty list.  (Bug#9024)
12003 2011-07-08  Andreas Schwab  <schwab@linux-m68k.org>
12005         * mail/sendmail.el (send-mail-function): No longer delay custom
12006         initialization.
12007         * custom.el (custom-initialize-delay): Doc fix.
12009 2011-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
12011         * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
12013 2011-07-08  Michael Albinus  <michael.albinus@gmx.de>
12015         * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
12016         human-friendly prompt.
12018 2011-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
12020         * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
12021         provided by a particular plugin.
12023 2011-07-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12025         * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
12026         save customizations (with "emacs -Q"), just set the variable
12027         instead of erroring out.
12029         * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
12031 2011-07-08  Juri Linkov  <juri@jurta.org>
12033         * arc-mode.el (archive-zip-expunge, archive-zip-update)
12034         (archive-zip-update-case): Use 7z if found by `executable-find'.
12035         The order of searching the available programs is the same as in
12036         `archive-zip-extract' (bug#8968).
12038 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
12040         * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
12041         (menu-bar-options-menu): Tweak descriptions.
12043 2011-07-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12045         * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
12046         menu items into verb phrases (bug#1421).  Also refill to fit under
12047         80 columns.
12049 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
12051         * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
12052         (Info-read-node-name): Doc fix (Bug#1084).
12054         * thingatpt.el (forward-thing, bounds-of-thing-at-point)
12055         (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
12056         (end-of-sexp, beginning-of-sexp)
12057         (thing-at-point-bounds-of-list-at-point, forward-whitespace)
12058         (forward-symbol, forward-same-syntax, word-at-point)
12059         (sentence-at-point): Doc fix (Bug#1144).
12061 2011-07-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12063         * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
12064         should cover it (bug#1281).
12066         * cus-edit.el (custom-show): Mark as obsolete.
12068         * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12069         negotiation fails, then possibly try again with a non-encrypted
12070         connection (bug#9017).
12072         * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
12073         be used.
12075 2011-07-07  Richard Stallman  <rms@gnu.org>
12077         * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
12078         property, and handle its changed format.
12079         Look for the correct line number.
12080         Use file's line contents (but not past first =) to find
12081         correct line in message.
12083 2011-07-07  Kenichi Handa  <handa@m17n.org>
12085         * international/characters.el (build-unicode-category-table):
12086         Delete it.
12087         (unicode-category-table): Set it by unicode-property-table-internal.
12089         * international/mule-cmds.el (char-code-property-alist): Move to
12090         to src/chartab.c.
12091         (get-char-code-property): Call unicode-property-table-internal to
12092         load a file.  Call get-unicode-property-internal where necessary.
12093         (put-char-code-property): Call unicode-property-table-internal to
12094         load a file.  Call put-unicode-property-internal where necessary.
12095         put-unicode-property-internal where necessary.
12096         (char-code-property-description):
12097         Call unicode-property-table-internal to load a file.
12099         * international/charprop.el:
12100         * international/uni-bidi.el:
12101         * international/uni-category.el:
12102         * international/uni-combining.el:
12103         * international/uni-comment.el:
12104         * international/uni-decimal.el:
12105         * international/uni-decomposition.el:
12106         * international/uni-digit.el:
12107         * international/uni-lowercase.el:
12108         * international/uni-mirrored.el:
12109         * international/uni-name.el:
12110         * international/uni-numeric.el:
12111         * international/uni-old-name.el:
12112         * international/uni-titlecase.el:
12113         * international/uni-uppercase.el: Regenerate.
12115         * loadup.el: Load international/charprop.el before
12116         international/characters.
12118 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
12120         * window.el (next-buffer, previous-buffer): Signal an error if
12121         called from a minibuffer window.
12123         * bindings.el: Revert 2011-07-04 change.
12125 2011-07-06  Richard Stallman  <rms@gnu.org>
12127         * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
12128         (rmail-mime-insert-bulk, rmail-mime-insert-text):
12129         Treat markers like ints.
12130         (rmail-mime-entity): Doc fix.
12132 2011-07-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12134         * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
12135         defcustom again for backwards compatibility.
12137         * simple.el (shell-command-on-region): Fill.
12139         * dired-aux.el (dired-kill-line): Add a doc string.
12141         * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
12142         to "\\sw\\|\\s_" (bug#358).
12144         * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
12145         (dired-unmark-backward): Ditto.
12146         (dired-flag-backup-files): Ditto.
12148         * dired-x.el (dired-mark-sexp): Ditto.
12150 2011-07-06  Richard Stallman  <rms@gnu.org>
12152         * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
12153         (rmail-mime-entity): New arg TRUNCATED.
12154         (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
12155         New functions.
12156         (rmail-mime-save): Warn if entity is truncated.
12157         (rmail-mime-toggle-hidden): Likewise, for showing.
12158         (rmail-mime-process-multipart): Record when an entity is truncated.
12160         * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
12161         if ENTITY is a string.
12163 2011-07-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12165         * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
12166         of faces when `M-C-x'-ing their definitions (bug#8378).
12167         Also clean up the code slightly.
12169         * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
12170         because that makes the colors go away.
12172         * mail/sendmail.el (send-mail-function): Change the default to
12173         `sendmail-query-once'.
12174         (sendmail-query-once): Add an autoload cookie.
12176         * net/network-stream.el (network-stream-open-starttls): Try using
12177         a plain connection even if the server offered STARTTLS, and we
12178         kinda wanted to use it, if Emacs doesn't have any STARTTLS
12179         capability.  This should make smtpmail.el work in slightly more
12180         configurations.
12182 2011-07-06  Michael Albinus  <michael.albinus@gmx.de>
12184         * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
12185         New defun.
12186         * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
12188 2011-07-06  Michael R. Mauger  <mmaug@yahoo.com>
12190         * progmodes/sql.el: Version 3.0
12191         (sql-product-alist): Add product :completion-object,
12192         :completion-column, and :statement attributes.
12193         (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
12194         (sql-mode-syntax-table): Mark all punctuation.
12195         (sql-font-lock-keywords-builder): Temporarily remove fallback on
12196         ansi keywords.
12197         (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
12198         (sql-mode-oracle-font-lock-keywords): Improve.
12199         (sql-oracle-show-reserved-words): New function for development.
12200         (sql-product-font-lock): Simplify for source code buffers.
12201         (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
12202         New functions.
12203         (sql-highlight-product): Set product specific syntax table.
12204         (sql-mode-map): Add statement movement functions.
12205         (sql-ansi-statement-starters, sql-oracle-statement-starters):
12206         New variable.
12207         (sql-statement-regexp, sql-beginning-of-statement)
12208         (sql-end-of-statement, sql-signum): New functions.
12209         (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
12210         (sql-show-sqli-buffer): Bug fix.
12211         (sql-interactive-mode): Store connection data as buffer local.
12212         (sql-connect): Add NEW-NAME parameter.  Redesign interaction
12213         with sql-interactive-mode.
12214         (sql-save-connection): Save buffer local settings.
12215         (sql-connection-menu-filter): Change menu entry name.
12216         (sql-product-interactive): Bug fix.
12217         (sql-preoutput-hold): New variable.
12218         (sql-interactive-remove-continuation-prompt): Bug fixes.
12219         (sql-debug-redirect): New variable.
12220         (sql-str-literal): New function.
12221         (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
12222         Redesign.
12223         (sql-oracle-save-settings, sql-oracle-restore-settings)
12224         (sql-oracle-list-all, sql-oracle-list-table): New functions.
12225         (sql-completion-object, sql-completion-column)
12226         (sql-completion-sqlbuf): New variables.
12227         (sql-build-completions-1, sql-build-completions)
12228         (sql-try-completion): New functions.
12229         (sql-read-table-name): Use them.
12230         (sql-contains-names): New buffer local variable.
12231         (sql-list-all, sql-list-table): Use it.
12232         (sql-oracle-completion-types): New variable.
12233         (sql-oracle-completion-object, sql-sqlite-completion-object)
12234         (sql-postgres-completion-object): New functions.
12236 2011-07-06  Glenn Morris  <rgm@gnu.org>
12238         * window.el (pop-to-buffer): Doc fix.
12240 2011-07-06  Markus Heiser  <markus.heiser@darmarit.de>  (tiny change)
12242         * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
12244 2011-07-06  Chong Yidong  <cyd@stupidchicken.com>
12246         * window.el (special-display-popup-frame): Doc fix (Bug#8853).
12248         * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
12250 2011-07-05  Chong Yidong  <cyd@stupidchicken.com>
12252         * button.el (button): Inherit from link face.  Suggested by Dan
12253         Nicolaescu.
12255 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
12257         * progmodes/gdb-mi.el: Fit in 80 columns.
12258         (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
12259         switch-to-buffer.
12261         * progmodes/which-func.el (which-func-ff-hook): Don't output a message
12262         if imenu is simply not configured (bug#8941).
12264 2011-07-05  Ken Manheimer  <ken.manheimer@gmail.com>
12266         * allout.el (allout-post-undo-hook): New allout outline-change
12267         event hook to signal undo activity.
12268         (allout-post-command-business): Run allout-post-undo-hook if an
12269         undo just occurred.
12270         (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
12271         * allout-widgets.el (allout-widgets-after-undo-function):
12272         Ensure the integrity of the current item's decoration after it has been
12273         in the vicinity of an undo.
12274         (allout-widgets-mode): Include allout-widgets-after-undo-function
12275         on the new allout-post-undo-hook.
12277 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
12279         * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
12280         Let define-derived-mode define it.
12281         * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
12282         cycles of abbrev-table inheritance (bug#8998).
12284 2011-07-05  Roland Winkler  <winkler@gnu.org>
12286         * textmodes/bibtex.el: Add support for biblatex.
12287         (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
12288         (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
12289         (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
12290         (bibtex-entry-alist, bibtex-field-alist): New variables.
12291         (bibtex-entry-field-alist): Obsolete alias for
12292         bibtex-BibTeX-entry-alist.
12293         (bibtex-entry-alist, bibtex-field-alist): New widgets.
12294         (bibtex-set-dialect): New command.
12295         (bibtex-entry-type, bibtex-entry-head)
12296         (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
12297         Bind via bibtex-set-dialect.
12298         (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
12299         (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
12300         (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
12301         (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
12302         Define via bibtex-set-dialect.
12303         (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
12304         Obey bibtex-no-opt-remove-re.
12305         (bibtex-vec-push, bibtex-vec-incr): New functions.
12306         (bibtex-format-entry, bibtex-field-list)
12307         (bibtex-print-help-message, bibtex-validate)
12308         (bibtex-search-entries): Use new format of bibtex-entry-alist.
12310 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
12312         * progmodes/compile.el (compilation-goto-locus):
12313         * net/tramp-cmds.el (tramp-append-tramp-buffers):
12314         * bs.el (bs-cycle-next, bs-cycle-previous):
12315         * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
12316         * bindings.el (mode-line-other-buffer):
12317         * autoinsert.el (auto-insert):
12318         * arc-mode.el (archive-extract):
12319         * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
12321 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
12323         * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
12324         Fix check of `emacs-lock-unlockable-modes'.
12325         Coerce true values of `emacs-lock--try-unlocking' to t.
12327 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
12329         * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
12330         * emacs-lock.el: New file.
12332 2011-07-05  Julien Danjou  <julien@danjou.info>
12334         * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
12335         than `boundp' to check if face is set.
12337 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
12339         * register.el (registerv-make):
12340         * window.el (window-min-height): Fix typos in docstrings.
12342 2011-07-05  Jan Djärv  <jan.h.d@swipnet.se>
12344         * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
12345         Update doc string.
12347 2011-07-04  Juanma Barranquero  <lekktu@gmail.com>
12349         * server.el (server-execute): Catch quit and call
12350         `server-return-error' to pass the error back to emacsclient and
12351         close the connection (bug#8942).
12353 2011-07-04  Ken Manheimer  <ken.manheimer@gmail.com>
12355         * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
12356         insecure exception for current topic.  Also note that auto-saves
12357         are handled differently.
12359         (allout-auto-save-temporarily-disabled, allout-just-did-undo):
12360         State variables for tracking auto-save inhibition situation.
12362         (allout-write-contents-hook-handler): Rename from
12363         'allout-write-file-hook-handler', and describe how it depends on
12364         write-contents-functions sensitivity to non-nil value to prevent
12365         file write.
12367         (allout-auto-save-hook-handler): Remove.  auto-save does not check
12368         this in individual buffers, only in the starting buffer, so this
12369         is not the right way for us to inhibit auto-save in a buffer
12370         according to its condition.
12372         (allout-mode): Use new allout-write-contents-hook-handler, and
12373         only with write-contents-functions.  Remove auto-save provisions -
12374         they're implemented elsewhere.
12376         (allout-before-change-handler): If undo is in progress, note that
12377         for attention of allout-post-command-business.
12379         (allout-post-command-business): If the command we're following was
12380         an undo, check for change in the status of encrypted items and
12381         adjust auto-save inhibitions accordingly.
12383         (allout-toggle-subtree-encryption): Adjust auto-save inhibition
12384         according to whether there are or aren't any plain-text topics
12385         pending encryption.
12387         (allout-inhibit-auto-save-info-for-decryption):
12388         Adjust buffer-saved-size and some allout state to inhibit auto-saves
12389         if there are plain-text topics pending encryption.
12391         (allout-maybe-resume-auto-save-info-after-encryption): Adjust
12392         buffer-saved-size and some allout state to not inhibit auto-saves
12393         if there are no longer any plain-text topics pending encryption.
12395         (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
12396         No longer provide for exemption of the current topic.
12398 2011-07-04  Juri Linkov  <juri@jurta.org>
12400         Add 7z operations to delete and save changed members (bug#8968).
12401         * arc-mode.el (archive-7z-expunge, archive-7z-update):
12402         New defcustoms.
12403         (archive-7z-write-file-member): New function.
12404         (archive-7z-summarize): Fix the number of dashes in the
12405         listing output.
12407 2011-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
12409         * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
12410         (bug#8958).
12412 2011-07-04  Chong Yidong  <cyd@stupidchicken.com>
12414         * bindings.el: Ignore next-buffer and previous-buffer in
12415         minibuffer-local-map.
12417         * font-lock.el (font-lock-builtin-face): Change light background
12418         color to dark slate blue (Bug#6693).
12420 2011-07-04  Wang Diancheng  <dcwang@kingbase.com.cn>  (tiny change)
12422         * progmodes/gdb-mi.el (gdb): Use completion-at-point.
12424 2011-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
12426         * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
12427         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
12428         Add switch-to-buffer.
12430 2011-07-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12432         * isearch.el (isearch-search-fun-function): Clarify further the
12433         meaning of the function returned.
12435 2011-07-04  Michael Albinus  <michael.albinus@gmx.de>
12437         * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
12439         * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
12440         (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
12441         Use it.
12442         (tramp-remote-path): Add "/bin" and "/usr/bin".  On busyboxes,
12443         `tramp-default-remote-path' does not exist.
12444         (tramp-send-command-and-read): New optional argument NOERROR.
12445         (tramp-open-connection-setup-interactive-shell)
12446         (tramp-get-remote-path, tramp-get-remote-stat): Use it.
12447         (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
12448         (tramp-process-sentinel): Flush also process' connection property.
12449         (tramp-sh-handle-start-file-process): Do not set process
12450         sentinel.  It is done now ...
12451         (tramp-maybe-open-connection): ... here.  (Bug#8929)
12453 2011-07-04  MON KEY  <monkey@sandpframing.com>
12455         * play/animate.el (animate-string): Doc fixes and allow changing
12456         the buffer name (bug#5417).
12458 2011-07-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12460         * play/animate.el (animation-buffer-name): Rename from *animate*.
12462 2011-07-04  Paul Eggert  <eggert@cs.ucla.edu>
12464         * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
12465         This is simpler and helps future-proof the code.
12466         (timer-until): Use time-subtract and float-time.
12467         (timer--time-less-p): Use time-less-p.
12469 2011-07-04  Juanma Barranquero  <lekktu@gmail.com>
12471         * type-break.el (timep): Use the value of `float-time' to avoid a
12472         byte-compiler warning.
12474         * server.el (server-eval-and-print): Return any result, even nil.
12476 2011-07-03  Paul Eggert  <eggert@cs.ucla.edu>
12478         * type-break.el: Accept time formats that the builtins accept.
12479         (timep, type-break-time-difference): Accept any format that
12480         float-time accepts, rather than insisting on (HIGH LOW USECS) format.
12481         This is simpler and helps future-proof the code.
12482         (type-break-time-difference): Round rather than ignoring
12483         subseconds components.
12485 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12487         * info.el (Info-apropos-matches): Make non-interactive, since it
12488         doesn't seem to do anything useful as a command (bug#8829).
12490 2011-07-03  Chong Yidong  <cyd@stupidchicken.com>
12492         * frame.el (frame-background-mode, frame-set-background-mode):
12493         Move from faces.el.
12494         (frame-default-terminal-background): New function.
12496         * custom.el (custom-push-theme): Don't record faces in `changed'
12497         theme; this doesn't work correctly for per-frame face settings.
12498         (disable-theme): Use face-set-after-frame-default to reset faces.
12499         (custom--frame-color-default): New function.
12501 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12503         * dired.el (dired-flagging-regexp): Remove unused variable
12504         (bug#8769).
12506 2011-03-29  Kevin Ryde  <user42@zip.com.au>
12508         * progmodes/compile.el (compilation-error-regexp-alist-alist):
12509         `perl-Test2' extend to match possible "fail #N" rep count
12510         (bug#8377).
12512 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12514         * mail/feedmail.el (feedmail-buffer-to-smtpmail):
12515         `smtpmail-via-smtp' now returns the error instead of nil.
12517         * isearch.el (isearch-search-fun-function): Clarify the doc string
12518         (bug#8101).
12520 2011-07-03  Richard Kim  <emacs18@gmail.com>  (tiny change)
12522         * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
12523         unnecessary spaces (bug#8987).
12525 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12527         * net/network-stream.el (open-network-stream): Use the
12528         :end-of-capability command thoughout.
12530 2011-07-03  Wolfgang Jenkner  <wjenkner@inode.at>  (tiny change)
12532         * net/network-stream.el (open-network-stream): Add the
12533         :end-of-capability command parameter, used by pop3.el.
12535 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12537         * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
12539         * fringe.el (fringe-query-style): Remove redundant text " (type ?
12540         for list)" (bug#6475).
12542         * files.el (file-expand-wildcards): Ignore non-readable
12543         sub-directories while trying to find matches instead of signaling
12544         an error (bug#6297).
12546         * man.el (Man-reference-regexp): Allow matching possible
12547         word-wrapped references (bug#6289).
12549         * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
12550         for consistency with the other vc buffers (bug#6197).
12551         (vc-checkin): Ditto.
12553         * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
12555         * longlines.el (longlines-mode): Document what ARG does (bug#6150).
12557 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12559         * custom.el (defcustom): Clarify that :set is only used in the
12560         Customize user interface (bug#6089).
12562         * progmodes/flymake.el (flymake-mode): If the buffer isn't
12563         associated with a file, refuse to run instead of erroring out
12564         (bug#6084).
12566         * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
12567         the doc string, since it appears that using `fill-column' always
12568         controls the width (bug#7845).
12570         * simple.el (shell-command-on-region): Say where the error output
12571         went if `shell-command-default-error-buffer' is set (bug#6857).
12573 2011-07-02  Ken Manheimer  <ken.manheimer@gmail.com>
12575         * allout.el (allout-yank-processing): Adjust cursor position for
12576         backwards-deleted space.
12578         (allout-rebullet-heading): Register changes with
12579         allout-exposure-changed-hook, so the modified topic is properly
12580         decorated.
12582 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12584         * minibuffer.el (completion-in-region): Document PREDICATE
12585         (bug#7136).
12587         * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
12588         of keyword/argument pairs (bug#6904).
12590         * replace.el (multi-occur):
12591         Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
12593 2011-07-02  Drew Adams  <drew.adams@oracle.com>
12595         * dired.el (dired-mark-if): Make the message about whether it's
12596         marking or unmarking clearer (bug#8523).
12598 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12600         * disp-table.el (display-table-print-array): New function.
12601         (describe-display-table): Use it to print the vectors more pretty
12602         (Bug#8859).
12604 2011-07-02  Martin Rudalics  <rudalics@gmx.at>
12606         * window.el (window-state-get-1): Don't assign clone numbers.
12607         Add clone-of item to list of window parameters.
12608         (window-state-put-2): Don't process clone numbers.
12609         (display-buffer-alist): Fix doc-string.
12611 2011-07-02  Stefan Monnier  <monnier@iro.umontreal.ca>
12613         * subr.el (remq): Don't allocate if it's not needed.
12614         (keymap--menu-item-binding, keymap--menu-item-with-binding)
12615         (keymap--merge-bindings): New functions.
12616         (keymap-canonicalize): Use them to refine the canonicalization.
12617         * minibuffer.el (minibuffer-local-completion-map)
12618         (minibuffer-local-must-match-map): Move initialization from C.
12619         (minibuffer-local-filename-completion-map): Move initialization from C;
12620         don't inherit from anything here.
12621         (minibuffer-local-filename-must-match-map): Make obsolete.
12622         (completing-read-default): Use make-composed-keymap to combine
12623         minibuffer-local-filename-completion-map with either
12624         minibuffer-local-must-match-map or
12625         minibuffer-local-filename-completion-map.
12627 2011-07-01  Glenn Morris  <rgm@gnu.org>
12629         * type-break.el (type-break-time-sum): Use dolist.
12631         * textmodes/flyspell.el (flyspell-word-search-backward):
12632         Replace CL function.
12634 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
12636         * mouse.el (mouse--strip-first-event): New function.
12637         (function-key-map): Use it to map fringe clicks to normal clicks
12638         by default.
12640         * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
12641         (vc-bzr-revision-completion-table): Add support for annotate and date.
12643         * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
12644         inherit from parent.
12646 2011-07-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12648         * dired-aux.el (dired-diff): Doc fixup (bug#8816).
12649         (dired-show-file-type): Doc fixup (bug#8818).
12651         * dired.el (dired-mode): Fix up the doc string as suggested by
12652         Drew Adams (bug#8817).
12654         * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
12655         cookie, since the manual says that it should be possible to add
12656         this function to `find-file-hook' (bug#8709).
12658 2011-07-01  Teodor Zlatanov  <tzz@lifelogs.com>
12660         * progmodes/cfengine.el: Moved all cfengine3.el functionality
12661         here.  Noted Ted Zlatanov as the maintainer.
12662         (cfengine-common-settings, cfengine-common-syntax): New functions
12663         to set up common things between `cfengine-mode' and
12664         `cfengine3-mode'.
12665         (cfengine3-mode): New mode.
12666         (cfengine3-defuns cfengine3-defuns-regex
12667         (cfengine3-class-selector-regex cfengine3-category-regex)
12668         (cfengine3-vartypes cfengine3-font-lock-keywords)
12669         (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
12670         (cfengine3-indent-line): Add from cfengine3.el.
12672 2011-07-01  Michael Albinus  <michael.albinus@gmx.de>
12674         * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
12676         * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
12678 2011-07-01  Martin Rudalics  <rudalics@gmx.at>
12680         * window.el (same-window-buffer-names, same-window-regexps)
12681         (same-window-p, special-display-frame-alist)
12682         (special-display-popup-frame, special-display-function)
12683         (special-display-buffer-names, special-display-regexps)
12684         (special-display-p, pop-up-frame-alist, pop-up-frame-function)
12685         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
12686         (split-window-preferred-function, split-height-threshold)
12687         (split-width-threshold, even-window-heights)
12688         (display-buffer-mark-dedicated, window-splittable-p)
12689         (split-window-sensibly, window-safely-shrinkable-p):
12690         Un-obsolete.
12691         (display-buffer): Don't spread args with function specifier
12692         because special-display-popup-frame won't like it.
12694 2011-07-01  Paul Eggert  <eggert@cs.ucla.edu>
12696         Time-stamp simplifications and fixes.
12697         These improve accuracy slightly, and future-proof the code
12698         against some potential changes to current-time format.
12700         * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
12701         by using time-since and float-time.
12703         * vc/ediff-util.el (ediff-calc-command-time): Use time-since
12704         and float-time.  Say "NNN.NNN seconds" rather than "NNN seconds
12705         + NNN microseconds".
12707         * type-break.el (type-break-time-sum): Rewrite using time-add.
12709         * play/hanoi.el (hanoi-current-time-float): Remove.
12710         All uses replaced by float-time.
12712         * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
12713         This yields a more-accurate answer.
12714         (rng-time-to-float): Remove; no longer needed.
12716         * emacs-lisp/timer.el (timer-relative-time): Use time-add.
12718         * calendar/timeclock.el (timeclock-seconds-to-time):
12719         Defalias to seconds-to-time, since they're the same thing.
12721         * emacs-lisp/elp.el (elp-elapsed-time):
12722         * emacs-lisp/benchmark.el (benchmark-elapse):
12723         * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
12725 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
12727         * window.el (bury-buffer): Don't iconify the only frame.
12728         (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
12729         to pop-to-buffer.  Use pop-to-buffer-same-frame if you don't like that.
12731 2011-07-01  Chong Yidong  <cyd@stupidchicken.com>
12733         * eshell/em-smart.el (eshell-smart-display-navigate-list):
12734         Add mouse-yank-primary.
12736 2011-07-01  Teodor Zlatanov  <tzz@lifelogs.com>
12738         * progmodes/cfengine3.el: New file to support CFEngine 3.x.
12740 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
12742         * emacs-lisp/find-func.el (find-library--load-name): New fun.
12743         (find-library-name): Use it to find relative load names when provided
12744         absolute file name (bug#8803).
12746 2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12748         * textmodes/flyspell.el (flyspell-word): Consider words that
12749         differ only in case as potential doublons (bug#5687).
12751         * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
12752         Remove two rather uninteresting debugging-like messages to make
12753         debbugs.el more silent.
12755         * comint.el (comint-password-prompt-regexp): Accept "Response" as
12756         a password-like phrase.
12758 2011-06-30  Masatake YAMATO  <yamato@redhat.com>
12760         * progmodes/cc-guess.el: New file.
12762         * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
12764         * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
12765         derived from `c-basic-common-init'.
12767         * progmodes/cc-mode.el (top-level): Require cc-guess.
12768         (c-basic-common-init): Use `cc-choose-style-for-mode'.
12770 2011-06-30  Lawrence Mitchell  <wence@gmx.li>
12772         * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
12774 2011-06-30  Alan Mackenzie  <acm@muc.de>
12776         * progmodes/cc-engine.el (c-guess-continued-construct):
12777         Correct the handling of template-args-cont, particularly for when font
12778         lock is disabled.  Name this case as "CASE G".
12780 2011-06-30  Ken Manheimer  <ken.manheimer@gmail.com>
12782         * allout.el (allout-yank-processing): Fix injection of extra space
12783         between bullet and non-whitespace character in first topic when
12784         pasting, ensuring that the actual spacing in the pasted topic
12785         following the bullet char is preserved.  This extra space was
12786         causing pasted encrypted topics to get a decrypted status even
12787         when the content was actually still encrypted.  Now the decryption
12788         status from before the paste is preserved.
12790         (allout-flag-region): Set all allout overlays so they evaporate
12791         when reduced to zero length (evanescent), to prevent overlay
12792         leakage.
12794 2011-06-30  Glenn Morris  <rgm@gnu.org>
12796         * w32-fns.el (w32-charset-info-alist): Declare.
12798         * find-dired.el (find-grep-options): Simplify.
12800         * term/ns-win.el (ns-set-resource): Declare.
12802         * ses.el (row, col): Declare dynamic variables honestly.
12804         * textmodes/reftex-parse.el (index-tags): Declare.
12806 2011-06-30  Chong Yidong  <cyd@stupidchicken.com>
12808         * cus-edit.el (customize-push-and-save): New function.
12810         * files.el (hack-local-variables-confirm): Use it.
12812         * custom.el (load-theme): New arg NO-CONFIRM.
12813         Use customize-push-and-save (Bug#8720).
12814         (custom-enabled-themes): Doc fix.
12816         * cus-theme.el (customize-create-theme)
12817         (custom-theme-merge-theme): Callers to load-theme changed.
12819 2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12821         * thingatpt.el (thing-at-point-short-url-regexp): Require that
12822         short URLs have at least one dot in them (bug #7614).
12824         * progmodes/grep.el (rgrep): Bind `process-connection-type' to
12825         nil, because using a pty is apparently too slow (bug #895).
12827 2011-06-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12829         * mail/sendmail.el (sendmail-query-once): New function.
12830         (sendmail-query-once-function): New variable.
12832 2011-06-29  Glenn Morris  <rgm@gnu.org>
12834         * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
12836         * ses.el (top-level): Require cl when compiling.
12837         (ses-set-localvars): Fix error statement.
12838         Call it at compile time to silence a storm of warnings.
12840 2011-06-29  Martin Rudalics  <rudalics@gmx.at>
12842         * window.el (normalize-live-buffer): Rename to
12843         window-normalize-buffer.
12844         (normalize-live-frame): Rename to window-normalize-frame.
12845         (normalize-any-window): Rename to window-normalize-any-window.
12846         (normalize-live-window): Rename to window-normalize-live-window.
12847         (make-window-atom): Rename to window-make-atom.
12848         (window-resize-reset): Rename to window--resize-reset.
12849         (window-resize-reset-1): Rename to window--resize-reset-1.
12850         (resize-mini-window): Rename to window--resize-mini-window.
12851         (resize-subwindows-skip-p): Rename to
12852         window--resize-subwindows-skip-p.
12853         (resize-subwindows-normal): Rename to
12854         window--resize-subwindows-normal.
12855         (resize-subwindows): Rename to window--resize-subwindows.
12856         (resize-other-windows): Rename to window--resize-siblings.
12857         (resize-this-window): Rename to window--resize-this-window.
12858         (resize-root-window): Rename to window--resize-root-window.
12859         (resize-root-window-vertically): Rename to
12860         window--resize-root-window-vertically.
12861         (normalize-buffer-to-display): Rename to
12862         window-normalize-buffer-to-display.
12863         (normalize-buffer-to-switch-to): Rename to
12864         window-normalize-buffer-to-switch-to.
12865         Correspondingly update all callers of the functions listed
12866         above.
12867         (display-buffer-alist, display-buffer-normalize-arguments)
12868         (display-buffer-normalize-options, display-buffer)
12869         (display-buffer-alist-set): Use "function" instead of
12870         "fun-with-args".
12872 2011-06-28  Chong Yidong  <cyd@stupidchicken.com>
12874         * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
12875         addresses more clearly.  Add hyperlinks for bug-gnu-emacs and
12876         debbugs.gnu.org.  Mention acknowledgment email.
12878 2011-06-28  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12880         * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
12881         buffer multibyteness, since it shouldn't matter.
12883 2011-06-28  Martin Rudalics  <rudalics@gmx.at>
12885         * window.el (display-buffer-in-side-window): Handle dedicated
12886         windows as in display-buffer-reuse-window.
12887         (display-buffer-normalize-alist): Use value of override
12888         specifier.
12889         (display-buffer-normalize-specifiers): Use value of
12890         other-window-means-other-frame specifier.
12891         (display-buffer-alist): Rewrite some texts in widgets.
12892         (display-buffer): Spread arguments when calling function
12893         specified by fun-with-args.
12895 2011-06-28  Deniz Dogan  <deniz@dogan.se>
12897         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
12898         Unnest `let'.
12900         * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
12901         selectors (Bug#5732).
12902         (css-proprietary-nmstart-re): Use `regexp-opt'.
12904 2011-06-27  Jari Aalto  <jari.aalto@cante.net>
12906         * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
12907         (eshell-ls-date-format): New defcustom.
12908         (eshell-ls-file): Use it.
12910 2011-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
12912         * help-fns.el (describe-variable): Fix message for terminal-local vars.
12914 2011-06-27  Katsumi Yamaoka  <yamaoka@jpl.org>
12916         * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
12917         (ange-ftp-make-tmp-name): New arg.
12918         (ange-ftp-file-local-copy): Use it.
12920 2011-06-27  Jambunathan K  <kjambunathan@gmail.com>
12922         * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
12923         no-conversion (Bug#8870).
12925 2011-06-27  Martin Rudalics  <rudalics@gmx.at>
12927         * window.el (window-right, window-left, window-child)
12928         (window-child-count, window-last-child)
12929         (window-iso-combination-p, walk-window-tree-1)
12930         (window-atom-check-1, window-tree-1, delete-window)
12931         (window-state-get-1, display-buffer-even-window-sizes): Adapt to
12932         new naming conventions - window-vchild, window-hchild,
12933         window-next and window-prev are now called window-top-child,
12934         window-left-child, window-next-sibling and window-prev-sibling
12935         respectively.
12936         (resize-window-reset): Rename to window-resize-reset.
12937         (resize-window-reset-1): Rename to window-resize-reset-1.
12938         (resize-window): Rename to window-resize.
12939         (window-min-height, window-min-width)
12940         (resize-mini-window, resize-this-window, resize-root-window)
12941         (resize-root-window-vertically, adjust-window-trailing-edge)
12942         (enlarge-window, shrink-window, maximize-window)
12943         (minimize-window, delete-window, quit-restore-window)
12944         (split-window, balance-windows, balance-windows-area-adjust)
12945         (balance-windows-area, window-state-put-2)
12946         (display-buffer-even-window-sizes, display-buffer-set-height)
12947         (display-buffer-set-width, set-window-text-height)
12948         (fit-window-to-buffer): Rename all "resize-window" prefixed
12949         calls to use the "window-resize" prefix convention.
12950         (display-buffer-alist): Fix symbol for label specifier.
12951         (display-buffer-reuse-window): Set reuse-dedicated to cdr of
12952         corresponding specifier.
12953         Reported by Juanma Barranquero <lekktu@gmail.com>.
12955 2011-06-27  Vincent Belaïche  <vincentb1@users.sourceforge.net>
12957         * ses.el (ses-destroy-cell-variable-range): Fix heading comment
12958         convention.
12959         (ses-call-printer): Does not pass an empty string to formatter when the
12960         cell is empty to keep from barking printer Calc math-format-value.
12962 2011-06-27  Richard Stallman  <rms@gnu.org>
12964         * battery.el (battery-mode-line-limit): New variable.
12965         (battery-update): Handle it.
12967         * mail/rmailmm.el (rmail-mime-process-multipart):
12968         Handle truncated messages.
12970 2011-06-27  Glenn Morris  <rgm@gnu.org>
12972         * progmodes/flymake.el (flymake-err-line-patterns):
12973         Allow for column numbers in the ant/javac pattern.  (Bug#8866)
12975 2011-06-27  Vincent Belaïche  <vincentb1@users.sourceforge.net>
12977         * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
12978         (ses--clean-!, ses--clean-_): New functions.
12979         (ses-range): Add configurability of readout order, and conversion
12980         to Calc vector.
12982         * ses.el (ses-repair-cell-reference-all): New function.
12983         (ses-cell-symbol): Set macro as safe, so that it can be used in
12984         formulas.
12986         * ses.el: Update cycle detection algorithm.
12987         (ses-localvars): Add ses--Dijkstra-attempt-nb and
12988         ses--Dijkstra-weight-bound, and initial values thereof when applicable.
12989         (ses-set-localvars): New function.
12990         (ses-make-cell): Add property-list as a cell element.
12991         (ses-cell-property-get-fun, ses-cell-property-get)
12992         (ses-cell-property-delq-fun, ses-cell-property-set-fun)
12993         (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
12994         New functions.
12995         (ses-cell-property-set, ses-cell-property-pop)
12996         (ses-cell-property-get-handle): New macro.
12997         (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
12998         New aliases, used for code readability.
12999         (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
13000         cycle detection.
13001         (ses-self-reference-early-detection): New defcustom.
13002         (ses-formula-references): Robustify against self-referring cells.
13003         (ses-mode): Use ses-set-localvars.
13004         (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
13005         before lauching the update processing.
13006         (ses-initialize-Dijkstra-attempt): New function.
13007         (ses-recalculate-cell): Update for cycle detection based on
13008         Dijkstra algorithm.
13010         * ses.el: Fix commenting and indenting convention.
13012 2011-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
13014         * bs.el (bs-cycle-next): Complete last change.
13016 2011-06-27  Drew Adams  <drew.adams@oracle.com>
13018         * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
13020 2011-06-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13022         * net/network-stream.el (network-stream-open-starttls):
13023         Don't re-get capabilities unless we've reestablished connection.
13024         (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
13026         * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
13027         to binary to possibly avoid line encoding issues on Windows (among
13028         other things).
13030 2011-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13032         * net/network-stream.el (open-network-stream): Return an :error
13033         saying what the problem was, if possible.
13035         * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
13036         server.
13038         * net/network-stream.el (network-stream-open-starttls): If we
13039         wanted to use STARTTLS, and the server offered it, but we weren't
13040         able to because we had no STARTTLS support, then close the connection.
13041         (open-network-stream): Return an :error element, if present.
13043 2011-06-26  Chong Yidong  <cyd@stupidchicken.com>
13045         * hl-line.el (hl-line-sticky-flag): Doc fix.
13046         (global-hl-line-sticky-flag): New option (Bug#8323).
13047         (global-hl-line-highlight): Obey it.
13049         * vc/vc.el (vc-revert-show-diff): Default to t.
13051 2011-06-26  Ken Manheimer  <ken.manheimer@gmail.com>
13053         * allout-widgets.el (allout-widgets-post-command-business):
13054         Stop decorating intermediate isearch matches.  They're not being
13055         undecorated when an isearch is continued past, and isearch
13056         automatically collapses them.  This leads to "widget leaks", where
13057         decorated items accumulate in collapsed areas.  Lines with lots of
13058         hidden widgets can slow down cursor travel, substantially.
13059         Too much complicated machinery would be needed to ensure undecoration,
13060         so we're doing without this nicety.
13062         (allout-widgets-tally-string): Don't try to do a hash-table-count
13063         of allout-widgets-tally when it's nil.  This eliminates spurious "Error
13064         during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
13065         *Messages* when allout-widgets-maintain-tally is t.
13067 2011-06-26  Martin Rudalics  <rudalics@gmx.at>
13069         * window.el (display-buffer-normalize-argument): Rename to
13070         display-buffer-normalize-arguments.  Handle special meaning of
13071         LABEL argument.  Respect special-display-function when popping up
13072         a new frame.  Fix code searching for a window showing the buffer
13073         on another frame.
13074         (display-buffer-normalize-specifiers):
13075         Call display-buffer-normalize-arguments.
13076         (display-buffer-in-window): Don't undedicate the window if its
13077         buffer remains the same.
13078         Reported by Drew Adams <drew.adams@oracle.com>.
13079         (display-buffer-alist): Add choice for same-window macro
13080         specfier.
13081         (display-buffer): Mention special meaning of LABEL argument in
13082         doc-string.  Fix quoting.  Don't pop up a new frame even as
13083         fallback.
13085 2011-06-26  Juanma Barranquero  <lekktu@gmail.com>
13087         * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
13088         avoid deleting the current window in some cases (bug#8911).
13090 2011-06-26  Andreas Schwab  <schwab@linux-m68k.org>
13092         * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
13093         (Bug#8934)
13095 2011-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13097         * net/network-stream.el (network-stream-open-starttls):
13098         Use built-in TLS support if `gnutls-available-p' is true.
13099         (network-stream-open-tls): Ditto.
13101 2011-06-26  Leo Liu  <sdl.web@gmail.com>
13103         * register.el (registerv): New struct.
13104         (registerv-make): New function.
13105         (jump-to-register, describe-register-1, insert-register):
13106         Support the jump-func, print-func and insert-func slot of a registerv
13107         struct.  (Bug#8415)
13109 2011-06-26  Chong Yidong  <cyd@stupidchicken.com>
13111         * vc/vc.el (vc-revert-show-diff): New defcustom.
13112         (vc-diff-internal): New arg specifying diff buffer.
13113         (vc-revert): Obey vc-revert-show-diff.  If we show a diff, don't
13114         reuse an existing *vc-diff* buffer (Bug#8927).
13116         * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
13118 2011-06-26  Glenn Morris  <rgm@gnu.org>
13120         * progmodes/f90.el (f90-critical-indent): New option.
13121         (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
13122         (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
13123         (f90-mode): Doc fix.
13124         (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
13125         (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
13126         (f90-beginning-of-block, f90-next-block, f90-indent-region)
13127         (f90-match-end): Handle block, critical.
13129 2011-06-25  Glenn Morris  <rgm@gnu.org>
13131         * calendar/diary-lib.el (diary-included-files): Doc fix.
13132         (diary-include-files): New function, extracted from
13133         diary-include-other-diary-files and diary-mark-included-diary-files.
13134         (diary-include-other-diary-files, diary-mark-included-diary-files):
13135         Just call diary-include-files.
13136         (diary-mark-entries): Reset diary-included-files on first call.
13138         * calendar/diary-lib.el (diary-mark-entries)
13139         (diary-mark-included-diary-files):
13140         Visit included diary-files in temp buffers.
13142         * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
13143         (f90-blocks-re, f90-program-block-re, f90-end-block-re)
13144         (f90-start-block-re, f90-imenu-generic-expression)
13145         (f90-looking-at-program-block-start, f90-no-block-limit):
13146         Add support for submodules.
13148         * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
13149         (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
13151 2011-06-25  Eli Zaretskii  <eliz@gnu.org>
13153         * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
13154         buffer-file-type before setting its value, to avoid disastrous
13155         global effects on decoding files for DOS/Windows systems.  (Bug#8780)
13157 2011-06-25  Juanma Barranquero  <lekktu@gmail.com>
13159         * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
13161         * ses.el (ses-unload-function):
13162         * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
13164         * proced.el (proced-unload-function):
13165         * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
13167 2011-06-25  Andreas Rottmann  <a.rottmann@gmx.at>
13169         * server.el (server-create-window-system-frame): Add parameters arg.
13170         (server-process-filter): Doc fix.  Handle frame-parameters.
13172 2011-06-25  Juanma Barranquero  <lekktu@gmail.com>
13174         Fix bug#8730, bug#8781.
13176         * loadhist.el (unload--set-major-mode): New function.
13177         (unload-feature): Use it.
13179         * progmodes/python.el (python-after-info-look): Add autoload cookie.
13180         (python-unload-function): New function.
13182 2011-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
13184         * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
13186 2011-06-25  Giuseppe Scrivano  <gscrivano@gnu.org>
13188         * net/browse-url.el (browse-url-firefox-program): Add icecat to
13189         the candidates list.
13191 2011-06-24  Juanma Barranquero  <lekktu@gmail.com>
13193         * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
13195 2011-06-23  Richard Stallman  <rms@gnu.org>
13197         * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
13198         (rmail-variables): Set next-error-move-function.
13199         (rmail-what-message): Take argument POS.
13200         (rmail-next-error-move): New function.
13202 2011-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
13204         * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
13205         messages for adjacent non-terminals.
13207 2011-06-23  Richard Stallman  <rms@gnu.org>
13209         * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
13210         (rmail-show-message-1): Preserve buffer modified flag.
13211         (rmail-start-mail): Don't specify use of rmail-mail-return;
13212         that's done by mail-bury now.
13213         (rmail-mail-return): Handle arg NEWBUF.
13215 2011-06-23  Michael Albinus  <michael.albinus@gmx.de>
13217         * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
13218         SIZE is a number.
13220 2011-06-23  Martin Rudalics  <rudalics@gmx.at>
13222         * window.el (get-lru-window, get-mru-window)
13223         (get-largest-window): Never return a minibuffer window.
13224         (display-buffer-pop-up-window): Fix a bug that could lead to
13225         reusing the minibuffer window.
13226         (display-buffer): Pass original specifier argument to
13227         display-buffer-function instead of the normalized one.
13228         Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
13230 2011-06-22  Leo Liu  <sdl.web@gmail.com>
13232         * minibuffer.el (completing-read-function)
13233         (completing-read-default): Move from minibuf.c
13235 2011-06-22  Richard Stallman  <rms@gnu.org>
13237         * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
13238         to Rmail even if not started by a special Rmail command.
13240         * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
13241         Copy the buffer currently showing just one message.
13243 2011-06-22  Roland Winkler  <winkler@gnu.org>
13245         * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
13246         (bibtex-clean-entry): First delete the old key so that a
13247         customized algorithm for generating the new key does not get
13248         confused by the old key.
13249         (bibtex-url): Obey regexp of first step.
13250         (bibtex-search-entries): Do not use add-to-list with local
13251         list-var.
13253 2011-06-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13255         * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
13256         stored a user name, then query for the password first, instead of
13257         waiting for SMTP to give an error message and the trying again.
13259 2011-06-22  Lawrence Mitchell  <wence@gmx.li>
13261         * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
13262         BUFFER in call-process.
13264 2011-06-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13266         * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
13267         QUIT twice.
13268         (smtpmail-try-auth-methods): Require user name and password from
13269         auth-source.
13271 2011-06-22  Martin Rudalics  <rudalics@gmx.at>
13273         * window.el (display-buffer-default-specifiers)
13274         (display-buffer-alist): Remove entries for pop-up-frame-alist.
13275         Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
13276         (split-window): Normalize SIDE argument (Bug#8916).
13278         * frame.el (pop-up-frame-alist, pop-up-frame-function)
13279         (special-display-frame-alist, special-display-popup-frame):
13280         Remove duplicate declarations.  These are now in window.el.
13282 2011-06-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13284         * mail/smtpmail.el (smtpmail-via-smtp):
13285         Set :use-starttls-if-possible so that we always use STARTTLS if the
13286         server supports it.  SMTP servers that support STARTTLS commonly
13287         require it.
13289         * net/network-stream.el (network-stream-open-starttls): Support
13290         upgrading to STARTTLS always, even if we don't have built-in support.
13291         (open-network-stream): Add the :always-query-capabilities keyword.
13293         * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
13294         upgrades with `open-network-stream', and rely solely on
13295         auth-source for all credentials.  Big changes throughout the file,
13296         but in particular:
13297         (smtpmail-auth-credentials): Remove.
13298         (smtpmail-starttls-credentials): Remove.
13299         (smtpmail-via-smtp): Check for servers saying they want AUTH after
13300         MAIL FROM, too.
13302         * net/network-stream.el (network-stream-open-starttls):
13303         Provide support for client certificates both for external and built-in
13304         STARTTLS.
13305         (auth-source): Require.
13306         (open-network-stream): Document the :client-certificate keyword.
13307         (network-stream-certificate): Change cert-cert to cert and
13308         cert-key to key.
13310 2011-06-21  Michael Albinus  <michael.albinus@gmx.de>
13312         * net/tramp-cache.el (top): Don't load the persistency file when
13313         "emacs -Q" has been called.
13315 2011-06-21  Tim Harper  <timcharper@gmail.com>
13317         * term/ns-win.el (ns-initialize-window-system):
13318         Set application-specific `ApplePressAndHoldEnabled' system
13319         resource to NO as it is not yet supported by the NS port.
13321 2011-06-21  Juanma Barranquero  <lekktu@gmail.com>
13323         * misc.el (list-dynamic-libraries--refresh): Compute header here...
13324         (list-dynamic-libraries): ...not here.
13326 2011-06-21  Leo Liu  <sdl.web@gmail.com>
13328         * subr.el (sha1): Implement sha1 using secure-hash.
13330 2011-06-21  Martin Rudalics  <rudalics@gmx.at>
13332         * window.el (display-buffer-alist): In default value do not
13333         enforce searching a window on any but the selected frame.
13334         Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
13335         (display-buffer-select-window): Remove function.
13336         (display-buffer-in-window): When a window on another frame gets
13337         reused, do not select it any more but just raise its frame if
13338         necessary (Bug#8851) and (Bug#8856).
13339         (display-buffer-normalize-options): Handle pop-up-frames related
13340         options more faithfully.
13341         (pop-to-buffer): Don't rely on `display-buffer' selecting the
13342         window if it is on another frame.
13343         (display-buffer-alist, display-buffer-default-specifiers):
13344         Don't make new frame unsplittable by default.
13345         (display-buffer-normalize-argument): Fix doc-string typo and use
13346         'same-frame-other-window instead of 'other-window when associating
13347         with display-buffer-macro-specifiers.
13349 2011-06-21  Vincent Belaïche  <vincent.b.1@hotmail.fr>
13351         * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
13352         New functions.
13353         (5x5-mode-map, 5x5-mode-menu): Bind them.
13354         (5x5-draw-grid): Tweak the solver's rendering.
13356 2011-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
13358         * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
13359         `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
13361 2011-06-21  Drew Adams  <drew.adams@oracle.com>
13363         * menu-bar.el: Use function variable instead of switch-to-buffer.
13364         (menu-bar-select-buffer-function): New variable.
13365         (menu-bar-update-buffers): Use it (bug#8876).
13367 2011-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
13369         * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
13370         variable's status.
13372 2011-06-20  Jan Djärv  <jan.h.d@swipnet.se>
13374         * x-dnd.el (x-dnd-version-from-flags)
13375         (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
13376         and long as number (Bug#8899).
13377         (x-dnd-handle-xdnd): Call functions above (Bug#8899).
13379 2011-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
13381         * minibuffer.el (completion-metadata): Add `metadata' to the alist.
13382         (completion-try-completion, completion-all-completions): Compute the
13383         metadata argument if it's missing; make it optional (bug#8795).
13385         * wid-edit.el: Use lex-bind and move towards completion-at-point.
13386         (widget-complete): Use new :completion-function property.
13387         (widget-completions-at-point): New function.
13388         (default): Use :completion-function instead of :complete.
13389         (widget-default-completions): Rename from widget-default-complete;
13390         Rewrite.
13391         (widget-string-complete, widget-file-complete, widget-color-complete):
13392         Remove functions.
13393         (file, symbol, function, variable, coding-system, color):
13394         * international/mule-cmds.el (default-input-method, charset)
13395         (language-info-custom-alist):
13396         * cus-edit.el (face): Use new property :completions.
13398         * progmodes/pascal.el (pascal-completions-at-point): New function.
13399         (pascal-mode): Use it.
13400         (pascal-mode-map): Use completion-at-point.
13401         (pascal-toggle-completions): Make obsolete.
13402         (pascal-complete-word, pascal-show-completions):
13403         * progmodes/octave-mod.el (octave-complete-symbol):
13404         Redefine as obsolete alias.
13405         * progmodes/octave-inf.el (inferior-octave-completion-at-point):
13406         Signal absence of completion info for old Octave,
13407         (inferior-octave-complete): Redefine as obsolete alias.
13408         * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
13409         (meta-completions-at-point): Rename from meta-complete-symbol and
13410         adapt it for use on completion-at-point-functions.
13411         (meta-common-mode): Use it.
13412         (meta-looking-at-backward, meta-match-buffer): Remove.
13413         (meta-complete-symbol): Redefine as obsolete alias.
13414         (meta-common-mode-map): Use completion-at-point.
13415         * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
13416         (makefile-mode-map): Use completion-at-point.
13417         (makefile-completions-at-point): Rename from makefile-complete and
13418         adapt it for use on completion-at-point-functions.
13419         (makefile-mode): Use it.
13420         (makefile-complete): Redefine as obsolete alias.
13422 2011-06-20  Deniz Dogan  <deniz@dogan.se>
13424         * net/rcirc.el: Delete trailing whitespaces once and for all.
13426 2011-06-20  Daniel Colascione  <dan.colascione@gmail.com>
13428         * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
13430 2011-06-19  Chong Yidong  <cyd@stupidchicken.com>
13432         * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
13434         * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
13436 2011-06-19  Martin Rudalics  <rudalics@gmx.at>
13438         * window.el (display-buffer-other-window-means-other-frame):
13439         Call display-buffer-normalize-alist.
13440         (display-buffer-normalize-specifiers-1): Rename to
13441         display-buffer-normalize-argument.  New argument other-frame.
13442         Rewrite.
13443         (display-buffer-normalize-specifiers-2): Rename to
13444         display-buffer-normalize-options.
13445         (display-buffer-normalize-alist-1): New function.
13446         (display-buffer-normalize-specifiers-3): Rename to
13447         display-buffer-normalize-alist.
13448         Call display-buffer-normalize-alist-1.
13449         (display-buffer-normalize-options-inhibit): New variable.
13450         (display-buffer-normalize-specifiers): Rewrite calling
13451         display-buffer-normalize-alist,
13452         display-buffer-normalize-argument, and
13453         display-buffer-normalize-options.  Don't call the latter if
13454         display-buffer-normalize-options-inhibit is non-nil.
13455         (frame-auto-delete): New option.
13456         (window-deletable-p): Use frame-auto-delete.
13457         (window-list-no-nils, window-state-ignored-parameters)
13458         (window-state-get-1, window-state-get, window-state-put-list)
13459         (window-state-put-1, window-state-put-2, window-state-put):
13460         New functions.
13461         (display-buffer-normalize-options): Move special-display-p group
13462         after pop-up-frame group (Bug#8851) and (Bug#8856).
13464 2011-06-18  Chong Yidong  <cyd@stupidchicken.com>
13466         * emacs-lisp/rx.el (rx-constituents): Add support for numbered
13467         groups (Bug#8776).
13468         (rx-submatch-n): New function.
13469         (rx): Document it.
13471         * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
13472         (Bug#8768).
13474         * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
13476         * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
13478         * cus-face.el (custom-declare-face): Call custom-theme-recalc face
13479         anytime existing face settings are present (Bug#8889).
13481         * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
13482         (delphi-mode): Use define-derived-mode to inherit from prog-mode.
13483         Remove unused argument.
13485 2011-06-18  Martin Rudalics  <rudalics@gmx.at>
13487         * window.el (display-buffer-default-specifiers):
13488         Remove pop-up-frame.  Add pop-up-window-min-height,
13489         pop-up-window-min-width, and another reuse-window specifier
13490         (Bug#8882).  Reported by Dan Nicolaescu <dann@gnu.org>.
13491         (display-buffer-normalize-specifiers-2):
13492         Handle split-height-threshold and split-width-threshold also when
13493         pop-up-windows is unset.  Add a reuse-window specifier for the
13494         case popping up a new window fails.
13495         (special-display-popup-frame): Remove double quoting.
13496         (display-buffer-normalize-specifiers-1): Fix thinko.
13498 2011-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
13500         * shell.el (shell-completion-vars): Set pcomplete-termination-string
13501         according to comint-completion-addsuffix.
13503         * pcomplete.el: Convert to lexical binding and fix bug#8819.
13504         (pcomplete-suffix-list): Mark as obsolete.
13505         (pcomplete-completions-at-point): Capture pcomplete-norm-func and
13506         pcomplete-seen in the closure.
13507         (pcomplete-comint-setup): Setup completion-at-point as well.
13508         (pcomplete--entries): New function.
13509         (pcomplete--env-regexp): New var.
13510         (pcomplete-entries): Rewrite to work with partial-completion and
13511         without relying on pcomplete-suffix-list.
13512         (pcomplete-pare-list): Remove, unused.
13514 2011-06-17  Martin Rudalics  <rudalics@gmx.at>
13516         * window.el (display-buffer-alist): Set pop-up-window-min-height
13517         and pop-up-window-min-width in default value.  Reported by
13518         Thierry Volpiatto <thierry.volpiatto@gmail.com>.  New specifier
13519         other-window-means-other-frame.
13520         (display-buffer-macro-specifiers): Comment out entry for
13521         other-window specifier.
13522         (display-buffer-other-window-means-other-frame): New function.
13523         (display-buffer-normalize-specifiers-1): New arguments
13524         buffer-name and label.  Treat other-window case specially.
13525         (display-buffer-normalize-specifiers-2): Treat other-window case
13526         specially.
13527         (display-buffer-normalize-specifiers-3): New function.
13528         (display-buffer-normalize-specifiers):
13529         Call display-buffer-normalize-specifiers-3.
13531 2011-06-17  Martin Rudalics  <rudalics@gmx.at>
13533         * window.el (same-window-p): Fix two typos introduced when
13534         adding with-no-warnings.
13535         (display-buffer-normalize-specifiers-1): Don't check
13536         pop-up-frames for 'unset initialization.
13537         (display-buffer-normalize-specifiers-2): Major rewrite using
13538         special-display-p and same-window-p (Bug#8851) and (Bug#8856).
13539         (pop-up-frames, display-buffer-reuse-frames)
13540         (display-buffer-mark-dedicated): Don't initialize to 'unset.
13541         Suggested by David Engster <deng@randomsample.de>.
13542         (even-window-heights): Initialize to 'unset.
13543         (display-buffer-alist-set): Handle new 'unset initializations.
13544         (display-buffer-macro-specifiers): Don't pop up a new frame in the
13545         other window case.
13547 2011-06-16  Martin Rudalics  <rudalics@gmx.at>
13549         * window.el (display-buffer-normalize-specifiers-1):
13550         Respect current value of pop-up-frames for most reasonable values of
13551         second argument of display-buffer (Bug#8865).
13552         (switch-to-buffer-same-frame, switch-to-buffer-other-window)
13553         (switch-to-buffer-other-window-same-frame)
13554         (switch-to-buffer-other-frame): Fix doc-strings.  Reported by Drew
13555         Adams (Bug#8875).
13556         (display-buffer): Don't check noninteractive when calling
13557         display-buffer-pop-up-frame.
13558         (display-buffer-pop-up-frame): Never pop up a frame in
13559         noninteractive mode (Bug#8857).
13560         (enlarge-window, shrink-window): Don't report an error when the
13561         window can't be resized as requested (Bug#8862).
13563 2011-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
13565         * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
13567         * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
13569         * abbrev.el (define-abbrev-table): Don't add a table multiple times.
13571 2011-06-15  Alan Mackenzie  <acm@muc.de>
13573         * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
13574         for declarators, disable knr checking to speed up for normal files.
13575         2: Refactor, replacing a sequence of nested if forms by a cond form.
13577 2011-06-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13579         * net/network-stream.el (open-network-stream): Add the keyword
13580         :always-query-capabilities for the case where you want to force a
13581         `plain' network connection, but the protocol still requires the
13582         capabilitiy command (i.e., SMTP and EHLO).
13584         * subr.el (process-live-p): Rename from `process-alive-p' for
13585         consistency with other `-live-p' functions.
13587 2011-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
13589         * window.el (same-window-buffer-names, same-window-regexps)
13590         (special-display-frame-alist, special-display-popup-frame)
13591         (special-display-function, special-display-buffer-names)
13592         (special-display-regexps, pop-up-frame-alist)
13593         (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
13594         (pop-up-windows, split-window-preferred-function)
13595         (split-height-threshold, split-width-threshold, even-window-heights)
13596         (display-buffer-mark-dedicated): Don't encourage the use of
13597         display-buffer-alist from Elisp code.
13599 2011-06-15  Dan Nicolaescu  <dann@ics.uci.edu>
13601         * progmodes/python.el (python-mode): Derive from prog-mode.
13602         * progmodes/ps-mode.el (ps-mode):
13603         * progmodes/mixal-mode.el (mixal-mode):
13604         * progmodes/cfengine.el (cfengine-mode):
13605         * progmodes/ld-script.el (ld-script-mode): Likewise.
13607 2011-06-15  Martin Rudalics  <rudalics@gmx.at>
13609         * window.el (display-buffer-alist): Trim default value to avoid
13610         popping up a new frame (Bug#8857) or reusing an arbitrary window
13611         on another frame.
13612         (display-buffer): Do not fall back on popping up a new frame in
13613         batch mode (Bug#8857).
13615 2011-06-14  Chong Yidong  <cyd@stupidchicken.com>
13617         * cus-theme.el (describe-theme-1): Use custom-theme-p.
13618         (custom-theme-summary): New function.
13619         (customize-themes): Use it.
13621 2011-06-13  Glenn Morris  <rgm@gnu.org>
13623         * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
13625 2011-06-13  Martin Rudalics  <rudalics@gmx.at>
13627         * help.el (help-window): Remove variable.
13628         (help-window-point-marker, temp-buffer-max-height)
13629         (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
13630         (help-print-return-message): Don't set help-window.
13631         (resize-temp-buffer-window): Rewrite cod eand doc-string.
13632         (help-window-setup-finish): Remove.
13633         (help-window-display-message, help-window-setup)
13634         (with-help-window): Major rewrite based on new
13635         display-buffer-window variable.
13637         * help-mode.el (help-mode-finish): Remove help-window related
13638         code.
13640         * view.el (view-exits-all-viewing-windows): Remove reference to
13641         view-return-to-alist in doc-string.
13642         (view-return-to-alist): Make obsolete.
13643         (view-buffer): Call pop-to-buffer-same-window and remove
13644         undo-window code.
13645         (view-buffer-other-window): Call pop-to-buffer-other-window and
13646         simplify code.  Ignore second argument.
13647         (view-buffer-other-frame): Call pop-to-buffer-other-frame and
13648         simplify code.  Ignore second argument.
13649         (view-return-to-alist-update): Make obsolete.
13650         (view-mode-enter): Rename second argument to QUIT-RESTORE.
13651         Rewrite using quit-restore window parameters.
13652         (view-mode-exit): Rename second argument to EXIT-ONLY.
13653         Rewrite using quit-restore-window.
13654         (View-exit, View-exit-and-edit, View-leave, View-quit)
13655         (View-quit-all, View-kill-and-leave): Call view-mode-exit with
13656         appropriate arguments.
13657         (view-end-message): Use quit-restore window parameter.
13659         * window.el (display-buffer-function): Rewrite doc-string.
13660         (display-buffer-window, display-buffer-alist): New variables.
13661         (display-buffer-split-specifiers)
13662         (display-buffer-side-specifiers)
13663         (display-buffer-macro-specifiers): New constants.
13664         (display-buffer-even-window-sizes, display-buffer-set-height)
13665         (display-buffer-set-width, display-buffer-select-window)
13666         (display-buffer-in-window, display-buffer-reuse-window)
13667         (display-buffer-split-window-1, display-buffer-split-window)
13668         (display-buffer-split-atom-window, display-buffer-pop-up-window)
13669         (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
13670         (display-buffer-in-side-window, normalize-buffer-to-display)
13671         (display-buffer-normalize-specifiers-1)
13672         (display-buffer-normalize-specifiers-2)
13673         (display-buffer-normalize-specifiers, display-buffer-frame):
13674         New functions.
13675         (display-buffer): Major rewrite.
13676         (display-buffer-other-window, display-buffer-other-frame)
13677         (pop-to-buffer, switch-to-buffer-other-window)
13678         (switch-to-buffer-other-frame): Rewrite.
13679         (display-buffer-same-window, display-buffer-same-frame)
13680         (display-buffer-same-frame-other-window)
13681         (pop-to-buffer-same-window, pop-to-buffer-same-frame)
13682         (pop-to-buffer-other-window)
13683         (pop-to-buffer-same-frame-other-window)
13684         (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
13685         (switch-to-buffer-other-window-same-frame): New functions.
13686         (same-window-p, special-display-p): Rewrite disabling warnings.
13687         Make obsolete.
13688         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
13689         (display-buffer-mark-dedicated): Initialize to symbol 'unset.
13690         Make obsolete
13691         (same-window-buffer-names, same-window-regexps)
13692         (special-display-frame-alist, special-display-popup-frame)
13693         (special-display-function, special-display-buffer-names)
13694         (special-display-regexps, pop-up-frame-alist)
13695         (pop-up-frame-function, split-window-preferred-function)
13696         (split-height-threshold, split-width-threshold)
13697         (even-window-heights): Make obsolete.
13699 2011-06-12  Glenn Morris  <rgm@gnu.org>
13701         * term/xterm.el (terminal-init-xterm): `version' may be nil.  (Bug#8838)
13702         Misc simplifications.
13704 2011-06-12  Martin Rudalics  <rudalics@gmx.at>
13706         * window.el (window-safely-shrinkable-p): Restore function which
13707         was inadvertently removed in change from 2011-06-11.  Declare as
13708         obsolete.
13710         * calendar/calendar.el (calendar-generate-window):
13711         Use window-iso-combined-p instead of combination of one-window-p and
13712         window-safely-shrinkable-p.
13714 2011-06-12  Glenn Morris  <rgm@gnu.org>
13716         * progmodes/fortran.el (fortran-mode-syntax-table):
13717         * progmodes/f90.el (f90-mode-syntax-table):
13718         Set % to punctuation.  (Bug#8820)
13719         (f90-find-tag-default): Remove, no longer needed.
13721 2011-06-12  Daniel Colascione  <dan.colascione@gmail.com>
13723         * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
13725 2011-06-11  Chong Yidong  <cyd@stupidchicken.com>
13727         * image.el (image-animated-p): Return animation delay in seconds.
13728         Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
13729         (image-animate-timeout): Remove DELAY argument.  Don't assume
13730         every subimage has the same delay; get it from image-animated-p.
13731         (image-animate): Caller changed.
13733 2011-06-11  Michael Albinus  <michael.albinus@gmx.de>
13735         * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
13736         to ignored backtrace functions.
13738 2011-06-11  Glenn Morris  <rgm@gnu.org>
13740         * calendar/appt.el (appt-disp-window-function): Doc fix.
13741         (appt-check): Handle overlapping appointments.  (Bug#8337)
13743 2011-06-11  Martin Rudalics  <rudalics@gmx.at>
13745         * window.el (window-tree-1, window-tree): New functions, moving
13746         the latter to window.el.
13747         (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
13748         (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
13749         (bw-refresh-edges): Remove.
13750         (balance-windows-1, balance-windows-2): New functions.
13751         (balance-windows): Rewrite in terms of window tree functions,
13752         balance-windows-1 and balance-windows-2.
13753         (bw-adjust-window): Remove.
13754         (balance-windows-area-adjust): New function with functionality of
13755         bw-adjust-window but using resize-window.
13756         (set-window-text-height): Rewrite doc-string.
13757         Use normalize-live-window and resize-window.
13758         (enlarge-window-horizontally, shrink-window-horizontally):
13759         Rename argument to DELTA.
13760         (window-buffer-height): New function.
13761         (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
13762         Rewrite using new window resize routines.
13763         (kill-buffer-and-window, mouse-autoselect-window-select):
13764         Use ignore-errors instead of condition-case.
13765         (quit-window): Call delete-frame instead of delete-windows-on
13766         for the only buffer on frame.
13768 2011-06-10  Martin Rudalics  <rudalics@gmx.at>
13770         * loadup.el (top-level): Load window before files for the sake
13771         of replace-buffer-in-windows.
13773         * files.el (read-buffer-to-switch)
13774         (switch-to-buffer-other-window)
13775         (switch-to-buffer-other-frame, display-buffer-other-frame):
13776         Move to window.el.
13778         * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
13779         (previous-buffer): Move to window.el.
13781         * bindings.el (unbury-buffer): Move to window.el.
13783         * window.el (delete-other-windows-vertically): Move after
13784         definition of delete-other-windows.
13785         (other-window, delete-windows-on, replace-buffer-in-windows):
13786         Move here from window.c.
13787         (record-window-buffer, unrecord-window-buffer)
13788         (set-window-buffer-start-and-point, switch-to-prev-buffer)
13789         (switch-to-next-buffer): New functions.
13790         (get-next-valid-buffer, last-buffer, next-buffer): Move here
13791         from simple.el.  Call switch-to-next-buffer.
13792         (previous-buffer): Move here from simple.el.
13793         Call switch-to-prev-buffer.
13794         (bury-buffer): Move here from buffer.c.  Switch to previous
13795         buffer when window cannot be deleted.
13796         (unbury-buffer): Move here from bindings.el.
13797         (ctl-x-map): Move binding for other-window from window.c to
13798         here.
13799         (read-buffer-to-switch, switch-to-buffer-other-window)
13800         (switch-to-buffer-other-frame): Move here from files.el.
13801         (normalize-buffer-to-switch-to): New functions.
13802         (switch-to-buffer): Move here from buffer.c.
13803         Use read-buffer-to-switch and normalize-buffer-to-switch-to.
13805 2011-06-10  Martin Rudalics  <rudalics@gmx.at>
13807         * window.el (window-min-height, window-min-width): Move here
13808         from window.c.  Add defcustoms and rewrite doc-strings.
13809         (resize-mini-window, resize-window): New functions.
13810         (adjust-window-trailing-edge, enlarge-window, shrink-window):
13811         Move here from window.c.
13812         (maximize-window, minimize-window): New functions.
13813         (delete-window, delete-other-windows, split-window): Move here
13814         from window.c.
13815         (window-split-min-size): New function.
13816         (split-window-keep-point): Mention split-window-above-each-other
13817         instead of split-window-vertically.
13818         (split-window-above-each-other, split-window-vertically):
13819         Rename split-window-vertically to split-window-above-each-other
13820         and provide defalias for old definition.
13821         (split-window-side-by-side, split-window-horizontally):
13822         Rename split-window-horizontally to split-window-side-by-side
13823         and provide defalias for the old definition.
13824         (ctl-x-map): Move bindings for delete-window,
13825         delete-other-windows and enlarge-window here from window.c.
13826         Replace bindings for split-window-vertically and
13827         split-window-horizontally by bindings for
13828         split-window-above-each-other and split-window-side-by-side.
13830         * cus-start.el (all): Remove entries for window-min-height and
13831         window-min-width.  Add entries for window-splits and
13832         window-nest.
13834 2011-06-09  Glenn Morris  <rgm@gnu.org>
13836         * calendar/appt.el (appt-mode-line): New function.
13837         (appt-check, appt-disp-window): Use it.
13839         * files.el (hack-one-local-variable-eval-safep):
13840         Allow minor-modes with explicit +/-1 arguments.
13842 2011-06-09  Teodor Zlatanov  <tzz@lifelogs.com>
13844         * term/xterm.el (xterm): Add defgroup.
13845         (xterm-extra-capabilities): Add defcustom to supply known xterm
13846         capabilities, skip querying them, or query them (default).
13847         (terminal-init-xterm): Use it.
13848         (terminal-init-xterm-modify-other-keys): New function to set up
13849         modifyOtherKeys support to simplify `terminal-init-xterm'.
13851 2011-06-09  Martin Rudalics  <rudalics@gmx.at>
13853         * window.el (resize-window-reset, resize-window-reset-1)
13854         (resize-subwindows-skip-p, resize-subwindows-normal)
13855         (resize-subwindows, resize-other-windows, resize-this-window)
13856         (resize-root-window, resize-root-window-vertically)
13857         (window-deletable-p, window-or-subwindow-p)
13858         (frame-root-window-p): New functions.
13860 2011-06-09  Glenn Morris  <rgm@gnu.org>
13862         * net/ange-ftp.el (ange-ftp-switches-ok): New function.
13863         (ange-ftp-get-files): Use it.
13865 2011-06-09  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
13867         * mail/sendmail.el (mail-recover-1, mail-recover):
13868         * files.el (recover-file, recover-session):
13869         Handle dired-listing-switches not being just a single short option.
13871 2011-06-09  Glenn Morris  <rgm@gnu.org>
13873         * calendar/appt.el (appt-display-message, appt-disp-window):
13874         Handle lists of appointments.
13876 2011-06-08  Martin Rudalics  <rudalics@gmx.at>
13878         * window.el (one-window-p): Move down in code.
13879         Rewrite doc-string.
13880         (window-current-scroll-bars): Rewrite doc-string.
13881         Normalize live window argument.
13882         (walk-windows, get-window-with-predicate, count-windows):
13883         Rewrite doc-string.  Use window-list-1.
13884         (window-in-direction-2, window-in-direction, get-mru-window):
13885         New functions.
13887 2011-06-08  Reuben Thomas  <rrt@sc3d.org>
13889         * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
13890         Doc fix (Bug#8713).
13892 2011-06-08  Chong Yidong  <cyd@stupidchicken.com>
13894         * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
13896 2011-06-08  Juanma Barranquero  <lekktu@gmail.com>
13898         * loadhist.el (unload-feature-special-hooks):
13899         Add `comint-output-filter-functions'.
13901 2011-06-08  Ivan Kanis  <gnu@kanis.fr>
13903         * calendar/appt.el (appt-check): Move some initializations into the let.
13905 2011-06-08  Martin Rudalics  <rudalics@gmx.at>
13907         * window.el (window-height): Defalias to window-total-height.
13908         (window-width): Defalias to window-body-width.
13910 2011-06-07  Chong Yidong  <cyd@stupidchicken.com>
13912         * image-mode.el (image-toggle-animation): New command.
13913         (image-mode-map): Bind it to RET.
13914         (image-mode): Update message.
13915         (image-toggle-display-image): Avoid a spurious cache flush.
13916         (image-transform-rotation): Doc fix.
13917         (image-transform-properties): Return quickly in the normal case.
13918         (image-animate-loop): Rename from image-animate-max-time.
13920         * image.el (image-animate-max-time): Move to image-mode.el.
13921         (create-animated-image): Remove unnecessary function.
13922         (image-animate): Rename from image-animate-start.  New arg.
13923         (image-animate-stop): Remove; just use image-animate-timer.
13924         (image-animate-timer): Use car-safe.
13925         (image-animate-timeout): Rename argument.
13927 2011-06-07  Martin Rudalics  <rudalics@gmx.at>
13929         * window.el (get-lru-window, get-largest-window): Move here from
13930         window.c.  Rename first argument to ALL-FRAMES.
13931         Rephrase doc-strings.
13932         (get-buffer-window-list): Rewrite using window-list-1.
13933         Rephrase doc-string.
13934         (window-safe-min-height, window-safe-min-width): New constants.
13935         (window-size-ignore, window-min-size, window-min-size-1)
13936         (window-sizable, window-sizable-p, window-size-fixed-1)
13937         (window-size-fixed-p, window-min-delta-1, window-min-delta)
13938         (window-max-delta-1, window-max-delta, window-resizable)
13939         (window-resizable-p, window-total-height, window-total-width)
13940         (window-body-width): New functions.
13941         (window-full-height-p, window-full-width-p): Rewrite using
13942         window-total-size.
13943         (window-body-height): Rewrite using window-body-size.
13945 2011-06-06  Martin Rudalics  <rudalics@gmx.at>
13947         * window.el (window-right, window-left, window-child)
13948         (window-child-count, window-last-child, window-any-p)
13949         (normalize-live-buffer, normalize-live-frame)
13950         (normalize-any-window, normalize-live-window)
13951         (window-iso-combination-p, window-iso-combined-p)
13952         (window-iso-combinations)
13953         (walk-window-tree-1, walk-window-tree, walk-window-subtree)
13954         (windows-with-parameter, window-with-parameter)
13955         (window-atom-root, make-window-atom, window-atom-check-1)
13956         (window-atom-check, window-side-check, window-check):
13957         New functions.
13958         (ignore-window-parameters, window-sides, window-sides-vertical)
13959         (window-sides-slots): New variables.
13960         (window-size-fixed): Move down in code.  Minor doc-string fix.
13962 2011-06-05  Andreas Schwab  <schwab@linux-m68k.org>
13964         * comint.el (comint-dynamic-complete-as-filename)
13965         (comint-dynamic-complete-filename): Correctly call
13966         completion-in-region.
13968 2011-06-05  Deniz Dogan  <deniz@dogan.se>
13970         * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
13971         in last change.
13973 2011-06-05  Deniz Dogan  <deniz@dogan.se>
13975         * net/rcirc.el (rcirc-prompt-for-encryption): New function.
13976         (rcirc): Use it to prompt for encryption.
13978 2011-06-05  Roland Winkler  <winkler@gnu.org>
13980         * textmodes/bibtex.el (bibtex-search-buffer): New variable.
13981         (bibtex-search-entries): New command bound to C-c C-a.
13982         (bibtex-display-entries): New function.
13984 2011-06-05  Roland Winkler  <winkler@gnu.org>
13986         * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
13987         (bibtex-insert-kill): After yanking insert newline if necessary.
13988         (bibtex-initialize): Call bibtex-string-files-init only once.
13989         (bibtex-mode): Do not call easy-menu-add.
13990         (bibtex-validate-globally): Use save-excursion in bibtex buffers.
13991         (bibtex-yank): Set arg properly if nil.
13993 2011-06-05  Roland Winkler  <winkler@gnu.org>
13995         * textmodes/bibtex.el (bibtex-search-entry-globally):
13996         New variable.
13997         (bibtex-search-entry): Use it.
13999 2011-06-05  Roland Winkler  <winkler@gnu.org>
14001         * textmodes/bibtex.el (bibtex-entry-format): New option
14002         sort-fields.
14003         (bibtex-format-entry, bibtex-reformat): Honor this option.
14004         (bibtex-parse-entry): Return fields in proper order.
14006 2011-06-05  Juanma Barranquero  <lekktu@gmail.com>
14008         * doc-view.el (doc-view-remove-if): Move computation of result out
14009         of `dolist' to silence misleading lexical-binding warning.
14011 2011-06-04  Chong Yidong  <cyd@stupidchicken.com>
14013         * emacs-lisp/timer.el (timer-activate): Remove unused arg.
14014         (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
14016 2011-06-04  Michael Albinus  <michael.albinus@gmx.de>
14018         * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
14019         "SunOS 5.10".
14021 2011-06-04  Michael Albinus  <michael.albinus@gmx.de>
14023         * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
14024         (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
14025         (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
14026         (tramp-parse-putty):
14027         * net/tramp-sh.el (tramp-completion-function-alist-rsh)
14028         (tramp-completion-function-alist-ssh)
14029         (tramp-completion-function-alist-telnet)
14030         (tramp-completion-function-alist-su)
14031         (tramp-completion-function-alist-putty): Set `tramp-autoload'
14032         cookie.
14034         * net/tramp-ftp.el:
14035         * net/tramp-sh.el:
14036         * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
14037         load "tramp.el" `tramp-set-completion-function'.
14039 2011-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
14041         * shell.el: Require and use pcomplete.
14042         (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
14043         (shell-completion-vars): Set pcomplete-default-completion-function.
14045 2011-06-04  Deniz Dogan  <deniz@dogan.se>
14047         * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
14048         `memq' (Bug#8799).
14050 2011-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
14052         * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
14054 2011-06-02  Juanma Barranquero  <lekktu@gmail.com>
14056         * bs.el (bs--mark-unmark, bs--nth-wrapper):
14057         * mpc.el (mpc-select-extend, mpc-songpointer-context):
14058         * vc/log-view.el (log-view-beginning-of-defun):
14059         * vc/smerge-mode.el (smerge-apply-resolution-patch)
14060         (smerge-refine-forward, smerge-refine-chopup-region):
14061         Silence warning for unused `dotimes' counter variables.
14063 2011-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
14065         * net/tramp.el (tramp-with-progress-reporter): Rename from
14066         with-progress-reporter.  Use `declare'.
14067         * net/tramp-smb.el:
14068         * net/tramp-sh.el:
14069         * net/tramp-gvfs.el: Update all uses.
14071 2011-06-02  Jay Belanger  <jay.p.belanger@gmail.com>
14073         * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
14074         buffer isn't killed before making it current.
14076 2011-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
14078         Silence various byte-compiler warnings.
14079         * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
14080         `access-type' and new obsolescence format.
14081         * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
14082         new format.
14083         (byte-compile-check-variable): New `access-type' argument.
14084         Only warn if the access-type is obsolete.
14085         (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
14086         (byte-compile-variable-set): Adjust callers.
14087         * help-fns.el (describe-variable): Adjust to new obsolescence format.
14088         * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
14089         setting it as obsolete.
14090         * simple.el (minibuffer-completing-symbol):
14091         * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
14092         access as obsolete.
14093         * minibuffer.el (minibuffer-completing-file-name): Don't make it
14094         obsolete yet.
14095         * international/quail.el (quail-mouse-choose-completion): Remove unused
14096         code referring to obsolete var.
14097         (quail-choose-completion-string): Remove.
14098         * server.el (server-clients-with, server-kill-buffer-query-function)
14099         (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
14100         * proced.el (proced-send-signal):
14101         * emacs-lisp/lisp.el (lisp-complete-symbol):
14102         Replace completion-annotate-function with completion-extra-properties.
14104 2011-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
14106         * simple.el (goto-line): Use read-number.
14107         (overriding-map-is-bound): Remove.
14108         (saved-overriding-map): Change default.
14109         (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
14110         Take the map as argument.
14111         (universal-argument, negative-argument, digit-argument): Use it.
14112         (restore-overriding-map): Adjust.
14113         (do-auto-fill): Use fill-forward-paragraph.
14114         (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
14116         * minibuffer.el (minibuffer-inactive-mode-map): New var.
14117         (minibuffer-inactive-mode): New major mode.
14118         * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
14119         the *Messages* buffer" hack.
14120         (mouse-popup-menubar): Don't burp if the event is a normal key.
14122         Miscellaneous tweaks.
14123         * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
14124         lexical scoping as in subr.el's dolist and dotimes.
14125         * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
14126         Silence compiler warning.
14127         * thingatpt.el (forward-whitespace): Trivial coding style fix.
14128         * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
14129         * international/ccl.el (ccl-compile): Trivial simplification.
14130         * help-fns.el (help-do-arg-highlight): Silence compiler warning.
14131         * emacs-lisp/testcover.el (testcover-end): Remove spurious
14132         `printflag' argument.
14133         * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
14134         Purecopy the whole obsolescence data.
14136 2011-06-01  Leo Liu  <sdl.web@gmail.com>
14138         * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
14139         improve doc-string as suggested by Marco Pessotto
14140         <melmothx@gmail.com>.
14141         (rcirc-print): Fix last change.
14143 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
14145         * minibuffer.el (complete-with-action): Return nil for the metadata and
14146         boundaries of non-functional tables.
14147         (completion-table-dynamic): Return nil for the metadata.
14148         (completion-table-with-terminator): Add default case, using
14149         complete-with-action.
14150         (completion--metadata): New function.
14151         (completion-all-sorted-completions, minibuffer-completion-help): Use it
14152         to try and avoid pathological performance problems.
14153         (completion--embedded-envvar-table): Return `category' metadata.
14155 2011-05-31  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14157         * subr.el (process-alive-p): New tiny convenience function.
14159 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
14161         * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
14162         content but also its previous major mode.
14164 2011-05-31  Helmut Eller  <eller.helmut@gmail.com>
14166         * emacs-lisp/debug.el (debug): Restore the previous content of the
14167         *Backtrace* buffer when we exit with C-M-c.
14169 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
14171         * minibuffer.el: Add metadata method to completion tables.
14172         (completion-category-overrides): New defcustom.
14173         (completion-metadata, completion--field-metadata)
14174         (completion-metadata-get, completion--styles)
14175         (completion--cycle-threshold): New functions.
14176         (completion-try-completion, completion-all-completions):
14177         Add `metadata' argument to choose completion-styles.
14178         (completion--do-completion): Use metadata to choose cycling.
14179         (completion-all-sorted-completions): Use metadata for sorting.
14180         Remove :completion-cycle-penalty which is not needed any more.
14181         (completion--try-word-completion): Add `metadata' argument.
14182         (minibuffer-completion-help): Check metadata for annotation function
14183         and sorting.
14184         (completion-file-name-table): Return `category' metadata.
14185         (minibuffer-completing-file-name): Make obsolete.
14186         * simple.el (minibuffer-completing-symbol): Make obsolete.
14187         * icomplete.el (icomplete-completions): Pass new `metadata' param to
14188         completion-try-completion.
14190 2011-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
14192         * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
14194 2011-05-30  Leo Liu  <sdl.web@gmail.com>
14196         * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
14197         (rcirc-print): Decode all incoming messages (bug#8744).
14198         (rcirc-decode-coding-system): Allow value nil for automatic coding
14199         system detection.
14201 2011-06-01  Glenn Morris  <rgm@gnu.org>
14203         * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
14205 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
14207         * image.el (image-animate-max-time): Allow nil and t values.
14208         Default to nil.
14209         (create-animated-image): Doc fix.
14210         (image-animate-start): Remove second arg; just use
14211         image-animate-max-time.
14212         (image-animate-timeout): Doc fix.  Args changed.
14214         * image-mode.el (image-toggle-display-image): Ensure that the
14215         image spec passed to the animate timer is the same object as in
14216         the buffer's display property (Bug#6981).
14217         (image-transform-properties): Doc fix.
14219         * image.el (image-animate-max-time): Default to nil.
14221 2011-05-29  Martin Rudalics  <rudalics@gmx.at>
14223         * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
14224         entire buffer list (Bug#8184).
14226 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
14228         * image.el (imagemagick-types-inhibit)
14229         (imagemagick-register-types): Doc fix.
14231 2011-05-29  Deniz Dogan  <deniz@dogan.se>
14233         * net/rcirc.el (rcirc): Use the user's stored encryption method by
14234         default.
14236 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
14238         * select.el: Don't perform clipboard-manager saving in hooks;
14239         leave the hooks empty.
14241 2011-05-28  Leo Liu  <sdl.web@gmail.com>
14243         * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
14244         (occur-mode-map): Bind occur-edit-mode.  Use occur-menu-map.
14245         (occur-edit-mode): New major mode (Bug#8463).
14246         (occur-after-change-function): New function.
14247         (occur-engine): Give Occur tags a read-only property.
14249 2011-05-28  Kevin Ryde  <user42@zip.com.au>
14251         * subr.el (def-edebug-spec): Doc fix (Bug#8430).
14253 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
14255         * bindings.el (help-echo): Make the initial non-indicator dash
14256         empty on graphical terminals (Bug#7295).
14258         * files.el (auto-mode-alist): Move config rule after the
14259         in-stripping one (Bug#8547).
14261         * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
14263         * startup.el (normal-splash-screen): Remove gratuitous mode-line
14264         setting (Bug#8740).
14266 2011-05-28  Alp Aker  <aker@pitt.edu>  (tiny change)
14268         * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
14269         (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
14270         (Bug#8539).
14272 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
14274         * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
14276 2011-05-28  Dima Kogan  <dkogan@cds.caltech.edu>  (tiny change)
14278         * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
14279         (hs-hide-block-at-point, hs-find-block-beginning)
14280         (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
14281         (Bug#8279).
14283 2011-05-28  Glenn Morris  <rgm@gnu.org>
14285         * startup.el (fancy-about-screen): Use standard mode line.  (Bug#8740)
14287 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
14289         * help-fns.el (describe-function-1): If the function is a derived
14290         major mode, print the parent mode.
14292         * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
14293         (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
14295 2011-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
14297         * minibuffer.el (completion--capf-wrapper): Check applicability before
14298         returning non-nil for non-exclusive completion data.
14299         * progmodes/etags.el (tags-completion-at-point-function):
14300         * info-look.el (info-lookup-completions-at-point): Mark as
14301         non-exclusive.
14302         (info-complete): Adjust accordingly.
14304         * info-look.el: Convert to lexical-binding and completion-at-point.
14305         (info-lookup-completions-at-point): New function.
14306         (info-complete): Use it and completion-in-region.
14308 2011-05-28  Drew Adams  <drew.adams@oracle.com>
14310         * isearch.el: Let M-e start with point at the first mismatched char.
14311         (isearch-fail-pos): New function.
14312         (isearch-edit-string): Use it.
14314 2011-05-28  Dmitry Kurochkin  <dmitry.kurochkin@gmail.com>  (tiny change)
14316         * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
14318 2011-05-27  Toby Cubitt  <toby-predictive@dr-qubit.org>
14320         * emacs-lisp/avl-tree.el: New avl-tree-stack datatype.  Add new
14321         traversal functions for avl-trees.
14322         (avl-tree--stack): New struct.
14323         (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
14324         (avl-tree-enter): Add optional `updatefun' arg.
14325         (avl-tree--do-enter): Add optional `updatefun' arg.
14326         Change return value.
14327         (avl-tree-delete): Add optional `test' and `nilflag' args.
14328         (avl-tree--do-delete): Add `test' and `nilflag' args.
14329         Change return value.
14330         (avl-tree-member): Add optional `nilflag'
14331         (avl-tree-member-p): New function.
14332         (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
14333         (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
14334         (avl-tree-stack-empty-p): New functions.
14336         * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
14337         avl-tree--del-balance1 and make it work both ways.
14338         (avl-tree--del-balance2): Remove.
14339         (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
14340         make it work both ways.
14341         (avl-tree--enter-balance2): Remove.
14342         (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
14343         New macros.
14344         (avl-tree--mapc, avl-tree-map): Add direction argument.
14346 2011-05-27  David Michael  <fedora.dm0@gmail.com>  (tiny change)
14348         * files.el (interpreter-mode-alist): Add rbash (bug#8745).
14350 2011-05-27  Chong Yidong  <cyd@stupidchicken.com>
14352         * select.el: Support clipboard managers with built-in function
14353         x-clipboard-manager-save, via delete-frame-functions and
14354         kill-emacs-hook.
14355         (xselect-convert-to-targets): Add MULTIPLE target to list.
14356         (xselect-convert-to-save-targets): New function.
14358 2011-05-27  Kenichi Handa  <handa@m17n.org>
14360         * mail/sendmail.el (mail-encode-header): Avoid double encoding by
14361         let-binding rfc2047-encode-encoded-words to nil.
14363 2011-05-27  Glenn Morris  <rgm@gnu.org>
14365         * mail/emacsbug.el: Don't require url-util.
14367         * shell.el (shell-directory-tracker): Case matters.  (Bug#8735)
14369         * files.el (set-auto-mode):
14370         Also respect mode: entries at the end of the file.  (Bug#8586)
14372 2011-05-26  Glenn Morris  <rgm@gnu.org>
14374         * files.el (hack-local-variables-prop-line, hack-local-variables):
14375         Downcase mode names, as seems to be traditional.
14376         (hack-local-variables, hack-local-variables-apply): Doc fixes.
14378         * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
14379         (report-emacs-bug-hook): Try to validate the From address.  (Bug#8038)
14381 2011-05-25  Julien Danjou  <julien@danjou.info>
14383         * textmodes/rst.el (rst-define-level-faces): Do not define face
14384         symbol if it is already defined.
14386 2011-05-24  Vincent Belaïche  <vincentb1@users.sourceforge.net>
14388         * play/5x5.el (5x5-new-game, 5x5-randomize):
14389         Reset 5x5-solver-output to nil when a new grid is cast.
14390         (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
14391         these debugging traces, as defmacro breaks the compiled code.
14393 2011-05-24  Dmitry Kurochkin  <dmitry.kurochkin@gmail.com>  (tiny change)
14395         * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
14397 2011-05-24  Leo Liu  <sdl.web@gmail.com>
14399         * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
14400         (vc-bzr-sha1): Adapt.
14402         * sha1.el: Remove.  Function `sha1' is now builtin.
14404         * bindings.el: Provide sha1 feature.
14406 2011-05-24  Kenichi Handa  <handa@m17n.org>
14408         * mail/sendmail.el: Require `rfc2047'.
14409         (mail-insert-from-field): Do not perform RFC2047 encoding.
14410         (mail-encode-header): New function.
14411         (sendmail-send-it): Set buffer-file-coding-system of the work
14412         buffer to the return value of select-message-coding-system.
14413         Call mail-encode-header.
14415         * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
14417 2011-05-24  Sean Neakums  <sneakums@zork.net>  (tiny change)
14419         * mail/supercite.el (sc-default-cite-frame):
14420         Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
14422 2011-05-24  Glenn Morris  <rgm@gnu.org>
14424         * progmodes/python.el (brm-menu): Declare.
14426         * emulation/viper.el (viper-set-hooks): Declare.
14428         * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
14429         (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
14430         (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
14431         (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
14432         (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
14433         (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
14435 2011-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
14437         Add an :exit-function for completion-at-point.
14439         * minibuffer.el (completion--done): New fun.
14440         (completion--do-completion): Use it.  New arg `expect-exact'.
14441         (minibuffer-complete, minibuffer-complete-word): Don't output message,
14442         since completion--do-completion does it for us now.
14443         (minibuffer-force-complete): Use completion--done and
14444         completion--replace.  Handle sole-completion case with more care.
14445         (minibuffer-complete-and-exit): Use new `expect-exact' arg.
14446         (completion-extra-properties): New var.
14447         (completion-annotate-function): Make obsolete.
14448         (minibuffer-completion-help): Adjust accordingly.
14449         Use completion-list-insert-choice-function.
14450         (completion-at-point, completion-help-at-point):
14451         Bind completion-extra-properties.
14452         (completion-pcm-word-delimiters): Add | (for uniquify, for example).
14453         * simple.el (completion-list-insert-choice-function): New var.
14454         (completion-setup-function): Preserve it.
14455         (choose-completion): Pay attention to it, shuffle the code a bit.
14456         (choose-completion-string): New arg `insert-function'.
14458         * textmodes/bibtex.el: Convert to lexical binding.
14459         (bibtex-mode-map): Use completion-at-point.
14460         (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
14461         (bibtex-completion-at-point-function): New fun, from bibtex-complete.
14462         (bibtex-complete): Define as obsolete alias.
14463         (bibtex-complete-internal): Remove.
14464         (bibtex-format-entry): Remove unused sub-group in regexp.
14465         * shell.el (shell--command-completion-data)
14466         (shell-environment-variable-completion):
14467         * pcomplete.el (pcomplete-completions-at-point):
14468         * comint.el (comint--complete-file-name-data): Use :exit-function
14469         instead of completion-table-with-terminator so it also works for
14470         choose-completion.
14472 2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
14474         * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
14476         * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
14477         (bug#8710).
14479         * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
14481 2011-05-23  Ken Manheimer  <ken.manheimer@gmail.com>
14483         * allout.el (allout-inhibit-auto-fill-on-headline): Create new
14484         customization variable and implement: If non-nil, auto-fill will
14485         be inhibited while on topic's header line.
14487 2011-05-23  Vincent Belaïche  <vincentb1@users.sourceforge.net>
14489         * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
14490         click on.  II/ Make 5x5 multisession.  III/ Ensure that random grids
14491         always have a solution in grid size = 5 cases.
14492         (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
14493         (5x5-solver-output, 5x5-log-buffer): New vars.
14494         (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
14495         Make these variables buffer local to achieve 5x5 multi-session-ness.
14496         (5x5): Set 5x5-grid-size only if SIZE is non-negative.
14497         (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
14498         (5x5-solve-suggest): New funs.
14499         (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
14500         randomize a grid so that we ensure that there is always a solution.
14501         (5x5-make-random-grid): Allow other movement than flipping.
14503 2011-05-23  Kevin Ryde  <user42@zip.com.au>
14505         * emacs-lisp/advice.el (ad-read-advised-function):
14506         Use `function-called-at-point' as the default, if it has
14507         advice and passes PREDICATE.
14509 2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
14511         * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
14512         byte-compile-lambda if it's actually a lambda.
14514         * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
14515         Fix function quoting.  Use backquote better.
14517 2011-05-22  Yuanle Song  <sylecn@gmail.com>
14519         * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
14520         matching (Bug#8516).
14522 2011-01-22  Jari Aalto  <jari.aalto@cante.net>
14524         * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
14525         different face (Bug#8178).
14527 2011-05-22  Chong Yidong  <cyd@stupidchicken.com>
14529         * vc/diff-mode.el (diff-changed): Don't use terminal specs for
14530         defface (Bug#8144).
14532 2011-05-22  Stefan Monnier  <monnier@iro.umontreal.ca>
14534         * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
14535         funcall as well (bug#8712).  Warn when performing those conversions.
14536         * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
14538         * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
14540 2011-05-22  Glenn Morris  <rgm@gnu.org>
14542         * files.el (hack-local-variables-prop-line): Small simplifications.
14543         (hack-local-variables, hack-local-variables-prop-line):
14544         If MODE-ONLY, return the mode, rather than just `t'.
14546 2011-05-21  Stefan Monnier  <monnier@iro.umontreal.ca>
14548         * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
14550 2011-05-21  Glenn Morris  <rgm@gnu.org>
14552         * files.el (hack-local-variables-prop-line, hack-local-variables):
14553         If only interested in the mode, don't bother doing the other stuff.
14555         * image-mode.el (image-after-revert-hook):
14556         Redraw all frames on which the image is visible.  (Bug#8567)
14558         * dired-aux.el (dired-touch-initial): Just use current-time.  (Bug#6887)
14560         * wid-edit.el (widget-checklist-match-inline):
14561         Fix 2011-04-19 change.  (Bug#8649)
14563 2011-05-20  Stefan Monnier  <monnier@iro.umontreal.ca>
14565         * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
14566         Also allow singlespace after single-letter capitals followed by a dot.
14568         * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
14569         enabled.  Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
14571 2011-05-20  Nix  <nix@esperi.org.uk>
14573         * files.el (basic-save-buffer-2):
14574         Fix handling of break-hardlink-on-save with non-existent files.
14576 2011-05-19  Deniz Dogan  <deniz@dogan.se>
14578         * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
14579         (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
14581 2011-05-19  Glenn Morris  <rgm@gnu.org>
14583         * progmodes/f90.el (f90-type-def-re):
14584         Handle "type, bind(c)".  (Bug#8691)
14586         * emacs-lisp/autoload.el (batch-update-autoloads):
14587         Set autoload-excludes by parsing loadup.el rather than Makefiles.
14589 2011-05-18  Michael Albinus  <michael.albinus@gmx.de>
14591         * net/tramp.el (tramp-process-actions): Set "first-password-request"
14592         property for the correct connection in case of multihops.
14594 2011-05-18  Glenn Morris  <rgm@gnu.org>
14596         * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
14597         * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
14599         Rationalize calendar handling of day and month abbrev-arrays.
14600         * calendar/calendar.el (calendar-customized-p): New function.
14601         (calendar-abbrev-construct, calendar-make-alist): Change what it does.
14602         (calendar-day-name-array, calendar-month-name-array): Doc fix.
14603         Add :set function.
14604         (calendar-abbrev-length, calendar-day-abbrev-array)
14605         (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
14606         (calendar-day-abbrev-array, calendar-month-abbrev-array):
14607         Elements may no longer be nil.
14608         (calendar-day-name, calendar-month-name):
14609         Update for changed nature of abbrev arrays.
14610         * calendar/diary-lib.el (diary-name-pattern):
14611         Update for changed nature of abbrev arrays.
14612         (diary-mark-entries-1): Update calendar-make-alist calls.
14613         (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
14614         * calendar/cal-html.el (cal-html-day-abbrev-array):
14615         Simply inherit from calendar-day-abbrev-array.
14617 2011-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
14619         * progmodes/grep.el (grep-mode): Disable default
14620         compilation-directory-matcher setting (bug#8684).
14622 2011-05-17  Michael Albinus  <michael.albinus@gmx.de>
14624         * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
14625         instead of "head" and "tail".  There were problems with SunOS 5.9,
14626         and it performs better.
14628 2011-05-17  Glenn Morris  <rgm@gnu.org>
14630         * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
14632         * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
14633         Replace obsolete function.
14635         * shell.el (pcomplete-parse-arguments-function): Declare.
14637         * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
14638         (appt-display-diary, appt-display-interval, appt-prev-comp-time)
14639         (appt-check): Doc fixes.
14640         (appt-disp-window-function, appt-delete-window-function):
14641         Remove needless special case in custom :type.
14642         (appt-display-count): Default to 0, not nil.
14643         (appt-check): Reset appt-display-count to 0, not nil.
14645 2011-05-17  Juanma Barranquero  <lekktu@gmail.com>
14647         * progmodes/python.el (python-font-lock-keywords):
14648         Add the Python 3.X keyword "nonlocal" (bug#8639).
14650 2011-05-16  Stefan Monnier  <monnier@iro.umontreal.ca>
14652         * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
14654 2011-05-16  Kevin Ryde  <user42@zip.com.au>
14656         * info-look.el (makefile-automake-mode): New setups, looking in
14657         automake manual, then makefile-mode.
14658         (makefile-mode): Remove automake manual, have it just in
14659         makefile-automake-mode since there's various things different or
14660         not relevant to plain make.
14661         (makefile-mode): Remove "other-modes" non-existent automake-mode,
14662         believe a hypothetical automake-mode would go to makefile-mode,
14663         not the other way around.
14665 2011-05-15  Chong Yidong  <cyd@stupidchicken.com>
14667         * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
14668         hunk-end tags (Bug#8672).
14670         * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
14671         vc-annotate-show-diff-revision-at-line (Bug#8671).
14673 2011-05-14  Glenn Morris  <rgm@gnu.org>
14675         * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
14676         in the middle of an existing one with multiple authors.  (Bug#8645)
14677         (change-log-font-lock-keywords): Also handle multiple author lines
14678         with leading tabs.  (Bug#8644)
14680         * calendar/appt.el (appt-check): Rename some local variables.
14681         Some simplification/reordering.
14683         * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
14684         (feedmail-sendmail-f-doesnt-sell-me-out)
14685         (feedmail-queue-slug-suspect-regexp, feedmail-debug)
14686         (feedmail-debug-sit-for, feedmail-queue-express-hook)
14687         (feedmail-queue-runner-message-sender): Set :version.
14688         (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
14689         (bbdb-dwim-net-address, vm-mail): Declare.
14690         (feedmail-binmail-gnulinuxish-template):
14691         Rename from feedmail-binmail-linuxish-template.
14692         (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
14693         Use insert-buffer-substring.
14695 2011-05-14  Bill Carpenter  <bill@carpenter.org>
14697         * mail/feedmail.el (feedmail-patch-level): Increase.
14698         (feedmail-debug): New custom group.
14699         (feedmail-confirm-outgoing-timeout)
14700         (feedmail-sendmail-f-doesnt-sell-me-out)
14701         (feedmail-queue-slug-suspect-regexp, feedmail-debug)
14702         (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
14703         (feedmail-sender-line, feedmail-from-line)
14704         (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
14705         (feedmail-spray-this-address)
14706         (feedmail-spray-address-fiddle-plex-list)
14707         (feedmail-queue-use-send-time-for-date)
14708         (feedmail-queue-use-send-time-for-message-id)
14709         (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
14710         (feedmail-buffer-eating-function):
14711         Doc fixes.
14712         (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
14713         (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
14714         (feedmail-message-action-scroll-down): New functions.
14715         (feedmail-queue-directory, feedmail-queue-draft-directory):
14716         Use expand-file-name.
14717         (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
14718         Remove C-v help entry.
14719         (feedmail-queue-buffer-file-name): New variable.
14720         (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
14721         (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
14722         (feedmail-message-action-send-strong, feedmail-message-action-edit)
14723         (feedmail-message-action-draft, feedmail-message-action-draft-strong)
14724         (feedmail-message-action-queue, feedmail-message-action-queue-strong)
14725         (feedmail-message-action-toggle-spray)
14726         (feedmail-run-the-queue-no-prompts)
14727         (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
14728         (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
14729         (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
14730         (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
14731         (feedmail-envelope-deducer, feedmail-fiddle-from)
14732         (feedmail-fiddle-sender, feedmail-default-date-generator)
14733         (feedmail-fiddle-date, feedmail-fiddle-message-id)
14734         (feedmail-fiddle-spray-address)
14735         (feedmail-fiddle-list-of-spray-fiddle-plexes)
14736         (feedmail-fiddle-list-of-fiddle-plexes)
14737         (feedmail-fill-to-cc-function, feedmail-fill-this-one)
14738         (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
14739         (feedmail-queue-runner-message-sender, feedmail-binmail-template):
14740         Change default.  Doc fix.
14741         (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
14742         (feedmail-binmail-linuxish-template): New constant.
14743         (feedmail-buffer-to-sendmail): Doc fix.  Add debug call.
14744         Respect feedmail-sendmail-f-doesnt-sell-me-out.
14745         (feedmail-send-it): Add debug call.
14746         Use feedmail-queue-buffer-file-name, and
14747         feedmail-send-it-immediately-wrapper.
14748         (feedmail-message-action-send): Add debug call.
14749         Use feedmail-send-it-immediately-wrapper.
14750         (feedmail-queue-express-to-queue): Add debug call.
14751         Run feedmail-queue-express-hook.
14752         (feedmail-message-action-help): Add debug call.  Use feedmail-p-h-b-n.
14753         (feedmail-message-action-help-blat):
14754         Rename from feedmail-queue-send-edit-prompt-help-first.
14755         (feedmail-run-the-queue): Add debug call.  Set buffer-file-type.
14756         Check line-endings.  Handle errors better.
14757         (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
14758         Doc fix.  Add debug call.
14759         (feedmail-queue-send-edit-prompt): Doc fix.  Add debug call.
14760         Use feedmail-queue-send-edit-prompt-inner.
14761         (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
14762         (feedmail-queue-send-edit-prompt-inner): New function, extracted
14763         from feedmail-queue-send-edit-prompt.
14764         (feedmail-queue-send-edit-prompt-help)
14765         (feedmail-queue-send-edit-prompt-help-later): Remove functions.
14766         (feedmail-tidy-up-slug): Add debug call.
14767         Respect feedmail-queue-slug-suspect-regexp.
14768         (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
14769         (feedmail-dump-message-to-queue): Add debug call.
14770         Expand queue-directory.
14771         (feedmail-dump-message-to-queue): Change message slightly.
14772         Use feedmail-say-chatter.
14773         (feedmail-rfc822-date): Add debug call.  Bind system-time-locale.
14774         (feedmail-send-it-immediately-wrapper): New function.
14775         (feedmail-send-it-immediately): Add debug calls.  Use let not let*.
14776         Insert empty string rather than newline.  Handle full-frame case.
14777         Use catch/throw.  Use feedmail-say-chatter.
14778         (feedmail-fiddle-from): Try mail-host-address.
14779         (feedmail-default-message-id-generator): Doc fix.
14780         Bind system-time-locale.  Handle missing end.
14781         (feedmail-fiddle-x-mailer): Add debug call.
14782         Handle feedmail-x-mailer-line being nil.
14783         (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
14784         Add debug call.  Use buffer-substring-no-properties.
14785         (feedmail-say-debug, feedmail-say-chatter): New functions.
14786         (feedmail-find-eoh): Give an explicit error.
14788 2011-05-13  Ulf Jasper  <ulf.jasper@web.de>
14790         * net/newst-treeview.el (newsticker-treeview-face): Change default
14791         family from helvetica to sans.
14792         (newsticker-treeview-tool-bar-map): Move tool-bar icons to
14793         etc/images/newsticker.
14795         * net/newst-reader.el (newsticker-feed-face): Change default
14796         family from helvetica to sans.
14798         * net/newst-plainview.el (newsticker-new-item-face)
14799         (newsticker-old-item-face, newsticker-immortal-item-face)
14800         (newsticker-obsolete-item-face, newsticker-date-face)
14801         (newsticker-statistics-face): Change default family from
14802         helvetica to sans.
14803         (newsticker--plainview-tool-bar-map): Move tool-bar icons to
14804         etc/images/newsticker.
14806         * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
14807         (newsticker--process-auto-mark-filter-match): Tell user about
14808         auto-marking.
14810 2011-05-13  Didier Verna  <didier@xemacs.org>
14812         Common Lisp indentation improvements on defmethod and lambda-lists.
14813         * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
14814         TODO entries.
14815         (lisp-lambda-list-keyword-parameter-indentation)
14816         (lisp-lambda-list-keyword-parameter-alignment)
14817         (lisp-lambda-list-keyword-alignment): New customizable user options.
14818         (lisp-indent-defun-method): Improve docstring.
14819         (extended-loop-p): Fix comment.
14820         (lisp-indent-lambda-list-keywords-regexp): New variable.
14821         (lisp-indent-lambda-list): New function.
14822         (lisp-indent-259): Use it.
14823         (lisp-indent-defmethod): Support for more than one
14824         method qualifier and properly indent methods lambda-lists.
14825         (defgeneric): Provide a missing common-lisp-indent-function property.
14827 2011-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
14829         * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
14830         bounds for the empty string (bug#8667).
14832 2011-05-13  Glenn Morris  <rgm@gnu.org>
14834         * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
14836         * mail/sendmail.el (sendmail-program): Try executable-find first.
14837         (sendmail-send-it): `sendmail-program' cannot be unbound.
14839         * calendar/appt.el (appt-make-list): Simplify.
14840         (appt-time-msg-list): Doc fix.
14841         (appt-check): Change mode-line message at the time of the appointment.
14843 2011-05-12  Andreas Schwab  <schwab@linux-m68k.org>
14845         * progmodes/ld-script.el (ld-script-keywords)
14846         (ld-script-builtins): Update keywords list.
14848 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
14850         * progmodes/grep.el (grep-filter): Don't trip on partial lines.
14852         * shell.el (shell-completion-vars): New function.
14853         (shell-mode):
14854         * simple.el (read-shell-command): Use it.
14855         (blink-matching-open): No need for " [...]" in minibuffer-message.
14857 2011-05-12  Glenn Morris  <rgm@gnu.org>
14859         * calendar/appt.el (appt-now-displayed): Remove pointless variable.
14860         (appt-check): Simplify.
14862 2011-05-12  Eli Zaretskii  <eliz@gnu.org>
14864         * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
14865         literal "/dev/null".
14867 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
14869         * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
14870         Fix typo.
14872 2011-05-12  Ralph Schleicher  <rs@ralph-schleicher.de>
14874         * progmodes/which-func.el (which-function):
14875         Use add-log-current-defun instead of add-log-current-defun-function,
14876         which might not be defined (Bug#8260).
14878 2011-05-12  Glenn Morris  <rgm@gnu.org>
14880         * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
14881         Let byte-compile-initial-macro-environment always take precedence.
14883 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
14885         * net/rcirc.el: Add support for SSL/TLS connections.
14886         (rcirc-server-alist): New field `encryption'.
14887         (rcirc): Check `encryption' settings.
14888         (rcirc-connect): New arg `encryption'.  Use open-network-stream.
14889         Merge make-local-variable into `set'.
14890         (rcirc--connection-open-p): New function.
14891         (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
14892         the process is not a network process (e.g. running gnutls-cli).
14893         (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
14894         Make rcirc-(en|de)code-coding-system local here.
14895         (rcirc-mode): Merge make-local-variable into `set'.
14896         (rcirc-parent-buffer): Make permanent buffer-local.
14897         (rcirc-multiline-minor-mode): Don't do it here.
14898         (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
14899         there's no server buffer.
14901 2011-05-11  Glenn Morris  <rgm@gnu.org>
14903         * newcomment.el (comment-kill): Prefix "unused" local.
14905         * term/w32console.el (get-screen-color): Declare.
14907         * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
14908         Handle symbol elements of byte-compile-initial-macro-environment.
14910 2011-05-10  Leo Liu  <sdl.web@gmail.com>
14912         * bookmark.el (bookmark-bmenu-mode-map):
14913         Bind bookmark-bmenu-search to `/'.
14915         * mail/footnote.el: Convert to utf-8 encoding.
14916         (footnote-unicode-string, footnote-unicode-regexp): New variable.
14917         (Footnote-unicode): New function.
14918         (footnote-style-alist): Add unicode style to the list.
14919         (footnote-style): Doc fix.
14921 2011-05-10  Jim Meyering  <meyering@redhat.com>
14923         Fix doubled-word typos.
14924         * international/quail.el (quail-insert-kbd-layout): and and -> and
14925         * kermit.el: and and -> and
14926         * net/ldap.el (ldap-search-internal): to to -> to
14927         * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
14928         * progmodes/js.el (js-mode): and and -> and
14929         * textmodes/artist.el (artist-move-to-xy): at at -> at
14930         (artist-draw-region-trim-line-endings): if if -> if
14931         And Safetyc -> Safety.
14932         * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
14934 2011-05-10  Glenn Morris  <rgm@gnu.org>
14935             Stefan Monnier  <monnier@iro.umontreal.ca>
14937         * files.el (hack-one-local-variable-eval-safep):
14938         Consider "eval: (foo-mode)" to be safe.  (Bug#8613)
14940 2011-05-10  Glenn Morris  <rgm@gnu.org>
14942         * calendar/diary-lib.el (diary-list-entries-hook)
14943         (diary-mark-entries-hook, diary-nongregorian-listing-hook)
14944         (diary-nongregorian-marking-hook, diary-list-entries)
14945         (diary-include-other-diary-files, diary-mark-entries)
14946         (diary-mark-included-diary-files): Doc fixes.
14948 2011-05-09  Juanma Barranquero  <lekktu@gmail.com>
14950         * misc.el: Require tabulated-list.el during compilation.
14952 2011-05-09  Chong Yidong  <cyd@stupidchicken.com>
14954         * progmodes/compile.el (compilation-start):
14955         Run compilation-filter-hook for the async case too.
14956         (compilation-filter-hook): Doc fix.
14958 2011-05-09  Deniz Dogan  <deniz@dogan.se>
14960         * wdired.el: Remove outdated installation comment.  Fix usage
14961         comment.
14963 2011-05-09  Juanma Barranquero  <lekktu@gmail.com>
14965         * misc.el: Implement new command `list-dynamic-libraries'.
14966         (list-dynamic-libraries--loaded-only-p): New variable.
14967         (list-dynamic-libraries--refresh): New function.
14968         (list-dynamic-libraries): New command.
14970 2011-05-09  Chong Yidong  <cyd@stupidchicken.com>
14972         * progmodes/compile.el (compilation-error-regexp-alist-alist):
14973         Fix the ant regexp to handle end-line and end-column info from jikes.
14974         Re-introduce maven regexp.  Give the ruby-Test::Unit regexp a
14975         higher priority to avoid clobbering by gnu.
14977 2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
14979         * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
14980         if the face has existing theme settings (Bug#8454).
14982 2011-05-08  Ralph Schleicher  <rs@ralph-schleicher.de>
14984         * progmodes/perl-mode.el (perl-imenu-generic-expression):
14985         Only match variables declared via `my' or `our' (Bug#8261).
14987         * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
14988         special file names `.' and `..' (Bug#8259).
14990 2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
14992         * progmodes/grep.el (grep-mode-font-lock-keywords):
14993         Remove buffer-changing entries.
14994         (grep-filter): New function.
14995         (grep-mode): Add it to compilation-filter-hook.
14997         * progmodes/compile.el (compilation-filter-hook)
14998         (compilation-filter-start): New defvars.
14999         (compilation-filter): Call compilation-filter-hook prior to
15000         updating the process mark.
15002 2011-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
15004         * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
15006 2011-05-07  Eli Zaretskii  <eliz@gnu.org>
15008         * mail/sendmail.el (send-mail-function): On MS-Windows, default to
15009         mailclient-send-it even if window-system is nil.  (Bug#8595)
15011         * term/w32console.el (terminal-init-w32console):
15012         Call get-screen-color and use its output to set the frame
15013         background-mode.  (Bug#8597)
15015 2011-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
15017         Make bytecomp.el understand that defmethod defines funs (bug#8631).
15018         * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
15019         New functions.
15020         (defgeneric, eieio--defmethod): Use them.
15021         (eieio-defgeneric): Remove.
15022         (defmethod): Call defgeneric in a way visible to the byte-compiler.
15024 2011-05-07  Glenn Morris  <rgm@gnu.org>
15026         * calendar/timeclock.el (timeclock-log-data): Remove unused local.
15027         Use let rather than let*.
15028         (timeclock-find-discrep): Remove unused local.
15030         * calendar/diary-lib.el (diary-comment-start): Doc fix.
15032         * calendar/appt.el (appt-time-msg-list): Doc fix.
15034 2011-05-06  Noah Friedman  <friedman@splode.com>
15036         * apropos.el (apropos-print-doc): Only use
15037         emacs-lisp-docstring-fill-column when it is bound to an integer,
15038         per that variable's documentation.
15040 2011-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
15042         * lpr.el (print-region-1): Echo lpr-program's output, so error messages
15043         and warnings are not silently discarded (e.g. use -d instead of -P).
15045 2011-05-06  Glenn Morris  <rgm@gnu.org>
15047         * calendar/appt.el (appt-message-warning-time): Doc fix.
15048         (appt-warning-time-regexp): New option.
15049         (appt-make-list): Respect appt-message-warning-time.
15051         * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
15052         New options.
15053         (diary-add-to-list): Strip comments from the displayed string.
15054         (diary-mode): Set comment-start and comment-end.
15056         * vc/diff-mode.el (smerge-refine-subst): Declare.
15057         (diff-refine-hunk): Don't require smerge-mode when compiling.
15059 2011-05-06  Juanma Barranquero  <lekktu@gmail.com>
15061         * simple.el (list-processes): Return nil as the docstring says.
15063 2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
15065         * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
15066         to "".
15067         (ange-ftp-write-region, ange-ftp-insert-file-contents)
15068         (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
15069         determining of binary transfer.  (Bug#7383)
15071 2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
15073         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
15074         Fix port computation bug.  (Bug#8618)
15076 2011-05-05  Glenn Morris  <rgm@gnu.org>
15078         * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
15080         * simple.el (shell-dynamic-complete-functions)
15081         (comint-dynamic-complete-functions): Declare.
15083         * net/network-stream.el (gnutls-negotiate):
15084         * simple.el (tabulated-list-print): Fix declarations.
15086         * progmodes/gud.el (syntax-symbol, syntax-point):
15087         Remove unnecessary and incorrect declarations.
15089         * emacs-lisp/check-declare.el (check-declare-scan):
15090         Handle byte-compile-initial-macro-environment in bytecomp.el
15092 2011-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
15094         Fix earlier half-done eieio-defmethod change (bug#8338).
15095         * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
15096         Streamline and change calling convention.
15097         (defmethod): Adjust accordingly and simplify.
15098         (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
15099         new eieio--defmethod.
15100         (slot-boundp): Minor CSE simplification.
15102 2011-05-05  Milan Zamazal  <pdm@zamazal.org>
15104         * progmodes/glasses.el (glasses-separate-capital-groups): New option.
15105         (glasses-make-readable): Use glasses-separate-capital-groups.
15107 2011-05-05  Juanma Barranquero  <lekktu@gmail.com>
15109         * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
15110         (warning-series): Doc fix.
15111         (display-warning): Don't try to create the buffer if we just found it.
15113 2011-05-04  Chong Yidong  <cyd@stupidchicken.com>
15115         * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
15116         (autoload-find-generated-file): New function.
15117         (generate-file-autoloads): Bind generated-autoload-file to
15118         buffer-file-name.
15119         (update-file-autoloads, update-directory-autoloads):
15120         Use autoload-find-generated-file.  If called interactively, prompt for
15121         output file (Bug#7989).
15122         (batch-update-autoloads): Doc fix.
15124 2011-05-04  Juanma Barranquero  <lekktu@gmail.com>
15126         * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
15128 2011-05-04  Glenn Morris  <rgm@gnu.org>
15130         * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
15131         function, so it follows changes in calendar-date-style.
15132         (diary-fancy-date-matcher): New function.
15133         (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
15134         (diary-fancy-font-lock-fontify-region-function):
15135         Use diary-fancy-date-pattern as a function.
15137         * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
15138         non-numbers for `year' etc pseudo-variables.  (Bug#8583)
15140 2011-05-04  Teodor Zlatanov  <tzz@lifelogs.com>
15142         * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
15143         instead of positional arguments.  Allow :keylist and :crlfiles
15144         arguments.
15145         (open-gnutls-stream): Call it.
15147         * net/network-stream.el (network-stream-open-starttls): Adjust to
15148         call `gnutls-negotiate' with :process and :hostname arguments.
15150 2011-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
15152         * minibuffer.el (completion--message): New function.
15153         (completion--do-completion, minibuffer-complete)
15154         (minibuffer-force-complete, minibuffer-complete-word): Use it.
15155         (completion--do-completion): Don't ignore completion-auto-help when in
15156         icomplete-mode.
15158         * whitespace.el (whitespace-trailing-regexp): Don't rely on the
15159         internal encoding (e.g. tibetan zero is not whitespace).
15160         (global-whitespace-mode): Prefer save-current-buffer.
15161         (whitespace-trailing-regexp): Remove useless save-match-data.
15162         (whitespace-empty-at-bob-regexp): Minor simplification.
15164 2011-05-03  Chong Yidong  <cyd@stupidchicken.com>
15166         * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
15168 2011-05-03  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
15170         * textmodes/ispell.el (ispell-add-per-file-word-list):
15171         Use `concat' to create string for insertion.
15173 2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
15175         * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
15176         Avoid open-line which runs post-self-insert-hook.
15177         (bibtex-fill-entry): Remove unused `end' var.
15179 2011-05-03  Dirk Ullrich  <dirk.ullrich@googlemail.com>  (tiny change)
15181         * textmodes/ispell.el (ispell-add-per-file-word-list):
15182         Protect against `nil' value of `comment-start' (Bug#8579).
15184 2011-05-03  Leo Liu  <sdl.web@gmail.com>
15186         * isearch.el (isearch-yank-pop): New command.
15187         (isearch-mode-map): Bind it to `M-y'.
15188         (isearch-forward): Mention it.
15190 2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
15192         * simple.el (minibuffer-complete-shell-command): Remove.
15193         (minibuffer-local-shell-command-map): Use completion-at-point.
15194         (read-shell-command): Setup completion vars here instead.
15195         (read-expression-map): Bind TAB to symbol completion.
15197         * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
15198         error directly rather via storing it into `results'.
15200 2011-05-02  Leo Liu  <sdl.web@gmail.com>
15202         * vc/diff.el: Fix description.
15204 2011-05-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15206         * server.el (server-eval-at): New function.
15208 2011-05-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15210         * net/network-stream.el (open-network-stream): Take a :nowait
15211         parameter and pass it on to `make-network-process'.
15212         (network-stream-open-plain): Ditto.
15214 2011-04-30  Andreas Schwab  <schwab@linux-m68k.org>
15216         * faces.el (face-spec-set-match-display): Don't match toolkit
15217         options on terminal frames.
15219 2011-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
15221         * progmodes/pascal.el: Use lexical binding.
15222         (pascal-mode-map): Remove author preferences.
15224         * pcomplete.el (pcomplete-std-complete): Don't abuse
15225         completion-at-point.
15227 2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
15229         * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
15230         removing code that has been dead since 1991 or so.
15232         * startup.el (command-line): When warning about "_emacs", use a
15233         delayed warning to allow the user to filter it out.
15235 2011-04-28  Deniz Dogan  <deniz@dogan.se>
15237         * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
15238         user has not joined.
15240 2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
15242         * pcomplete.el (pcomplete-completions-at-point): Return nil if there
15243         aren't any completions at point.
15245 2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
15247         * subr.el (display-delayed-warnings): New function.
15248         (delayed-warnings-hook): New variable.
15250 2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
15252         * minibuffer.el (completion-at-point, completion-help-at-point):
15253         Don't presume that a given completion-at-point-function will always
15254         use the same calling convention.
15256         * pcomplete.el (pcomplete-completions-at-point):
15257         Obey pcomplete-ignore-case.  Don't call pcomplete-norm-func unless
15258         pcomplete-seen is non-nil.
15259         (pcomplete-comint-setup): Also recognize the new comint/shell
15260         completion functions.
15261         (pcomplete-do-complete): Don't call pcomplete-norm-func unless
15262         pcomplete-seen is non-nil.
15264 2011-04-27  Niels Giesen  <niels.giesen@gmail.com>
15266         * calendar/icalendar.el (diary-lib): Add require statement.
15267         (icalendar--create-uid): Read out a uid from a text-property on
15268         the first character in the entry.  This allows for code to add its
15269         own uid to the entry.
15270         (icalendar--convert-float-to-ical): Add export of
15271         `diary-float'-entries save for those with the optional DAY
15272         argument.
15274 2011-04-27  Daniel Colascione  <dan.colascione@gmail.com>
15276         * subr.el (shell-quote-argument): Use alternate escaping strategy
15277         when we spot a variable reference in a string.
15279 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
15281         * cus-start.el (all): Define customization for debug-on-event.
15283 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
15285         * subr.el (shell-quote-argument): Escape correctly under Windows.
15287 2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
15289         * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
15291 2011-04-25  Michael Albinus  <michael.albinus@gmx.de>
15293         * net/tramp.el (tramp-process-actions): Add POS argument.
15294         Delete region between POS and (pos).
15296         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
15297         Use `nil' position in `tramp-process-actions' call.
15298         (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
15300         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
15301         position in `tramp-process-actions' call.
15303         * net/trampver.el: Update release number.
15305 2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
15307         * custom.el (defcustom): Obey lexical-binding.
15309         Fix octave-inf completion problems reported by Alexander Klimov.
15310         * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
15311         Inherit from octave-mode-syntax-table.
15312         (inferior-octave-mode): Set info-lookup-mode.
15313         (inferior-octave-completion-at-point): New function.
15314         (inferior-octave-complete): Use it and completion-in-region.
15315         (inferior-octave-dynamic-complete-functions): Use it as well, and use
15316         comint-filename-completion.
15317         * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
15318         symbol elements which shouldn't be word elements.
15319         (octave-font-lock-keywords, octave-beginning-of-defun)
15320         (octave-function-header-regexp): Adjust regexps accordingly.
15321         (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
15323 2011-04-25  Juanma Barranquero  <lekktu@gmail.com>
15325         * net/gnutls.el (gnutls-errorp): Declare before first use.
15327 2011-04-24  Teodor Zlatanov  <tzz@lifelogs.com>
15329         * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
15330         verify-error, and verify-hostname-error parameters.  Check whether
15331         default trustfile exists before going to use it.  Add missing
15332         argument to gnutls-message-maybe call.  Return value.
15333         Reported by Claudio Bley <claudio.bley@gmail.com>.
15334         (open-gnutls-stream): Add usage example.
15336         * net/network-stream.el (network-stream-open-starttls): Give host
15337         parameter to `gnutls-negotiate'.
15338         (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
15339         * subr.el (shell-quote-argument): Escape correctly under Windows.
15341 2011-04-24  Daniel Colascione  <dan.colascione@gmail.com>
15343         * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
15344         Use correct match group (bug#8438).
15346 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
15348         * emacs-lisp/package.el (package-built-in-p): Fix typo.
15349         (package-menu--generate): New arg specifying packages to show.
15350         (package-menu-refresh, package-menu-execute, list-packages):
15351         Callers changed.
15352         (package-show-package-list): New function, replacing deleted
15353         package--list-packages (renamed because it is non-internal).
15355         * finder.el (finder-list-matches): Use package-show-package-list
15356         instead of deleted package--list-packages.
15358         * vc/vc-annotate.el (vc-annotate-goto-line): New command.
15359         Based on a previous implementation by Juanma Barranquero (Bug#8366).
15360         (vc-annotate-mode-map): Bind it to RET.
15362 2011-04-24  Uday S Reddy  <u.s.reddy@cs.bham.ac.uk>  (tiny change)
15364         * progmodes/etags.el (next-file): Don't use set-buffer to change
15365         buffers (Bug#8478).
15367 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
15369         * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
15371         * apropos.el (apropos-label-face): Avoid variable-pitch face.
15372         (apropos-accumulator): Doc fix.
15373         (apropos-function, apropos-macro, apropos-command)
15374         (apropos-variable, apropos-face, apropos-group, apropos-widget)
15375         (apropos-plist): Add face property.
15376         (apropos-symbols-internal): Fix indentation.
15377         (apropos-print): Simplify help, and recognize apropos-multi-type.
15378         (apropos-print-doc): Use button-type-get to extract the button's
15379         face property.  Fill docstring (Bug#8352).
15381 2011-04-23  Juanma Barranquero  <lekktu@gmail.com>
15383         * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
15385         * play/mpuz.el (mpuz-silent): Doc fix.
15386         (mpuz-mode-map): Use mapc.
15387         (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
15388         (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
15389         Fix typos in docstrings.
15391         * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
15392         (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
15394         * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
15396 2011-04-23  Chong Yidong  <cyd@stupidchicken.com>
15398         * minibuffer.el (completion--do-completion): Avoid the "Next char
15399         not unique" prompt if icomplete-mode is enabled (Bug#5849).
15401         * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
15402         mouse-2 into unread-command-events, it is interpreted correctly.
15404         * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
15405         (image-toggle-display): Doc fix.
15407 2011-04-23  Stephen Berman  <stephen.berman@gmx.net>
15409         * textmodes/page.el (what-page): Use line-number-at-pos to
15410         calculate line number (Bug#6825).
15412 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
15414         * eshell/esh-mode.el (find-tag-interactive): Declare function.
15415         (eshell-find-tag): Remove `with-no-warnings', unneeded now.
15416         Pass argument NO-DEFAULT to `find-tag-interactive'.
15418 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
15420         Lexical-binding cleanup.
15422         * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
15423         (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
15424         * progmodes/ada-prj.el (ada-prj-initialize-values)
15425         (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
15426         (ada-prj-show-value):
15427         * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
15428         * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
15429         (antlr-invalidate-context-cache, antlr-options-menu-filter)
15430         (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
15431         * progmodes/bug-reference.el (bug-reference-push-button):
15432         * progmodes/fortran.el (fortran-line-length):
15433         * progmodes/glasses.el (glasses-change):
15434         * progmodes/octave-mod.el (octave-fill-paragraph):
15435         * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
15436         (python-pdbtrack-grub-for-buffer, python-sentinel):
15437         * progmodes/sql.el (sql-save-connection):
15438         * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
15439         * progmodes/xscheme.el (xscheme-enter-debugger-mode):
15440         Mark unused parameters.
15442         * progmodes/compile.el (compilation--flush-directory-cache)
15443         (compilation--flush-parse, compile-internal): Mark unused parameters.
15444         (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
15445         (compilation-next-error-function): Remove unused variable `timestamp'.
15447         * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
15448         (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
15450         * progmodes/dcl-mode.el (dcl-end-of-command):
15451         Remove unused variable `start'.
15452         (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
15453         (dcl-option-value-basic, dcl-option-value-offset)
15454         (dcl-option-value-margin-offset, dcl-option-value-comment-line):
15455         Mark unused parameters.
15456         (dcl-save-local-variable): Remove unused variable `val'.
15457         (mode): Declare.
15459         * progmodes/delphi.el (delphi-save-state, delphi-after-change):
15460         Mark unused parameters.
15461         (delphi-ignore-changes): Move before first use.
15462         (delphi-charset-token-at): Remove unused variable `start'.
15463         (delphi-else-start): Remove unused variable `if-count'.
15464         (delphi-comment-block-start, delphi-comment-block-end):
15465         Remove unused variable `kind'.
15466         (delphi-indent-line): Remove unused variable `new-point'.
15468         * progmodes/ebrowse.el (ebrowse-files-list)
15469         (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
15470         Mark unused parameters.  Don't quote `lambda'.
15471         (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
15472         Don't quote `lambda'.
15473         (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
15474         (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
15475         (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
15476         (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
15477         Use `ignore-errors'.
15478         (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
15479         (ebrowse-view/find-file-and-search-pattern)
15480         (ebrowse-view/find-member-declaration/definition):
15481         Rename parameter TAGS-FILE-NAME to TAGS-FILE.
15482         (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
15483         Rename parameter PREFIX-ARG to PREFIX.
15484         (ebrowse-tags-read-name): Remove unused variables `start' and
15485         `member-info'.
15486         (ebrowse-display-member-buffer): Rename variable `tags-file-name'
15487         to `tags-file'.
15489         * progmodes/etags.el (local-find-tag-hook): Declare.
15490         (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
15491         Mark unused parameters.
15493         * progmodes/executable.el (compilation-error-regexp-alist): Declare.
15494         (executable-interpret): Mark unused parameter.
15496         * progmodes/flymake.el (flymake-process-sentinel)
15497         (flymake-after-change-function)
15498         (flymake-create-temp-with-folder-structure)
15499         (flymake-get-include-dirs-dot): Mark unused parameters.
15500         (flymake-safe-delete-directory): Remove unused variable `err'.
15502         * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
15503         (speedbar-timer-fn, speedbar-line-text)
15504         (speedbar-change-expand-button-char, speedbar-delete-subblock)
15505         (speedbar-center-buffer-smartly): Declare functions.
15506         (gdb-find-watch-expression): Remove unused variable `array'.
15507         (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
15508         (gdb-starting): Mark unused parameters.
15509         (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
15510         (gdb-table-string): Remove unused variable `res'.
15511         (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
15512         (gdb-disassembly-handler-custom): Remove unused variable `pos'.
15513         (gdb-display-buffer): Remove unused variable `cur-size'.
15515         * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
15516         allow lexical-binding compilation.
15517         (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
15518         (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
15519         (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
15520         Mark unused parameters.
15521         (gud-gdb-marker-filter): Remove unused variable `match'.
15522         (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
15523         lambda expressions and funcall them, instead of using `fset'.
15525         * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
15526         HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
15528         * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
15529         variable `header-beg'; use `let'.
15531         * progmodes/icon.el (indent-icon-exp): Remove unused variables
15532         `restart', `last-sexp' and `at-do'.
15534         * progmodes/js.el (js--debug): Mark unused parameter.
15535         (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
15536         (js--splice-into-items): Remove unused variable `item'.
15537         (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
15539         * progmodes/make-mode.el (makefile-make-font-lock-keywords):
15540         Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
15541         (makefile-complete): Remove unused variable `try'.
15542         (makefile-fill-paragraph, makefile-match-function-end):
15543         Mark unused parameters.
15545         * progmodes/octave-inf.el (inferior-octave-complete):
15546         Remove unused variable `proc'.
15547         (inferior-octave-output-digest): Mark unused parameter.
15549         * progmodes/perl-mode.el (perl-calculate-indent):
15550         Remove unused variable `err'.
15552         * progmodes/prolog.el (prolog-mode-keybindings-inferior)
15553         (prolog-indent-line): Mark unused parameters.
15554         (prolog-indent-line): Remove unused variable `beg'.
15556         * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
15557         (reporter-dont-compact-list): Declare.
15559         * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
15560         Remove unused variable `char'.
15561         (sh-debug): Mark unused parameter.
15562         (sh-get-indent-info): Remove unused variable `start'.
15563         (sh-calculate-indent): Remove unused variable `var'.
15565         * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
15566         (simula-electric-keyword): Remove unused variable `null'.
15567         (simula-search-backward, simula-search-forward): Remove unused
15568         variables `begin' and `end'.
15570         * progmodes/vera-mode.el (vera-guess-basic-syntax):
15571         Remove unused variable `pos'.
15572         (vera-electric-tab, vera-comment-uncomment-region):
15573         Mark unused parameters.
15574         (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
15576 2011-04-22  Chong Yidong  <cyd@stupidchicken.com>
15578         * emacs-lisp/package.el (package--builtins, package-alist)
15579         (package-load-descriptor, package-built-in-p, package-activate)
15580         (define-package, package-installed-p)
15581         (package-compute-transaction, package-buffer-info)
15582         (package--push): Doc fix.  Distinguish more clearly between
15583         version strings and version lists.
15585 2011-04-21  Juanma Barranquero  <lekktu@gmail.com>
15587         Lexical-binding cleanup.
15589         * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
15590         (5x5-make-mutate-best):
15591         * play/fortune.el (fortune-in-buffer):
15592         * play/gomoku.el (gomoku-init-display):
15593         * play/solitaire.el (solitaire, solitaire-do-check):
15594         * play/tetris.el (tetris-default-update-speed-function):
15595         Mark unused parameters.
15597         * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
15598         (bubbles--shift): Remove unused variable `char-org'.
15599         (bubbles--set-faces): Remove unused variable `fg-col'.  Simplify.
15600         (bubbles--show-images): Remove unused variable `char'.
15602         * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
15603         (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
15604         (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
15605         (decipher-analyze-buffer): Use ?\s.
15606         (decipher-make-checkpoint): Remove unused variable `mapping'.
15608         * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
15610         * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
15611         Remove unused variable `result'; use `let'.
15613         * play/gametree.el (gametree-current-layout, gametree-apply-layout):
15614         Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
15615         (gametree-children-shown-p, gametree-compute-reduced-score):
15616         Use `ignore-errors'.
15618         * play/handwrite.el (ps-lpr-switches): Declare.
15619         (handwrite): Remove unused variables `pmin' and `lastp'.
15621         * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
15623         * play/landmark.el (landmark-init-display)
15624         (landmark-update-naught-weights): Mark unused parameters.
15625         (landmark-y): Remove unused variable `noise'.  Simplify.
15626         (landmark-human-plays): Remove unused variable `score'.
15628         * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
15629         (mpuz-try-proposal): Remove unused variable `game'.
15631         * play/zone.el (life-patterns): Declare.
15633 2011-04-20  Juanma Barranquero  <lekktu@gmail.com>
15635         * vc/vc.el (ediff-vc-internal): Declare function.
15637 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
15639         * shell.el: Use lexical-binding and std completion UI.
15640         (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
15641         (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
15642         comint-preoutput-filter-functions rather than on
15643         comint-output-filter-functions.
15644         (shell-command-completion, shell--command-completion-data)
15645         (shell-filename-completion, shell-environment-variable-completion)
15646         (shell-c-a-p-replace-by-expanded-directory): New functions.
15647         (shell-dynamic-complete-functions, shell-dynamic-complete-command)
15648         (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
15649         (shell-dynamic-complete-environment-variable): Use them.
15650         (shell-dynamic-complete-as-environment-variable)
15651         (shell-dynamic-complete-as-command): Remove.
15652         (shell-match-partial-variable): Match past point.
15653         * comint.el: Clean up use of completion-at-point-functions.
15654         (comint-completion-at-point): New function.
15655         (comint-mode): Use it completion-at-point-functions.
15656         (comint-dynamic-complete): Make it obsolete.
15657         (comint-replace-by-expanded-history-before-point): Add dry-run arg.
15658         (comint-c-a-p-replace-by-expanded-history): New function.
15659         (comint-dynamic-complete-functions)
15660         (comint-replace-by-expanded-history): Use it.
15661         * minibuffer.el (completion-table-with-terminator): Allow dynamic
15662         termination strings.  Try harder to avoid second try-completion.
15663         (completion-in-region-mode-map): Disable bindings that don't work yet.
15665         * comint.el: Use lexical-binding.  Require CL.
15666         (comint-dynamic-complete-functions): Use comint-filename-completion.
15667         (comint-completion-addsuffix): Tweak custom type.
15668         (comint-filename-completion, comint--common-suffix)
15669         (comint--common-quoted-suffix, comint--table-subvert)
15670         (comint--complete-file-name-data): New functions.
15671         (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
15672         (comint-dynamic-list-filename-completions): Use them.
15673         (comint-dynamic-simple-complete): Make obsolete.
15675         * minibuffer.el (completion-in-region-mode):
15676         Keep completion-in-region-mode--predicate global.
15677         (completion-in-region--postch):
15678         Assume completion-in-region-mode--predicate is not null.
15680         * progmodes/flymake.el (flymake-start-syntax-check-process):
15681         Obey `dir'.  Simplify.
15683         * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
15684         we're in VC after all.
15686 2011-04-20  Christoph Scholtes  <cschol2112@googlemail.com>
15688         * vc/vc.el (vc-diff-build-argument-list-internal)
15689         (vc-version-ediff, vc-ediff): New commands.
15690         (vc-version-diff): Use vc-diff-build-argument-list-internal.
15692 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
15694         * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
15695         add sanity check.
15697         * obsolete/erc-hecomplete.el: Make obsolete.
15698         * obsolete/: Standardize obsolescence info in the header.
15700 2011-04-20  Glenn Morris  <rgm@gnu.org>
15702         * calendar/solar.el (solar-horizontal-coordinates):
15703         Use the longitude argument rather than `calendar-longitude'.
15704         (solar-date-next-longitude): Remove unused locals.
15706 2011-04-20  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
15708         * whitespace.el: New version 13.2.1.
15710 2011-04-20  felix  <EmacsWiki>  (tiny change)
15712         * whitespace.el (global-whitespace-mode): Keep highlight when
15713         switching between major modes on a file.
15715 2011-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
15717         * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
15718         (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
15719         multi-line comments as well.
15721 2011-04-19  Juanma Barranquero  <lekktu@gmail.com>
15723         Lexical-binding cleanup.
15725         * arc-mode.el (archive-mode-revert):
15726         * cmuscheme.el (scheme-interactively-start-process):
15727         * custom.el (custom-initialize-delay):
15728         * dnd.el (dnd-open-local-file, dnd-open-remote-url):
15729         * dos-w32.el (direct-print-region-helper, direct-print-region-function):
15730         * emacs-lock.el (emacs-lock-clear-sentinel):
15731         * ezimage.el (defezimage):
15732         * follow.el (follow-avoid-tail-recenter):
15733         * fringe.el (set-fringe-mode-1):
15734         * generic-x.el (bat-generic-mode-compile):
15735         * help-mode.el (help-info-variable, help-do-xref)
15736         (help-mode-revert-buffer):
15737         * help.el (view-emacs-todo):
15738         * iswitchb.el (iswitchb-completion-help):
15739         * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
15740         * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
15741         (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
15742         * locate.el (locate-update):
15743         * longlines.el (longlines-encode-region)
15744         (longlines-after-change-function):
15745         * outline.el (outline-isearch-open-invisible):
15746         * ps-def.el (declare-function, charset-dimension, char-width)
15747         (encode-char):
15748         * ps-mule.el (ps-mule-plot-string):
15749         * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
15750         (recentf-edit-list-select, recentf-edit-list-validate)
15751         (recentf-open-files-action):
15752         * rect.el (delete-whitespace-rectangle-line)
15753         (rectangle-number-line-callback):
15754         * register.el (window-configuration-to-register)
15755         (frame-configuration-to-register):
15756         * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
15757         * select.el (xselect-convert-to-string, xselect-convert-to-length)
15758         (xselect-convert-to-targets, xselect-convert-to-delete)
15759         (xselect-convert-to-filename, xselect-convert-to-charpos)
15760         (xselect-convert-to-lineno, xselect-convert-to-colno)
15761         (xselect-convert-to-os, xselect-convert-to-host)
15762         (xselect-convert-to-user, xselect-convert-to-class)
15763         (xselect-convert-to-name, xselect-convert-to-integer)
15764         (xselect-convert-to-atom, xselect-convert-to-identity):
15765         * subr.el (declare, ignore, process-kill-without-query)
15766         (text-clone-maintain):
15767         * terminal.el (te-get-char, te-tic-sentinel):
15768         * tool-bar.el (tool-bar-make-keymap):
15769         * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
15770         * type-break.el (type-break-mode, type-break-noninteractive-query):
15771         * view.el (View-back-to-mark):
15772         * wid-browse.el (widget-browse-action, widget-browse-widget)
15773         (widget-browse-widgets, widget-browse-sexp):
15774         * widget.el (define-widget-keywords):
15775         * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
15776         Mark unused parameters.
15778         * align.el (align-adjust-col-for-rule): Mark unused parameter.
15779         (align-areas): Remove unused variable `look'.
15780         (align-region): Remove unused variables `real-end' and `pos-list'.
15782         * apropos.el (apropos-score-doc): Remove unused variable `i'.
15784         * bindings.el (mode-line-modified, mode-line-remote):
15785         Mark unused parameters.
15786         (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
15788         * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
15789         (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
15791         * comint.el (comint-history-isearch-pop-state)
15792         (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
15793         (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
15794         (comint-substitute-in-file-name): Doc fix.
15796         * completion.el (cmpl-statistics-block): Mark unused parameter.
15797         (add-completions-from-tags-table, add-completions-from-lisp-buffer)
15798         (save-completions-to-file, load-completions-from-file):
15799         Remove unused local variable `e'.
15801         * composite.el (compose-chars): Remove unused variable `len'.
15802         (lgstring-insert-glyph): Remove unused variable `g'.
15803         (compose-glyph-string): Remove unused variables `ascent',
15804         `descent', `lbearing' and `rbearing'.
15805         (compose-glyph-string-relative): Remove unused variables
15806         `lbearing', `rbearing' and `wadjust'.
15807         (compose-gstring-for-graphic): Remove unused variables `header',
15808         `wadjust', `xoff' and `yoff'.  Use `let', not `let*'.
15809         (compose-gstring-for-terminal): Remove unused variables `header'
15810         and `nchars'.  Use `let', not `let*'.
15812         * cus-edit.el (Custom-set, Custom-save, custom-reset)
15813         (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
15814         (Custom-buffer-done, custom-buffer-create-internal)
15815         (custom-browse-visibility-action, custom-browse-group-tag-action)
15816         (custom-browse-variable-tag-action, custom-browse-face-tag-action)
15817         (widget-magic-mouse-down-action, custom-toggle-parent)
15818         (custom-add-parent-links, custom-toggle-hide-variable)
15819         (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
15820         (custom-toggle-hide-face, face, hook, custom-group-link-action)
15821         (custom-face-menu-create, custom-variable-menu-create, get)
15822         (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
15823         (custom-reset-standard-save-and-update): Remove unused variable `value'.
15824         (customize-apropos): Remove unused variable `tests'.
15825         (custom-group-value-create): Remove unused variable `hidden-p'.
15826         (sort-fold-case): Declare.
15828         * cus-theme.el (custom-reset-standard-faces-list)
15829         (custom-reset-standard-variables-list): Declare.
15830         (customize-create-theme, custom-theme-revert, custom-theme-write)
15831         (custom-theme-choose-mode, customize-themes, custom-theme-save):
15832         Mark unused parameters.
15834         * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
15836         * delim-col.el (delimit-columns-max): Move defvar before first use.
15838         * descr-text.el (describe-char-categories): Don't quote `lambda'.
15839         (describe-char): Don't quote `lambda'.  Mark unused parameter.
15841         * desktop.el (desktop-save-buffer-p): Mark unused parameter.
15842         (auto-insert): Declare.
15843         (desktop-restore-file-buffer): Rename desktop-* parameters;
15844         mark unused ones.
15845         (desktop-create-buffer): Rename desktop-* parameters and bind them.
15846         (desktop-buffer): Rename desktop-* parameters.
15848         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
15849         (dframe-reposition-frame-xemacs, dframe-help-echo)
15850         (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
15851         Mark unused parameters.
15853         * dired-aux.el (backup-extract-version-start, overwrite-query)
15854         (overwrite-backup-query, rename-regexp-query)
15855         (rename-non-directory-query): Declare.
15856         (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
15857         (dired-add-entry): Remove unused variable `orig-file-name'.
15858         (dired-copy-file-recursive): Remove unused variable `dirfailed'.
15859         Use parameter PRESERVE-TIME instead of accessing dynamic variable
15860         `dired-copy-preserve-time' directly.
15861         (dired-do-create-files-regexp): Remove unused variable `fn-count'.
15862         (dired-insert-subdir-newpos): Rename unused variable `pos'.
15864         * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
15865         (dired-virtual-revert, dired-make-relative-symlink):
15866         Mark unused parameters.
15867         (manual-program): Declare.
15868         (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
15869         (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
15870         wrapped in `with-no-warnings' to avoid replacing one warning by another.
15872         * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
15874         * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
15876         * echistory.el (electric-history-in-progress, Helper-return-blurb):
15877         Declare.
15879         * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
15881         * electric.el (Electric-command-loop): Rename parameter
15882         INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
15884         * expand.el (expand-in-literal): Remove unused variable `here'.
15886         * facemenu.el (facemenu-add-new-color):
15887         Remove unused variable `docstring'.
15889         * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
15890         (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
15891         (face-attr-construct): Mark unused parameter.  Doc fix.
15892         (read-color): Remove unused variable `hex-string'.
15894         * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
15895         (locate-dominating-file): Remove unused vars `prev-file' and `user'.
15896         (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
15897         (display-buffer-other-frame): Remove unused variable `old-window'.
15898         (kill-buffer-hook): Declare.
15899         (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
15900         Mark unused parameters.
15901         (after-find-file): Pass 1 to `auto-save-mode', not t.
15903         * files-x.el (auto-insert): Declare.
15904         (modify-file-local-variable-prop-line): Remove unused variable `val'.
15906         * find-lisp.el (find-lisp-find-dired-internal): Remove unused
15907         variable `buf'.  Mark unused parameter.
15908         (find-lisp-insert-directory): Mark unused parameter.
15910         * format.el (format-decode-run-method): Mark unused parameter; doc fix.
15911         (format-encode-region): Remove unused variables `cur-buf' and `result'.
15912         (format-common-tail): Remove, unused.
15913         (format-deannotate-region): Remove unused variable `loc'.
15914         (format-annotate-region): Remove unused variable `p'.
15915         (format-annotate-single-property-change): Remove unused variables
15916         `default' and `tail'.
15918         * forms.el (read-file-filter): Declare.
15919         (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
15921         * frame.el (frame-creation-function-alist): Mark unused parameter.
15922         (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
15924         * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
15925         Remove unused parameters.
15926         (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
15927         (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
15929         * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
15930         (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
15931         (hfy-prepare-tag-map): Mark unused parameters.
15932         (htmlfontify-buffer): Use `called-interactively-p'.
15934         * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
15935         (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
15936         (ibuffer-do-occur): Mark unused parameters.
15937         (ibuffer-forward-next-marked): Remove unused variable `curmark'.
15938         (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
15940         * ibuffer.el: Don't quote `lambda'.
15941         (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
15942         (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
15943         Mark unused parameters.
15945         * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
15946         (ido-completing-read): Mark unused parameters.
15947         (ido-copy-current-word): Mark unused parameters;
15948         remove unused variable `name'.
15949         (ido-sort-merged-list): Remove unused parameter `dirs'.
15951         * ielm.el (ielm-input-sender): Mark unused parameter.
15952         (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
15953         (ielm-output, ielm-wbuf, ielm-pmark): Declare.
15954         (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
15955         `ielm-string' as a dynamic variable accessible from the IELM prompt.
15956         Bind `ielm-string' to INPUT-STRING.  Remove unused variable `err'.
15958         * image-dired.el (image-dired-display-thumbs): Remove unused
15959         variables `curr-file' and `count'.
15960         (image-dired-remove-tag): Remove unused variable `start'.
15961         (image-dired-tag-files, image-dired-create-thumbs): Remove unused
15962         variable `curr-file'
15963         (image-dired-rotate-original): Remove unused variable `temp-file'.
15964         (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
15965         Remove unused variable `file'.
15966         (image-dired-gallery-generate): Remove unused variable `curr'.
15967         (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
15969         * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
15971         * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
15973         * informat.el (texinfo-command-start, texinfo-command-end): Declare.
15975         * isearch.el (minibuffer-history-symbol): Declare.
15976         (isearch-edit-string): Remove unused variable `err'.
15977         (isearch-message-prefix, isearch-message-suffix):
15978         Mark unused parameters.
15980         * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
15982         * macros.el (insert-kbd-macro): Remove unused variable `mods'.
15984         * makesum.el (double-column): Remove unused variable `cnt'.
15986         * misearch.el (multi-isearch-pop-state): Mark unused parameter.
15987         (ido-ignore-item-temp-list): Declare.
15989         * mouse-drag.el (mouse-drag-throw): Remove unused variables
15990         `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
15991         `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
15992         (mouse-drag-drag): Remove unused variables `mouse-delta' and
15993         `mouse-col-delta'.
15995         * mouse-sel.el (mouse-extend-internal):
15996         Remove unused variable `orig-window-frame'.
15998         * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
15999         (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
16000         Move declarations before first use.
16001         (pcomplete-opt): Mark unused parameters; doc fix.
16003         * proced.el (proced-revert): Mark unused parameter.
16004         (proced-send-signal): Remove unused variable `err'.
16006         * ps-print.el (ps-print-preprint-region, ps-print-preprint):
16007         Rename parameter PREFIX-ARG to ARG.
16008         (ps-basic-plot-string, ps-basic-plot-whitespace):
16009         Mark unused parameters.
16011         * replace.el (replace-count): Define.
16012         (occur-revert-function): Mark unused parameters.
16013         (ido-ignore-item-temp-list, isearch-error, isearch-forward)
16014         (isearch-case-fold-search, isearch-string): Declare.
16015         (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
16016         bind `case-fold-search'.  Remove unused variables `beg' and `end',
16017         and simplify.
16018         (replace-eval-replacement): Rename parameter REPLACE-COUNT to
16019         COUNT and bind `replace-count'.
16020         (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
16021         to COUNT.
16023         * savehist.el (print-readably, print-string-length): Declare.
16025         * shadowfile.el (shadow-expand-cluster-in-file-name):
16026         Remove unused variable `cluster'.
16027         (shadow-copy-file): Remove unused variable `i'.
16028         (shadow-noquery, shadow-clusters, shadow-site-cluster)
16029         (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
16030         (shadow-define-literal-group, shadow-define-regexp-group)
16031         (shadow-make-group, shadow-shadows-of): Clean up docstrings.
16033         * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
16034         (shell): Use `called-interactively-p'.
16035         (shell-directory-tracker): Remove unused variable `chdir-failure'.
16037         * simple.el (compilation-context-lines, comint-file-name-quote-list)
16038         (comint-file-name-chars, comint-delimiter-argument-list): Declare.
16039         (delete-backward-char): Remove unused variable `ocol'.
16040         (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
16041         (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
16042         (event-apply-hyper-modifier, event-apply-shift-modifier)
16043         (event-apply-control-modifier, event-apply-meta-modifier):
16044         Mark unused parameters.
16045         (undo-make-selective-list): Remove duplicate variable `undo-elt'.
16046         (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
16048         * speedbar.el (speedbar-ignored-directory-expressions)
16049         (speedbar-supported-extension-expressions, speedbar-directory-buttons)
16050         (speedbar-find-file, speedbar-dir-follow)
16051         (speedbar-directory-buttons-follow, speedbar-tag-find)
16052         (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
16053         (speedbar-buffers-line-directory, speedbar-buffer-click):
16054         Mark unused parameters.
16055         (speedbar-tag-file): Remove unused variable `mode'.
16056         (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
16058         * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
16060         * talk.el (talk): Remove unused variable `display'.
16062         * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
16063         (tar-write-region-annotate): Mark unused parameter.
16065         * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
16066         (minutes, seconds, time-zone, day, year, monthname, month, dayname):
16067         Declare them, wrapped in `with-no-warnings' to avoid replacing one
16068         warning by another.
16070         * time-stamp.el (time-stamp-string-preprocess):
16071         Remove unused variable `require-padding'.
16073         * tree-widget.el (widget-glyph-enable): Declare.
16074         (tree-widget-action): Mark unused parameter.
16076         * w32-fns.el (x-get-selection): Mark unused parameter.
16077         (autoload-make-program, generated-autoload-file): Declare.
16079         * wdired.el (wdired-revert): Mark unused parameters.
16080         (wdired-xcase-word): Remove unused variable `err'.
16082         * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
16083         (whitespace-help-scroll): Remove unused variable `data-help'.
16085         * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
16086         (widget-image-insert, widget-after-change, default)
16087         (widget-default-format-handler, widget-default-notify)
16088         (widget-default-prompt-value, widget-info-link-action)
16089         (widget-url-link-action, widget-function-link-action)
16090         (widget-variable-link-action, widget-file-link-action)
16091         (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
16092         (widget-field-prompt-internal, widget-field-action, widget-field-match)
16093         (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
16094         (widget-insert-button-action, widget-delete-button-action, visibility)
16095         (widget-documentation-link-action, widget-documentation-string-action)
16096         (widget-const-prompt-value, widget-regexp-match, symbol)
16097         (widget-coding-system-prompt-value)
16098         (widget-key-sequence-value-to-external, sexp)
16099         (widget-sexp-value-to-internal, character, vector, cons)
16100         (widget-choice-prompt-value, widget-boolean-prompt-value)
16101         (widget-color--choose-action): Mark unused parameters.
16102         (widget-item-match-inline, widget-choice-match-inline)
16103         (widget-checklist-match, widget-checklist-match-inline)
16104         (widget-group-match): Rename parameter VALUES to VALS.
16105         (widget-field-value-set): Remove unused variable `size'.
16106         (widget-color-action): Remove unused variables `value' and `start'.
16108         * windmove.el (windmove-wrap-loc-for-movement): Remove unused
16109         variable `dir'.  Doc fix.
16110         (windmove-find-other-window): Don't pass it.
16112         * window.el (count-windows): Mark unused parameter.
16113         (bw-adjust-window): Remove unused variable `err'.
16115         * woman.el (woman-file-name): Remove unused variable `default'.
16116         (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
16117         WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
16118         (global-font-lock-mode): Declare.
16119         (woman-decode-region): Mark unused parameter.
16120         (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
16122         * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
16123         (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
16124         (x-dnd-handle-moz-url): Remove unused variable `title'.
16125         (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
16127         * xml.el (xml-parse-tag, xml-parse-attlist):
16128         Remove unused variable `pos'.
16130 2011-04-19  Glenn Morris  <rgm@gnu.org>
16132         * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
16133         (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
16134         (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
16135         (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
16136         * calendar/cal-html.el (cal-html-insert-minical):
16137         * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
16138         (calendar-mark-date-pattern):
16139         Prefix "unused" locals.
16141         * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
16142         optional argument `style'.
16144         * calendar/appt.el (appt-make-list):
16145         * calendar/cal-china.el (calendar-chinese-date-string):
16146         * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
16147         (diary-hebrew-yahrzeit):
16148         * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
16149         * calendar/calendar.el (calendar-generate-window):
16150         * calendar/time-date.el (time-to-days):
16151         Remove unused local variables.
16153 2011-04-18  Chong Yidong  <cyd@stupidchicken.com>
16155         * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
16156         glyphless-char-display table.
16157         (tabulated-list-glyphless-char-display): New var.
16159 2011-04-18  Sam Steingold  <sds@gnu.org>
16161         * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
16162         to acknowledgments.
16164 2011-04-17  Glenn Morris  <rgm@gnu.org>
16166         * calendar/diary-lib.el (diary-sexp-entry):
16167         * calendar/holidays.el (holiday-sexp):
16168         Set debug-on-error rather than the removed stack-trace-on-error.
16170 2011-04-16  Glenn Morris  <rgm@gnu.org>
16172         * progmodes/f90.el: Use lexical-binding.
16173         (f90-get-correct-indent): Remove unnecessary local variable `cont'.
16175 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
16177         * mail/sendmail.el (mail-mode-map): Use completion-at-point.
16178         (mail-mode): Setup mailalias completion here instead.
16179         * mail/mailalias.el: Use lexical-binding.
16180         (pattern, mailalias-done): Declare dynamic.
16181         (mail-completion-at-point-function): New function, from mail-complete.
16182         (mail-complete): Use it.
16183         (mail-completion-expand): New function.
16184         (mail-get-names): Use it.
16185         (mail-directory, mail-directory-process, mail-directory-stream):
16186         Don't use `pattern' for lexically bound arg.
16188         * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
16190         * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
16191         (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
16192         (hfy-etags-cmd-alist): Don't eval-and-compile any more.
16194         * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
16195         (byte-save-window-excursion, byte-temp-output-buffer-setup)
16196         (byte-interactive-p): Define them again, for use when inlining
16197         old code.
16199 2011-04-15  Juanma Barranquero  <lekktu@gmail.com>
16201         * loadup.el: Use `string-to-number', not `string-to-int'.
16203 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
16205         * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
16206         gud-gdb-complete-command.
16207         (gud-gdb-completions): New function, from gud-gdb-complete-command.
16208         (gud-gdb-completion-at-point): New function.
16209         (gud-gdb-completions): Remove.
16211 2011-04-14  Michael Albinus  <michael.albinus@gmx.de>
16213         * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
16214         when the scripts fail.  Use `tramp-do-file-attributes-with-ls' then.
16215         (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
16216         whether `executable-find' is bound.
16218         * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
16220 2011-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
16222         * minibuffer.el (completion-in-region-mode-predicate)
16223         (completion-in-region-mode--predicate): New vars.
16224         (completion-in-region, completion-in-region--postch)
16225         (completion-in-region-mode): Use them.
16226         (completion--capf-wrapper): Also return the hook function.
16227         (completion-at-point, completion-help-at-point):
16228         Adjust and provide a predicate.
16230         Preserve arg names for advice of subr and lexical functions (bug#8457).
16231         * help-fns.el (help-function-arglist): Consolidate the subr and
16232         new-byte-code cases.  Add argument `preserve-names' to extract names
16233         from the docstring when needed.
16234         * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
16235         (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
16236         (ad-arglist): Use help-function-arglist's new arg.
16237         (ad-definition-type): Use cond.
16239 2011-04-13  Juanma Barranquero  <lekktu@gmail.com>
16241         * autorevert.el (auto-revert-handler):
16242         Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
16243         which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
16244         Don't quote lambda.
16246         * image-mode.el (image-transform-set-scale):
16247         Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
16249 2011-04-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16251         * net/network-stream.el (network-stream-open-starttls): Only do
16252         opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
16253         Upgrades via gnutls-cli are too slow to be done opportunistically.
16255 2011-04-12  Juanma Barranquero  <lekktu@gmail.com>
16257         * dframe.el (dframe-current-frame): Remove spurious quote.
16259 2011-04-12  Glenn Morris  <rgm@gnu.org>
16261         * calendar/cal-tex.el (cal-tex-end-document):
16262         Try to automatically use latin1 input if needed.
16264         * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
16265         Don't try to cons a mark onto an empty element.
16267 2011-04-11  Leo Liu  <sdl.web@gmail.com>
16269         * ido.el (ido-buffer-internal): Allow method 'kill for virtual
16270         buffers.
16271         (ido-kill-buffer-at-head): Support killing virtual buffers.
16273 2011-04-10  Chong Yidong  <cyd@stupidchicken.com>
16275         * minibuffer.el (completion-show-inline-help): New var.
16276         (completion--do-completion, minibuffer-complete)
16277         (minibuffer-force-complete, minibuffer-complete-word):
16278         Inhibit minibuffer messages if completion-show-inline-help is nil.
16280         * icomplete.el (icomplete-mode): Bind completion-show-inline-help
16281         to avoid interference from inline help (Bug#5849).
16283 2011-04-10  Leo Liu  <sdl.web@gmail.com>
16285         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
16286         Fix typo.
16288 2011-04-09  Chong Yidong  <cyd@stupidchicken.com>
16290         * image-mode.el (image-toggle-display-image): Signal an error if
16291         not in Image mode.
16292         (image-transform-mode, image-transform-resize)
16293         (image-transform-set-rotation): Doc fix.
16294         (image-transform-set-resize): Delete.
16295         (image-transform-set-scale, image-transform-fit-to-height)
16296         (image-transform-fit-to-width): Handle image-toggle-display-image
16297         and image-transform-resize directly.
16299 2011-04-08  Sho Nakatani  <lay.sakura@gmail.com>
16301         * doc-view.el (doc-view-fit-width-to-window)
16302         (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
16303         New functions for fitting the shown image to the Emacs window size.
16304         (doc-view-mode-map): Add bindings for the new functions.
16306 2011-04-08  Juanma Barranquero  <lekktu@gmail.com>
16308         * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
16309         Fix typo in docstring.
16311 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
16313         * files.el (file-size-human-readable): Produce one digit after
16314         decimal, like "ls -lh" does.
16316         * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
16317         the file size representation.
16319         * simple.el (list-processes): If async subprocesses are not
16320         available, error out with a clear error message.
16322 2011-04-08  Chong Yidong  <cyd@stupidchicken.com>
16324         * help.el (help-form-show): New function, to be called from C.
16325         Put help-form output in a buffer named differently than *Help*.
16327 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
16329         * files.el (file-size-human-readable): New function.
16331         * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
16332         computing the representation inline.  Don't require `cl'.
16334 2011-04-08  Glenn Morris  <rgm@gnu.org>
16336         * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
16338         * net/browse-url.el (browse-url-firefox):
16339         Test system-type, not system-configuration.
16341         * vc/log-edit.el (log-edit-empty-buffer-p): New function.
16342         (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
16343         Use log-edit-empty-buffer-p.  (Bug#7598)
16345         * net/rlogin.el (rlogin-process-connection-type): Simplify.
16346         (rlogin-mode-map): Initialize in the defvar.
16347         (rlogin): Use ignore-errors.
16349         * replace.el (occur-mode-map): Some fixes for menu items.
16351 2011-04-07  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
16353         * play/morse.el (denato-region): Handle varying case.  (Bug#8386)
16355 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
16357         * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
16358         issuing unused warnings.
16360         * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
16361         macro directly.
16363         * simple.el: Lisp reimplement of list-processes.  Based on an
16364         earlier reimplementation by Leo Liu, but using tabulated-list.el.
16365         (process-menu-mode): New major mode.
16366         (list-processes--refresh, list-processes):
16367         (process-menu-visit-buffer): New functions.
16369         * files.el (save-buffers-kill-emacs): Don't assume any return
16370         value of list-processes, which is undocumented anyway.
16372 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
16374         * emacs-lisp/tabulated-list.el: New file.
16376         * emacs-lisp/package.el: Use Tabulated List mode.
16377         (package-menu-mode-map): Inherit from tabulated-list-mode-map.
16378         (package-menu-mode): Derive from tabulated-list-mode.  Set up the
16379         table format using Tabulated List mode variables.
16380         (package--push): New macro, replacing package-list-maybe-add.
16381         (package-menu--generate): Use package--push.  Renamed from
16382         package--generate-package-list.
16383         (package-menu-refresh, list-packages): Use it.
16384         (package-menu--print-info): Rename from package-print-package.
16385         Return insertion data instead of inserting it directly.
16386         (package-menu-describe-package, package-menu-execute):
16387         Use tabulated-list-get-id.
16388         (package-menu-mark-delete, package-menu-mark-install)
16389         (package-menu-mark-unmark, package-menu-backup-unmark)
16390         (package-menu-mark-obsolete-for-deletion):
16391         Use tabulated-list-put-tag.
16392         (package--list-packages, package-menu-revert)
16393         (package-menu-get-package, package-menu-get-version)
16394         (package-menu-sort-by-column): Functions deleted.
16395         (package-menu-package-list, package-menu-sort-key): Vars deleted.
16396         (package-menu--status-predicate, package-menu--version-predicate)
16397         (package-menu--name-predicate)
16398         (package-menu--description-predicate): Handle arguments in the
16399         Tabulated List format.
16400         (package-list-packages-no-fetch): Call list-packages.
16402 2011-04-06  Juanma Barranquero  <lekktu@gmail.com>
16404         * files.el (after-find-file-from-revert-buffer): Remove variable.
16405         (after-find-file): Don't bind it.
16406         (revert-buffer-in-progress-p): New variable.
16407         (revert-buffer): Bind it.
16408         Pass nil for `after-find-file-from-revert-buffer'.
16410         * saveplace.el (save-place-find-file-hook): Use new variable
16411         `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
16413 2011-04-06  Glenn Morris  <rgm@gnu.org>
16415         * Makefile.in (AUTOGEN_VCS): New variable.
16416         (autoloads): Use $AUTOGEN_VCS.
16418         * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
16419         * calendar/calendar.el (calendar-mode-map):
16420         Check for toolkit scroll bars.  (Bug#8305)
16422 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
16424         * minibuffer.el (completion-in-region--postch)
16425         (completion-in-region-mode): Remove unnecessary messages.
16427 2011-04-05  Juanma Barranquero  <lekktu@gmail.com>
16429         * font-lock.el (font-lock-refresh-defaults):
16430         Don't bind `hi-lock--inhibit-font-lock-hook', removed in
16431         2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
16433         * info.el (Info-directory-list, Info-read-node-name-2)
16434         (Info-split-parameter-string): Doc fixes.
16435         (Info-virtual-nodes): Reflow docstring.
16436         (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
16437         (Info-apropos-toc-nodes, info-finder, Info-get-token)
16438         (Info-find-emacs-command-nodes, Info-speedbar-key-map):
16439         Fix typos in docstrings.
16440         (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
16441         (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
16442         (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
16443         (Info-restore-desktop-buffer): Mark unused parameters.
16444         (Info-directory-find-file, Info-directory-find-node)
16445         (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
16446         (Info-virtual-index-find-node, Info-apropos-find-file)
16447         (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
16448         Mark unused parameters; fix typos in docstrings.
16449         (Info-virtual-index): Remove unused local variable `nodename'.
16451 2011-04-05  Deniz Dogan  <deniz@dogan.se>
16453         * net/rcirc.el: Update my e-mail address.
16454         (rcirc-mode-map): Remove M-o binding.
16456 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
16458         * startup.el (command-line): Save the cursor's theme-face
16459         directly, instead of using face-override-spec.
16461         * custom.el (load-theme): Minor optimization in assigning faces.
16463 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
16465         * help-fns.el (describe-variable): Complete all variables having
16466         documentation, including keywords.
16467         http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
16469 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
16471         Convert to lexical-binding.
16473         * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
16474         (bs--get-marked-string, bs--get-modified-string)
16475         (bs--get-readonly-string, bs--get-size-string, bs--get-name)
16476         (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
16477         (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
16479         * ehelp.el (electric-help-execute-extended)
16480         (electric-help-ctrl-x-prefix):
16481         * hexl.el (hexl-revert-buffer-function):
16482         * linum.el (linum-after-change, linum-after-scroll):
16483         * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
16485         * help-fns.el (help-describe-category-set): Remove unused ERR variable.
16487 2011-04-04  Daiki Ueno  <ueno@unixuser.org>
16489         * epa-dired.el:
16490         * epa-mail.el:
16491         * epa-hook.el:
16492         * epa-file.el:
16493         * epa.el:
16494         * epg.el: Use lexical binding.
16496 2011-04-03  Chong Yidong  <cyd@stupidchicken.com>
16498         * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
16500         * textmodes/flyspell.el (flyspell-word): Recognize default
16501         dictionary case for flyspell-mark-duplications-exceptions.
16502         Use regexp matching for languages.
16503         (flyspell-mark-duplications-exceptions): Add "that" and "had" for
16504         default dictionary (Bug#7926).
16506 2011-04-02  Chong Yidong  <cyd@stupidchicken.com>
16508         * emacs-lisp/package.el (package--with-work-buffer):
16509         Recognize https URLs.
16511         * net/network-stream.el: Move from gnus/proto-stream.el.
16512         Change prefix to network-stream throughout.
16513         (open-protocol-stream): Merge into open-network-stream, leaving
16514         open-protocol-stream as an alias.  Handle nil BUFFER args.
16516         * subr.el (open-network-stream): Move to net/network-stream.el.
16518 2011-04-02  Glenn Morris  <rgm@gnu.org>
16520         * find-dired.el (find-exec-terminator): New option.
16521         (find-ls-option): Test for -ls support.
16522         (find-ls-subdir-switches): Test for -b in find-ls-option.
16523         (find-dired, find-grep-dired): Doc fixes.
16524         (find-dired): Use find-exec-terminator.
16526         * find-dired.el (find-ls-option, find-ls-subdir-switches)
16527         (find-grep-options): Do not autoload these defcustoms, remove purecopy.
16528         (find-name-arg): Remove purecopy.
16530         * progmodes/grep.el (grep-find-use-xargs): Doc fix.
16531         (grep-compute-defaults): Check for `-exec COMMAND +' support.
16532         Set grep-find-use-xargs, grep-find-command, and grep-find-template
16533         accordingly.  Don't add the null-device if not needed.
16535         * files.el (save-some-buffers): Doc fix.
16537 2011-04-02  Eli Zaretskii  <eliz@gnu.org>
16539         * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
16541 2011-04-01  Juanma Barranquero  <lekktu@gmail.com>
16543         * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
16544         Use `dolist' rather than `mapcar'.
16546 2011-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>
16548         Add lexical binding.
16550         * subr.el (apply-partially): Use new closures rather than CL.
16551         (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
16552         (dolist, dotimes): Use slightly different expansion for lexical code.
16553         (functionp): Move to C.
16554         (letrec): New macro.
16555         (with-wrapper-hook): Use it and apply-partially instead of CL.
16556         (eval-after-load): Preserve lexical-binding.
16557         (save-window-excursion, with-output-to-temp-buffer): Turn them
16558         into macros.
16560         * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
16562         * help-fns.el (help-split-fundoc): Return nil if there's nothing else
16563         than the arglist.
16564         (help-add-fundoc-usage): Don't add `Not documented'.
16565         (help-function-arglist): Handle closures, subroutines, and new
16566         byte-code-functions.
16567         (help-make-usage): Remove leading underscores.
16568         (describe-function-1): Handle closures.
16569         (describe-variable): Use special-variable-p for completion.
16571         * files.el (lexical-binding): Declare safe.
16573         * emacs-lisp/pcase.el: Don't use destructuring-bind.
16574         (pcase--memoize): Rename from pcase-memoize.  Change weakness.
16575         (pcase): Add `let' pattern.
16576         Change memoization so it actually works.
16577         (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
16578         (pcase--u1) <guard, pred>: Fix possible shadowing problem.
16579         <let>: New case.
16581         * emacs-lisp/macroexp.el: Use lexical binding.
16582         (macroexpand-all-1): Check obsolete macros.  Expand compiler-macros.
16583         Don't convert ' to #' without checking that it's indeed quoting
16584         a lambda.
16586         * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
16587         Use eval-sexp-add-defvars.
16588         (eval-sexp-add-defvars): New fun.
16590         * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
16592         * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
16593         Don't autoload.
16594         (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
16595         than the internal `byte-compile-lambda'.
16596         (defmethod): Don't hide code under quotes.
16597         (eieio-defmethod): New `code' argument.
16599         * emacs-lisp/eieio-comp.el: Remove.
16601         * emacs-lisp/edebug.el (edebug-eval-defun)
16602         (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
16603         (edebug-toggle): Avoid `eval'.
16605         * emacs-lisp/disass.el (disassemble-internal): Handle new
16606         `closure' objects.
16607         (disassemble-1): Handle new byte codes.
16609         * emacs-lisp/cl.el (pushnew): Silence warning.
16611         * emacs-lisp/cl-macs.el (cl-byte-compile-block)
16612         (cl-byte-compile-throw): Remove.
16613         (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
16615         * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
16616         closures.
16618         * emacs-lisp/cconv.el: New file.
16620         * emacs-lisp/bytecomp.el: Use lexical binding instead of
16621         a "bytecomp-" prefix.  Macroexpand everything as a separate phase.
16622         (byte-compile-initial-macro-environment):
16623         Handle declare-function here.
16624         (byte-compile--lexical-environment): New var.
16625         (byte-stack-ref, byte-stack-set, byte-discardN)
16626         (byte-discardN-preserve-tos): New lap codes.
16627         (byte-interactive-p): Don't use any more.
16628         (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
16629         New macros.
16630         (byte-compile-lapcode): Use them and handle new lap codes.
16631         (byte-compile-obsolete): Remove.
16632         (byte-compile-arglist-signature): Handle new byte-code arg"lists".
16633         (byte-compile-arglist-warn): Check late def of inlinable funs.
16634         (byte-compile-cl-warn): Don't silence warnings for compiler-macros
16635         since they should have been expanded by now.
16636         (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
16637         (byte-compile-from-buffer): Remove unused second arg.
16638         (byte-compile-preprocess): New function.
16639         (byte-compile-toplevel-file-form): New function to distinguish
16640         file-form calls from outside from file-form calls from hunk-handlers.
16641         (byte-compile-file-form): Simplify.
16642         (byte-compile-file-form-defsubst): Remove.
16643         (byte-compile-file-form-defmumble): Simplify now that
16644         byte-compile-lambda always returns a byte-code-function.
16645         (byte-compile): Preprocess.
16646         (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
16647         Remove, not used any more.
16648         (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
16649         (byte-compile-make-args-desc): New funs.
16650         (byte-compile-lambda): Handle lexical functions.  Always return
16651         a byte-code-function.
16652         (byte-compile-reserved-constants): New var, to make up room for
16653         closed-over variables.
16654         (byte-compile-constants-vector): Obey it.
16655         (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
16656         (byte-compile-macroexpand-declare-function): New function.
16657         (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
16658         byte-code-functions.
16659         (byte-compile-form): Check obsolescence here.
16660         (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
16661         (byte-compile-variable-ref): Remove.
16662         (byte-compile-dynamic-variable-op): New fun.
16663         (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
16664         (byte-compile-variable-set): New funs.
16665         (byte-compile-discard): Add 2 args.
16666         (byte-compile-stack-ref, byte-compile-stack-set)
16667         (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
16668         (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
16669         macroexpand-all instead.
16670         (byte-compile-quote-form): Remove.
16671         (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
16672         (byte-compile-bind, byte-compile-unbind): New funs.
16673         (byte-compile-let): Handle let* and lexical binding.
16674         (byte-compile-let*): Remove.
16675         (byte-compile-catch, byte-compile-unwind-protect)
16676         (byte-compile-track-mouse, byte-compile-condition-case):
16677         Handle a new :fun-body form, used for lexical scoping.
16678         (byte-compile-save-window-excursion)
16679         (byte-compile-with-output-to-temp-buffer): Remove.
16680         (byte-compile-defun): Simplify.
16681         (byte-compile-stack-adjustment): New fun.
16682         (byte-compile-out): Use it.
16683         (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
16685         * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
16686         handler any more.
16688         * emacs-lisp/byte-opt.el: Use lexical binding.
16689         (byte-inline-lapcode): Remove (to bytecomp).
16690         (byte-compile-inline-expand): Pay attention to inlining to/from
16691         lexically bound code.
16692         (byte-compile-unfold-lambda): Don't handle byte-code-functions
16693         any more.
16694         (byte-optimize-form-code-walker): Don't handle save-window-excursion
16695         any more and don't call compiler-macros.
16696         (byte-compile-splice-in-already-compiled-code): Remove.
16697         (byte-code): Don't inline any more.
16698         (disassemble-offset): Receive `bytes' as argument rather than via
16699         dynamic scoping.
16700         (byte-compile-tag-number): Declare before first use.
16701         (byte-decompile-bytecode-1): Handle new byte-codes, don't change
16702         `return' even if make-spliceable.
16703         (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
16704         obsolete interactive-p.
16705         (byte-optimize-lapcode): Optimize new lap-codes.
16706         Don't trip up on new form of `byte-constant' lap code.
16708         * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
16710         * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
16712         * custom.el (custom-initialize-default, custom-declare-variable):
16713         Use `defvar'.
16715         * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
16716         New variables.
16717         (compile-onefile, .el.elc, compile-calc, recompile): Use them.
16718         (COMPILE_FIRST): Add macroexp and cconv.
16719         * makefile.w32-in: Mirror changes in Makefile.in.
16721         * vc/cvs-status.el:
16722         * vc/diff-mode.el:
16723         * vc/log-edit.el:
16724         * vc/log-view.el:
16725         * vc/smerge-mode.el:
16726         * textmodes/bibtex-style.el:
16727         * textmodes/css-mode.el:
16728         * startup.el:
16729         * uniquify.el:
16730         * minibuffer.el:
16731         * newcomment.el:
16732         * reveal.el:
16733         * server.el:
16734         * mpc.el:
16735         * emacs-lisp/smie.el:
16736         * doc-view.el:
16737         * dired.el:
16738         * abbrev.el: Use lexical binding.
16740 2011-04-01  Eli Zaretskii  <eliz@gnu.org>
16742         * info.el (info-display-manual): New function.
16744 2011-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
16746         * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
16748 2011-03-31  Tassilo Horn  <tassilo@member.fsf.org>
16750         * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
16751         an entry for that server in rcirc-authinfo.  (Bug#8385)
16753 2011-03-31  Glenn Morris  <rgm@gnu.org>
16755         * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
16757         * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
16759 2011-03-30  Christoph Scholtes  <cschol2112@googlemail.com>
16761         * progmodes/python.el (python-default-interpreter)
16762         (python-python-command-args, python-jython-command-args)
16763         (python-which-shell, python-which-args, python-which-bufname)
16764         (python-file-queue, python-comint-output-filter-function)
16765         (python-toggle-shells, python-shell): Remove obsolete defcustoms,
16766         variables and functions.
16768 2011-03-30  Stefan Monnier  <monnier@iro.umontreal.ca>
16770         * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
16771         (completion-in-region-mode): New minor mode.
16772         (completion-in-region): Use it.
16773         (completion-in-region--data, completion-in-region-mode-map): New vars.
16774         (completion-in-region--postch): New function.
16775         (completion--capf-misbehave-funs, completion--capf-safe-funs):
16776         New vars.
16777         (completion--capf-wrapper): New function.
16778         (completion-at-point): Use it to track well-behavedness of
16779         hook functions.
16780         (completion-help-at-point): New command.
16782 2011-03-30  Jason Merrill  <jason@redhat.com>  (tiny change)
16784         * vc/add-log.el (add-change-log-entry): Don't use whitespace
16785         syntax class to search for whitespace on a single line
16786         (Message-ID: <4D938140.4030905@redhat.com>).
16788 2011-03-30  Leo Liu  <sdl.web@gmail.com>
16790         * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
16791         New commands.
16792         (edit-abbrevs-map): Bind them here.
16793         (write-abbrev-file): New optinal arg VERBOSE.  (Bug#5937)
16795 2011-03-29  Ken Manheimer  <ken.manheimer@gmail.com>
16797         * allout.el (allout-hide-by-annotation, allout-flag-region):
16798         Reduce possibility of overlay leakage by making them volatile.
16800         * allout-widgets.el (allout-widgets-tally): Define as nil so the
16801         hash is not shared between buffers.  Mode initialization is
16802         responsible for giving it a useful starting value.
16803         (allout-item-span): Reduce possibility of overlay leakage by
16804         making them volatile.
16805         (allout-widgets-count-buttons-in-region): Add diagnostic function
16806         for tracking down button overlay leaks.
16808 2011-03-29  Leo Liu  <sdl.web@gmail.com>
16810         * ido.el (ido-read-internal): Use the default history var
16811         minibuffer-history if no HISTORY is specified.
16813 2011-03-28  Brian T. Sniffen  <bsniffen@akamai.com>  (tiny change)
16815         * net/imap.el (imap-shell-open, imap-process-connection-type):
16816         Use imap-process-connection-type for 'shell' streams as well as
16817         Kerberos, SSL, other subprocesses.
16819 2011-03-28  Leo Liu  <sdl.web@gmail.com>
16821         * abbrev.el (abbrev-table-empty-p): New function.
16822         (prepare-abbrev-list-buffer): Place empty abbrev tables after
16823         nonempty ones.  (Bug#5937)
16825 2011-03-27  Jan Djärv  <jan.h.d@swipnet.se>
16827         * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
16829 2011-03-27  Leo Liu  <sdl.web@gmail.com>
16831         * ansi-color.el (ansi-color-names-vector): Allow cons cell value
16832         for foreground and background colors.
16833         (ansi-color-make-color-map): Adapt.
16835 2011-03-25  Leo Liu  <sdl.web@gmail.com>
16837         * midnight.el (midnight-time-float): Remove.  Note it calculates
16838         the microsecond component incorrectly and seconds-to-time does the
16839         same job.
16840         Remove redundant (require 'timer).
16842         * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
16843         (ido-completions): Remove unused arguments.  (Bug#8329)
16845 2011-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
16847         * minibuffer.el (completion--flush-all-sorted-completions):
16848         Remove itself from hook.
16849         (completion-at-point): Let the functions perform the completion
16850         immediately and return nil or t.
16851         * comint.el (comint-dynamic-complete-functions): Now identical to
16852         completion-at-point-functions.
16853         (comint-dynamic-list-input-ring): Remove unused var `index'.
16854         (comint--match-partial-filename, comint--unquote&expand-filename):
16855         New funs, split from comint-match-partial-filename.
16856         (comint-dynamic-complete): Use completion-at-point.
16857         (comint-dynamic-complete-filename): Use comint--match-partial-filename.
16859 2011-03-24  Drew Adams  <drew.adams@oracle.com>
16861         * thingatpt.el: Support `defun'.
16863 2011-03-23  Leo Liu  <sdl.web@gmail.com>
16865         * abbrevlist.el: Move to obsolete/abbrevlist.el.
16867         * help-mode.el (help-mode-finish): Tweak regexp.
16869 2011-03-23  Glenn Morris  <rgm@gnu.org>
16871         * eshell/esh-opt.el (eshell-eval-using-options):
16872         Do not bind unused local variable `eshell-option-stub'.
16874         * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
16876 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
16878         * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
16879         keymap variable in `with-no-warnings' to avoid a warning when the
16880         keymap has been already `defconst'ed.
16882 2011-03-22  Leo Liu  <sdl.web@gmail.com>
16884         * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
16885         encode all chars in abbrevs; otherwise use emacs-mule or
16886         utf-8-emacs.  (Bug#8308)
16888 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
16890         * simple.el (backward-delete-char-untabify):
16891         Avoid warning about using `delete-backward-char'.
16893         * image.el (image-type-file-name-regexps): Make it variable.
16894         `imagemagick-register-types' modifies it, and the user may want
16895         to add new extensions for known image types.
16896         (imagemagick-register-types): Throw error if not using ImageMagick.
16898 2011-03-22  Leo Liu  <sdl.web@gmail.com>
16900         * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
16901         located before rcirc-prompt-end-marker.
16902         (rcirc-complete): Error if point is not after rcirc prompt.
16903         Handle the case when table is nil.
16904         (rcirc-user-authenticated): Define to fix compiler warning.
16906 2011-03-22  Chong Yidong  <cyd@stupidchicken.com>
16908         * custom.el (custom--inhibit-theme-enable): Make it affect only
16909         custom-theme-set-variables and custom-theme-set-faces.
16910         (provide-theme): Ignore custom--inhibit-theme-enable.
16911         (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
16912         (custom-enabling-themes): Delete variable.
16913         (enable-theme): Accept only loaded themes as arguments.
16914         Ignore the special custom-enabled-themes variable.
16915         (custom-enabled-themes): Forbid themes from setting this.
16916         Eliminate use of custom-enabling-themes.
16917         (custom-push-theme): Quote "changed" custom var entry.
16919 2011-03-21  Leo Liu  <sdl.web@gmail.com>
16921         * ido.el (ido-read-internal): Add ido-selected to history instead
16922         of user input.
16924 2011-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
16926         * subr.el (deferred-action-list, deferred-action-function):
16927         Mark obsolete.
16929 2011-03-21  Leo Liu  <sdl.web@gmail.com>
16931         * vc/log-view.el: Remove (require 'wid-edit), not needed after the
16932         change on 2011-02-13 (bug#8309).
16934         * minibuffer.el (read-file-name-function): Change default value.
16935         (read-file-name--defaults): Rename from read-file-name-defaults.
16936         (read-file-name-default): Rename from read-file-name.
16937         (read-file-name): Call read-file-name-function.
16939 2011-03-21  Glenn Morris  <rgm@gnu.org>
16941         * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
16942         Doc fixes.
16944 2011-03-21  Chong Yidong  <cyd@stupidchicken.com>
16946         * cus-theme.el: Add missing provide statement.
16947         (customize-create-theme): Extract theme value correctly.
16948         (custom-theme-visit-theme): Autoload.
16949         (customize-create-theme): Prompt before inserting default faces.
16951 2011-03-20  Jay Belanger  <jay.p.belanger@gmail.com>
16953         * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
16954         units and musical notes.
16956 2011-03-20  Leo Liu  <sdl.web@gmail.com>
16958         * ido.el (ido-read-internal): Use completing-read-default.
16959         (ido-completing-read): Fix compatibility with completing-read.
16961 2011-03-20  Christian Ohler  <ohler@gnu.org>
16963         * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
16964         (ert-delete-all-tests): Use `called-interactively-p' rather than
16965         `interactive-p'.
16966         (ert--make-xrefs-region): Respect END.
16968 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
16970         * dired-aux.el (dired-create-directory): Signal an error if the
16971         directory already exists (Bug#8246).
16973         * facemenu.el (list-colors-display): Call list-faces-display
16974         inside with-help-window.
16975         (list-colors-print): Use display property to align the final
16976         column, instead of checking window-width.
16978 2011-03-19  Eli Zaretskii  <eliz@gnu.org>
16980         * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
16981         windows-nt systems.
16982         (emerge-protect-metachars): Quote correctly for ms-dos and
16983         windows-nt systems.
16985 2011-03-19  Ralph Schleicher  <rs@ralph-schleicher.de>
16987         * info.el (info-initialize): Replace all uses of `:' with
16988         path-separator for compatibility with non-Unix systems.
16989         Cache quoting of path-separator.  (Bug#8258)
16991 2011-03-19  Juanma Barranquero  <lekktu@gmail.com>
16993         * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
16994         (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
16995         (mouse-avoidance-mode): Fix typos in docstrings.
16997 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
16999         * startup.el (package-subdirectory-regexp): Move from package.el.
17000         Omit \\` and \\', and let callers add them.
17002         * emacs-lisp/package.el (package-strip-version)
17003         (package-load-all-descriptors): Add \\` and \\' to
17004         package-subdirectory-regexp before using it.
17005         (package-untar-buffer): New arg DIR; ensure that file untars only
17006         into this expected directory.  Remove superfluous delete-region.
17007         (package-unpack): Caller changed.
17008         (package-tar-file-info): Use package-subdirectory-regexp.
17010 2011-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
17012         * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
17013         diff-mode-shared-map (bug#8284).
17014         (diff-mode-shared-map): Re-introduce some bindings that were problematic.
17016 2011-03-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17018         * calendar/time-date.el (format-seconds): Use assoc instead of
17019         assoc-string, since assoc-string doesn't exist in XEmacs.
17021 2011-03-17  Juanma Barranquero  <lekktu@gmail.com>
17023         * custom.el (custom-known-themes): Reflow docstring.
17024         (custom-theme-load-path): Fix typo in docstring.
17025         (load-theme): Fix typo in error message.
17026         (custom-available-themes, custom-variable-theme-value):
17027         Use `let', not `let*'.
17029 2011-03-17  Jay Belanger  <jay.p.belanger@gmail.com>
17031         * calc/README: Mention inclusion of musical notes.
17033         * calc/calc-units.el (calc-lu-quant): Rename from
17034         `calc-logunits-quantity'.
17035         (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
17036         (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
17037         (calc-db): Rename from `calc-dblevel'.
17038         (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
17039         (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
17040         (calc-np): Rename from `calc-nplevel'.
17041         (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
17042         (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
17043         (calc-lu-plus): Rename from `calc-logunits-add'.
17044         (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
17045         (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
17046         (calc-lu-minus): Rename from `calc-logunits-sub'.
17047         (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
17048         (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
17049         (calc-lu-times): Rename from `calc-logunits-mul'.
17050         (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
17051         (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
17052         (calc-lu-divide): Rename from `calc-logunits-div'.
17053         (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
17054         (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
17056         * calc/calc-ext.el (calc-init-extensions): Update the names of the
17057         functions being autoloaded.
17059         * calc/calc.el (calc-lu-power-reference): Rename from
17060         `calc-logunits-power-reference'.
17061         (calc-lu-field-reference): Rename from
17062         `calc-logunits-field-reference'.
17064         * calc/calc-help.el (calc-l-prefix-help):
17065         Mention musical note functions.
17067 2011-03-17  Stefan Monnier  <monnier@iro.umontreal.ca>
17069         * minibuffer.el (completion-all-sorted-completions):
17070         Use :completion-cycle-penalty text property if present.
17072 2011-03-16  Ken Manheimer  <ken.manheimer@gmail.com>
17074         * allout.el (allout-yank-processing): Adjust for new rebulleting
17075         regime so bullet being yanked is used without prompting the user
17076         for a choice.
17078 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
17080         * startup.el (command-line): Warn the user that _emacs is deprecated.
17082 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
17084         * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
17085         (delphi-verbose, delphi-comment-face, delphi-string-face)
17086         (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
17087         (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
17088         (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
17089         (delphi-new-comment-line, delphi-font-lock-defaults)
17090         (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
17091         Fix typos in docstrings.
17093 2011-03-15  Ken Manheimer  <ken.manheimer@gmail.com>
17095         * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
17096         Invert the roles of character and string values for INSTEAD, so a
17097         string is used for the more common case of a defaulting prompt.
17099 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
17101         * progmodes/ruby-mode.el (ruby-backward-sexp):
17102         * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
17103         * play/gamegrid.el (gamegrid-make-face):
17104         * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
17105         (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
17106         * notifications.el (notifications-notify):
17107         * net/xesam.el (xesam-search-engines):
17108         * net/quickurl.el (quickurl-list-insert):
17109         * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
17111 2011-03-15  Chong Yidong  <cyd@stupidchicken.com>
17113         * startup.el (command-line): Update package subdirectory regexp.
17115 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
17117         * allout.el (allout-abbreviate-flattened-numbering)
17118         (allout-mode-deactivate-hook): Fix up obsolescence "date".
17120         * subr.el (read-char-choice): Only show the cursor after the prompt,
17121         not after the answer.
17123 2011-03-15  Kevin Ryde  <user42@zip.com.au>
17125         * help-fns.el (variable-at-point): Skip leading quotes, if any
17126         (bug#8253).
17128 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
17130         * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
17131         warning message.
17133 2011-03-14  Michael Albinus  <michael.albinus@gmx.de>
17135         * shell.el (shell): When called interactively, offer to change the
17136         shell file name on remote hosts.
17138 2011-03-13  Teodor Zlatanov  <tzz@lifelogs.com>
17140         * net/ldap.el (ldap-search-internal): Add `auth-source-search'
17141         integration for LDAP parameters.  The host, base, user or binddn,
17142         and secret tokens can be specified in a netrc file, for instance.
17143         This is optional because an `auth-source' parameter must be
17144         specified in the search attributes.
17146 2011-03-13  Juanma Barranquero  <lekktu@gmail.com>
17148         * help.el (describe-mode): Link to the mode's definition (bug#8185).
17150 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
17152         * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
17153         into declaration.  Remove redundant and harmful binding.
17155 2011-03-12  Eli Zaretskii  <eliz@gnu.org>
17157         * files.el (file-ownership-preserved-p): Pass `integer' as an
17158         explicit 2nd argument to `file-attributes'.  If the file's owner
17159         is the Administrators group on Windows, and the current user is
17160         Administrator, consider that a match.
17162         * server.el (server-ensure-safe-dir): Consider server directory
17163         safe on MS-Windows if its owner is the Administrators group while
17164         the current Emacs user is Administrator.  Use `=' to compare
17165         numerical UIDs, since they could be integers or floats.
17167 2011-03-12  Juanma Barranquero  <lekktu@gmail.com>
17169         * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
17171 2011-03-12  Michael Albinus  <michael.albinus@gmx.de>
17173         Sync with Tramp 2.2.1.
17175         * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
17177         * net/trampver.el: Update release number.
17179 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
17181         * progmodes/compile.el (compilation--previous-directory): Fix up
17182         various nil/dead-marker mismatches (bug#8014).
17183         (compilation-directory-properties, compilation-error-properties):
17184         Don't call it at a position past the one we're about to change.
17186         * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
17187         Disable obsolescence warnings in the file that declares it.
17189 2011-03-11  Ken Manheimer  <ken.manheimer@gmail.com>
17191         * allout-widgets.el (allout-widgets-tally):
17192         Initialize allout-widgets-tally as a hash table rather than nil to
17193         prevent mode-line redisplay warnings.  Also, clarify the module
17194         description and fix a comment typo.
17196 2011-03-11  Juanma Barranquero  <lekktu@gmail.com>
17198         * help-fns.el (describe-variable): Don't complete keywords.
17199         Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
17201 2011-03-10  Chong Yidong  <cyd@stupidchicken.com>
17203         * emacs-lisp/package.el (package-version-join): Impose a standard
17204         string representation for pre/alpha/beta version lists.
17205         (package-unpack-single): Standardize the directory name by passing
17206         it through package-version-join.
17207         (package-strip-rcs-id): Accept any version string that does not
17208         signal an error in version-to-list.
17210 2011-03-10  Michael Albinus  <michael.albinus@gmx.de>
17212         * simple.el (delete-trailing-whitespace): Return nil for the
17213         benefit of `write-file-functions'.
17215 2011-03-10  Glenn Morris  <rgm@gnu.org>
17217         * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
17219         * vc/vc-git.el (vc-git-program): New option.
17220         (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
17221         (vc-git--call): Use it.
17223         * eshell/esh-util.el (eshell-condition-case): Doc fix.
17225         * cus-edit.el (Custom-newline): If no button at point, look
17226         for a subgroup button at start-of-line.  (Bug#2298)
17228         * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
17230 2011-03-10  Julien Danjou  <julien@danjou.info>
17232         * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
17233         `cursor-type' is nil.
17235 2011-03-09  Jay Belanger  <jay.p.belanger@gmail.com>
17237         * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
17239 2011-03-09  Ken Manheimer  <ken.manheimer@gmail.com>
17241         * allout.el: Change so yank of distinctive-bullet items
17242         preserves the existing header prefix, rebulleting it if necessary,
17243         rather than replacing it.  This is necessary for proper operation
17244         of cooperative addons like allout-widgets.
17245         (allout-make-topic-prefix, allout-rebullet-heading):
17246         Change SOLICIT arg to INSTEAD, and interpret additionally a string
17247         value as alternate bullet to be used, instead of prompting the user
17248         for a bullet character.
17250 2011-03-09  Michael Albinus  <michael.albinus@gmx.de>
17252         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
17253         Do not use `tramp-file-name-port', because this returns also
17254         `tramp-default-port'.
17256 2011-03-09  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
17258         * net/rcirc.el (rcirc-handler-001): Remove useless
17259         with-rcirc-process-buffer.
17260         (rcirc-check-auth-status): Swap arguments to string-match.
17262 2011-03-09  Glenn Morris  <rgm@gnu.org>
17264         * shell.el (shell-mode):
17265         Set comint-input-ring-size from HISTSIZE.  (Bug#7889)
17267         * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
17268         Check for GDBHISTFILE, HISTSIZE, etc.  (Bug#7889)
17270 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
17272         * emacs-lisp/package.el (package-refresh-contents)
17273         (package-menu-execute): Use condition-case-no-debug.
17275 2011-03-08  Michael Albinus  <michael.albinus@gmx.de>
17277         * simple.el (shell-command-to-string): Use `process-file'.
17279         * emacs-lisp/package.el (package-tar-file-info): Handle also
17280         remote files.
17282         * emacs-lisp/package-x.el (package-upload-buffer-internal):
17283         Use `equal' for upload base check.
17285 2011-03-08  Arni Magnusson  <arnima@hafro.is>  (tiny change)
17287         * textmodes/texinfo.el (texinfo-environments):
17288         Add deftypecv, deftypeivar, deftypemethod, deftypeop, html.  (Bug#2783)
17290 2011-03-08  Glenn Morris  <rgm@gnu.org>
17292         * cus-start.el (cursor-in-non-selected-windows):
17293         Fix :set quoting oddness.  (Bug#8192)
17295         * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
17296         in some setf expressions.  (Bug#2159)
17298 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
17300         * custom.el (custom-available-themes): Return themes in
17301         alphabetical order.
17303 See ChangeLog.15 for earlier changes.
17305 ;; Local Variables:
17306 ;; coding: utf-8
17307 ;; End:
17309   Copyright (C) 2011-2012  Free Software Foundation, Inc.
17311   This file is part of GNU Emacs.
17313   GNU Emacs is free software: you can redistribute it and/or modify
17314   it under the terms of the GNU General Public License as published by
17315   the Free Software Foundation, either version 3 of the License, or
17316   (at your option) any later version.
17318   GNU Emacs is distributed in the hope that it will be useful,
17319   but WITHOUT ANY WARRANTY; without even the implied warranty of
17320   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17321   GNU General Public License for more details.
17323   You should have received a copy of the GNU General Public License
17324   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.